/* The sign-in pages (allauth's entrance layout, one card on the dotted ground) and allauth's own markup
   inside the portal frame (.p-allauth). Kept from the 2026-11-08 portal; the rest of the portal follows
   marketing's prototype of 2026-11-08 in v.css. */
/* sign-in and the other allauth entrance pages: one card on the dotted ground */
.auth { min-height: 100vh; display: flex; flex-direction: column; align-items: center; padding: 40px var(--vby-gutter); overflow: hidden; }
.auth__brand img { width: auto; height: 34px; }
.auth__card { width: 100%; max-width: 480px; margin: 48px 0 24px; background: var(--vby-white); border: 1px solid var(--vby-charcoal-20); padding: 40px; display: flex; flex-direction: column; gap: 18px; }
.auth__orb-a { width: 520px; height: 520px; right: -200px; top: -160px; }
.auth__orb-b { width: 260px; height: 260px; left: -120px; bottom: -80px; }
.auth__foot { font-size: 13px; text-align: center; }
@media (max-width: 560px) { .auth__card { padding: 28px 20px; margin-top: 32px; } }

/* allauth's own element markup, dressed without forking its templates */
.auth h1, .p-allauth h1 { font-size: clamp(28px, 3.4vw, 36px); }
.auth h2, .p-allauth h2 { font-size: 20px; }
.auth form, .p-allauth form { display: flex; flex-direction: column; gap: 16px; }
.auth form p, .p-allauth form p { display: flex; flex-direction: column; gap: 8px; }
.auth label, .p-allauth label { font-size: 15px; font-weight: 500; }
.auth input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.p-allauth input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]) {
  min-height: 48px; width: 100%; padding: 0 20px; border: 1px solid var(--vby-charcoal); border-radius: var(--vby-radius-pill);
  background: var(--vby-white); color: var(--vby-charcoal); font: inherit; font-size: 16px;
}
.auth input:focus, .p-allauth input:focus { outline: 3px solid var(--vby-verde-50); outline-offset: 1px; }
.auth p:has(> input[type="checkbox"]), .p-allauth p:has(> input[type="checkbox"]) { flex-direction: row; align-items: center; gap: 10px; }
.auth input[type="checkbox"], .p-allauth input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--vby-charcoal); }
.auth button, .p-allauth button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 30px; border-radius: var(--vby-radius-pill);
  background: var(--vby-charcoal); color: var(--vby-white); border: 1px solid var(--vby-charcoal); font: inherit; font-size: 16px; font-weight: 500; cursor: pointer;
}
.auth button:hover, .p-allauth button:hover { background: var(--vby-dark); border-color: var(--vby-dark); }
.auth button + button, .auth form + form button, .auth form ~ button { background: var(--vby-white); color: var(--vby-charcoal); }
.auth hr, .p-allauth hr { border: 0; border-top: 1px dotted var(--vby-charcoal-50); margin: 4px 0; width: 100%; }
.auth ul.errorlist, .p-allauth ul.errorlist { list-style: none; margin: 0; padding: 0; color: var(--vby-ruby); font-size: 14px; font-weight: 500; }
/* the passkey button under the rule is the second way in: the outline button */
.auth hr ~ * button, .auth hr ~ button { background: var(--vby-white); color: var(--vby-charcoal); }
.auth hr ~ * button:hover, .auth hr ~ button:hover { background: var(--vby-verde-20); color: var(--vby-charcoal); border-color: var(--vby-charcoal); }
.p-allauth h2 { margin-top: 12px; }
.p-allauth ul { margin: 0; padding-left: 20px; }
