 :root {
            --navy: #142844;
            --navy-hover: #203b61;
            --navy-soft: #e9eef5;
            --gold: #ad8749;
            --ivory: #f7f3ea;
            --canvas: #edf0f4;
            --white: #ffffff;
            --ink: #182230;
            --muted: #5f6b7a;
            --line: #d9dee7;
            --line-dark: #bdc5d1;
            --success: #237a57;
            --success-soft: #edf8f3;
            --danger: #b33a3a;
            --danger-soft: #fff3f3;
            --radius: 14px;
            --control-radius: 8px;
            --shadow: 0 24px 60px rgba(20, 40, 68, 0.13);
            --font-serif: Georgia, Cambria, "Times New Roman", serif;
            --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        }

        *,
        *::before,
        *::after {
            box-sizing: border-box;
        }

        html {
            min-width: 320px;
            min-height: 100%;
        }

        body {
            min-width: 320px;
            min-height: 100vh;
            min-height: 100svh;
            margin: 0;
            color: var(--ink);
            background:
                linear-gradient(135deg, rgba(255, 255, 255, 0.58), transparent 48%),
                var(--canvas);
            font-family: var(--font-sans);
            font-size: 14px;
            line-height: 1.5;
            overflow-x: hidden;
        }

        body.loading {
            overflow: hidden;
        }

        button,
        input,
        select {
            font: inherit;
        }

        button:focus-visible,
        input:focus-visible,
        select:focus-visible {
            outline: 3px solid rgba(20, 40, 68, 0.2);
            outline-offset: 2px;
        }

        [hidden] {
            display: none !important;
        }

        .auth-shell {
            min-height: 100vh;
            min-height: 100svh;
            display: grid;
            place-items: center;
            padding: 34px 18px;
        }

        .auth-card {
            position: relative;
            width: min(1040px, 100%);
            min-height: 660px;
            display: grid;
            grid-template-columns: minmax(300px, 36%) minmax(0, 64%);
            overflow: hidden;
            background: var(--white);
            border: 1px solid var(--line);
            border-radius: var(--radius);
            box-shadow: var(--shadow);
        }

        .visual {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            min-width: 0;
            padding: 54px 38px;
            overflow: hidden;
            text-align: center;
            background: var(--ivory);
            border-right: 1px solid rgba(173, 135, 73, 0.55);
        }

        .visual::before {
            content: "";
            position: absolute;
            inset: 0 auto 0 0;
            width: 8px;
            background: var(--navy);
        }

        .visual::after {
            content: "";
            position: absolute;
            inset: 30px 18px 30px auto;
            width: 1px;
            background: rgba(173, 135, 73, 0.28);
        }

        .brand-block {
            position: relative;
            z-index: 1;
            width: 100%;
            max-width: 270px;
        }

        .brand-mark {
            width: 82px;
            height: 82px;
            display: grid;
            place-items: center;
            margin: 0 auto 18px;
            overflow: hidden;
            border: 1px solid rgba(173, 135, 73, 0.72);
            border-radius: 50%;
            background: var(--white);
            box-shadow: 0 8px 22px rgba(20, 40, 68, 0.09);
        }

        .brand-img {
            width: 100%;
            height: 100%;
            padding: 8px;
            border-radius: 50%;
            object-fit: contain;
            background: var(--white);
        }

        .logo-fallback {
            width: 100%;
            height: 100%;
            display: grid;
            place-items: center;
            border-radius: 50%;
            color: var(--white);
            background: var(--navy);
            font-family: var(--font-serif);
            font-size: 34px;
            font-weight: 700;
            text-transform: uppercase;
        }

        .brand-name {
            color: var(--gold);
            font-size: 12px;
            font-weight: 750;
            letter-spacing: 0.13em;
            text-transform: uppercase;
        }

        .brand-title {
            max-width: 260px;
            margin: 17px auto 10px;
            color: var(--navy);
            font-family: var(--font-serif);
            font-size: clamp(25px, 2.7vw, 31px);
            font-weight: 700;
            line-height: 1.2;
        }

        .brand-copy {
            max-width: 245px;
            margin: 0 auto;
            color: var(--muted);
            font-size: 14px;
            line-height: 1.65;
        }

        .form-side {
            position: relative;
            min-width: 0;
            display: flex;
            flex-direction: column;
            padding: 38px 54px 24px;
            background: var(--white);
        }

        .tabs {
            width: 100%;
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            border-bottom: 1px solid var(--line);
        }

        .tab-btn {
            position: relative;
            min-height: 47px;
            padding: 10px 6px 13px;
            border: 0;
            color: #778292;
            background: transparent;
            font-size: 13px;
            font-weight: 650;
            line-height: 1.25;
            transition: color 160ms ease;
        }

        .tab-btn::after {
            content: "";
            position: absolute;
            right: 16%;
            bottom: -1px;
            left: 16%;
            height: 2px;
            background: transparent;
        }

        .tab-btn:hover {
            color: var(--navy);
        }

        .tab-btn.active {
            color: var(--navy);
        }

        .tab-btn.active::after {
            background: var(--gold);
        }

        .panels {
            width: 100%;
            max-width: 520px;
            flex: 1;
            align-self: center;
            margin-top: 29px;
        }

        .auth-panel {
            display: none;
            width: 100%;
        }

        .auth-panel.active {
            display: block;
        }

        .heading {
            margin-bottom: 24px;
        }

        .heading h2 {
            margin: 0 0 7px;
            color: var(--navy);
            font-family: var(--font-serif);
            font-size: 27px;
            font-weight: 700;
            line-height: 1.2;
        }

        .heading p {
            margin: 0;
            color: var(--muted);
            font-size: 14px;
        }

        .field {
            margin-bottom: 17px;
        }

        .field > label {
            display: block;
            margin: 0 0 7px;
            color: #344154;
            font-size: 13px;
            font-weight: 650;
        }

        .input-wrap {
            position: relative;
        }

        .input-wrap > .field-icon:first-child {
            position: absolute;
            z-index: 2;
            top: 50%;
            left: 15px;
            width: 17px;
            padding: 0;
            border: 0;
            color: #7d8795;
            background: transparent;
            text-align: center;
            transform: translateY(-50%);
            pointer-events: none;
        }

        .field input,
        .field select {
            width: 100%;
            height: 52px;
            padding: 0 44px 0 44px;
            border: 1px solid var(--line);
            border-radius: var(--control-radius);
            color: var(--ink);
            background: var(--white);
            box-shadow: none;
            outline: 0;
            transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
        }

        .field select {
            cursor: pointer;
        }

        .field input::placeholder {
            color: #9aa3af;
        }

        .field input:hover,
        .field select:hover {
            border-color: var(--line-dark);
        }

        .field input:focus,
        .field select:focus {
            border-color: var(--navy);
            box-shadow: 0 0 0 3px rgba(20, 40, 68, 0.1);
        }

        .password-toggle {
            position: absolute;
            z-index: 3;
            top: 50%;
            right: 8px;
            width: 38px;
            height: 38px;
            display: grid;
            place-items: center;
            padding: 0;
            border: 0;
            border-radius: 6px;
            color: #707b8b;
            background: transparent;
            transform: translateY(-50%);
        }

        .password-toggle:hover {
            color: var(--navy);
            background: var(--navy-soft);
        }

        .form-meta {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 14px;
            margin: 1px 0 18px;
        }

        .check-label {
            display: inline-flex;
            align-items: flex-start;
            gap: 9px;
            margin: 0;
            color: var(--muted);
            font-size: 13px;
            cursor: pointer;
        }

        .check-label input {
            width: 16px;
            height: 16px;
            flex: 0 0 auto;
            margin: 2px 0 0;
            accent-color: var(--navy);
        }

        .btn-gradient,
        .btn-outline-primary {
            min-height: 50px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 9px;
            padding: 11px 18px;
            border-radius: var(--control-radius);
            font-size: 14px;
            font-weight: 700;
            transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
        }

        .btn-gradient {
            border: 1px solid var(--navy);
            color: var(--white);
            background: var(--navy);
        }

        .btn-gradient:hover,
        .btn-gradient:focus {
            border-color: var(--navy-hover);
            color: var(--white);
            background: var(--navy-hover);
            box-shadow: 0 7px 16px rgba(20, 40, 68, 0.15);
        }

        .btn-outline-primary {
            border: 1px solid #9aa8b9;
            color: var(--navy);
            background: var(--white);
        }

        .btn-outline-primary:hover,
        .btn-outline-primary:focus {
            border-color: var(--navy);
            color: var(--navy);
            background: var(--navy-soft);
        }

        .btn-gradient:disabled,
        .btn-outline-primary:disabled,
        .secondary-link:disabled {
            cursor: not-allowed;
            box-shadow: none;
            opacity: 0.62;
        }

        .secondary-link {
            min-height: 36px;
            padding: 5px 2px;
            border: 0;
            border-radius: 5px;
            color: var(--navy);
            background: transparent;
            font-size: 13px;
            font-weight: 700;
            text-decoration: none;
        }

        .secondary-link:hover {
            color: var(--gold);
            text-decoration: underline;
            text-underline-offset: 3px;
        }

        .button-spinner {
            width: 17px;
            height: 17px;
            flex: 0 0 auto;
            border: 2px solid rgba(255, 255, 255, 0.4);
            border-top-color: currentColor;
            border-radius: 50%;
            animation: spin 700ms linear infinite;
        }

        .btn-outline-primary .button-spinner,
        .secondary-link .button-spinner {
            border-color: rgba(20, 40, 68, 0.22);
            border-top-color: currentColor;
        }

        .field-hint,
        .otp-expiry {
            margin: 7px 0 0;
            color: var(--muted);
            font-size: 12px;
        }

        .otp-expiry {
            min-height: 20px;
            margin: 0 0 15px;
            text-align: center;
        }

        .otp-group {
            width: 100%;
            max-width: 420px;
            display: grid;
            grid-template-columns: repeat(6, minmax(0, 1fr));
            gap: 8px;
            margin: 22px auto 13px;
        }

        .otp-group input {
            width: 100%;
            min-width: 0;
            height: 54px;
            padding: 0;
            border: 1px solid var(--line-dark);
            border-radius: 7px;
            color: var(--navy);
            background: var(--white);
            font-size: 22px;
            font-weight: 750;
            text-align: center;
            outline: 0;
        }

        .otp-group input:focus {
            border-color: var(--navy);
            box-shadow: 0 0 0 3px rgba(20, 40, 68, 0.1);
        }

        .otp-group.success input {
            border-color: var(--success);
            background: var(--success-soft);
        }

        .otp-group.error {
            animation: shake 280ms ease-in-out;
        }

        .stepper {
            width: 100%;
            display: flex;
            align-items: flex-start;
            margin: 0 0 25px;
        }

        .step {
            position: relative;
            z-index: 1;
            min-width: 0;
            flex: 1;
            color: #8993a2;
            font-size: 10px;
            font-weight: 650;
            line-height: 1.25;
            text-align: center;
            text-transform: uppercase;
            letter-spacing: 0.04em;
        }

        .step::before {
            content: attr(data-step);
            position: relative;
            z-index: 2;
            width: 25px;
            height: 25px;
            display: grid;
            place-items: center;
            margin: 0 auto 6px;
            border: 1px solid var(--line-dark);
            border-radius: 50%;
            color: #778292;
            background: var(--white);
            font-size: 11px;
            font-weight: 750;
        }

        .step:not(:last-child)::after {
            content: "";
            position: absolute;
            z-index: 0;
            top: 12px;
            left: calc(50% + 13px);
            width: calc(100% - 26px);
            height: 1px;
            background: var(--line);
        }

        .step.active {
            color: var(--navy);
        }

        .step.active::before {
            border-color: var(--navy);
            color: var(--white);
            background: var(--navy);
        }

        .step.done {
            color: var(--success);
        }

        .step.done::before {
            content: "✓";
            border-color: var(--success);
            color: var(--white);
            background: var(--success);
        }

        .step.done::after {
            background: rgba(35, 122, 87, 0.55);
        }

        .password-meter {
            height: 4px;
            margin: -8px 0 16px;
            overflow: hidden;
            border-radius: 999px;
            background: #eef1f5;
        }

        .password-meter span {
            display: block;
            width: 0;
            height: 100%;
            background: var(--danger);
            transition: width 180ms ease, background-color 180ms ease;
        }

        .success-view {
            padding: 30px 8px 20px;
            text-align: center;
        }

        .success-check {
            width: 64px;
            height: 64px;
            display: grid;
            place-items: center;
            margin: 0 auto 17px;
            border: 1px solid rgba(35, 122, 87, 0.3);
            border-radius: 50%;
            color: var(--success);
            background: var(--success-soft);
            font-size: 27px;
        }

        .success-view h3 {
            margin: 0 0 8px;
            color: var(--navy);
            font-family: var(--font-serif);
            font-size: 24px;
        }

        .success-view p {
            margin: 0 0 22px;
            color: var(--muted);
        }

        .footer {
            width: 100%;
            margin-top: auto;
            padding-top: 22px;
            color: #87919f;
            font-size: 11px;
            text-align: center;
        }

        .page-loader {
            position: fixed;
            z-index: 10000;
            inset: 0;
            display: grid;
            place-items: center;
            color: var(--navy);
            background: var(--ivory);
            opacity: 1;
            visibility: visible;
            transition: opacity 300ms ease, visibility 300ms ease;
        }

        .page-loader.fade {
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
        }

        .loader-content {
            display: grid;
            justify-items: center;
            padding: 24px;
            text-align: center;
        }

        .loader-mark {
            position: relative;
            width: 94px;
            height: 94px;
            display: grid;
            place-items: center;
        }

        .loader-ring {
            position: absolute;
            inset: 0;
            border: 2px solid rgba(20, 40, 68, 0.16);
            border-top-color: var(--navy);
            border-right-color: var(--gold);
            border-radius: 50%;
            animation: spin 950ms linear infinite;
        }

        .loader-logo-shell {
            width: 74px;
            height: 74px;
            display: grid;
            place-items: center;
            overflow: hidden;
            border: 1px solid rgba(173, 135, 73, 0.48);
            border-radius: 50%;
            background: var(--white);
        }

        .loader-logo {
            width: 100%;
            height: 100%;
            padding: 7px;
            border-radius: 50%;
            object-fit: contain;
            background: var(--white);
        }

        .loader-logo-shell .logo-fallback {
            font-size: 30px;
        }

        .loader-name {
            margin-top: 16px;
            color: var(--navy);
            font-family: var(--font-serif);
            font-size: 15px;
            font-weight: 700;
            letter-spacing: 0.02em;
        }

        .processing-overlay {
            position: absolute;
            z-index: 80;
            inset: 0;
            display: grid;
            place-items: center;
            padding: 18px;
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(2px);
        }

        .processing-box {
            width: min(300px, 100%);
            padding: 25px 22px;
            border: 1px solid var(--line);
            border-radius: 10px;
            background: var(--white);
            box-shadow: 0 16px 38px rgba(20, 40, 68, 0.12);
            text-align: center;
        }

        .processing-spinner {
            width: 28px;
            height: 28px;
            margin: 0 auto 14px;
            border: 2px solid var(--line);
            border-top-color: var(--navy);
            border-radius: 50%;
            animation: spin 760ms linear infinite;
        }

        .processing-box h3 {
            margin: 0 0 5px;
            color: var(--navy);
            font-family: var(--font-serif);
            font-size: 19px;
        }

        .processing-box p {
            margin: 0;
            color: var(--muted);
            font-size: 13px;
        }

        .toast-stack {
            position: fixed;
            z-index: 9999;
            top: 18px;
            right: 18px;
            width: min(370px, calc(100vw - 36px));
            display: grid;
            gap: 9px;
            pointer-events: none;
        }

        .app-toast {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            padding: 12px 14px;
            border: 1px solid var(--line);
            border-left: 4px solid var(--danger);
            border-radius: 8px;
            color: var(--ink);
            background: var(--white);
            box-shadow: 0 10px 28px rgba(20, 40, 68, 0.14);
            font-size: 13px;
            pointer-events: auto;
            animation: toast-in 180ms ease-out;
        }

        .app-toast i {
            margin-top: 2px;
            color: var(--danger);
        }

        .app-toast.success {
            border-left-color: var(--success);
        }

        .app-toast.success i {
            color: var(--success);
        }

        .invalid-field {
            border-color: var(--danger) !important;
            background: var(--danger-soft) !important;
            animation: shake 280ms ease-in-out;
        }

        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }

        @keyframes shake {
            25% {
                transform: translateX(-4px);
            }
            50% {
                transform: translateX(4px);
            }
            75% {
                transform: translateX(-2px);
            }
        }

        @keyframes toast-in {
            from {
                opacity: 0;
                transform: translateY(-6px);
            }
        }

        @media (max-width: 860px) {
            .auth-shell {
                padding: 22px 14px;
            }

            .auth-card {
                width: min(650px, 100%);
                min-height: 0;
                grid-template-columns: 1fr;
            }

            .visual {
                padding: 25px 28px 24px;
                border-right: 0;
                border-bottom: 1px solid rgba(173, 135, 73, 0.45);
            }

            .visual::before {
                inset: 0 0 auto;
                width: auto;
                height: 6px;
            }

            .visual::after {
                inset: auto 28px 10px;
                width: auto;
                height: 1px;
            }

            .brand-block {
                max-width: 520px;
            }

            .brand-mark {
                width: 64px;
                height: 64px;
                margin-bottom: 12px;
            }

            .logo-fallback {
                font-size: 27px;
            }

            .brand-name {
                font-size: 11px;
            }

            .brand-title {
                margin: 8px auto 5px;
                font-size: 23px;
            }

            .brand-copy {
                max-width: 400px;
                line-height: 1.5;
            }

            .form-side {
                padding: 29px 36px 23px;
            }

            .panels {
                margin-top: 27px;
            }
        }

        @media (max-width: 520px) {
            body {
                background: var(--white);
            }

            .auth-shell {
                display: block;
                padding: 0;
            }

            .auth-card {
                width: 100%;
                min-height: 100vh;
                min-height: 100svh;
                border: 0;
                border-radius: 0;
                box-shadow: none;
            }

            .visual {
                padding: 21px 17px 19px;
            }

            .visual::after {
                right: 18px;
                left: 18px;
            }

            .brand-mark {
                width: 58px;
                height: 58px;
                margin-bottom: 9px;
            }

            .brand-img {
                padding: 6px;
            }

            .brand-title {
                margin-top: 6px;
                font-size: 21px;
            }

            .brand-copy {
                font-size: 13px;
            }

            .form-side {
                min-height: 0;
                padding: 20px 16px 18px;
            }

            .tab-btn {
                min-height: 45px;
                padding-right: 3px;
                padding-left: 3px;
                font-size: 12px;
            }

            .tab-btn::after {
                right: 8%;
                left: 8%;
            }

            .panels {
                margin-top: 23px;
            }

            .heading {
                margin-bottom: 21px;
            }

            .heading h2 {
                font-size: 24px;
            }

            .form-meta {
                gap: 8px;
            }

            .otp-group {
                gap: 5px;
                margin-top: 20px;
            }

            .otp-group input {
                height: 48px;
                font-size: 20px;
            }

            .step {
                font-size: 9px;
                letter-spacing: 0;
            }

            .footer {
                padding-top: 26px;
            }

            .toast-stack {
                top: auto;
                right: 12px;
                bottom: 12px;
                left: 12px;
                width: auto;
            }
        }
        #registerContact .heading,
#forgotMobile .heading,
#loginMain .heading {
    width: 100%;
    text-align: center;
}

#registerContact .heading h2,
#registerContact .heading p,
#forgotMobile .heading h2,
#forgotMobile .heading p,
#loginMain .heading h2,
#loginMain .heading p {
    margin-left: auto;
    margin-right: auto;
}

        @media (max-width: 360px) {
            .form-side {
                padding-right: 13px;
                padding-left: 13px;
            }

            .otp-group {
                gap: 4px;
            }

            .otp-group input {
                height: 44px;
                border-radius: 6px;
                font-size: 18px;
            }

            .step {
                font-size: 8px;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            *,
            *::before,
            *::after {
                scroll-behavior: auto !important;
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }/* Matching NewPacks sign-in, registration, and recovery visual system. */
:root {
  --navy: #17345d;
  --navy-hover: #224d7e;
  --navy-soft: #eaf3fc;
  --gold: #e5a333;
  --ivory: #edf5fd;
  --canvas: #f2f5fa;
  --ink: #18263d;
  --muted: #64748b;
  --line: #dce5ef;
  --line-dark: #c5d2e1;
  --success: #15966b;
  --success-soft: #ebf9f3;
  --radius: 20px;
  --shadow: 0 28px 80px rgba(23, 52, 93, .15);
}
body { background: radial-gradient(ellipse at 8% 8%, rgba(73,146,219,.13), transparent 35%), radial-gradient(ellipse at 90% 92%, rgba(20,168,115,.09), transparent 34%), var(--canvas); }
.auth-shell { padding: clamp(16px, 4vw, 46px); }
.auth-card { max-width: 1060px; min-height: min(700px, calc(100svh - 48px)); border-color: #dce5ef; border-radius: 20px; box-shadow: 0 28px 80px rgba(23,52,93,.15); }
.visual { background: linear-gradient(150deg, #edf5fd 0%, #e9f4f2 100%); border-right-color: #d7e4f0; }
.visual::before { width: 6px; background: linear-gradient(180deg, #2878d0, #14a873); }
.visual::after { opacity: .45; }
.brand-mark { width: 92px; height: 92px; border: 1px solid #d8e4f0; box-shadow: 0 12px 28px rgba(23,52,93,.12); }
.brand-name { color: #2878d0; letter-spacing: .1em; }
.brand-title { color: #17345d; font-family: var(--font-sans); letter-spacing: -.035em; }
.form-side { padding: clamp(24px, 4.3vw, 50px) clamp(22px, 5vw, 60px) 28px; }
.tabs { border-color: var(--line); }
.tab-btn { font-size: 13px; }
.tab-btn.active { color: #246fba; }
.tab-btn.active::after { background: linear-gradient(90deg, #2878d0, #14a873); height: 3px; border-radius: 3px 3px 0 0; }
.heading h2 { color: #183456; letter-spacing: -.035em; }
.input-wrap { border-color: #d9e3ee; border-radius: 10px; background: #fbfcfe; }
.input-wrap:focus-within { border-color: #72a8df; box-shadow: 0 0 0 3px rgba(40,120,208,.12); }
.input-wrap input { color: #1d2d45; }
.field-icon { color: #8092a9; }
.btn-gradient { border: 0; border-radius: 10px; background: linear-gradient(110deg, #2878d0 0%, #1769b9 58%, #14a873 140%); box-shadow: 0 8px 20px rgba(40,120,208,.2); }
.btn-gradient:hover { background: linear-gradient(110deg, #216fbe 0%, #145fa9 58%, #119666 140%); box-shadow: 0 10px 24px rgba(40,120,208,.26); }
.btn-outline-primary { border-radius: 9px; }
.secondary-link { color: #2675bd; }
.toast { border-radius: 12px; box-shadow: 0 12px 34px rgba(23,52,93,.15); }
@media (max-width: 760px) {
  .auth-shell { display: block; padding: 12px; }
  .auth-card { min-height: auto; grid-template-columns: 1fr; border-radius: 16px; }
  .visual { min-height: 150px; padding: 23px 20px; border-right: 0; border-bottom: 1px solid var(--line); }
  .visual::after { display: none; }
  .brand-block { max-width: 100%; display: grid; grid-template-columns: 54px 1fr; column-gap: 13px; align-items: center; text-align: left; }
  .brand-mark { width: 54px; height: 54px; grid-row: span 3; margin: 0; }
  .brand-name { font-size: 10px; }
  .brand-title { max-width: none; margin: 3px 0; font-size: 21px; }
  .brand-copy { max-width: none; margin: 0; font-size: 12px; }
  .form-side { padding: 20px 20px 24px; }
  .tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tab-btn { min-height: 43px; padding-inline: 3px; font-size: 11px; }
}
@media (max-width: 380px) {
  .auth-shell { padding: 8px; }
  .form-side { padding-inline: 15px; }
  .brand-title { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

.login-success-overlay { position:fixed; inset:0; z-index:11000; display:grid; place-items:center; padding:20px; background:rgba(16,35,61,.48); backdrop-filter:blur(7px); animation:auth-success-fade .2s ease-out; }
.login-success-dialog { width:min(420px,100%); padding:32px 30px 27px; border:1px solid #dce8f3; border-radius:22px; background:linear-gradient(160deg,#fff,#f8fbff); box-shadow:0 28px 90px rgba(11,34,66,.28); text-align:center; animation:auth-success-pop .32s cubic-bezier(.2,.8,.2,1); }
.login-success-icon { width:70px; height:70px; display:grid; place-items:center; margin:0 auto 17px; border:7px solid #e7f8f0; border-radius:50%; background:linear-gradient(145deg,#20c784,#099563); color:#fff; font-size:27px; box-shadow:0 9px 22px rgba(9,149,99,.2); }
.login-success-dialog h2 { margin:0 0 8px; color:#183456; font-size:22px; font-weight:800; letter-spacing:-.03em; }
.login-success-dialog p { margin:0; color:#63758d; font-size:13px; line-height:1.6; }
.login-success-caption { margin-top:19px; color:#2781c7; font-size:11px; font-weight:750; letter-spacing:.04em; }
.auth-card { border-top:3px solid #2889be; }
.form-side { background:linear-gradient(155deg,#fff 0%,#fbfdff 100%); }
.field label { color:#30425b; font-size:12px; font-weight:750; }
.input-wrap { box-shadow:0 2px 8px rgba(31,61,98,.035); transition:border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.input-wrap:focus-within { background:#fff; }
.auth-panel.active { animation:auth-panel-in .22s ease-out; }
@keyframes auth-panel-in { from { opacity:.55; transform:translateY(5px); } to { opacity:1; transform:translateY(0); } }
@keyframes auth-success-fade { from { opacity:0; } to { opacity:1; } }
@keyframes auth-success-pop { from { opacity:0; transform:translateY(10px) scale(.96); } to { opacity:1; transform:translateY(0) scale(1); } }
