.login-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8faff 0%, #f3f6ff 100%);
  padding: 1rem;
  margin-top: -44px;
} 

/* 美化用户名密码登录输入框和按钮 */
.cloudbase-login-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 0.5rem;
}

.enhanced-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  border: 1.5px solid #c7d2fe;
  border-radius: 8px;
  background: #f3f6ff;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.06);
  transition: border 0.2s, box-shadow 0.2s;
  outline: none;
}

.enhanced-input:focus {
  border-color: #6366f1;
  background: #fff;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.13);
}

.enhanced-btn {
  width: 100%;
  padding: 12px 0;
  font-size: 1.08rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(90deg, #6366f1 0%, #4f46e5 100%);
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(99, 102, 241, 0.10);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  letter-spacing: 0.02em;
}

.enhanced-btn:hover, .enhanced-btn:focus {
  background: linear-gradient(90deg, #4f46e5 0%, #6366f1 100%);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 24px rgba(99, 102, 241, 0.18);
}

.login-error {
  color: #ef4444;
  margin-top: 0.5rem;
  font-size: 0.98rem;
  background: #fef2f2;
  border-radius: 6px;
  padding: 0.5rem 0.8rem;
  border: 1px solid #fecaca;
  box-shadow: 0 1px 4px rgba(239, 68, 68, 0.06);
}

.login-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 2rem 3rem;
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 400px;
  width: 100%;
  text-align: center;
  animation: fadeIn 0.5s ease-out;
}

.login-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.02em;
}

.login-subtitle {
  color: #6B7280;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.login-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.google-login-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.google-login-button {
  width: 100% !important;
  height: auto !important;
  padding: 0.75rem !important;
  border-radius: 10px !important;
  background: white !important;
  border: 1px solid rgba(99, 102, 241, 0.2) !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
}

.google-login-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.15) !important;
  border-color: rgba(99, 102, 241, 0.4) !important;
}

.login-divider {
  margin: 2rem 0;
  display: flex;
  align-items: center;
  text-align: center;
  color: #9CA3AF;
  font-size: 0.9rem;
}

.login-divider::before,
.login-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #E5E7EB;
}

.login-divider span {
  margin: 0 1rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .login-card {
    padding: 1.5rem;
  }
  
  .login-title {
    font-size: 1.5rem;
  }
}
