/**
 * FilexFlow - Forgot password styles
 */

.layout-auth {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 32px;
}

/* Left card */

.card-auth-main .card-inner {
  padding: 32px 32px 36px;
}

.auth-benefits {
  margin-top: 24px;
  margin-bottom: 20px;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.9;
}

.auth-benefits li + li {
  margin-top: 6px;
}

.auth-note {
  margin-top: 12px;
  font-size: 13px;
  opacity: 0.8;
}

/* Right card - form */

.card-auth-side .card-inner {
  padding: 28px 28px 32px;
}

.auth-form-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
}

.auth-form-subtitle {
  font-size: 14px;
  opacity: 0.85;
  margin-bottom: 20px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 4px;
}

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

.auth-form-group label {
  font-size: 13px;
  font-weight: 500;
}

.auth-form-group input[type="email"] {
  border-radius: 10px;
  border: 1px solid var(--border-color);
  padding: 9px 11px;
  font-size: 14px;
  background-color: rgba(255, 255, 255, 0.06); /* visible in dark mode */
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.auth-form-group input:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 1px rgba(74, 203, 255, 0.55);
  background-color: rgba(255, 255, 255, 0.12);
}

/* Mensajes */

.auth-form-error,
.auth-form-success {
  min-height: 18px;
  font-size: 13px;
  margin-top: 4px;
}

.auth-form-error {
  color: #ff6b81;
}

.auth-form-success {
  color: #47d780;
}

/* Botón (usa estilo global de header-auth-btn) */

.auth-submit-btn {
  margin-top: 12px;
  align-self: center;
  display: inline-flex;
}

.auth-submit-btn:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
  box-shadow: none;
}

/* Switch */

.auth-switch {
  margin-top: 18px;
  font-size: 13px;
  opacity: 0.85;
}

.auth-switch a {
  font-weight: 500;
}

/* Dark / light */

body[data-theme="dark"] .auth-form-group input {
  color: #f5f5f5;
}

body[data-theme="light"] .auth-form-group input {
  background-color: #ffffff;
  color: #111827;
}

/* Responsive */

@media (max-width: 880px) {
  .layout-auth {
    grid-template-columns: minmax(0, 1fr);
  }

  .card-auth-main .card-inner {
    padding-bottom: 24px;
  }

  .card-auth-side .card-inner {
    margin-top: 8px;
  }
}
