.authentication-wrapper.authentication-cover,
.authentication-wrapper.authentication-basic {
    --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
    --sans: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
    --serif-variation: "SOFT" 0, "WONK" 1, "opsz" 48;
    font-family: var(--sans);
}

.authentication-wrapper.authentication-cover h1,
.authentication-wrapper.authentication-cover h2,
.authentication-wrapper.authentication-cover h3,
.authentication-wrapper.authentication-cover h4,
.authentication-wrapper.authentication-cover .auth-cover-panel__title,
.authentication-wrapper.authentication-basic h1,
.authentication-wrapper.authentication-basic h2,
.authentication-wrapper.authentication-basic h3,
.authentication-wrapper.authentication-basic h4 {
    font-family: var(--serif);
    font-variation-settings: var(--serif-variation);
}

.authentication-wrapper.authentication-cover .auth-flow-strip__num,
.authentication-wrapper.authentication-cover code,
.authentication-wrapper.authentication-cover kbd,
.authentication-wrapper.authentication-basic code,
.authentication-wrapper.authentication-basic kbd {
    font-family: var(--mono);
}

.authentication-wrapper.authentication-cover input,
.authentication-wrapper.authentication-cover select,
.authentication-wrapper.authentication-cover textarea,
.authentication-wrapper.authentication-cover button,
.authentication-wrapper.authentication-cover .btn,
.authentication-wrapper.authentication-cover label,
.authentication-wrapper.authentication-basic input,
.authentication-wrapper.authentication-basic select,
.authentication-wrapper.authentication-basic textarea,
.authentication-wrapper.authentication-basic button,
.authentication-wrapper.authentication-basic .btn,
.authentication-wrapper.authentication-basic label {
    font-family: var(--sans);
}

.authentication-wrapper.authentication-basic .auth-brand-logo {
    display: block;
    width: auto;
    max-width: 200px;
    height: auto;
    max-height: 44px;
    object-fit: contain;
    margin-inline: auto;
}

.authentication-wrapper.authentication-basic .auth-basic-brand .app-brand-link {
    display: flex;
    justify-content: center;
}

.authentication-wrapper.authentication-basic .card .auth-basic-brand {
    margin-bottom: 1.5rem;
}

.authentication-wrapper.authentication-cover {
    --auth-brand-primary: #1E53EA;
    --auth-brand-secondary: #27698C;
    --auth-brand-deep: #034656;
    --auth-brand-ink: #0a1628;
    --auth-brand-midnight: #0f2847;
    --auth-brand-slate: #1a3d66;
    --auth-brand-sky: #4facfe;
    --auth-brand-mint: #00c2a8;
    --auth-brand-indigo: #7c93ff;
    --auth-brand-gold: #ffc857;
    --auth-brand-form-bg: #ffffff;
    --auth-brand-panel-bg: #ffffff;
    min-height: 100vh;
    background: var(--auth-brand-form-bg);
}

@media (min-width: 1200px) {
    .authentication-wrapper.authentication-cover .authentication-inner {
        min-height: 100vh;
    }
}

/* ── Left panel ── */
.authentication-wrapper.authentication-cover .auth-cover-panel {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 100vh;
    color: var(--auth-brand-ink);
    background: var(--auth-brand-panel-bg);
    clip-path: polygon(0 0, 100% 0, 93% 100%, 0 100%);
}

.authentication-wrapper.authentication-cover .auth-cover-panel__noise {
    position: absolute;
    inset: 0;
    opacity: 0.015;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    pointer-events: none;
}

/* ── Brand illustration ── */
.authentication-wrapper.authentication-cover .auth-cover-visual {
    position: absolute;
    top: 0;
    right: 0;
    width: 52%;
    height: 100%;
    pointer-events: none;
}

.authentication-wrapper.authentication-cover .auth-cover-visual .auth-orbit {
    position: absolute;
    border-radius: 50%;
    left: 50%;
    top: 44%;
    width: min(440px, 90%);
    height: min(440px, 90%);
    transform: translate(-50%, -50%);
}

.authentication-wrapper.authentication-cover .auth-cover-visual .auth-orbit--outer {
    border: 1px solid rgba(79, 172, 254, 0.22);
    animation: auth-orbit-spin 52s linear infinite;
}

.authentication-wrapper.authentication-cover .auth-cover-visual .auth-orbit--inner {
    width: 72%;
    height: 72%;
    top: 50%;
    border: 1px solid rgba(0, 194, 168, 0.24);
    animation: auth-orbit-spin 36s linear infinite reverse;
}

@keyframes auth-orbit-spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.authentication-wrapper.authentication-cover .auth-cover-visual__stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 100vh;
}

.authentication-wrapper.authentication-cover .auth-cover-visual__hero {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 420px;
    margin-top: -4%;
    padding: 0 1.5rem;
}

.authentication-wrapper.authentication-cover .auth-cover-visual__halo {
    position: absolute;
    width: 78%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79, 172, 254, 0.35) 0%, rgba(30, 83, 234, 0.12) 45%, transparent 70%);
    filter: blur(8px);
    animation: auth-logo-float 5s ease-in-out infinite;
}

.authentication-wrapper.authentication-cover .auth-cover-visual__logo {
    position: relative;
    z-index: 2;
    width: auto;
    max-width: min(340px, 78%);
    max-height: min(280px, 42vh);
    object-fit: contain;
    filter: drop-shadow(0 16px 32px rgba(30, 83, 234, 0.12));
    animation: auth-logo-float 5s ease-in-out infinite;
}

.authentication-wrapper.authentication-cover .auth-cover-visual--register .auth-cover-visual__logo {
    max-width: min(300px, 72%);
}

.authentication-wrapper.authentication-cover .auth-cover-visual__float {
    position: absolute;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(30, 83, 234, 0.12);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--auth-brand-ink);
    box-shadow: 0 8px 24px rgba(30, 83, 234, 0.1);
}

.authentication-wrapper.authentication-cover .auth-cover-visual__float i {
    font-size: 1rem;
}

.authentication-wrapper.authentication-cover .auth-cover-visual__float--protect {
    border-color: rgba(0, 194, 168, 0.35);
}

.authentication-wrapper.authentication-cover .auth-cover-visual__float--protect i {
    color: var(--auth-brand-mint);
}

.authentication-wrapper.authentication-cover .auth-cover-visual__float--resolve {
    border-color: rgba(255, 200, 87, 0.35);
}

.authentication-wrapper.authentication-cover .auth-cover-visual__float--resolve i {
    color: var(--auth-brand-gold);
}

.authentication-wrapper.authentication-cover .auth-cover-visual__float--pos-1 {
    top: 18%;
    left: 8%;
    animation: auth-badge-float 4.5s ease-in-out infinite;
}

.authentication-wrapper.authentication-cover .auth-cover-visual__float--pos-2 {
    bottom: 22%;
    left: 12%;
    animation: auth-badge-float 4.5s ease-in-out infinite 0.6s;
}

.authentication-wrapper.authentication-cover .auth-cover-visual__float--pos-3 {
    top: 24%;
    right: 6%;
    animation: auth-badge-float 4.5s ease-in-out infinite 0.3s;
}

.authentication-wrapper.authentication-cover .auth-cover-visual__float--pos-4 {
    bottom: 18%;
    right: 10%;
    animation: auth-badge-float 4.5s ease-in-out infinite 0.9s;
}

@keyframes auth-logo-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes auth-badge-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ── Content (left side) ── */
.authentication-wrapper.authentication-cover .auth-cover-panel__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    max-width: 48%;
    padding: 3.5rem clamp(2rem, 4vw, 3.5rem);
}

.authentication-wrapper.authentication-cover .auth-cover-panel__brand {
    margin-bottom: 2rem;
}

.authentication-wrapper.authentication-cover .auth-cover-panel__logo {
    display: block;
    width: auto;
    max-width: min(220px, 70%);
    height: auto;
    max-height: 48px;
    object-fit: contain;
}

.authentication-wrapper.authentication-cover .auth-cover-panel__title {
    margin: 0 0 1rem;
    font-size: clamp(1.85rem, 2.8vw, 2.65rem);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--auth-brand-ink);
}

.authentication-wrapper.authentication-cover .auth-cover-panel__lead {
    margin: 0;
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(10, 22, 40, 0.72);
    max-width: 28rem;
}

/* ── Flow strip ── */
.authentication-wrapper.authentication-cover .auth-flow-strip {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 2.25rem;
    padding: 0.85rem 1rem;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid rgba(30, 83, 234, 0.1);
    max-width: 32rem;
}

.authentication-wrapper.authentication-cover .auth-flow-strip__step {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--auth-brand-ink);
    line-height: 1.3;
}

.authentication-wrapper.authentication-cover .auth-flow-strip__num {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--auth-brand-primary);
}

.authentication-wrapper.authentication-cover .auth-flow-strip__arrow {
    color: rgba(30, 83, 234, 0.35);
    font-size: 0.85rem;
}

/* ── Bento tiles ── */
.authentication-wrapper.authentication-cover .auth-bento--inline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    margin-top: 2rem;
    max-width: 26rem;
}

.authentication-wrapper.authentication-cover .auth-bento--quad {
    max-width: 28rem;
}

.authentication-wrapper.authentication-cover .auth-bento__tile--feature {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
}

.authentication-wrapper.authentication-cover .auth-bento__tile--feature i {
    font-size: 1.35rem;
    flex-shrink: 0;
}

.authentication-wrapper.authentication-cover .auth-bento__tile--protect {
    border-left: 3px solid var(--auth-brand-mint);
}

.authentication-wrapper.authentication-cover .auth-bento__tile--protect i {
    color: var(--auth-brand-mint);
}

.authentication-wrapper.authentication-cover .auth-bento__tile--resolve {
    border-left: 3px solid var(--auth-brand-gold);
}

.authentication-wrapper.authentication-cover .auth-bento__tile--resolve i {
    color: var(--auth-brand-gold);
}

.authentication-wrapper.authentication-cover .auth-bento:not(.auth-bento--inline) {
    position: absolute;
    z-index: 3;
    bottom: 2.5rem;
    right: 6%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 0.65rem;
    width: min(340px, 36vw);
}

.authentication-wrapper.authentication-cover .auth-bento__tile {
    padding: 0.85rem 1rem;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(30, 83, 234, 0.1);
    box-shadow: 0 8px 24px rgba(30, 83, 234, 0.06);
}

.authentication-wrapper.authentication-cover .auth-bento__tile--stat {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(0, 194, 168, 0.3);
    border-left: 3px solid var(--auth-brand-mint);
}

.authentication-wrapper.authentication-cover .auth-bento:not(.auth-bento--inline) .auth-bento__tile--stat {
    grid-column: 1;
    grid-row: 1 / 3;
}

.authentication-wrapper.authentication-cover .auth-bento__label {
    margin: 0;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(10, 22, 40, 0.55);
}

.authentication-wrapper.authentication-cover .auth-bento__value {
    margin: 0.2rem 0;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    background: linear-gradient(135deg, var(--auth-brand-primary) 0%, var(--auth-brand-sky) 55%, var(--auth-brand-mint) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.authentication-wrapper.authentication-cover .auth-bento__hint {
    margin: 0;
    font-size: 0.75rem;
    color: rgba(10, 22, 40, 0.45);
}

.authentication-wrapper.authentication-cover .auth-bento__tile--mini-ui {
    grid-column: 2;
    grid-row: 1;
    padding: 0.7rem 0.85rem;
    border: 1px solid rgba(79, 172, 254, 0.28);
}

.authentication-wrapper.authentication-cover .auth-mini-checkout__row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    color: var(--auth-brand-ink);
    margin-bottom: 0.5rem;
}

.authentication-wrapper.authentication-cover .auth-mini-checkout__row strong {
    margin-left: auto;
    color: var(--auth-brand-sky);
    font-size: 0.68rem;
}

.authentication-wrapper.authentication-cover .auth-mini-checkout__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(30, 83, 234, 0.15);
}

.authentication-wrapper.authentication-cover .auth-mini-checkout__dot--on {
    background: var(--auth-brand-sky);
    box-shadow: 0 0 10px rgba(79, 172, 254, 0.4);
}

.authentication-wrapper.authentication-cover .auth-mini-checkout__bar {
    height: 4px;
    border-radius: 99px;
    background: rgba(30, 83, 234, 0.08);
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.authentication-wrapper.authentication-cover .auth-mini-checkout__bar::after {
    content: "";
    display: block;
    width: 72%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--auth-brand-primary), var(--auth-brand-sky), var(--auth-brand-mint));
}

.authentication-wrapper.authentication-cover .auth-mini-checkout__chips span {
    font-size: 0.6rem;
    padding: 0.15rem 0.45rem;
    border-radius: 99px;
    background: rgba(79, 172, 254, 0.15);
    border: 1px solid rgba(79, 172, 254, 0.2);
    color: rgba(10, 22, 40, 0.65);
}

.authentication-wrapper.authentication-cover .auth-mini-checkout__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.authentication-wrapper.authentication-cover .auth-bento__tile--badge {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    border: 1px solid rgba(255, 200, 87, 0.28);
}

.authentication-wrapper.authentication-cover .auth-bento__tile--badge i {
    font-size: 1.4rem;
    color: var(--auth-brand-gold);
}

.authentication-wrapper.authentication-cover .auth-bento__badge-title {
    margin: 0;
    font-size: 0.68rem;
    color: rgba(10, 22, 40, 0.55);
}

.authentication-wrapper.authentication-cover .auth-bento__badge-value {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--auth-brand-ink);
}

/* ── Form side ── */
.authentication-wrapper.authentication-cover .authentication-bg {
    background: var(--auth-brand-form-bg);
}

.authentication-wrapper.authentication-cover .auth-form-shell {
    max-width: 420px;
}

.authentication-wrapper.authentication-cover .auth-cover-benefits {
    margin: 1.5rem 0 0;
    max-width: 28rem;
    font-size: 0.925rem;
    line-height: 1.55;
    color: rgba(10, 22, 40, 0.78);
}

.authentication-wrapper.authentication-cover .auth-cover-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
}

.authentication-wrapper.authentication-cover .auth-cover-benefits li + li {
    margin-top: 0.65rem;
}

.authentication-wrapper.authentication-cover .auth-cover-benefits i {
    flex-shrink: 0;
    margin-top: 0.15rem;
    font-size: 1rem;
    color: var(--auth-brand-mint);
}

.authentication-wrapper.authentication-cover .auth-form-card {
    padding: 2rem 2.25rem;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(30, 83, 234, 0.1);
    box-shadow:
        0 1px 2px rgba(10, 22, 40, 0.04),
        0 16px 48px rgba(30, 83, 234, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.9) inset;
}

.authentication-wrapper.authentication-cover .auth-mobile-brand {
    display: flex;
    justify-content: center;
    text-align: center;
}

.authentication-wrapper.authentication-cover .auth-mobile-brand__logo {
    display: block;
    width: auto;
    max-width: 200px;
    height: auto;
    max-height: 44px;
    object-fit: contain;
    margin-inline: auto;
}

.authentication-wrapper.authentication-cover .btn-primary {
    background: linear-gradient(135deg, var(--auth-brand-primary) 0%, #3b7dff 100%);
    border: none;
    border-radius: 12px;
    padding-block: 0.65rem;
    font-weight: 600;
    box-shadow: 0 8px 22px rgba(30, 83, 234, 0.28);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.authentication-wrapper.authentication-cover .btn-primary:hover,
.authentication-wrapper.authentication-cover .btn-primary:focus {
    background: linear-gradient(135deg, #1848cc 0%, var(--auth-brand-primary) 100%);
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(30, 83, 234, 0.36);
}

.authentication-wrapper.authentication-cover a:not(.btn) {
    color: var(--auth-brand-primary);
    font-weight: 500;
}

.authentication-wrapper.authentication-cover .form-control,
.authentication-wrapper.authentication-cover .form-select {
    border-radius: 10px;
    border-color: #dce5f5;
    background: #ffffff;
}

.authentication-wrapper.authentication-cover .form-control:focus,
.authentication-wrapper.authentication-cover .form-select:focus {
    border-color: var(--auth-brand-sky);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.18);
}

@media (max-width: 1399.98px) {
    .authentication-wrapper.authentication-cover .auth-cover-panel__content {
        max-width: 58%;
        padding-block: 2.5rem;
    }

    .authentication-wrapper.authentication-cover .auth-bento {
        width: min(300px, 34vw);
        bottom: 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .authentication-wrapper.authentication-cover .auth-orbit--outer,
    .authentication-wrapper.authentication-cover .auth-orbit--inner,
    .authentication-wrapper.authentication-cover .auth-cover-visual__logo,
    .authentication-wrapper.authentication-cover .auth-cover-visual__halo,
    .authentication-wrapper.authentication-cover .auth-cover-visual__float {
        animation: none;
    }
}

/* ── Error pages ── */
.authentication-wrapper.error-page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: var(--auth-brand-form-bg, #ffffff);
}

.authentication-wrapper.error-page .error-page__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 75% 55% at 95% 5%, rgba(79, 172, 254, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse 60% 45% at 5% 95%, rgba(0, 194, 168, 0.1) 0%, transparent 52%),
        radial-gradient(ellipse 40% 30% at 50% 50%, rgba(30, 83, 234, 0.04) 0%, transparent 70%);
}

.authentication-wrapper.error-page .authentication-inner {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.authentication-wrapper.error-page .error-page-shell {
    max-width: 440px;
    padding-inline: 1rem;
}

.authentication-wrapper.error-page .error-page-card {
    overflow: hidden;
    padding: 0;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(30, 83, 234, 0.12);
    box-shadow:
        0 1px 2px rgba(10, 22, 40, 0.04),
        0 20px 56px rgba(30, 83, 234, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.95) inset;
}

.authentication-wrapper.error-page .error-page-brand {
    display: flex;
    justify-content: center;
    text-align: center;
}

.authentication-wrapper.error-page .error-page-brand__link {
    display: inline-block;
    text-decoration: none;
}

.authentication-wrapper.error-page .error-page-brand__logo {
    display: block;
    width: auto;
    max-width: 200px;
    height: auto;
    max-height: 44px;
    object-fit: contain;
    margin-inline: auto;
}

.authentication-wrapper.error-page .error-page-card__body {
    padding: 2rem 1.75rem 2rem;
}

.authentication-wrapper.error-page .error-page__visual {
    margin-bottom: 0.25rem;
}

.authentication-wrapper.error-page .error-page__icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 0.85rem;
    border-radius: 16px;
    border: 1px solid rgba(30, 83, 234, 0.12);
    background: linear-gradient(145deg, rgba(30, 83, 234, 0.08), rgba(0, 194, 168, 0.1));
    box-shadow: 0 8px 24px rgba(30, 83, 234, 0.08);
}

.authentication-wrapper.error-page .error-page__icon-wrap i {
    font-size: 1.65rem;
    color: var(--auth-brand-primary);
}

.authentication-wrapper.error-page .error-page__visual--danger .error-page__icon-wrap {
    background: linear-gradient(145deg, rgba(220, 53, 69, 0.08), rgba(255, 107, 107, 0.1));
    border-color: rgba(220, 53, 69, 0.15);
}

.authentication-wrapper.error-page .error-page__visual--danger .error-page__icon-wrap i {
    color: #dc3545;
}

.authentication-wrapper.error-page .error-page__visual--warning .error-page__icon-wrap {
    background: linear-gradient(145deg, rgba(255, 200, 87, 0.15), rgba(255, 159, 67, 0.1));
    border-color: rgba(255, 200, 87, 0.35);
}

.authentication-wrapper.error-page .error-page__visual--warning .error-page__icon-wrap i {
    color: #e6a017;
}

.authentication-wrapper.error-page .error-page__visual--muted .error-page__icon-wrap i {
    color: var(--auth-brand-secondary);
}

.authentication-wrapper.error-page .error-page__code {
    margin: 0;
    font-family: var(--serif);
    font-variation-settings: var(--serif-variation);
    font-size: clamp(2.75rem, 8vw, 3.75rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, var(--auth-brand-primary) 0%, var(--auth-brand-sky) 55%, var(--auth-brand-mint) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.authentication-wrapper.error-page .error-page__visual--danger .error-page__code {
    background: linear-gradient(135deg, #dc3545 0%, #ff6b6b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.authentication-wrapper.error-page .error-page__title {
    margin: 0 0 0.65rem;
    font-family: var(--serif);
    font-variation-settings: var(--serif-variation);
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--auth-brand-ink);
}

.authentication-wrapper.error-page .error-page__message {
    margin: 0 0 1.5rem;
    font-size: 0.925rem;
    line-height: 1.65;
    color: rgba(10, 22, 40, 0.68);
    max-width: 32ch;
    margin-inline: auto;
}

.authentication-wrapper.error-page .error-page__actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.authentication-wrapper.error-page .btn-primary {
    background: linear-gradient(135deg, var(--auth-brand-primary) 0%, #3b7dff 100%);
    border: none;
    border-radius: 12px;
    padding-block: 0.65rem;
    font-weight: 600;
    box-shadow: 0 8px 22px rgba(30, 83, 234, 0.28);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.authentication-wrapper.error-page .btn-primary:hover,
.authentication-wrapper.error-page .btn-primary:focus {
    background: linear-gradient(135deg, #1848cc 0%, var(--auth-brand-primary) 100%);
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(30, 83, 234, 0.36);
}

.authentication-wrapper.error-page .btn-label-secondary {
    border-radius: 12px;
    padding-block: 0.65rem;
    font-weight: 600;
    color: var(--auth-brand-ink);
    border: 1px solid rgba(30, 83, 234, 0.2);
    background: #fff;
}

.authentication-wrapper.error-page .error-page-preview-list {
    margin: 0;
    text-align: left;
}

.authentication-wrapper.error-page .error-page-preview-list li + li {
    margin-top: 0.5rem;
}

.authentication-wrapper.error-page .error-page-preview-list__link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.85rem;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid rgba(30, 83, 234, 0.12);
    background: rgba(30, 83, 234, 0.03);
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.authentication-wrapper.error-page .error-page-preview-list__link:hover {
    background: rgba(30, 83, 234, 0.07);
    border-color: rgba(30, 83, 234, 0.22);
    transform: translateY(-1px);
}

.authentication-wrapper.error-page .error-page-preview-list__code {
    flex-shrink: 0;
    min-width: 2.75rem;
    font-family: var(--mono);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--auth-brand-primary);
}

.authentication-wrapper.error-page .error-page-preview-list__label {
    flex: 1;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--auth-brand-ink);
}

.authentication-wrapper.error-page .error-page-preview-list__link i {
    flex-shrink: 0;
    font-size: 1rem;
    color: rgba(30, 83, 234, 0.45);
}
