/* Login / register / password-recovery pages — Default theme. Same visual language as the account area (lavender page,
   rounded white card, brand-coloured actions). Colours come from the store's --primary (footerAccentStyle()), nothing is
   hard-coded. Loaded in <head> before the pages' own inline CSS, so selectors are prefixed with `body` to win. */
body:has(.auth-section) { background: linear-gradient(180deg, color-mix(in srgb, var(--primary, #003B5C) 8%, #fff) 0, #fff 640px) no-repeat; }
body .auth-section { background: transparent; padding-top: 48px; }
body .auth-card { max-width: 460px; border: 1px solid color-mix(in srgb, var(--primary, #003B5C) 12%, #fff); border-radius: 20px; box-shadow: 0 12px 36px color-mix(in srgb, var(--primary, #003B5C) 12%, transparent); }
body .auth-card__heading { font-family: "Inter", "Poppins", -apple-system, sans-serif; font-weight: 800; font-size: 28px; letter-spacing: -.01em; }
body .auth-field input { border-radius: 12px; border-color: color-mix(in srgb, var(--primary, #003B5C) 18%, #fff); padding: 14px 16px; }
body .auth-field input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary, #003B5C) 18%, transparent); }
body .auth-tabs { background: color-mix(in srgb, var(--primary, #003B5C) 8%, #fff); border-radius: 12px; }
body .auth-tab { border-radius: 9px; }
body .auth-submit { border-radius: 12px; padding: 15px; font-size: 14px; letter-spacing: .06em; background-color: var(--primary, #003B5C); }
body .auth-links { border-top-color: color-mix(in srgb, var(--primary, #003B5C) 10%, #fff); }
@media (max-width: 479px) {
  body .auth-section { padding: 16px 14px 56px; }
  body .auth-card { border-radius: 20px; border: 1px solid color-mix(in srgb, var(--primary, #003B5C) 12%, #fff); box-shadow: 0 8px 24px color-mix(in srgb, var(--primary, #003B5C) 10%, transparent); }
}

/* Recovery pages reuse the auth card; the base rules login.php/register.php carry inline are repeated here for them. */
.auth-section--recover { padding: 48px 20px 72px; }
.auth-section--recover .auth-card { max-width: 460px; margin: 0 auto; background: #fff; padding: 40px 34px; }
.auth-section--recover .auth-card__heading { text-align: center; margin: 0 0 6px; }
.auth-section--recover .auth-card__subheading { text-align: center; color: #767066; font-size: 14px; margin: 0 0 26px; }
.auth-section--recover .auth-alert { display: flex; gap: 10px; padding: 12px 14px; border-radius: 10px; font-size: 13.5px; line-height: 1.5; margin-bottom: 20px; }
.auth-section--recover .auth-alert--error { background: #fdf1ef; color: #b33323; border: 1px solid #f6d9d3; }
.auth-section--recover .auth-alert--success { background: #eff8f2; color: #108043; border: 1px solid #cdeeda; }
.auth-section--recover .auth-field { margin-bottom: 18px; }
.auth-section--recover .auth-field label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: #3a362f; margin-bottom: 7px; }
.auth-section--recover .auth-field input { width: 100%; font-size: 15px; background: #fff; border: 1px solid; }
.auth-section--recover .auth-submit { width: 100%; margin-top: 6px; color: #fff; border: 0; cursor: pointer; }
.auth-section--recover .auth-links { text-align: center; margin-top: 24px; padding-top: 20px; border-top: 1px solid; }
.auth-section--recover .auth-links a { color: var(--primary, #003B5C); font-size: 14px; text-decoration: none; }
@media (max-width: 479px) { .auth-section--recover { padding: 16px 14px 56px; } .auth-section--recover .auth-card { padding: 28px 20px; } }
.auth-section--recover .auth-links { border-top-color: color-mix(in srgb, var(--primary, #003B5C) 10%, #fff); }
.auth-section--recover .auth-field input { border-color: color-mix(in srgb, var(--primary, #003B5C) 18%, #fff); border-radius: 12px; padding: 14px 16px; }
.auth-section--recover .auth-field input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary, #003B5C) 18%, transparent); }
.auth-section--recover .auth-card { border: 1px solid color-mix(in srgb, var(--primary, #003B5C) 12%, #fff); border-radius: 20px; box-shadow: 0 12px 36px color-mix(in srgb, var(--primary, #003B5C) 12%, transparent); }
.auth-section--recover .auth-card__heading { font-family: "Inter", "Poppins", -apple-system, sans-serif; font-weight: 800; font-size: 28px; }
