/* Sign-in and registration only. Loaded after the site's theme styles. */
.authx-page {
    padding: clamp(18px, 3.2vw, 52px);
    background: #101525;
}
html[data-theme="light"] .authx-page { background: #f5f3f8; }

.authx-shell {
    width: min(1280px, 100%);
    min-height: 720px;
    grid-template-columns: minmax(420px, .88fr) minmax(0, 1.12fr);
    border-radius: 28px;
    border-color: rgba(255,255,255,.11);
    box-shadow: 0 32px 84px rgba(13,18,35,.22);
}
html[data-theme="light"] .authx-shell {
    border-color: #e6e2eb;
    box-shadow: 0 28px 75px rgba(43,38,69,.12);
}

.authx-form-side {
    padding: 48px clamp(36px, 4vw, 68px);
    background: #141b2b;
}
html[data-theme="light"] .authx-form-side { background: #fff; }
.authx-form-wrap { width: min(100%, 450px); }
.authx-mobile-brand { display: flex; margin-bottom: 32px; }
.authx-mobile-brand b { font-size: 22px; }
.authx-mobile-brand small { color: #a0a9bb; }
html[data-theme="light"] .authx-mobile-brand b { color: #1d2232; }
html[data-theme="light"] .authx-mobile-brand small { color: #7e8796; }

.authx-heading { margin-bottom: 28px; }
.authx-eyebrow { color: #b4a5ff; }
html[data-theme="light"] .authx-eyebrow { color: #6555c5; }
.authx-heading h1 {
    max-width: 430px;
    font-size: clamp(36px, 3vw, 47px);
    font-weight: 700;
    line-height: 1.05;
}
.authx-heading p { margin-top: 15px; line-height: 1.55; }

.authx-social { gap: 10px; }
.authx-social-btn {
    min-width: 0;
    min-height: 52px;
    gap: 8px;
    padding: 0 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 650;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(10,16,35,.08);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.authx-google,
html[data-theme="light"] .authx-social-btn.authx-google {
    color: #202a3b;
    background: #fff;
    border-color: #dce0e9;
}
.authx-google:hover,
html[data-theme="light"] .authx-social-btn.authx-google:hover {
    background: #f7f8fc;
    box-shadow: 0 8px 18px rgba(24,32,64,.12);
}
.authx-google-icon,
.authx-google-icon svg { width: 21px; height: 21px; flex: 0 0 21px; }

.authx-divider { margin: 23px 0; }
.authx-form { gap: 17px; }
.authx-field { font-size: 12px; font-weight: 650; }
.authx-input-wrap { min-height: 54px; border-radius: 12px; }
.authx-input-wrap:focus-within {
    border-color: #7964e7;
    box-shadow: 0 0 0 4px rgba(117,94,224,.14);
}
html[data-theme="light"] .authx-input-wrap:focus-within {
    border-color: #7964e7;
    box-shadow: 0 0 0 4px rgba(117,94,224,.12);
}
.authx-check input:checked + .authx-check-box {
    border-color: #7058d8;
    background: #7058d8;
}
.authx-check input:focus-visible + .authx-check-box {
    outline: 3px solid rgba(117,94,224,.38);
    outline-offset: 3px;
}
.authx-forgot,
.authx-check a,
.authx-switch a,
.authx-legal a,
html[data-theme="light"] .authx-forgot,
html[data-theme="light"] .authx-check a,
html[data-theme="light"] .authx-switch a,
html[data-theme="light"] .authx-legal a { color: #856ff0; }
html[data-theme="light"] .authx-forgot:hover,
html[data-theme="light"] .authx-check a:hover,
html[data-theme="light"] .authx-switch a:hover,
html[data-theme="light"] .authx-legal a:hover { color: #4939a7; }

.authx-submit {
    min-height: 56px;
    border-radius: 13px;
    background: linear-gradient(105deg, #5d5ce2, #9652ba);
    box-shadow: 0 13px 28px rgba(97,78,202,.25);
    font-size: 14px;
    font-weight: 700;
}
.authx-submit:hover {
    background: linear-gradient(105deg, #5050d0, #8643ac);
    box-shadow: 0 17px 34px rgba(97,78,202,.32);
}
.authx-submit-arrow { width: 31px; height: 31px; background: rgba(255,255,255,.19); }
.authx-social-btn:focus-visible,
.authx-submit:focus-visible {
    outline: 3px solid #ae9cff;
    outline-offset: 3px;
}

/* The scenic panel stays dark in both themes, so its text does too. */
.authx-visual {
    min-height: 720px;
    background:
        linear-gradient(180deg, rgba(12,18,35,.50) 0%, rgba(12,18,35,.62) 42%, rgba(10,16,31,.96) 100%),
        url('/assets/images/signature/italy/venice.jpg') center / cover no-repeat;
}
.authx-visual::before,
.authx-visual-glow,
.authx-map-lines { display: none; }
.authx-visual-content {
    min-height: 720px;
    padding: 58px clamp(32px, 4vw, 60px) 38px;
}
.authx-brand { display: none; }
.authx-story { margin-top: auto; }
.authx-story-label,
html[data-theme="light"] .authx-visual .authx-story-label {
    color: #d1c7ff !important;
}
.authx-story h2,
html[data-theme="light"] .authx-visual .authx-story h2 {
    max-width: 510px;
    color: #fff !important;
    font-size: clamp(42px, 4vw, 58px);
    line-height: 1.01;
    text-shadow: 0 2px 20px rgba(0,0,0,.22);
}
.authx-story h2 em,
html[data-theme="light"] .authx-visual .authx-story h2 em {
    color: #dec3ff !important;
}
.authx-story p,
html[data-theme="light"] .authx-visual .authx-story p {
    color: #e5e8f0 !important;
    font-size: 15px;
    line-height: 1.6;
}
.authx-mini-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 11px;
    margin-top: 30px;
}
.authx-mini {
    min-width: 0;
    min-height: 156px;
    padding: 15px;
    isolation: isolate;
    border-radius: 15px;
    border-color: rgba(255,255,255,.36);
    background-size: cover;
    background-position: center;
    box-shadow: 0 12px 25px rgba(0,0,0,.22);
}
.authx-mini::before {
    z-index: -1;
    opacity: 1;
    background: linear-gradient(180deg, rgba(4,10,22,.16), rgba(4,10,22,.23) 35%, rgba(4,10,22,.88));
}
.authx-photo-paris,
html[data-theme="light"] .authx-photo-paris {
    background-image: url('/assets/images/signature/france/paris.jpg') !important;
}
.authx-photo-venice,
html[data-theme="light"] .authx-photo-venice {
    background-image: url('/assets/images/signature/italy/venice.jpg') !important;
}
.authx-photo-loire,
html[data-theme="light"] .authx-photo-loire {
    background-image: url('/assets/images/signature/france/loire-valley.jpg') !important;
}
html[data-theme="light"] .authx-visual .authx-mini * {
    color: #fff !important;
}
.authx-mini-top,
html[data-theme="light"] .authx-visual .authx-mini-top {
    color: #fff !important;
    font-weight: 700;
}
.authx-mini strong,
html[data-theme="light"] .authx-visual .authx-mini strong {
    color: #fff !important;
    font-size: 16px;
    line-height: 1.1;
}
.authx-mini div:last-child span,
html[data-theme="light"] .authx-visual .authx-mini div:last-child span {
    color: #e8eaf0 !important;
    font-size: 10px;
}
.authx-visual-footer,
html[data-theme="light"] .authx-visual .authx-visual-footer {
    gap: 22px;
    margin-top: 36px;
    border-color: rgba(255,255,255,.35);
}
.authx-visual-footer span,
html[data-theme="light"] .authx-visual .authx-visual-footer span {
    color: #d6dce8 !important;
}
.authx-visual-footer b,
html[data-theme="light"] .authx-visual .authx-visual-footer b {
    color: #fff !important;
}

@media (max-width: 1050px) {
    .authx-shell { grid-template-columns: minmax(390px, .9fr) minmax(0, 1.1fr); }
    .authx-form-side { padding: 42px 34px; }
    .authx-visual-content { padding: 45px 30px 32px; }
    .authx-story h2 { font-size: 43px; }
}
@media (max-width: 820px) {
    .authx-shell { display: flex; flex-direction: column; min-height: 0; }
    .authx-form-side { padding: 38px clamp(24px, 6vw, 55px); }
    .authx-mobile-brand { margin-bottom: 30px; }
    .authx-visual { min-height: 470px; }
    .authx-visual-content { min-height: 470px; padding: 40px clamp(24px, 6vw, 55px) 32px; }
    .authx-story { margin-top: 0; }
    .authx-story h2 { font-size: 43px; }
    .authx-mini-grid { margin-top: 25px; }
}
@media (max-width: 560px) {
    .authx-page { padding: 0; }
    .authx-shell { border: 0; border-radius: 0; box-shadow: none; }
    .authx-form-side { padding: 28px 22px 38px; }
    .authx-heading h1 { font-size: 36px; }
    .authx-social { grid-template-columns: 1fr; }
    .authx-social-btn { min-height: 50px; font-size: 13px; }
    .authx-mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .authx-photo-paris { grid-column: 1 / -1; }
    .authx-visual { min-height: 630px; }
    .authx-visual-content { min-height: 630px; padding: 42px 22px 28px; }
    .authx-story h2 { font-size: 39px; }
    .authx-mini { min-height: 132px; }
    .authx-visual-footer { gap: 13px; }
    .authx-visual-footer span { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
    .authx-social-btn, .authx-submit { transition: none; }
}
