.auth-shell-registration {
    min-height: 100vh;
}

.auth-registration-wrap {
    align-items: start;
    overflow-y: auto;
}

.registration-card {
    width: min(100%, 650px);
    margin: auto;
}

.registration-card .form-row {
    gap: 16px;
}

.social-auth-button {
    min-height: 52px;
    width: 100%;
    margin: 22px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    color: #f8f9ff;
    font-weight: 800;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 14px;
    background: rgba(255,255,255,.045);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.social-auth-button:hover {
    color: #fff;
    border-color: rgba(181,142,255,.62);
    background: rgba(127,91,255,.11);
    transform: translateY(-1px);
}

.google-mark {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    flex: 0 0 26px;
    border-radius: 50%;
    background: #fff;
    color: #4285f4;
    font: 800 16px/1 Arial, sans-serif;
    box-shadow: 0 2px 10px rgba(0,0,0,.2);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 20px 0;
    color: #7f889d;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: rgba(255,255,255,.11);
}

.google-verified-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    padding: 13px 15px;
    border: 1px solid rgba(74,222,128,.3);
    border-radius: 14px;
    background: rgba(34,197,94,.08);
}

.google-verified-banner strong,
.google-verified-banner small {
    display: block;
}

.google-verified-banner small {
    margin-top: 2px;
    color: #9aa4b8;
}

.field input[readonly] {
    color: #bac3d7;
    background: rgba(255,255,255,.025);
    cursor: default;
}

.country-picker {
    position: relative;
}

.country-picker-trigger {
    width: 100%;
    min-height: 47px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 13px;
    color: #f8f9ff;
    text-align: left;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: rgba(255,255,255,.045);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.country-picker-trigger:hover,
.country-picker-trigger[aria-expanded="true"] {
    border-color: var(--purple-light);
    box-shadow: 0 0 0 4px rgba(108,77,255,.16);
}

.country-picker-trigger svg {
    width: 17px;
    color: #8f99ae;
}

.country-choice-label {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 10px;
}

.country-choice-label .country-flag {
    font-size: 20px;
    line-height: 1;
}

.country-choice-label .country-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.country-picker-popover {
    position: absolute;
    z-index: 80;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    padding: 8px;
    border: 1px solid rgba(181,142,255,.3);
    border-radius: 15px;
    background: rgba(12,14,26,.98);
    box-shadow: 0 22px 50px rgba(0,0,0,.48);
    backdrop-filter: blur(22px);
}

.country-picker-search {
    position: relative;
    margin-bottom: 7px;
}

.country-picker-search svg {
    position: absolute;
    z-index: 1;
    left: 12px;
    top: 50%;
    width: 16px;
    transform: translateY(-50%);
    color: #858fa5;
}

.country-picker-search input {
    min-height: 42px;
    padding-left: 38px;
}

.country-picker-list {
    max-height: 280px;
    overflow: auto;
    scrollbar-color: rgba(138,101,255,.65) transparent;
}

.country-option {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 11px;
    color: #dfe4ef;
    text-align: left;
    border: 0;
    border-radius: 10px;
    background: transparent;
}

.country-option:hover,
.country-option[aria-selected="true"] {
    color: #fff;
    background: rgba(116,84,255,.18);
}

.country-option .country-dial-code {
    flex: 0 0 auto;
    color: #8893a9;
    font-size: 12px;
}

.country-empty {
    padding: 18px 12px;
    color: #8993a7;
    text-align: center;
    font-size: 13px;
}

.phone-field .iti {
    width: 100%;
}

.phone-field .iti__selected-country-primary,
.phone-field .iti__country-container {
    border-radius: 13px 0 0 13px;
}

.phone-field .iti__selected-country-primary:hover,
.phone-field .iti__selected-country-primary:focus,
.phone-field .iti__country-container:hover {
    background: rgba(127,91,255,.13);
}

.phone-field .iti__selected-dial-code {
    color: #cbd2e2;
}

.phone-field .iti__dropdown-content {
    color: #e8ebf4;
    border: 1px solid rgba(181,142,255,.3);
    border-radius: 15px;
    background: #0c0e1a;
    box-shadow: 0 22px 50px rgba(0,0,0,.5);
}

.phone-field .iti__search-input {
    color: #fff;
    border-color: rgba(255,255,255,.12);
    background: #141725;
}

.phone-field .iti__country.iti__highlight {
    background: rgba(116,84,255,.18);
}

.referral-field {
    margin-top: 2px;
}

.optional-badge,
.agreement-option em {
    margin-left: 5px;
    padding: 3px 7px;
    color: #aab3c5;
    font-size: 9px;
    font-style: normal;
    letter-spacing: .08em;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 999px;
}

.agreement-stack {
    display: grid;
    gap: 10px;
    margin: 7px 0 18px;
}

.agreement-option {
    display: grid;
    grid-template-columns: 20px minmax(0,1fr);
    gap: 11px;
    padding: 13px 14px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 13px;
    background: rgba(255,255,255,.025);
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease;
}

.agreement-option:hover,
.agreement-option:has(input:checked) {
    border-color: rgba(163,120,255,.44);
    background: rgba(118,80,255,.07);
}

.agreement-option input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #8c62ff;
}

.agreement-option strong,
.agreement-option small {
    display: block;
}

.agreement-option strong {
    color: #edf0f8;
    font-size: 12px;
}

.agreement-option small {
    margin-top: 4px;
    color: #8e98ad;
    font-size: 11px;
    line-height: 1.55;
}

.agreement-option a {
    color: #bd9bff;
    font-weight: 800;
}

.agreement-error {
    margin: -5px 0 1px 4px;
}

@media (max-width: 1120px) {
    .auth-shell-registration {
        grid-template-columns: minmax(280px,.8fr) minmax(0,1.2fr);
    }
    .auth-shell-registration .auth-art {
        padding: 42px;
    }
}

/* =====================================================================
   Premium auth art (2026-08-14) — replaces the crude giant "FF" text
   watermark with the real 3D Fandora brand mark on a richer aurora
   backdrop. Loaded after components.css, so these override the base.
   ===================================================================== */
.auth-art {
    background:
        radial-gradient(120% 95% at 12% 4%, rgba(150,102,255,.34), transparent 46%),
        radial-gradient(95% 85% at 96% 96%, rgba(56,132,255,.30), transparent 48%),
        radial-gradient(70% 70% at 65% 55%, rgba(108,77,255,.14), transparent 62%),
        #05060f;
}
/* Fine tech grid for depth, faded out toward the edges. */
.auth-art::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(115% 90% at 30% 25%, #000 0%, transparent 72%);
            mask-image: radial-gradient(115% 90% at 30% 25%, #000 0%, transparent 72%);
    opacity: .55;
    pointer-events: none;
}
/* The real brand mark as a large, glowing hero watermark on the right —
   fully neutralizes the old text-clip "FF" styling. */
.auth-art::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 3%;
    left: auto;
    bottom: auto;
    transform: translateY(-50%);
    width: 48%;
    height: 72%;
    max-width: 540px;
    background: url(../images/fandora-logo-symbol.png) no-repeat center center / contain;
    -webkit-background-clip: border-box;
            background-clip: border-box;
    color: transparent;
    font-size: 0;
    letter-spacing: normal;
    display: block;
    place-items: normal;
    opacity: .5;
    filter: drop-shadow(0 26px 90px rgba(116,84,255,.5));
    z-index: 0;
    pointer-events: none;
    animation: authMarkFloat 9s ease-in-out infinite;
}
@keyframes authMarkFloat {
    0%, 100% { transform: translateY(-50%); }
    50%      { transform: translateY(calc(-50% - 14px)); }
}
@media (prefers-reduced-motion: reduce) {
    .auth-art::after { animation: none; }
}

@media (max-width: 760px) {
    .auth-registration-wrap {
        padding-top: 28px;
    }
    .registration-card {
        padding: 26px 20px;
    }
    .registration-card .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .country-picker-popover {
        position: fixed;
        inset: 14px 14px auto;
        z-index: 120;
    }
    .country-picker-list {
        max-height: min(44dvh, 380px);
    }
}
