/* 登录/注册页面样式 */

#login-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 40%, #2563eb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#login-overlay.hidden {
  display: none;
}

.login-card {
  background: white;
  border-radius: 20px;
  padding: 40px 36px;
  width: 360px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}

.login-input {
  width: 100%;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s;
}

.login-input:focus {
  border-color: #3b82f6;
}

.login-btn {
  width: 100%;
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 11px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

.login-btn:hover {
  background: #1d4ed8;
}

.login-btn:disabled {
  background: #93c5fd;
  cursor: not-allowed;
}

.login-error {
  color: #ef4444;
  font-size: 13px;
  margin-top: 8px;
  min-height: 18px;
}
