/* Match the clip editor's charcoal panel, borders and primary action. */
.auth-page { --auth-accent: #df244c; --auth-text: #f6f6f8; --auth-muted: #aaaab7; padding: 24px 12px 40px; color: var(--auth-text); font: 15px/1.5 Arial, sans-serif; }
.auth-page *, .auth-page *::before, .auth-page *::after { box-sizing: border-box; }
.auth-card { width: 100%; max-width: 460px; margin: 0 auto; border: 1px solid #38383f; border-radius: 18px; background: #18181d; box-shadow: 0 24px 80px #0005; }
.auth-page a { color: #ff91a9; text-decoration: none; }
.auth-page a:hover { color: #ffb5c6; text-decoration: underline; text-underline-offset: 3px; }
.auth-page :focus-visible { outline: 2px solid #ff7994; outline-offset: 4px; }
.auth-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 8px; padding: 4px; border-radius: 12px; background: #101014; }
.auth-switch a { display: flex; justify-content: center; align-items: center; min-height: 44px; padding: 10px 8px; border-radius: 8px; color: #aaaab7; font-size: 13px; font-weight: 600; text-align: center; }
.auth-switch a:hover { background: #ffffff08; text-decoration: none; }
.auth-switch a[aria-current="page"] { color: #fff; background: #2b2b32; box-shadow: 0 2px 8px #0003; }
.auth-card__body { padding: 20px; }
.auth-header { margin-bottom: 26px; }
.auth-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border: 1px solid #df244c38; border-radius: 12px; background: #df244c14; color: #ff7994; }
.auth-icon svg { width: 23px; height: 23px; }
.auth-page .auth-eyebrow { margin: 0 0 8px; color: #aaaab7; font-size: 10px; font-weight: 600; letter-spacing: 1.6px; }
.auth-header h1 { margin: 0 0 9px; color: var(--auth-text); font: 700 clamp(24px, 5.8vw, 28px)/1.2 Arial, sans-serif; letter-spacing: -.7px; }
.auth-page .auth-description { margin: 0; color: var(--auth-muted); font-size: 14px; line-height: 1.6; }
.auth-form { display: grid; gap: 18px; margin: 0; min-width: 0; }
.auth-field { min-width: 0; }
.auth-field label { display: block; margin: 0 0 8px; color: #dfdfe6; font-size: 13px; font-weight: 600; }
.auth-field__heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; column-gap: 10px; }
.auth-field__heading a { padding: 5px 0; margin-top: -5px; margin-bottom: 3px; font-size: 12px; }
.auth-field input[type="email"], .auth-field input[type="password"] { display: block; width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #454550; border-radius: 8px; background: #25252d; color: #fff; font: 16px/1.4 Arial, sans-serif; transition: border-color .15s, box-shadow .15s; }
.auth-field input:hover { border-color: #676773; }
.auth-field input:focus { border-color: #ff7994; box-shadow: 0 0 0 3px #df244c18; }
.auth-field input[aria-invalid="true"] { border-color: #ff7994; }
.auth-field .help-text, .auth-field .form-help { margin: 8px 0 0; color: var(--auth-muted); font-size: 12px; }
.auth-page .auth-button { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 48px; padding: 12px 16px; border: 1px solid #454550; border-radius: 8px; color: #fff; font: 600 14px/1.4 Arial, sans-serif; text-align: center; text-decoration: none; cursor: pointer; }
.auth-page .auth-button--primary { border-color: var(--auth-accent); background: var(--auth-accent); }
.auth-page .auth-button--primary:hover:not(:disabled) { background: #ef365d; border-color: #ef365d; color: #fff; text-decoration: none; }
.auth-button--primary > span { font-size: 20px; font-weight: 400; }
.auth-page .auth-button--secondary { background: #282830; }
.auth-page .auth-button--secondary:hover { background: #373740; color: #fff; text-decoration: none; }
.auth-button:disabled { opacity: .45; cursor: not-allowed; }
.auth-google-mark { font: 700 20px/1 Arial, sans-serif; }
.auth-divider { display: flex; align-items: center; gap: 14px; margin: 22px 0; color: #9898a6; font-size: 12px; }
.auth-divider::before, .auth-divider::after { content: ''; height: 1px; flex: 1; background: #33333c; }
.auth-checks { display: grid; gap: 6px; }
.auth-check { display: grid; grid-template-columns: 20px minmax(0, 1fr); column-gap: 10px; align-items: start; padding: 9px 0; min-height: 44px; }
.auth-check input[type="checkbox"] { grid-column: 1; grid-row: 1; appearance: auto; position: static; opacity: 1; width: 20px; height: 20px; margin: 1px 0 0; padding: 0; accent-color: var(--auth-accent); cursor: pointer; }
.auth-check label { grid-column: 2; grid-row: 1; margin: 0; color: #c5c5d0; font-size: 13px; line-height: 1.6; cursor: pointer; }
.auth-check ul { grid-column: 1 / -1; grid-row: 2; }
.auth-field ul, .auth-check ul, .auth-errors ul { margin: 8px 0 0; padding: 0; list-style: none; color: #ff97ab; font-size: 13px; line-height: 1.5; }
.auth-field li + li, .auth-check li + li, .auth-errors li + li { margin-top: 5px; }
.auth-errors:empty { display: none; }
.auth-notice { margin: 0 0 20px; padding: 13px 14px; border: 1px solid #454550; border-radius: 8px; background: #25252d; color: #dfdfe6; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.auth-notice--error { border-color: #df244c55; background: #df244c12; color: #ffb3c3; }
.auth-notice--success { border-color: #70c99e44; background: #70c99e0c; color: #ace6c8; }
.auth-form .auth-notice { margin: 0; }
.auth-captcha { display: flex; justify-content: center; }
.auth-confirmation { margin-bottom: 24px; }
.auth-confirmation h2 { margin: 0 0 10px; font-size: 16px; color: #f6f6f8; }
.auth-confirmation p { margin: 0 0 12px; color: #c5c5d0; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.auth-card__footer { padding: 18px 20px; border-top: 1px solid #33333c; background: #151519; border-radius: 0 0 18px 18px; color: var(--auth-muted); text-align: center; font-size: 13px; line-height: 1.8; }
.auth-card__footer a { display: inline-block; padding: 5px 0; margin: -5px 0 -5px 4px; font-weight: 600; }
.auth-page__note { display: flex; justify-content: center; align-items: center; gap: 14px; margin: 18px 0 0; color: #72727e; font-size: 12px; }
.auth-page__note a { display: inline-flex; align-items: center; min-height: 44px; color: #aaaab7; }
@media (min-width: 600px) {
    .auth-page { padding: 40px 24px 60px; }
    .auth-card__body { padding: 24px 30px 30px; }
    .auth-card__footer { padding: 20px 30px; }
}
@media (prefers-reduced-motion: reduce) { .auth-field input { transition: none; } }
