/* ===== LOGIN PAGE ===== */
body {
  background: linear-gradient(180deg, rgba(26,15,10,1), rgba(10,5,3,1));
  font-family: 'Inter', sans-serif;
  color: var(--color-text);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===== FORM ELEMENTS FIX ===== */
#signup-form,
#login-form {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 0.9rem;
}

/* inputs & button always full width */
#signup-form input,
#signup-form button,
#login-form input,
#login-form button {
  width: 100%;
  box-sizing: border-box;
}

/* ===== LOGIN SECTION ===== */
.login-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem;
  background:
    radial-gradient(circle at 50% 20%, rgba(212,175,55,0.05), rgba(26,15,10,0.98));
}

/* ===== LOGIN CARD ===== */
.login-card {
  background: rgba(26,15,10,0.9);
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: 12px;
  padding: 2.5rem;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: 0 0 30px rgba(0,0,0,0.6);
}

.login-card h2 {
  font-family: 'Cinzel', serif;
  color: var(--color-primary);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.login-card p {
  color: var(--color-highlight);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

/* ===== FORM ELEMENTS ===== */
#login-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

input {
  padding: 0.8rem 1rem;
  border-radius: 6px;
  border: 1px solid rgba(212,175,55,0.3);
  background: rgba(255,255,255,0.05);
  color: var(--color-text);
  font-size: 1rem;
  transition: all 0.3s ease;
}

input:focus {
  outline: none;
  border-color: var(--color-primary);
  background: rgba(255,255,255,0.1);
}

/* ===== BUTTONS ===== */
.btn-modern.gold-btn {
  background: linear-gradient(90deg, #E9C46A, #D4AF37);
  color: #1A0F0A;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  padding: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}

.btn-modern.gold-btn:hover {
  background: linear-gradient(90deg, #FFD65B, #E0B94C);
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(212,175,55,0.4);
}

/* ===== GOOGLE BUTTON ===== */
.google-btn {
  background: #fff;
  color: #222;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 0.8rem 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.google-btn:hover {
  background: #f7f7f7;
  transform: translateY(-1px);
}

.google-icon {
  width: 18px;
  height: 18px;
}

/* ===== LINKS ===== */
.alt-link, .forgot-link a {
  color: var(--color-primary);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.alt-link:hover, .forgot-link a:hover {
  color: var(--color-highlight);
  text-decoration: underline;
}

.forgot-link {
  text-align: right;
  font-size: 0.9rem;
}

/* ===== ERROR MESSAGE ===== */
.error-message {
  color: #ffb0b0;
  text-shadow: 0 0 6px rgba(255,100,100,0.4);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .login-card {
    padding: 2rem 1.5rem;
  }

  .login-section {
    padding: 5rem 1.5rem;
  }
}

/* ===== RESET MESSAGE ===== */
.message {
  margin-top: 1rem;
  font-size: 0.9rem;
  text-align: center;
}

.message.success {
  color: #b0ffb0;
  text-shadow: 0 0 6px rgba(150,255,150,0.4);
}

.message.error {
  color: #ffb0b0;
  text-shadow: 0 0 6px rgba(255,100,100,0.4);
}

/* Ensure full-width layout consistency */
#reset-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  width: 100%;
}

#reset-form input,
#reset-form button {
  width: 100%;
}