/* ========================
   AUTH PAGES (Centered Forms)
   ======================== */
.auth-center {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: var(--color-bg);
  transition: background-color var(--transition-speed);
  padding: 1rem;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;

  background-color: var(--nav-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--nav_radius);
  box-shadow: var(--shadow);
  margin: 1rem auto;
  max-width: 1100px;

  z-index: 100;
  backdrop-filter: blur(12px);
  transition: background-color var(--transition-speed), border-color var(--transition-speed);
}

.auth-box {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 2.5rem;
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background-color var(--transition-speed), border-color var(--transition-speed);
}

.auth-box h2 {
  color: var(--color-accent);
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: 0.5rem;
}

.input-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.input-group label {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.input-group input {
  border: 1px solid var(--color-border);
  border-radius: var(--textarea_radius);
  background-color: var(--color-card);
  color: var(--color-text);
  padding: 0.7rem;
  font-size: 0.95rem;
  transition: border var(--transition-speed), box-shadow var(--transition-speed);
}

.input-group input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
  outline: none;
}

.auth-box button {
  background-color: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--transition-speed), transform var(--transition-speed);
}

.auth-box button:hover {
  background-color: #4338ca;
  transform: translateY(-2px);
}

.auth-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-top: 0.5rem;
}

.auth-note a {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 600;
}

.auth-note a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 480px) {
  .auth-box {
    padding: 1.5rem;
    max-width: 90%;
  }
}
