.auth-shell {
    --auth-deep: #051923;
    --auth-navy: #0A1128;
    --auth-ink: #001F54;
    --auth-slate: #003554;
    --auth-indigo: #373ac9;
    --auth-violet: var(--brand-violet-color, #3d41d5);
    --auth-violet-rgb: var(--brand-violet-rgb, 61, 65, 213);
    --auth-mist: var(--brand-soft-color, #908fb2);
    --auth-mist-rgb: var(--brand-soft-rgb, 144, 143, 178);
    --auth-ocean: #006494;
    --auth-blue: #0582CA;
    --auth-cyan: #00A6FB;
    --auth-teal: #1282A2;
    --auth-white: #FEFCFB;
    --auth-muted: rgba(254, 252, 251, 0.68);
    --auth-muted-strong: rgba(254, 252, 251, 0.86);
    --auth-field-bg: rgba(1, 19, 29, 0.66);
    --auth-field-bg-focus: rgba(2, 25, 39, 0.84);
    --auth-field-border: rgba(61, 65, 213, 0.28);
    --auth-focus-accent: rgba(var(--auth-mist-rgb), 0.94);
    --auth-focus-line: rgba(var(--auth-mist-rgb), 0.52);
    --auth-link-accent: rgba(226, 228, 245, 0.84);
    --auth-line: rgba(61, 65, 213, 0.24);
    --auth-line-strong: rgba(61, 65, 213, 0.58);
    --auth-loader-cyan: rgba(125, 211, 252, 0.72);
    --auth-loader-indigo: rgba(55, 58, 201, 0.42);
    --auth-loader-blue: rgba(60, 114, 252, 0.56);
    --auth-loader-violet: rgba(168, 85, 247, 0.34);
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    color: var(--auth-white);
    background: var(--auth-deep);
    font-family: var(--tblr-font-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica Neue, sans-serif);
    font-feature-settings: "cv03", "cv04", "cv11";
    overflow-x: hidden;
}

.auth-shell * {
    box-sizing: border-box;
}

.auth-shell__utility {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 3;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 24px 28px 0;
    pointer-events: none;
}

.auth-shell__utility > * {
    pointer-events: auto;
}

.auth-shell__utility-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    min-width: 0;
}

.auth-shell__utility-group--end {
    justify-content: flex-end;
    margin-left: auto;
}

.auth-shell__back-link {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 2px 0;
    border: 0;
    border-radius: 0;
    color: rgba(254, 252, 251, 0.88);
    background: transparent;
    box-shadow: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.015em;
    line-height: 1;
    text-decoration: none;
    transition: transform 180ms ease, color 180ms ease, opacity 180ms ease;
}

.auth-shell__back-link:hover,
.auth-shell__back-link:focus {
    color: var(--auth-white);
    text-decoration: none;
    transform: translateX(-2px);
}

.auth-shell__back-icon {
    width: 16px;
    height: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 0;
    background: transparent;
    flex: 0 0 auto;
    color: currentColor;
}

.auth-shell__back-arrow {
    position: relative;
    display: block;
    width: 16px;
    height: 12px;
}

.auth-shell__back-arrow::before,
.auth-shell__back-arrow::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    background: currentColor;
}

.auth-shell__back-arrow::before {
    width: 16px;
    height: 1.5px;
    transform: translateY(-50%);
}

.auth-shell__back-arrow::after {
    width: 8px;
    height: 8px;
    border-left: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    background: transparent;
    transform: translateY(-50%) rotate(45deg);
}

.auth-shell__language {
    min-width: 0;
    display: flex;
    justify-content: flex-end;
    flex: 0 0 auto;
}

.auth-shell .language-switcher {
    position: relative;
    display: block;
    flex: 0 0 auto;
}

.auth-shell .language-switcher[open] {
    z-index: 5;
}

.auth-shell .language-switcher__summary {
    list-style: none;
    cursor: pointer;
    user-select: none;
}

.auth-shell .language-switcher__summary::-webkit-details-marker {
    display: none;
}

.auth-shell .language-switcher__summary::marker {
    content: "";
}

.auth-shell .language-switcher__summary:focus-visible {
    outline: 3px solid rgba(var(--auth-mist-rgb), 0.34);
    outline-offset: 3px;
}

.auth-shell .language-switcher__summary-copy {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
    flex: 1 1 auto;
}

.auth-shell .language-switcher__globe {
    width: 18px;
    height: 18px;
    display: inline-block;
    flex: 0 0 auto;
    color: #bfc3ca;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Ccircle cx='9' cy='9' r='7.15' stroke='%23bfc3ca' stroke-width='1.4'/%3E%3Cpath d='M2.9 9h12.2' stroke='%23bfc3ca' stroke-width='1.2' stroke-linecap='round'/%3E%3Cpath d='M9 2.35c1.9 1.7 3.05 4.05 3.05 6.65S10.9 13.95 9 15.65C7.1 13.95 5.95 11.6 5.95 9S7.1 4.05 9 2.35Z' stroke='%23bfc3ca' stroke-width='1.2' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px 18px;
    font-size: 0;
}

.auth-shell .language-switcher--auth .language-switcher__globe {
    display: none;
}

.auth-shell .language-switcher__globe i,
.auth-shell .language-switcher__chevron i,
.auth-shell .language-switcher__option-check i {
    display: none;
}

.auth-shell .language-switcher__eyebrow {
    display: none;
    color: #8f949c;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.07em;
    line-height: 1;
    text-transform: uppercase;
}

.auth-shell .language-switcher__current {
    display: block;
    color: #d8dbe0;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 96px;
}

.auth-shell .language-switcher__chevron {
    width: 12px;
    height: 12px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #8f949c;
    flex: 0 0 auto;
    transition: transform 180ms ease;
}

.auth-shell .language-switcher__chevron::before {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
}

.auth-shell .language-switcher[open] .language-switcher__chevron {
    transform: rotate(180deg);
}

.auth-shell .language-switcher--auth .language-switcher__summary {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
    width: auto;
    padding: 10px 12px;
    border: 0;
    border-radius: 18px;
    color: #d8dbe0;
    background: #171717;
    box-shadow: none;
    transition: background-color 180ms ease, color 180ms ease;
}

.auth-shell .language-switcher--auth .language-switcher__summary:hover,
.auth-shell .language-switcher--auth .language-switcher__summary:focus-visible {
    color: #ffffff;
    background: #202020;
    transform: none;
}

.auth-shell .language-switcher__menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(220px, calc(100vw - 24px));
    padding-bottom: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: #171717;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 180ms ease, transform 180ms ease;
    overflow: hidden;
}

.auth-shell .language-switcher[open] .language-switcher__menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.auth-shell .language-switcher__menu-title {
    display: block;
    padding: 12px 12px 8px;
    color: #8f949c;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1;
    text-transform: uppercase;
}

.auth-shell .language-switcher__options {
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-height: min(360px, calc(100dvh - 220px));
    overflow-y: auto;
    padding: 0 6px 6px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.22) rgba(255, 255, 255, 0.06);
}

.auth-shell .language-switcher__options::-webkit-scrollbar {
    width: 8px;
}

.auth-shell .language-switcher__options::-webkit-scrollbar-track {
    background: rgba(254, 252, 251, 0.05);
    border-radius: 999px;
}

.auth-shell .language-switcher__options::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    border: 2px solid #171717;
}

.auth-shell .language-switcher__option {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 10px;
    border: 1px solid transparent;
    border-radius: 14px;
    background: transparent;
    color: #d8dbe0;
    text-decoration: none;
    transition: background-color 180ms ease, color 180ms ease;
}

.auth-shell .language-switcher__option:hover,
.auth-shell .language-switcher__option:focus-visible {
    color: var(--auth-white);
    text-decoration: none;
    transform: none;
    border-color: transparent;
    background: #242424;
}

.auth-shell .language-switcher__option.is-active {
    border-color: transparent;
    background: #242424;
    color: #ffffff;
    box-shadow: none;
}

.auth-shell .language-switcher__option.is-active .language-switcher__option-code {
    color: #bfc3ca;
}

.auth-shell .language-switcher__option-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.auth-shell .language-switcher__option-code {
    color: #8f949c;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1;
    text-transform: uppercase;
}

.auth-shell .language-switcher__option-name {
    color: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}

.auth-shell .language-switcher__option-check {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    color: #ffffff;
    flex: 0 0 auto;
}

.auth-shell .language-switcher__option-check::before {
    content: "";
    width: 9px;
    height: 5px;
    border-left: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-1px) rotate(-45deg);
}

.auth-shell__page {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 32px 16px;
    isolation: isolate;
    background:
        radial-gradient(circle at 18% 16%, rgba(var(--auth-mist-rgb), 0.16), transparent 20%),
        radial-gradient(circle at 78% 14%, rgba(0, 166, 251, 0.14), transparent 24%),
        radial-gradient(circle at 48% 36%, rgba(var(--auth-violet-rgb), 0.18), transparent 30%),
        radial-gradient(circle at 16% 82%, rgba(18, 130, 162, 0.18), transparent 34%),
        linear-gradient(135deg, #03131d 0%, var(--auth-deep) 18%, var(--auth-navy) 52%, var(--auth-ink) 100%);
}

.auth-bg,
.auth-bg > span,
.auth-shell__page::before,
.auth-shell__page::after {
    position: absolute;
    pointer-events: none;
}

.auth-bg {
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.auth-shell__page::before {
    content: "";
    inset: -12%;
    background:
        conic-gradient(from 220deg at 50% 48%, transparent 0 14%, rgba(125, 211, 252, 0.12) 22%, transparent 34%, rgba(60, 114, 252, 0.12) 48%, transparent 61%, rgba(168, 85, 247, 0.11) 74%, transparent 88%),
        radial-gradient(circle at 34% 34%, rgba(var(--auth-violet-rgb), 0.14), transparent 24%),
        radial-gradient(circle at 66% 32%, rgba(0, 166, 251, 0.12), transparent 26%),
        radial-gradient(circle at 54% 60%, rgba(0, 100, 148, 0.18), transparent 36%);
    opacity: 0.68;
    transform-origin: 50% 50%;
}

.auth-shell__page::after {
    content: "";
    inset: 0;
    z-index: 0;
    background:
        repeating-linear-gradient(180deg, rgba(254, 252, 251, 0.015) 0 1px, transparent 1px 22px),
        linear-gradient(180deg, rgba(5, 25, 35, 0.02), rgba(5, 25, 35, 0.76)),
        radial-gradient(circle at 50% 50%, transparent 0, rgba(10, 17, 40, 0.46) 74%);
}

.auth-bg__particle {
    --particle-size: 640px;
    --particle-speed: 92s;
    --particle-line: 7px;
    --particle-inner-line: 4px;
    --particle-core-line: 2px;
    --particle-tilt: 0deg;
    --particle-squash: 1;
    --particle-start: 214deg;
    --particle-inner-start: 184deg;
    --particle-core-start: 28deg;
    --particle-opacity: 1;
    --particle-a: var(--auth-loader-cyan);
    --particle-b: var(--auth-loader-indigo);
    --particle-c: var(--auth-loader-blue);
    --particle-d: var(--auth-loader-violet);
    z-index: 2;
    width: var(--particle-size);
    height: var(--particle-size);
    border-radius: 999px;
    background:
        conic-gradient(from var(--particle-start),
            var(--particle-a),
            var(--particle-c),
            rgba(60, 114, 252, 0.24),
            var(--particle-b),
            var(--particle-d),
            rgba(125, 211, 252, 0.22),
            var(--particle-a));
    opacity: var(--particle-opacity);
    filter: drop-shadow(0 0 16px rgba(125, 211, 252, 0.2));
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - var(--particle-line) - 1px), #000 calc(100% - var(--particle-line)) calc(100% - 0.2px), transparent 100%);
    mask: radial-gradient(farthest-side, transparent calc(100% - var(--particle-line) - 1px), #000 calc(100% - var(--particle-line)) calc(100% - 0.2px), transparent 100%);
    transform-origin: center;
    transform: translate3d(0, 0, 0) rotate(var(--particle-tilt)) scaleX(var(--particle-squash));
    backface-visibility: hidden;
    will-change: auto;
}

.auth-bg__particle::before,
.auth-bg__particle::after {
    content: "";
    position: absolute;
    border-radius: inherit;
    pointer-events: none;
}

.auth-bg__particle::before {
    inset: 7%;
    background:
        conic-gradient(from var(--particle-inner-start),
            rgba(60, 114, 252, 0.16),
            var(--particle-c),
            rgba(125, 211, 252, 0.2),
            var(--particle-d),
            rgba(55, 58, 201, 0.2),
            rgba(60, 114, 252, 0.16));
    opacity: 0.78;
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - var(--particle-inner-line) - 1px), #000 calc(100% - var(--particle-inner-line)) calc(100% - 0.2px), transparent 100%);
    mask: radial-gradient(farthest-side, transparent calc(100% - var(--particle-inner-line) - 1px), #000 calc(100% - var(--particle-inner-line)) calc(100% - 0.2px), transparent 100%);
}

.auth-bg__particle::after {
    inset: 16%;
    background:
        conic-gradient(from var(--particle-core-start),
            rgba(168, 85, 247, 0.12),
            var(--auth-loader-cyan),
            rgba(60, 114, 252, 0.18),
            var(--auth-loader-violet),
            rgba(168, 85, 247, 0.12));
    opacity: 0.72;
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - var(--particle-core-line) - 1px), #000 calc(100% - var(--particle-core-line)) calc(100% - 0.2px), transparent 100%);
    mask: radial-gradient(farthest-side, transparent calc(100% - var(--particle-core-line) - 1px), #000 calc(100% - var(--particle-core-line)) calc(100% - 0.2px), transparent 100%);
}

.auth-bg__particle--one {
    --particle-size: 760px;
    --particle-speed: 108s;
    --particle-line: 8px;
    --particle-inner-line: 5px;
    --particle-core-line: 3px;
    --particle-tilt: -8deg;
    --particle-squash: 1.02;
    --particle-start: 206deg;
    --particle-inner-start: 238deg;
    --particle-opacity: 1;
    left: -430px;
    top: 4vh;
}

.auth-bg__particle--two {
    --particle-size: 620px;
    --particle-speed: 96s;
    --particle-line: 7px;
    --particle-inner-line: 4px;
    --particle-core-line: 2px;
    --particle-tilt: 28deg;
    --particle-squash: 0.94;
    --particle-start: 118deg;
    --particle-inner-start: 168deg;
    --particle-opacity: 1;
    right: -340px;
    top: -170px;
    animation-direction: reverse;
}

.auth-bg__particle--three {
    --particle-size: 680px;
    --particle-speed: 118s;
    --particle-line: 7px;
    --particle-inner-line: 4px;
    --particle-core-line: 2px;
    --particle-tilt: 18deg;
    --particle-squash: 0.82;
    --particle-start: 294deg;
    --particle-inner-start: 26deg;
    --particle-opacity: 1;
    left: -360px;
    bottom: -350px;
}

.auth-bg__particle--four {
    --particle-size: 560px;
    --particle-speed: 88s;
    --particle-line: 6px;
    --particle-inner-line: 4px;
    --particle-core-line: 2px;
    --particle-tilt: -36deg;
    --particle-squash: 1.16;
    --particle-start: 326deg;
    --particle-inner-start: 88deg;
    --particle-opacity: 1;
    right: -300px;
    bottom: -230px;
    animation-direction: reverse;
}

.auth-bg__grid {
    inset: -1px;
    z-index: 1;
    background:
        linear-gradient(rgba(var(--auth-mist-rgb), 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--auth-violet-rgb), 0.055) 1px, transparent 1px);
    background-size: 68px 68px;
    mask-image: linear-gradient(180deg, transparent 0, rgba(5, 25, 35, 0.8) 22%, #051923 48%, transparent 94%);
    transform: perspective(1200px) rotateX(76deg) scale(1.65) translateY(28%);
    transform-origin: 50% 100%;
    opacity: 0.22;
}

.auth-bg__ribbon {
    width: 72vw;
    height: 18vw;
    min-width: 720px;
    min-height: 180px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(var(--auth-violet-rgb), 0.16), rgba(5, 130, 202, 0.24), rgba(var(--auth-mist-rgb), 0.18), transparent);
    opacity: 0.32;
}

.auth-bg__ribbon--one {
    left: -18vw;
    top: 18vh;
    transform: rotate(-16deg);
}

.auth-bg__ribbon--two {
    right: -28vw;
    bottom: 12vh;
    transform: rotate(18deg);
    opacity: 0.44;
}

.auth-bg__veil {
    inset: -15%;
    background:
        radial-gradient(circle at 22% 82%, rgba(18, 130, 162, 0.14), transparent 24%),
        radial-gradient(circle at 70% 18%, rgba(60, 114, 252, 0.12), transparent 22%),
        radial-gradient(circle at 78% 18%, rgba(0, 166, 251, 0.1), transparent 28%),
        linear-gradient(135deg, transparent 10%, rgba(var(--auth-violet-rgb), 0.04) 36%, transparent 62%);
    opacity: 0.42;
}

.auth-shell__frame {
    position: relative;
    z-index: 2;
    width: min(100%, 430px);
}

.auth-brand {
    display: flex;
    justify-content: center;
    margin-bottom: 22px;
}

.auth-brand__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
}

.auth-brand__image {
    display: block;
    width: auto;
    max-width: 160px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 12px 26px rgba(5, 25, 35, 0.72));
}

.auth-card,
.auth-shell__frame > form {
    width: 100%;
    padding: 30px 30px;
    border: 1px solid var(--auth-line);
    border-radius: 18px;
    color: var(--auth-white);
    background:
        linear-gradient(180deg, rgba(var(--auth-violet-rgb), 0.12), rgba(0, 31, 84, 0.16)),
        rgba(5, 25, 35, 0.84);
    box-shadow:
        0 26px 70px rgba(5, 25, 35, 0.58),
        0 0 52px rgba(var(--auth-violet-rgb), 0.1),
        0 0 34px rgba(var(--auth-mist-rgb), 0.08),
        inset 0 1px 0 rgba(254, 252, 251, 0.12);
}

.auth-card--wide {
    width: min(100vw - 32px, 560px);
    margin-left: 50%;
    transform: translateX(-50%);
}

.auth-card__header {
    margin-bottom: 24px;
}

.auth-kicker {
    display: block;
    margin-bottom: 8px;
    color: var(--auth-mist);
    font-size: 11px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.auth-card__header h2 {
    margin: 0;
    color: var(--auth-white);
    font-size: 30px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0;
}

.auth-card__header p {
    margin: 8px 0 0;
    color: var(--auth-muted);
    font-size: 14px;
    line-height: 1.5;
}

.auth-form {
    display: grid;
    gap: 18px;
}

.auth-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
    row-gap: 18px;
}

.auth-floating-field {
    display: flex;
    flex-direction: column-reverse;
    gap: 7px;
    min-width: 0;
}

.auth-input {
    box-sizing: border-box;
    display: block;
    min-width: 0;
    width: 100%;
    height: 50px;
    padding: 13px 14px;
    border: 1px solid var(--auth-field-border);
    border-bottom-color: var(--auth-line-strong);
    border-radius: 12px;
    color: var(--auth-white);
    background: var(--auth-field-bg) !important;
    box-shadow: none !important;
    outline: 0;
    caret-color: var(--auth-focus-accent);
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.4;
    -webkit-appearance: none;
    appearance: none;
    transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.auth-input:focus {
    border-color: var(--auth-focus-line);
    background: var(--auth-field-bg-focus) !important;
    box-shadow: 0 0 0 3px rgba(var(--auth-mist-rgb), 0.12) !important;
}

.auth-input.is-invalid {
    border-color: rgba(0, 166, 251, 0.78);
}

.auth-input::placeholder {
    color: transparent;
}

.auth-input:-webkit-autofill,
.auth-input:-webkit-autofill:hover,
.auth-input:-webkit-autofill:focus,
.auth-input:-webkit-autofill:active {
    -webkit-text-fill-color: var(--auth-white) !important;
    caret-color: var(--auth-focus-accent) !important;
    border-bottom-color: var(--auth-focus-line) !important;
    box-shadow: 0 0 0 1000px var(--auth-field-bg) inset !important;
    -webkit-box-shadow: 0 0 0 1000px var(--auth-field-bg) inset !important;
    transition: background-color 99999s ease-out, color 99999s ease-out;
}

.auth-input:autofill {
    color: var(--auth-white) !important;
    background: var(--auth-field-bg) !important;
}

.auth-floating-field label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    padding-left: 12px;
    color: var(--auth-muted);
    font-size: 13px;
    line-height: 1.3;
    font-weight: 700;
    pointer-events: auto;
    transform: none;
    transition: color 180ms ease;
}

.auth-input:focus + label,
.auth-input:not(:placeholder-shown) + label,
.auth-input:-webkit-autofill + label {
    color: var(--auth-focus-accent);
    transform: none;
}

.auth-field-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}

.auth-form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: -4px;
}

.auth-check {
    display: inline-flex;
    align-items: flex-start;
    gap: 9px;
    min-height: 24px;
    margin: 0;
    color: var(--auth-muted);
    font-size: 12px;
    line-height: 1.45;
    cursor: pointer;
}

.auth-check input {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    margin: 1px 0 0;
    accent-color: var(--auth-violet);
    cursor: pointer;
}

.auth-check--terms {
    margin-top: -2px;
}

.auth-link,
.auth-card__footer a,
.auth-check a {
    color: var(--auth-link-accent);
    font-weight: 700;
    text-decoration: none;
    transition: color 180ms ease;
}

.auth-link {
    flex: 0 0 auto;
    font-size: 12px;
}

.auth-link:hover,
.auth-card__footer a:hover,
.auth-check a:hover {
    color: var(--auth-white);
    text-decoration: none;
}

.auth-submit {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 24px;
    border: 1px solid rgba(254, 252, 251, 0.1);
    border-radius: 14px;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: var(--auth-white);
    background: #030712;
    box-shadow: 0 22px 48px rgba(3, 10, 24, 0.36);
    font-size: 15px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.015em;
    text-transform: none;
    cursor: pointer;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.auth-submit::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    padding: 2px;
    border-radius: inherit;
    background: linear-gradient(90deg, #2dd4bf 0%, #3b82f6 50%, #a855f7 100%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 260ms ease;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.auth-submit > * {
    position: relative;
    z-index: 1;
    transition: transform 220ms ease;
}

.auth-submit:hover,
.auth-submit:focus {
    color: var(--auth-white);
    border-color: rgba(45, 212, 191, 0.28);
    box-shadow: 0 26px 56px rgba(3, 10, 24, 0.46), 0 0 26px rgba(59, 130, 246, 0.18);
    text-decoration: none;
    transform: scale(1.035);
}

.auth-submit:hover::before,
.auth-submit:focus::before {
    opacity: 1;
}

.auth-submit:hover > *,
.auth-submit:focus > * {
    transform: translateX(3px);
}

.auth-submit:active {
    box-shadow: 0 12px 28px rgba(3, 10, 24, 0.32), 0 0 14px rgba(59, 130, 246, 0.14);
    transform: scale(0.97);
    transition-duration: 120ms;
}

.auth-submit__icon {
    width: 19px;
    height: 19px;
    transition: transform 180ms ease;
}

.auth-submit:hover .auth-submit__icon,
.auth-submit:focus .auth-submit__icon {
    transform: translateX(3px);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    color: rgba(254, 252, 251, 0.52);
    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    height: 1px;
    flex: 1 1 auto;
    background: var(--auth-line);
}

.auth-divider span {
    flex: 0 0 auto;
}

.auth-social-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: -10px;
}

.auth-social-grid--single {
    grid-template-columns: 1fr;
}

.auth-social-button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--auth-line);
    border-radius: 10px;
    color: var(--auth-white);
    background: rgba(0, 53, 84, 0.42);
    font-size: 13px;
    line-height: 1.2;
    font-weight: 800;
    text-decoration: none;
    transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.auth-social-button:hover,
.auth-social-button:focus {
    color: var(--auth-white);
    border-color: var(--auth-line-strong);
    background: linear-gradient(180deg, rgba(var(--auth-violet-rgb), 0.28), rgba(0, 100, 148, 0.48));
    text-decoration: none;
}

.auth-social-button__icon {
    width: 19px;
    height: 19px;
}

.auth-alert {
    margin-bottom: 24px;
    padding: 12px 14px;
    border: 1px solid rgba(var(--auth-mist-rgb), 0.34);
    border-radius: 10px;
    color: var(--auth-white);
    background: linear-gradient(180deg, rgba(var(--auth-violet-rgb), 0.16), rgba(0, 31, 84, 0.48));
    font-size: 13px;
    line-height: 1.5;
}

.auth-alert ul {
    padding-left: 18px;
}

.auth-alert strong {
    display: block;
    font-weight: 700;
}

.auth-recaptcha {
    min-width: 0;
    overflow-x: auto;
    margin-top: -4px;
}

.auth-shell .text-center {
    text-align: center;
}

.auth-shell .mb-0 {
    margin-bottom: 0 !important;
}

.auth-shell .mt-4 {
    margin-top: 16px !important;
}

.auth-shell .mb-4 {
    margin-bottom: 18px !important;
}

.auth-shell .form-group {
    min-width: 0;
}

.auth-shell .form-label {
    display: block;
    margin-bottom: 8px;
    padding-left: 2px;
    color: var(--auth-muted);
    font-size: 13px;
    line-height: 1.3;
    font-weight: 700;
}

.auth-shell .input-group {
    display: flex;
    align-items: stretch;
    width: 100%;
    border: 1px solid var(--auth-field-border);
    border-bottom-color: var(--auth-line-strong);
    border-radius: 12px;
    background: var(--auth-field-bg);
    transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.auth-shell .input-group:focus-within {
    border-color: var(--auth-focus-line);
    background: var(--auth-field-bg-focus);
    box-shadow: 0 0 0 3px rgba(var(--auth-mist-rgb), 0.12);
}

.auth-shell .input-group-text {
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 10px 0 14px;
    border: 0;
    color: var(--auth-focus-accent);
    background: transparent;
}

.auth-shell .input-group-text svg {
    width: 17px;
    height: 17px;
}

.auth-shell .form-control {
    flex: 1 1 auto;
    min-width: 0;
    width: 1%;
    height: 50px;
    padding: 13px 14px;
    border: 1px solid var(--auth-field-border);
    border-bottom-color: var(--auth-line-strong);
    border-radius: 12px;
    color: var(--auth-white);
    background: var(--auth-field-bg) !important;
    box-shadow: none !important;
    outline: 0;
    caret-color: var(--auth-focus-accent);
    font-size: 15px;
    line-height: 1.4;
    -webkit-appearance: none;
    appearance: none;
    transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.auth-shell .input-group .form-control {
    border: 0;
    border-radius: 12px;
    background: transparent !important;
    box-shadow: none !important;
}

.auth-shell .form-control:focus {
    border-color: var(--auth-focus-line);
    background: var(--auth-field-bg-focus) !important;
    box-shadow: 0 0 0 3px rgba(var(--auth-mist-rgb), 0.12) !important;
}

.auth-shell .input-group .form-control:focus {
    background: transparent !important;
    box-shadow: none !important;
}

.auth-shell .form-control::placeholder {
    color: rgba(254, 252, 251, 0.42);
}

.auth-shell .form-control:-webkit-autofill,
.auth-shell .form-control:-webkit-autofill:hover,
.auth-shell .form-control:-webkit-autofill:focus,
.auth-shell .form-control:-webkit-autofill:active {
    -webkit-text-fill-color: var(--auth-white) !important;
    caret-color: var(--auth-focus-accent) !important;
    box-shadow: 0 0 0 1000px var(--auth-field-bg) inset !important;
    -webkit-box-shadow: 0 0 0 1000px var(--auth-field-bg) inset !important;
    transition: background-color 99999s ease-out, color 99999s ease-out;
}

.auth-shell .d-grid {
    display: grid;
}

.auth-shell .btn {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 24px;
    border: 1px solid rgba(254, 252, 251, 0.1);
    border-radius: 14px;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: var(--auth-white);
    background: #030712;
    box-shadow: 0 22px 48px rgba(3, 10, 24, 0.36);
    font-size: 15px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.015em;
    text-transform: none;
    text-decoration: none;
    cursor: pointer;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.auth-shell .btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    padding: 2px;
    border-radius: inherit;
    background: linear-gradient(90deg, #2dd4bf 0%, #3b82f6 50%, #a855f7 100%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 260ms ease;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.auth-shell .btn > * {
    position: relative;
    z-index: 1;
    transition: transform 220ms ease;
}

.auth-shell .btn:hover,
.auth-shell .btn:focus {
    color: var(--auth-white);
    border-color: rgba(45, 212, 191, 0.28);
    box-shadow: 0 26px 56px rgba(3, 10, 24, 0.46), 0 0 26px rgba(59, 130, 246, 0.18);
    text-decoration: none;
    transform: scale(1.035);
}

.auth-shell .btn:hover::before,
.auth-shell .btn:focus::before {
    opacity: 1;
}

.auth-shell .btn:hover > *,
.auth-shell .btn:focus > * {
    transform: translateX(3px);
}

.auth-shell .btn:active {
    box-shadow: 0 12px 28px rgba(3, 10, 24, 0.32), 0 0 14px rgba(59, 130, 246, 0.14);
    transform: scale(0.97);
    transition-duration: 120ms;
}

.auth-shell .btn svg {
    width: 18px;
    height: 18px;
}

.auth-card__footer {
    margin: 18px 0 0;
    color: rgba(254, 252, 251, 0.58);
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

.auth-submit:focus-visible,
.auth-shell .btn:focus-visible,
.auth-social-button:focus-visible,
.auth-link:focus-visible,
.auth-card__footer a:focus-visible,
.auth-check input:focus-visible,
.auth-brand__link:focus-visible,
.auth-shell__back-link:focus-visible {
    outline: 3px solid rgba(var(--auth-mist-rgb), 0.42);
    outline-offset: 3px;
}

@media (max-width: 575.98px) {
    .auth-shell__utility {
        padding: 14px 12px 0;
        gap: 12px;
    }

    .auth-shell__utility-group {
        gap: 8px;
    }

    .auth-shell__utility-group--end {
        width: auto;
        justify-content: flex-end;
    }

    .auth-shell__back-link,
    .auth-shell .language-switcher--auth .language-switcher__summary {
        min-height: 44px;
        font-size: 12px;
    }

    .auth-shell__back-link {
        padding: 2px 0;
    }

    .auth-shell__back-link span:last-child {
        max-width: 108px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .auth-shell__back-icon {
        width: 15px;
        height: 11px;
    }

    .auth-shell__back-arrow {
        width: 15px;
        height: 11px;
    }

    .auth-shell__back-arrow::before {
        width: 15px;
    }

    .auth-shell__language {
        width: auto;
        min-width: 0;
        justify-content: flex-end;
    }

    .auth-shell .language-switcher--auth {
        width: auto;
        min-width: 0;
    }

    .auth-shell .language-switcher--auth .language-switcher__summary {
        width: auto;
        min-width: 0;
        padding: 9px 11px;
        max-width: calc(100vw - 24px);
    }

    .auth-shell .language-switcher--auth .language-switcher__menu {
        width: 100%;
        right: 0;
    }

    .auth-shell .language-switcher__eyebrow {
        font-size: 9px;
    }

    .auth-shell .language-switcher__current {
        font-size: 12px;
        max-width: 82px;
    }

    .auth-shell__frame {
        padding-top: 0;
    }

    .auth-shell__page {
        align-items: center;
        min-height: 100vh;
        min-height: 100dvh;
        overflow-x: hidden;
        overflow-y: auto;
        padding: calc(64px + env(safe-area-inset-top, 0px)) 12px calc(24px + env(safe-area-inset-bottom, 0px));
        background:
            radial-gradient(circle at 74% 18%, rgba(var(--auth-mist-rgb), 0.14), transparent 24%),
            linear-gradient(180deg, var(--auth-deep) 0%, var(--auth-deep) 100%);
    }

    .auth-shell__page::after {
        position: fixed;
    }

    .auth-bg {
        position: fixed;
    }

    .auth-bg__particle {
        opacity: var(--particle-opacity);
    }

    .auth-bg__particle--one {
        left: calc(50% - 160px);
        top: 118px;
        --particle-size: 320px;
        --particle-line: 4px;
        --particle-inner-line: 3px;
        --particle-core-line: 2px;
        --particle-opacity: 0.58;
    }

    .auth-bg__particle--two {
        right: 16px;
        top: 46px;
        --particle-size: 220px;
        --particle-line: 3px;
        --particle-inner-line: 2px;
        --particle-core-line: 2px;
        --particle-opacity: 0.42;
    }

    .auth-bg__particle--three {
        left: calc(50% - 150px);
        bottom: -104px;
        --particle-size: 300px;
        --particle-line: 4px;
        --particle-inner-line: 3px;
        --particle-core-line: 2px;
        --particle-opacity: 0.16;
    }

    .auth-bg__particle--four {
        right: 28px;
        bottom: -72px;
        --particle-size: 200px;
        --particle-line: 3px;
        --particle-inner-line: 2px;
        --particle-core-line: 2px;
        --particle-opacity: 0.12;
    }

    .auth-bg__grid {
        background-size: 52px 52px;
        transform: perspective(900px) rotateX(78deg) scale(1.75) translateY(34%);
        opacity: 0.12;
    }

    .auth-shell__frame {
        width: 100%;
        max-width: 430px;
    }

    .auth-brand {
        margin-bottom: 10px;
    }

    .auth-brand__link {
        min-height: 36px;
    }

    .auth-brand__image {
        max-width: 126px;
    }

    .auth-card,
    .auth-shell__frame > form,
    .auth-card--wide {
        width: 100%;
        margin-left: 0;
        transform: none;
        padding: 18px 16px;
        border-radius: 14px;
        background:
            linear-gradient(180deg, rgba(var(--auth-violet-rgb), 0.12), rgba(0, 31, 84, 0.12)),
            rgba(5, 25, 35, 0.86);
    }

    .auth-card__header {
        margin-bottom: 16px;
    }

    .auth-card__header h2 {
        font-size: 22px;
    }

    .auth-card__header p {
        margin-top: 5px;
        font-size: 13px;
        line-height: 1.35;
    }

    .auth-form,
    .auth-form-grid {
        gap: 13px;
    }

    .auth-form-grid,
    .auth-social-grid {
        grid-template-columns: 1fr;
    }

    .auth-form-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
        margin-top: 0;
    }

    .auth-floating-field {
        gap: 5px;
    }

    .auth-floating-field label {
        padding-left: 8px;
        font-size: 12px;
    }

    .auth-input {
        height: 44px;
        padding: 11px 12px;
        border-radius: 11px;
        font-size: 14px;
    }

    .auth-shell .form-control {
        height: 44px;
        padding: 11px 12px;
        border-radius: 11px;
        font-size: 14px;
    }

    .auth-check {
        gap: 7px;
        font-size: 11px;
        line-height: 1.35;
    }

    .auth-submit {
        min-height: 48px;
        padding: 13px 18px;
        border-radius: 12px;
        font-size: 14px;
    }

    .auth-card__footer {
        margin-top: 14px;
    }

}

@media (prefers-reduced-motion: reduce) {
    .auth-shell__page::before,
    .auth-bg__particle,
    .auth-bg__ribbon,
    .auth-bg__veil {
        animation: none;
    }

    .auth-floating-field label,
    .auth-input,
    .auth-submit,
    .auth-submit__icon,
    .auth-social-button,
    .auth-link,
    .auth-card__footer a {
        transition: none;
    }
}
