* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 导航栏样式 - 匹配主页 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: rgba(246, 239, 228, 0.65);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(229, 220, 207, 0.4);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 24px;
}

.nav-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #162736;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  color: #6f6659;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #162736;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-toggle {
  background: none;
  border: 1.5px solid #b8ae9e;
  color: #6f6659;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
}

.lang-toggle:hover {
  border-color: #e26d2b;
  color: #e26d2b;
}

.btn-signup {
  padding: 8px 16px;
  background: linear-gradient(135deg, #e26d2b, #f38f58);
  color: white;
  text-decoration: none;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(226, 109, 43, 0.2);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-signup:hover {
  box-shadow: 0 6px 16px rgba(226, 109, 43, 0.3);
  transform: translateY(-2px);
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f6efe4;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
  padding-top: 92px;
}

.login-container {
  width: 100%;
  max-width: 420px;
}

.login-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  border: 1px solid rgba(229, 220, 207, 0.8);
  padding: 48px;
  box-shadow: 0 20px 60px rgba(22, 39, 54, 0.08);
}

.login-header h1 {
  font-size: 28px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 8px;
  text-align: center;
}

.login-header h2 {
  font-size: 16px;
  font-weight: 400;
  color: #6b7280;
  margin-bottom: 32px;
  text-align: center;
}

.error-message {
  background: #fef2f2;
  border: 1.5px solid #fca5a5;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #991b1b;
  font-size: 14px;
}

.error-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.2s;
  background: white;
}

.form-group input:focus {
  outline: none;
  border-color: #e26d2b;
  box-shadow: 0 0 0 3px rgba(226, 109, 43, 0.1);
}

.form-group input::placeholder {
  color: #9ca3af;
}

.btn-primary {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #e26d2b, #f38f58);
  color: white;
  border: none;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 8px;
  box-shadow: 0 8px 20px rgba(226, 109, 43, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(226, 109, 43, 0.35);
}

.btn-primary:active {
  transform: translateY(0);
}

.login-footer {
  margin-top: 24px;
  text-align: center;
}

.login-footer p {
  font-size: 14px;
  color: #6b7280;
}

@media (max-width: 480px) {
  .login-card {
    padding: 32px 24px;
  }

  .login-header h1 {
    font-size: 24px;
  }

  .login-header h2 {
    font-size: 14px;
  }
}
