/**
 * Account / allauth form styles (login, signup, password reset, etc.).
 * Card and inputs are fully styled here so account pages look right even if
 * Tailwind doesn't load. Matches home page: drop shadow, centered card, styled inputs.
 *
 * Skinning: Change the values below, or switch to CSS variables (e.g. var(--color-primary))
 * and define them in :root here or in your main theme file.
 */

/* Card: centered, white, rounded, drop shadow, padding (matches home page) */
.account-forms {
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
  background-color: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1), 0 10px 15px -3px rgb(0 0 0 / 0.08);
  padding: 1.5rem;
}

.account-forms input[type="text"],
.account-forms input[type="email"],
.account-forms input[type="password"],
.account-forms input[type="url"],
.account-forms input[type="number"],
.account-forms textarea {
  width: 100%;
  padding: 0.5rem 0.75rem; /* px-3 py-2 */
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 1rem;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); /* shadow-sm, matches home */
}

.account-forms input::placeholder,
.account-forms textarea::placeholder {
  color: #9ca3af;
}

.account-forms input:focus,
.account-forms textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
}

.account-forms a:not([class*="bg-blue"]) {
  color: #2563eb;
  font-weight: 500;
}

.account-forms a:not([class*="bg-blue"]):hover {
  color: #1d4ed8;
}

.account-forms .errorlist {
  color: #dc2626;
  font-size: 0.875rem;
  list-style: none;
  padding: 0;
  margin: 0.25rem 0 0 0;
}
