:root {
    --auth2-navy-950: #071323;
    --auth2-navy-900: #0a1b31;
    --auth2-navy-800: #102a48;
    --auth2-blue: #376cfb;
    --auth2-indigo: #6558f5;
    --auth2-cyan: #4fd6db;
    --auth2-orange: #ff7448;
    --auth2-green: #2cc68b;
    --auth2-ink: #14243a;
    --auth2-copy: #62748a;
    --auth2-line: #dfe7f0;
    --auth2-surface: #f6f8fc;
    --auth2-white: #ffffff;
}

body {
    color: var(--auth2-ink);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    background: var(--auth2-navy-950);
}

.auth-language-shell {
    top: 22px;
    right: 22px;
    z-index: 50;
}

.auth-language-shell .language-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 142px;
    padding: 6px 7px 6px 11px;
    color: #40536b;
    background: #ffffff;
    border: 1px solid #d7e2ef;
    border-radius: 13px;
    box-shadow: 0 12px 32px rgba(7, 19, 35, 0.12);
    backdrop-filter: blur(16px);
}

.auth-language-shell .language-selector i {
    color: var(--auth2-blue);
}

.auth-language-shell .language-select {
    width: 100%;
    min-height: 34px;
    padding: 4px 30px 4px 8px;
    color: var(--auth2-ink);
    font-size: 0.875rem;
    font-weight: 800;
    color-scheme: light;
    background-color: #f1f5fb;
    border: 1px solid #dbe5f0;
    border-radius: 9px;
    cursor: pointer;
}

.auth-language-shell .language-select:hover {
    background-color: #eaf1fb;
    border-color: #b9cae0;
}

.auth-language-shell .language-select:focus {
    color: var(--auth2-ink);
    background-color: #ffffff;
    border-color: var(--auth2-blue);
    box-shadow: 0 0 0 3px rgba(55, 108, 251, 0.14) !important;
}

.auth-language-shell .language-select option {
    color: var(--auth2-ink);
    background: #ffffff;
}

.auth-experience {
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 34px;
    background:
        radial-gradient(900px 620px at 8% 6%, rgba(55, 108, 251, 0.22), transparent 62%),
        radial-gradient(720px 520px at 96% 96%, rgba(255, 116, 72, 0.18), transparent 64%),
        linear-gradient(135deg, #071323 0%, #0b1c33 55%, #102a48 100%);
}

.auth-experience::before,
.auth-experience::after {
    position: absolute;
    z-index: -1;
    content: "";
    border-radius: 50%;
    pointer-events: none;
}

.auth-experience::before {
    top: -180px;
    left: -130px;
    width: 460px;
    height: 460px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 0 0 72px rgba(255, 255, 255, 0.018),
        0 0 0 144px rgba(255, 255, 255, 0.012);
}

.auth-experience::after {
    right: -80px;
    bottom: -200px;
    width: 420px;
    height: 420px;
    background: rgba(79, 214, 219, 0.05);
    filter: blur(2px);
}

.auth-stage {
    width: min(1180px, 100%);
    min-height: min(760px, calc(100vh - 68px));
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(430px, 0.97fr);
    overflow: hidden;
    background: var(--auth2-white);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 32px;
    box-shadow: 0 38px 100px rgba(0, 0, 0, 0.32);
    animation: authStageIn 650ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.auth-stage-register {
    width: min(1260px, 100%);
    grid-template-columns: minmax(380px, 0.84fr) minmax(620px, 1.16fr);
}

.auth-story {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 42px 46px 38px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
    background:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        radial-gradient(620px 380px at 8% 5%, rgba(55, 108, 251, 0.28), transparent 60%),
        radial-gradient(480px 300px at 98% 95%, rgba(79, 214, 219, 0.14), transparent 64%),
        linear-gradient(155deg, var(--auth2-navy-800), var(--auth2-navy-950));
    background-size: 42px 42px, 42px 42px, auto, auto, auto;
}

.auth-story::after {
    position: absolute;
    right: -90px;
    bottom: 80px;
    z-index: -1;
    width: 260px;
    height: 260px;
    content: "";
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 50%;
    box-shadow:
        0 0 0 36px rgba(255, 255, 255, 0.025),
        0 0 0 72px rgba(255, 255, 255, 0.016);
}

.auth-story-orb {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(1px);
    animation: authOrbFloat 8s ease-in-out infinite alternate;
}

.auth-story-orb-one {
    top: 28%;
    right: 8%;
    width: 120px;
    height: 120px;
    background: rgba(101, 88, 245, 0.13);
}

.auth-story-orb-two {
    right: 28%;
    bottom: 5%;
    width: 74px;
    height: 74px;
    background: rgba(255, 116, 72, 0.11);
    animation-delay: -2s;
}

.auth-brand-row {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.auth-brand {
    display: inline-flex;
    align-items: center;
}

.auth-brand img {
    display: block;
    width: min(172px, 42vw);
    height: auto;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.2));
}

.auth-brand-chip {
    padding: 8px 12px;
    color: #dce8f7;
    font-size: 0.78rem;
    font-weight: 800;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
}

.auth-story-content {
    position: relative;
    z-index: 2;
    width: min(520px, 100%);
    margin: 58px 0 48px;
    animation: authStoryIn 720ms 120ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.auth-kicker {
    margin: 0 0 12px;
    color: var(--auth2-orange);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.auth-story-title {
    margin: 0;
    color: #fff;
    font-size: clamp(2.8rem, 4.6vw, 4.8rem);
    font-weight: 850;
    letter-spacing: -0.055em;
    line-height: 0.98;
}

.auth-stage-register .auth-story-title {
    font-size: clamp(2.6rem, 4vw, 4.15rem);
}

.auth-story-title span {
    display: block;
    color: #96e8eb;
}

.auth-story-copy {
    max-width: 510px;
    margin: 22px 0 0;
    color: #b8c7da;
    font-size: 1rem;
    font-weight: 550;
    line-height: 1.72;
}

.auth-story-copy-strong {
    margin-top: 18px;
    color: #fff;
    font-size: 1.18rem;
    font-weight: 750;
    line-height: 1.5;
}

.auth-benefit-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 32px;
}

.auth-benefit {
    min-width: 0;
    padding: 16px 13px;
    color: #dce7f5;
    font-size: 0.82rem;
    font-weight: 750;
    line-height: 1.4;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    backdrop-filter: blur(12px);
}

.auth-benefit-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    margin-bottom: 12px;
    color: #9db8ff;
    font-size: 1.15rem;
    background: rgba(55, 108, 251, 0.15);
    border-radius: 10px;
}

.auth-benefit-icon-indigo {
    color: #c0baff;
    background: rgba(101, 88, 245, 0.17);
}

.auth-benefit-icon-cyan {
    color: #9ceff1;
    background: rgba(79, 214, 219, 0.15);
}

.auth-story-footer {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff;
}

.auth-story-footer strong,
.auth-story-footer small {
    display: block;
}

.auth-story-footer strong {
    font-size: 0.92rem;
    font-weight: 800;
}

.auth-story-footer small {
    margin-top: 3px;
    color: #9fb0c5;
    font-size: 0.8rem;
    font-weight: 650;
}

.auth-connected-stack {
    display: flex;
    padding-left: 8px;
}

.auth-connected-stack span,
.auth-footer-badge {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg, #376cfb, #6558f5);
    border: 2px solid var(--auth2-navy-900);
    border-radius: 50%;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.auth-connected-stack span {
    margin-left: -8px;
}

.auth-connected-stack span:nth-child(2) {
    background: linear-gradient(145deg, #6558f5, #9b67ee);
}

.auth-connected-stack span:nth-child(3) {
    background: linear-gradient(145deg, #23bdbf, #4fd6db);
}

.auth-footer-badge {
    flex: 0 0 auto;
    margin: 0;
    color: #9ceff1;
    background: rgba(79, 214, 219, 0.13);
    border-color: rgba(79, 214, 219, 0.2);
}

.auth-onboarding-path {
    position: relative;
    display: grid;
    gap: 8px;
    margin-top: 30px;
}

.auth-onboarding-path::before {
    position: absolute;
    top: 32px;
    bottom: 32px;
    left: 22px;
    width: 1px;
    content: "";
    background: linear-gradient(#7599ff, rgba(79, 214, 219, 0.35));
}

.auth-onboarding-step {
    position: relative;
    display: grid;
    grid-template-columns: 46px 1fr;
    align-items: center;
    gap: 14px;
    padding: 13px 15px 13px 0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 15px;
}

.auth-onboarding-step > span {
    position: relative;
    z-index: 1;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 0.74rem;
    font-weight: 900;
    background: var(--auth2-blue);
    border: 5px solid var(--auth2-navy-800);
    border-radius: 50%;
}

.auth-onboarding-step:nth-child(2) > span {
    background: var(--auth2-indigo);
}

.auth-onboarding-step:nth-child(3) > span {
    background: #25b9bd;
}

.auth-onboarding-step strong,
.auth-onboarding-step small {
    display: block;
}

.auth-onboarding-step strong {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800;
}

.auth-onboarding-step small {
    margin-top: 3px;
    color: #9fb0c5;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.45;
}

.auth-form-panel {
    position: relative;
    display: grid;
    place-items: center;
    padding: 48px clamp(34px, 4.2vw, 66px);
    background:
        radial-gradient(460px 240px at 100% 0%, rgba(55, 108, 251, 0.065), transparent 70%),
        #fff;
}

.auth-form-panel-inner {
    width: min(430px, 100%);
    animation: authFormIn 720ms 160ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.auth-form-panel-inner-register {
    width: min(680px, 100%);
}

.auth-back-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 34px;
    color: #71839a;
    font-size: 0.86rem;
    font-weight: 750;
    text-decoration: none;
    transition: color 180ms ease, transform 180ms ease;
}

.auth-back-link i {
    font-size: 1.2rem;
}

.auth-back-link:hover,
.auth-back-link:focus {
    color: var(--auth2-blue);
    transform: translateX(-2px);
}

.auth-form-header {
    margin-bottom: 30px;
}

.auth-form-header-register {
    margin-bottom: 24px;
}

.auth-form-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    color: var(--auth2-blue);
    font-size: 1.55rem;
    background: linear-gradient(145deg, rgba(55, 108, 251, 0.12), rgba(101, 88, 245, 0.08));
    border: 1px solid rgba(55, 108, 251, 0.13);
    border-radius: 15px;
}

.auth-form-header .auth-kicker {
    margin-bottom: 7px;
    color: var(--auth2-blue);
    font-size: 0.76rem;
}

.auth-form-header h2 {
    margin: 0;
    color: var(--auth2-ink);
    font-size: clamp(1.8rem, 3vw, 2.35rem);
    font-weight: 850;
    letter-spacing: -0.035em;
    line-height: 1.12;
}

.auth-form-header > p:last-child {
    margin: 10px 0 0;
    color: var(--auth2-copy);
    font-size: 0.95rem;
    font-weight: 550;
    line-height: 1.6;
}

.modern-auth-form {
    display: grid;
    gap: 20px;
}

.modern-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px 15px;
}

.auth-field {
    min-width: 0;
}

.modern-auth-form .form-label {
    display: block;
    margin: 0 0 8px;
    color: #30445d;
    font-size: 0.88rem;
    font-weight: 800;
}

.modern-auth-form .optional {
    color: #8795a7;
    font-weight: 600;
}

.auth-input-wrap {
    position: relative;
}

.auth-input-wrap > i {
    position: absolute;
    top: 50%;
    left: 16px;
    z-index: 2;
    color: #8a9aaf;
    font-size: 1.15rem;
    pointer-events: none;
    transform: translateY(-50%);
    transition: color 180ms ease;
}

.modern-auth-form .form-control,
.modern-auth-form .form-select {
    width: 100%;
    min-height: 56px;
    padding: 13px 48px 13px 46px;
    color: var(--auth2-ink);
    font-size: 0.95rem;
    font-weight: 600;
    background: #f8fafd;
    border: 1px solid #dce5ef;
    border-radius: 14px;
    box-shadow: none;
    transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.modern-auth-form .form-control::placeholder {
    color: #9aa8b8;
    opacity: 1;
}

.modern-auth-form .form-control:hover,
.modern-auth-form .form-select:hover {
    border-color: #c7d4e3;
}

.modern-auth-form .form-control:focus,
.modern-auth-form .form-select:focus {
    color: var(--auth2-ink);
    background: #fff;
    border-color: var(--auth2-blue);
    box-shadow: 0 0 0 4px rgba(55, 108, 251, 0.11);
}

.auth-input-wrap:focus-within > i {
    color: var(--auth2-blue);
}

.modern-auth-form .form-select {
    padding-right: 38px;
    color-scheme: light;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 9px;
    z-index: 3;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    padding: 0;
    color: #71839a;
    font-size: 1.2rem;
    background: transparent;
    border: 0;
    border-radius: 10px;
    transform: translateY(-50%);
    transition: color 180ms ease, background 180ms ease;
}

.password-toggle:hover,
.password-toggle:focus-visible,
.password-toggle.is-visible {
    color: var(--auth2-blue);
    background: rgba(55, 108, 251, 0.08);
}

.auth-form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: -3px;
}

.auth-check {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #53667d;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
}

.auth-check .form-check-input {
    width: 18px;
    height: 18px;
    margin: 0;
    background-color: #fff;
    border: 1.5px solid #bdcad9;
    border-radius: 5px;
}

.auth-check .form-check-input:checked {
    background-color: var(--auth2-blue);
    border-color: var(--auth2-blue);
}

.auth-secure-note {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #72839a;
    font-size: 0.78rem;
    font-weight: 700;
}

.auth-secure-note i {
    color: var(--auth2-green);
}

.auth-primary-button {
    width: 100%;
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 22px;
    color: #fff;
    font-size: 0.96rem;
    font-weight: 850;
    background: linear-gradient(135deg, var(--auth2-orange), #ff865f);
    border: 0;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(255, 116, 72, 0.25);
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.auth-primary-button i {
    font-size: 1.25rem;
    transition: transform 180ms ease;
}

.auth-primary-button:hover,
.auth-primary-button:focus-visible {
    color: #fff;
    filter: brightness(1.02);
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(255, 116, 72, 0.32);
}

.auth-primary-button:hover i {
    transform: translateX(3px);
}

.auth-primary-button:disabled {
    cursor: not-allowed;
    opacity: 0.72;
    transform: none;
}

.auth-register-button {
    margin-top: 2px;
}

.auth-switch {
    margin-top: 2px;
    padding: 17px 18px;
    color: #6c7d92;
    font-size: 0.88rem;
    font-weight: 650;
    text-align: center;
    background: var(--auth2-surface);
    border: 1px solid #e5ebf3;
    border-radius: 14px;
}

.auth-switch > span {
    margin-right: 5px;
}

.auth-switch a {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: var(--auth2-blue);
    font-weight: 850;
    text-decoration: none;
}

.auth-switch a:hover,
.auth-switch a:focus {
    color: #234fd7;
    text-decoration: underline;
}

.auth-switch a i {
    font-size: 1.05rem;
}

.auth-switch-compact {
    padding: 14px 16px;
}

.password-strength {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    margin-top: 7px;
}

.password-strength span {
    height: 3px;
    background: #e1e8f0;
    border-radius: 99px;
    transition: background 220ms ease;
}

.password-strength[data-password-strength="1"] span:first-child {
    background: var(--auth2-orange);
}

.password-strength[data-password-strength="2"] span:nth-child(-n+2) {
    background: #e8b331;
}

.password-strength[data-password-strength="3"] span {
    background: var(--auth2-green);
}

.modern-auth-form .validation-summary,
.modern-auth-form .validation-summary-errors {
    margin: 0;
    padding: 13px 15px;
    color: #a72d3a;
    font-size: 0.84rem;
    font-weight: 700;
    background: #fff2f3;
    border: 1px solid #ffd5d9;
    border-radius: 12px;
}

.modern-auth-form .validation-summary:empty {
    display: none;
}

.modern-auth-form .validation-summary ul,
.modern-auth-form .validation-summary-errors ul {
    margin: 0;
    padding-left: 18px;
}

.modern-auth-form .text-danger {
    display: block;
    margin-top: 6px;
    color: #c43d4b !important;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.35;
}

.login-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    place-items: center;
    padding: 20px;
    background: rgba(7, 19, 35, 0.74);
    backdrop-filter: blur(9px);
}

.login-loader.show {
    display: grid;
}

.login-loader-card {
    width: min(330px, 100%);
    padding: 34px 28px;
    color: var(--auth2-ink);
    text-align: center;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 22px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
    animation: authLoaderIn 260ms ease-out both;
}

.login-loader-spinner {
    width: 54px;
    height: 54px;
    margin: 0 auto 18px;
    border: 5px solid #edf1f6;
    border-top-color: var(--auth2-orange);
    border-right-color: var(--auth2-blue);
    border-radius: 50%;
    animation: authSpin 750ms linear infinite;
}

.login-loader-title {
    margin: 0;
    color: var(--auth2-ink);
    font-size: 1.14rem;
    font-weight: 850;
}

.login-loader-text {
    margin: 8px 0 0;
    color: var(--auth2-copy);
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.55;
}

@keyframes authStageIn {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.988);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes authStoryIn {
    from {
        opacity: 0;
        transform: translateX(-18px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes authFormIn {
    from {
        opacity: 0;
        transform: translateX(18px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes authOrbFloat {
    from {
        transform: translate3d(0, -8px, 0);
    }
    to {
        transform: translate3d(10px, 12px, 0);
    }
}

@keyframes authSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes authLoaderIn {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 1099.98px) {
    .auth-experience {
        padding: 82px 22px 26px;
    }

    .auth-stage,
    .auth-stage-register {
        width: min(760px, 100%);
        min-height: auto;
        grid-template-columns: 1fr;
    }

    .auth-story {
        min-height: auto;
        padding: 34px 38px;
    }

    .auth-story-content {
        margin: 42px 0 34px;
    }

    .auth-story-title,
    .auth-stage-register .auth-story-title {
        max-width: 620px;
        font-size: clamp(2.5rem, 8vw, 4rem);
    }

    .auth-story-copy {
        max-width: 620px;
    }

    .auth-form-panel {
        padding: 44px 38px 48px;
    }

    .auth-form-panel-inner,
    .auth-form-panel-inner-register {
        width: min(650px, 100%);
    }

    .auth-back-link {
        margin-bottom: 28px;
    }
}

@media (max-width: 659.98px) {
    .auth-language-shell {
        position: absolute;
        top: 16px;
        right: 14px;
        padding: 0;
    }

    .auth-language-shell .language-selector {
        min-width: 126px;
        padding: 5px 6px 5px 10px;
    }

    .auth-experience {
        display: block;
        min-height: 100vh;
        padding: 74px 10px 12px;
        overflow: visible;
    }

    .auth-stage,
    .auth-stage-register {
        border-radius: 24px;
    }

    .auth-story {
        padding: 26px 22px 28px;
    }

    .auth-brand-row {
        align-items: flex-start;
    }

    .auth-brand img {
        width: 142px;
    }

    .auth-brand-chip {
        padding: 7px 9px;
        font-size: 0.7rem;
    }

    .auth-story-content {
        margin: 38px 0 30px;
    }

    .auth-kicker {
        font-size: 0.74rem;
    }

    .auth-story-title,
    .auth-stage-register .auth-story-title {
        font-size: clamp(2.3rem, 12vw, 3.2rem);
    }

    .auth-story-copy {
        font-size: 0.95rem;
    }

    .auth-story-copy-strong {
        font-size: 1.08rem;
    }

    .auth-benefit-list {
        grid-template-columns: 1fr;
    }

    .auth-benefit {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px;
        font-size: 0.86rem;
    }

    .auth-benefit-icon {
        flex: 0 0 auto;
        margin: 0;
    }

    .auth-onboarding-step {
        padding-right: 10px;
    }

    .auth-onboarding-step small {
        font-size: 0.76rem;
    }

    .auth-form-panel {
        padding: 34px 22px 38px;
    }

    .auth-back-link {
        margin-bottom: 25px;
    }

    .auth-form-header {
        margin-bottom: 25px;
    }

    .auth-form-icon {
        margin-bottom: 16px;
    }

    .auth-form-header h2 {
        font-size: 1.8rem;
    }

    .modern-form-grid {
        grid-template-columns: 1fr;
    }

    .auth-form-options {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .auth-primary-button {
        min-height: 56px;
    }

    .auth-switch > span,
    .auth-switch a {
        display: flex;
        justify-content: center;
        margin: 0;
    }

    .auth-switch a {
        margin-top: 5px;
    }
}

@media (max-width: 389.98px) {
    .auth-story,
    .auth-form-panel {
        padding-right: 18px;
        padding-left: 18px;
    }

    .auth-brand-chip {
        display: none;
    }

    .auth-story-footer {
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-stage,
    .auth-story-content,
    .auth-form-panel-inner,
    .auth-story-orb,
    .login-loader-card,
    .login-loader-spinner {
        animation: none !important;
    }

    .auth-primary-button,
    .auth-primary-button i,
    .auth-back-link {
        transition: none;
    }
}
