/* Auth Pages (Devise) Styles */

/* Override browser autofill background on light-themed auth pages */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 30px white inset !important;
  -webkit-text-fill-color: #0f172a !important;
  caret-color: #0f172a;
  transition: background-color 5000s ease-in-out 0s;
}

/* Legacy auth classes — kept for any remaining Devise views (password reset, unlock, etc.) */
.auth-container {
  min-height: calc(100vh - 4rem - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.auth-box {
  width: 100%;
  max-width: 420px;
}

.auth-box .auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-box .auth-header .auth-logo {
  margin-bottom: 1.5rem;
}

.auth-box .auth-header .auth-title {
  margin-bottom: 0.5rem;
}

.auth-box .auth-header .auth-subtitle {
  color: #6B7280;
}

.dark .auth-box .auth-header .auth-subtitle {
  color: #9CA3AF;
}

.auth-box .auth-footer {
  text-align: center;
  margin-top: 1.5rem;
}

.auth-box .auth-footer .auth-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media screen and (max-width: 768px) {
  .auth-container {
    padding: 1rem 0.75rem;
  }
}
