/* Entrance pages (login, code, sign-up): the site's top bar and footer, the form in a centred card. */
/* The card sits in the middle of the window, between top bar and footer. */
.auth { flex: 1 0 auto; display: flex; align-items: center; justify-content: center; }
.auth-panel { width: 100%; max-width: 30rem; display: flex; flex-direction: column; gap: 24px; padding: 28px 20px; }
.auth-head { display: flex; flex-direction: column; gap: 10px; }
.auth-head h1, .auth-panel > h1 { font-size: 3rem; line-height: 0.9; }
.auth-head p { margin: 0; font-size: 1.0625rem; }
.auth-panel input[type="email"] { min-height: 52px; }
.auth-panel input[name="code"] { min-height: 68px; border: 2px solid var(--accent); text-align: center; font: 700 2.375rem var(--font-display); letter-spacing: 0.4em; }
.auth-switch { margin: 0; text-align: center; color: var(--muted); }
.auth-switch a { font-weight: 600; }
.club-picker { display: flex; flex-direction: column; gap: 8px; }
.club-picker input[type="search"] {
    padding-left: 40px;
    background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none' stroke='%23a3ab9f' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='8' cy='8' r='5.5'/%3E%3Cpath d='M12.5 12.5l3.5 3.5'/%3E%3C/svg%3E") no-repeat 14px center;
}

@media (min-width: 720px) {
    .auth { padding-top: 24px; }
    .auth-panel { padding: 40px; }
    .auth-head h1, .auth-panel > h1 { font-size: 3.5rem; }
}
.auth-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.admin-request { padding-top: 14px; border-top: 1px solid var(--line); }
.admin-request input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--accent); }
/* Django renders label, help text, then the checkbox: put the box beside its label. */
.admin-request > div:has(> input[type="checkbox"]) { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; row-gap: 4px; align-items: start; }
.admin-request > div:has(> input[type="checkbox"]) > input { grid-row: 1; grid-column: 1; margin: 0; }
.admin-request > div:has(> input[type="checkbox"]) > :not(input) { grid-column: 2; }
.admin-request > div:has(> input[type="checkbox"]) > label { color: var(--text); font-size: 0.9375rem; }
/* Django renders the help text above the input: the phone's contact consent goes below the field. */
.admin-request > div:has(> input[name="phone"]) > .helptext { order: 1; }
