﻿:root {
    --text: #17324d;
    --muted: #6e8096;
    --line: #d8e2ea;
    --surface: #ffffff;
    --panel: #f4f8fb;
    --brand: #6c63ff;
    --brand-deep: #4f46d4;
    --brand-soft: #8d86ff;
    --accent: #6c63ff;
    --accent-soft: rgba(108, 99, 255, 0.14);
    --shadow: 0 24px 70px rgba(81, 67, 194, 0.16);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
/*body {
    min-height: 100vh;
    font-family: "Inter", sans-serif;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.25), rgba(108, 99, 255, 0.08));
    color: var(--text);
}*/

body {
    min-height: 100vh;
    font-family: "Inter", sans-serif;
    background: radial-gradient( circle at 10% 10%, rgba(108, 99, 255, 0.14), transparent 22% ), radial-gradient( circle at 90% 90%, rgba(141, 134, 255, 0.12), transparent 24% ), linear-gradient(180deg, #f4f3ff 0%, #fbfbff 100%);
    color: var(--text);
}


.kb-alert-sm {
    border-radius: 14px !important;
    padding: 18px !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 102, 241, 0.15);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.2);
    font-family: 'Inter', sans-serif;
}

.kb-title-sm {
    font-size: 16px;
    font-weight: 600;
}

.kb-btn-sm {
    border-radius: 8px !important;
    padding: 8px 16px !important;
    font-size: 14px;
    background: linear-gradient(135deg, #6366f1, #4f46e5) !important;
    transition: all 0.2s ease;
}

    .kb-btn-sm:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35);
    }
.btn-loader {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    margin-left: 8px;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
.page-loader {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

    .page-loader.active {
        opacity: 1;
        visibility: visible;
    }

.loader-content {
    text-align: center;
    color: #fff;
    font-family: 'Inter', sans-serif;
}

.loader-spinner {
    width: 42px;
    height: 42px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid #6366f1;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    margin: 0 auto 12px;
}

.loader-content p {
    font-size: 14px;
    opacity: 0.9;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Loading state */
.primary-btn.loading .btn-text {
    opacity: 0.7;
}

.primary-btn.loading .btn-loader {
    display: inline-block;
}

.page-shell {
    min-height: calc(100vh - 44px);
    display: grid;
    place-items: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.shell-lottie-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

    .shell-lottie-bg::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 14% 24%, rgba(108, 99, 255, 0.14), transparent 18%), radial-gradient(circle at 82% 20%, rgba(141, 134, 255, 0.12), transparent 18%), radial-gradient(circle at 76% 78%, rgba(108, 99, 255, 0.1), transparent 20%);
        opacity: 0.95;
    }

.shell-lottie-canvas {
    position: absolute;
    inset: 0;
    opacity: 0.42;
    filter: saturate(1.04);
}

    .shell-lottie-canvas svg {
        width: 100%;
        height: 100%;
    }

.auth-card {
    width: min(1000px, 100%);
    height: min(700px, calc(100vh - 40px));
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--surface);
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(23, 50, 77, 0.06);
    box-shadow: 0 40px 100px rgba(76, 67, 167, 0.14), 0 14px 30px rgba(76, 67, 167, 0.08);
    position: relative;
    z-index: 1;
}

.visual-panel {
    position: relative;
    padding: 42px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient( 135deg, rgba(43, 31, 120, 0.52) 0%, rgba(43, 31, 120, 0.2) 24%, rgba(43, 31, 120, 0) 42% ), radial-gradient( circle at 18% 18%, rgba(255, 255, 255, 0.42), transparent 22% ), radial-gradient( circle at 88% 16%, rgba(255, 255, 255, 0.18), transparent 24% ), linear-gradient( 155deg, #dcd7ff 0%, var(--brand-soft) 38%, var(--brand) 68%, var(--brand-deep) 100% );
    color: #ffffff;
}

    .visual-panel::before {
        content: "";
        position: absolute;
        top: -60px;
        right: -60px;
        width: 340px;
        height: 340px;
        background-image: radial-gradient( circle, rgba(255, 255, 255, 0.18) 1.5px, transparent 1.5px );
        background-size: 22px 22px;
        border-radius: 50%;
    }

    .visual-panel::after {
        content: "";
        position: absolute;
        bottom: -80px;
        left: -60px;
        width: 280px;
        height: 280px;
        background: #c7c2ff;
        border-radius: 50%;
        opacity: 0.42;
        filter: blur(40px);
    }

.brand {
    display: flex;
    align-items: center;
    margin-bottom: 28px;
    padding: 12px 16px;
    width: fit-content;
    border-radius: 18px;
    backdrop-filter: blur(14px);
    position: relative;
    z-index: 1;
}

.brand-logo {
    width: 250px;
    height: auto;
    object-fit: contain;
    display: block;
}

.panel-tagline,
.scanner-showcase {
    position: relative;
    z-index: 1;
}

    .panel-tagline .sub {
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 2.5px;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.88);
        margin-bottom: 10px;
    }

    .panel-tagline h1 {
        font-family: "Plus Jakarta Sans", sans-serif;
        font-size: 30px;
        color: #ffffff;
        line-height: 1.25;
        margin-bottom: 8px;
    }

    .panel-tagline p {
        font-size: 13px;
        line-height: 1.7;
        color: rgba(255, 255, 255, 0.76);
        max-width: 320px;
    }

.scanner-showcase {
    margin-top: 20px;
    min-height: 300px;
}

.scanner-badge,
.floating-chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 40px rgba(43, 30, 123, 0.22);
}

.scanner-badge {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.badge-top {
    top: 0;
    left: 8px;
}

.badge-right {
    top: 92px;
    right: -8px;
}

.scanner-stage {
    position: relative;
    width: min(100%, 320px);
    margin: 0 auto;
    padding-top: 12px;
}

.scanner-glow {
    position: absolute;
    inset: 34px 28px 18px;
    border-radius: 42px;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.26), transparent 58%), radial-gradient(circle at 50% 80%, rgba(111, 235, 255, 0.28), transparent 38%);
    filter: blur(8px);
}

.scanner-device {
    position: relative;
    width: 210px;
    margin: 22px auto 0;
    padding: 10px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.1)), rgba(33, 24, 95, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 28px 60px rgba(30, 17, 96, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.device-notch {
    width: 68px;
    height: 8px;
    margin: 0 auto 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
}

.device-screen {
    padding: 14px 12px 14px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(246, 245, 255, 0.98), rgba(233, 230, 255, 0.96)), #f3f0ff;
}

.screen-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 11px;
    color: #584bb3;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #3ad28f;
    box-shadow: 0 0 0 6px rgba(58, 210, 143, 0.16);
    animation: pulseDot 1.9s ease-in-out infinite;
}

.scan-frame {
    position: relative;
    height: 126px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(108, 99, 255, 0.12), rgba(108, 99, 255, 0.03)), #ffffff;
    border: 1px solid rgba(108, 99, 255, 0.14);
    overflow: hidden;
}

.scan-card {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 126px;
    height: 76px;
    padding: 12px 10px;
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(108, 99, 255, 0.2), rgba(108, 99, 255, 0.06)), linear-gradient(180deg, #ffffff, #f7f5ff);
    border: 1px solid rgba(108, 99, 255, 0.14);
    transform: translate(-50%, -50%) rotate(-8deg);
    box-shadow: 0 24px 32px rgba(108, 99, 255, 0.16);
}

.card-stripe {
    width: 32px;
    height: 7px;
    margin-bottom: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, #6c63ff, #8f8aff);
}

.card-line {
    height: 6px;
    margin-bottom: 6px;
    border-radius: 999px;
    background: rgba(84, 73, 184, 0.16);
}

    .card-line.short {
        width: 58%;
    }

    .card-line.small {
        width: 42%;
        margin-bottom: 0;
    }

.scan-line {
    position: absolute;
    left: 12px;
    right: 12px;
    top: 14px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(111, 235, 255, 0), rgba(111, 235, 255, 0.95), rgba(111, 235, 255, 0));
    box-shadow: 0 0 16px rgba(111, 235, 255, 0.72);
    animation: scanSweep 2.8s ease-in-out infinite;
}

.scan-corners {
    position: absolute;
    width: 18px;
    height: 18px;
    border-color: rgba(78, 214, 255, 0.95);
    border-style: solid;
    animation: frameBlink 2.8s ease-in-out infinite;
}

.corner-top-left {
    top: 10px;
    left: 10px;
    border-width: 3px 0 0 3px;
    border-top-left-radius: 12px;
}

.corner-top-right {
    top: 10px;
    right: 10px;
    border-width: 3px 3px 0 0;
    border-top-right-radius: 12px;
}

.corner-bottom-left {
    bottom: 10px;
    left: 10px;
    border-width: 0 0 3px 3px;
    border-bottom-left-radius: 12px;
}

.corner-bottom-right {
    right: 10px;
    bottom: 10px;
    border-width: 0 3px 3px 0;
    border-bottom-right-radius: 12px;
}

.scan-results {
    margin-top: 12px;
    display: grid;
    gap: 8px;
}

.result-row {
    display: flex;
    gap: 8px;
}

.result-pill {
    display: block;
    height: 8px;
    border-radius: 999px;
    background: rgba(108, 99, 255, 0.14);
    animation: revealBars 2.8s ease-in-out infinite;
}

    .result-pill.strong {
        width: 42%;
        background: rgba(108, 99, 255, 0.36);
    }

    .result-pill.medium {
        width: 36%;
    }

    .result-pill.short {
        width: 22%;
    }

    .result-pill.long {
        width: 74%;
    }

.floating-chip {
    font-size: 11px;
    font-weight: 700;
    padding: 8px 11px;
}

.chip-icon {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #75f0ba;
    box-shadow: 0 0 0 6px rgba(117, 240, 186, 0.12);
}

.chip-left {
    left: -2px;
    bottom: 74px;
    animation: floatChip 4.2s ease-in-out infinite;
}

.chip-bottom {
    right: 10px;
    bottom: 10px;
    animation: floatChip 4.2s ease-in-out infinite 0.6s;
}

/*@keyframes scan-glow {
    from {
        transform: scale(0.95) translateY(0);
    }

    to {
        transform: scale(1.08) translateY(12px);
    }
}

@keyframes grid-pan {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(72px);
    }
}

@keyframes beam-slide-y {
    0% {
        transform: translateY(0);
        opacity: 0.2;
    }

    50% {
        transform: translateY(420px);
        opacity: 1;
    }

    100% {
        transform: translateY(0);
        opacity: 0.2;
    }
}

@keyframes beam-slide-x {
    0% {
        transform: translateX(0);
        opacity: 0.18;
    }

    50% {
        transform: translateX(-360px);
        opacity: 1;
    }

    100% {
        transform: translateX(0);
        opacity: 0.18;
    }
}

@keyframes card-float {
    0%, 100% {
        transform: translateY(0) rotate(var(--rotate, 0deg));
        opacity: 0.34;
    }

    50% {
        transform: translateY(-18px) rotate(var(--rotate, 0deg));
        opacity: 0.76;
    }
}

@keyframes target-pulse {
    0%, 100% {
        transform: scale(0.92);
        opacity: 0.72;
    }

    50% {
        transform: scale(1.15);
        opacity: 1;
    }
}
*/
@keyframes scanSweep {
    0%, 100% {
        top: 22px;
        opacity: 0.9;
    }

    50% {
        top: 146px;
        opacity: 1;
    }
}

@keyframes pulseDot {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(58, 210, 143, 0.16);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(58, 210, 143, 0.08);
    }
}

@keyframes frameBlink {
    0%, 100% {
        opacity: 0.75;
    }

    50% {
        opacity: 1;
    }
}

@keyframes revealBars {
    0%, 18% {
        transform: scaleX(0.4);
        transform-origin: left center;
        opacity: 0.45;
    }

    30%, 100% {
        transform: scaleX(1);
        transform-origin: left center;
        opacity: 1;
    }
}

@keyframes floatChip {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.form-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 34px 38px 30px 34px;
    background: var(--surface);
}

.form-header {
    width: 100%;
    max-width: 420px;
    margin-bottom: 18px;
}

.auth-icon {
    width: 54px;
    height: 54px;
    margin-bottom: 12px;
    border-radius: 18px;
    background: radial-gradient(circle at 35% 35%, #ffffff 0 16%, transparent 17%), linear-gradient(145deg, #8d86ff 0%, var(--brand) 60%, var(--brand-deep) 100%);
    box-shadow: 0 14px 28px rgba(108, 99, 255, 0.22);
}

.mobile-brand-icon {
    display: none;
    width: 120px;
    height: auto;
    margin-bottom: 16px;
    object-fit: contain;
}

.mobile-back-btn {
    display: none;
}

.label {
    margin-bottom: 8px;
    color: var(--accent);
    font-size: clamp(11px, 1.1vw, 13px);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.form-header h2 {
    font-family: "Plus Jakarta Sans", sans-serif;
    margin-bottom: 8px;
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1;
    letter-spacing: -0.04em;
}

.subtext {
    color: var(--muted);
    font-size: clamp(14px, 1.4vw, 16px);
    line-height: 1.5;
    max-width: 36ch;
}

.login-form {
    display: grid;
    gap: 14px;
    width: 100%;
    max-width: 420px;
}

.field {
    display: grid;
    gap: 6px;
}

    .field span {
        font-size: clamp(12px, 1.2vw, 14px);
        font-weight: 700;
        color: var(--text);
    }

    .field input {
        width: 100%;
        padding: 12px 14px;
        border: 1px solid var(--line);
        border-radius: 12px;
        background: var(--panel);
        color: var(--text);
        font-family: inherit;
        font-size: clamp(14px, 1.3vw, 16px);
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

.password-field {
    position: relative;
}

    .password-field input {
        padding-right: 44px;
    }

.toggle-password {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    color: #6f7890;
    cursor: pointer;
    padding: 0;
}

    .toggle-password svg {
        width: 18px;
        height: 18px;
    }

.field input:focus {
    outline: none;
    border-color: rgba(108, 99, 255, 0.68);
    box-shadow: 0 0 0 4px rgba(108, 99, 255, 0.14);
}

.forgot-row {
    display: flex;
    justify-content: flex-end;
    margin-top: -4px;
}

.forgot-btn {
    border: none;
    background: transparent;
    color: var(--brand);
    font-family: inherit;
    font-size: clamp(12px, 1.2vw, 14px);
    font-weight: 700;
    cursor: pointer;
    padding: 0;
}

    .forgot-btn:hover {
        text-decoration: underline;
    }

.primary-btn {
    width: 100%;
    border: none;
    border-radius: 12px;
    padding: 12px 16px;
    font-family: inherit;
    font-size: clamp(14px, 1.3vw, 16px);
    font-weight: 800;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .primary-btn:hover {
        transform: translateY(-2px);
    }

.social-divider {
    position: relative;
    margin-top: 0;
    text-align: center;
}

    .social-divider::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 50%;
        height: 1px;
        background: rgba(23, 50, 77, 0.1);
    }

    .social-divider span {
        position: relative;
        display: inline-block;
        padding: 0 12px;
        background: var(--surface);
        color: var(--muted);
        font-size: clamp(11px, 1.1vw, 13px);
        font-weight: 600;
    }

.social-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    border: 1px solid rgba(23, 50, 77, 0.12);
    border-radius: 12px;
    padding: 11px 12px;
    background: #ffffff;
    color: var(--text);
    font-family: inherit;
    font-size: clamp(13px, 1.2vw, 15px);
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

    .social-btn:hover {
        transform: translateY(-2px);
        border-color: rgba(108, 99, 255, 0.24);
        box-shadow: 0 12px 24px rgba(76, 67, 167, 0.08);
    }

.social-logo {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.google-logo {
    width: 20px;
    height: 20px;
}

.google-svg {
    width: 20px;
    height: 20px;
    display: block;
}

.microsoft-logo .ms-grid {
    display: grid;
    grid-template-columns: repeat(2, 8px);
    grid-template-rows: repeat(2, 8px);
    gap: 2px;
}

    .microsoft-logo .ms-grid span:nth-child(1) {
        background: #f25022;
    }

    .microsoft-logo .ms-grid span:nth-child(2) {
        background: #7fba00;
    }

    .microsoft-logo .ms-grid span:nth-child(3) {
        background: #00a4ef;
    }

    .microsoft-logo .ms-grid span:nth-child(4) {
        background: #ffb900;
    }

.signup-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 0;
    color: var(--muted);
    font-size: clamp(12px, 1.2vw, 14px);
}

.signup-btn {
    border: none;
    background: transparent;
    color: var(--brand);
    font-family: inherit;
    font-size: clamp(12px, 1.2vw, 14px);
    font-weight: 800;
    cursor: pointer;
    padding: 0;
}

    .signup-btn:hover {
        text-decoration: underline;
    }

.store-section {
    display: grid;
    gap: 8px;
    margin-top: 2px;
}

.store-title {
    text-align: center;
    color: var(--text);
    font-size: clamp(11px, 1vw, 13px);
    font-weight: 700;
}

.store-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.store-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 6px 9px;
    width: 100%;
    border-radius: 10px;
    background: linear-gradient(135deg, #f3f4f7 0%, #e8ebf1 100%);
    border: 1px solid rgba(122, 132, 150, 0.16);
    color: #2e3440;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(115, 126, 145, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .store-badge:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 28px rgba(115, 126, 145, 0.16);
    }

.store-icon {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.apple-icon {
    color: #111111;
}

.store-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.store-copy {
    display: grid;
    line-height: 1.05;
}

.store-overline {
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.04em;
    opacity: 0.72;
}

.store-name {
    font-size: 14px;
    font-weight: 700;
}

.store-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.site-footer {
    width: 100%;
    border-top: 1px solid rgba(23, 50, 77, 0.08);
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(10px);
}

.site-footer-inner {
    width: min(1500px, calc(100% - 32px));
    margin: 0 auto;
    padding: 12px 0;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
}

.footer-brand-link {
    color: #d72638;
    font-weight: 700;
    text-decoration: underline;
}

    .footer-brand-link:hover {
        text-decoration: underline;
    }

@media (max-width: 980px) {
    .page-shell {
        padding: 14px;
    }

    .auth-card {
        grid-template-columns: 1fr;
        height: auto;
    }

    .visual-panel,
    .form-panel {
        padding: 32px 28px;
    }

    .scanner-showcase {
        min-height: auto;
        margin-top: 32px;
    }

    .badge-right,
    .chip-left,
    .chip-bottom {
        display: none;
    }
}

@media (max-width: 768px) {
    .page-shell {
        padding: 0;
        min-height: auto;
        align-items: start;
    }

    .shell-lottie-canvas {
        opacity: 0.24;
    }

    .visual-panel {
        display: none;
    }

    .auth-card {
        width: 100vw;
        min-height: 100dvh;
        height: auto;
        grid-template-columns: 1fr;
        border: none;
        border-radius: 0;
        box-shadow: none;
    }

    .form-panel {
        width: 100vw;
        min-height: 100dvh;
        align-items: center;
        justify-content: flex-start;
        padding: 20px;
    }

    .form-header,
    .login-form {
        width: min(100%, 420px);
    }

    .auth-card {
        border-radius: 0;
    }

    .social-actions {
        grid-template-columns: 1fr;
    }

    .store-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer-inner {
        width: calc(100% - 24px);
        padding: 10px 0;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .form-panel {
        position: relative;
        padding: 18px 16px;
    }

    .auth-icon {
        display: none;
    }

    .mobile-brand-icon {
        display: block;
        width: 132px;
        margin-bottom: 0;
        position: absolute;
        top: 20px;
        left: 20px;
    }

    .mobile-back-btn {
        position: absolute;
        top: 20px;
        left: 20px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 999px;
        background: #ffffff;
        border: 1px solid rgba(23, 50, 77, 0.1);
        box-shadow: 0 10px 24px rgba(23, 50, 77, 0.08);
        color: var(--text);
        text-decoration: none;
    }

        .mobile-back-btn svg {
            width: 18px;
            height: 18px;
        }

    .form-header {
        margin-bottom: 24px;
        padding-top: 72px;
    }

    .field input,
    .primary-btn,
    .social-btn {
        padding: 12px 14px;
        border-radius: 10px;
    }

    .social-btn {
        min-height: 42px;
        padding: 10px 12px;
    }

    .social-logo,
    .google-logo,
    .google-svg {
        width: 18px;
        height: 18px;
    }

  /*  .microsoft-logo .ms-grid {
        grid-template-columns: repeat(2, 7px);
        grid-template-rows: repeat(2, 7px);
    }
*/
    .microsoft-svg {
        width: 18px;
        height: 18px;
        display: block;
    }
    .login-form {
        gap: 16px;
    }

    .store-badge {
        min-height: 44px;
        padding: 6px 8px;
        border-radius: 10px;
    }

    .store-name {
        font-size: 13px;
    }
}
