:root {
    --primary-blue: #00bfff;
    --primary-hover: #0099e6;
    --primary-deep: #0284c7;
    --navy-dark: #060d1c;
    --navy-card: #0d213a;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --border-color: #e2e8f0;
    --input-bg: #f8fafc;
    --input-focus-border: #00bfff;
    --danger: #ef4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

body, html {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    background-color: #ffffff;
}

/* ── Split Layout ── */
.split-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* ═══════════════════════════════════════════════════════════
   LEFT HERO PANEL
   ═══════════════════════════════════════════════════════════ */
.hero-panel {
    flex: 1.1;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
    padding: 44px 64px 36px;
    color: #ffffff;
    background:
        radial-gradient(110% 80% at 0% 0%, #1e3a8a 0%, rgba(30, 58, 138, 0) 55%),
        radial-gradient(90% 90% at 100% 100%, #0e7490 0%, rgba(14, 116, 144, 0) 60%),
        linear-gradient(150deg, #060d1c 0%, #0b1a3a 55%, #082f49 100%);
}

.hero-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 0%, transparent 72%);
    mask-image: radial-gradient(ellipse at 60% 40%, #000 0%, transparent 72%);
}

.hero-orb {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
}

.hero-orb-1 { width: 380px; height: 380px; top: -140px; right: -60px; background: #0ea5e9; opacity: .45; animation: orbFloat 18s ease-in-out infinite alternate; }
.hero-orb-2 { width: 320px; height: 320px; bottom: -140px; left: -80px; background: #6366f1; opacity: .35; animation: orbFloat 22s ease-in-out infinite alternate-reverse; }
.hero-orb-3 { width: 200px; height: 200px; top: 45%; left: 55%; background: #22d3ee; opacity: .18; animation: orbFloat 26s ease-in-out infinite alternate; }

@keyframes orbFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, 30px) scale(1.12); }
}

/* Brand */
.hero-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #ffffff;
    background: linear-gradient(135deg, #38bdf8, #0284c7);
    box-shadow: 0 10px 24px -8px rgba(56, 189, 248, .7), inset 0 0 0 1px rgba(255, 255, 255, .25);
}

.hero-brand-name {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.3px;
    color: #ffffff;
}

.brand-sep {
    margin: 0 6px;
    font-weight: 300;
    opacity: .45;
}

/* Hero content */
.hero-content {
    max-width: 560px;
    z-index: 2;
    animation: riseIn .7s cubic-bezier(.16, 1, .3, 1) both;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .3px;
    color: #bae6fd;
    margin-bottom: 26px;
}

.hero-badge i { color: #facc15; font-size: 15px; }

.hero-title {
    font-size: clamp(34px, 3.4vw, 50px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.2px;
    margin-bottom: 18px;
    color: #ffffff;
}

.hero-title .highlight {
    background: linear-gradient(90deg, #38bdf8, #22d3ee 50%, #a5b4fc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-description {
    font-size: 15.5px;
    line-height: 1.65;
    color: #cbd5e1;
    max-width: 500px;
}

.hero-features {
    list-style: none;
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #e2e8f0;
}

.hero-features li span {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: #7dd3fc;
    background: rgba(56, 189, 248, .12);
    border: 1px solid rgba(56, 189, 248, .22);
}

/* Floating product preview */
.hero-preview {
    position: relative;
    z-index: 2;
    height: 170px;
    max-width: 560px;
}

.glass-card {
    position: absolute;
    border-radius: 18px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .6);
}

.preview-sales {
    left: 0;
    top: 0;
    width: 300px;
    padding: 16px 18px;
    animation: floatY 6s ease-in-out infinite;
}

.preview-head {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
}

.preview-head em {
    font-style: normal;
    font-weight: 700;
    color: #34d399;
}

.preview-value {
    margin-top: 4px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.5px;
}

.preview-bars {
    margin-top: 12px;
    height: 54px;
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.preview-bars i {
    flex: 1;
    border-radius: 6px 6px 3px 3px;
    background: linear-gradient(180deg, #38bdf8, rgba(56, 189, 248, .25));
    transform-origin: bottom;
    animation: barGrow 1.2s cubic-bezier(.16, 1, .3, 1) both;
}

.preview-bars i:nth-child(2) { animation-delay: .06s; }
.preview-bars i:nth-child(3) { animation-delay: .12s; }
.preview-bars i:nth-child(4) { animation-delay: .18s; }
.preview-bars i:nth-child(5) { animation-delay: .24s; }
.preview-bars i:nth-child(6) { animation-delay: .30s; }
.preview-bars i:nth-child(7) { animation-delay: .36s; background: linear-gradient(180deg, #a5f3fc, #22d3ee); }

.preview-toast {
    left: 250px;
    top: 104px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    animation: floatY 7s ease-in-out infinite reverse;
}

.toast-icon {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #052e16;
    background: linear-gradient(135deg, #6ee7b7, #10b981);
}

.toast-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.toast-text strong { font-size: 13px; }
.toast-text small { font-size: 11.5px; color: #94a3b8; }

@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes barGrow {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

/* Hero footer */
.hero-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    z-index: 2;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12.5px;
    font-weight: 600;
    color: #94a3b8;
}

.hero-footer span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-footer i { color: #38bdf8; font-size: 15px; }

@keyframes riseIn {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════════════════════
   RIGHT FORM PANEL
   ═══════════════════════════════════════════════════════════ */
.auth-panel {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 32px;
    background:
        radial-gradient(60% 50% at 100% 0%, rgba(0, 191, 255, .08), transparent 70%),
        radial-gradient(50% 40% at 0% 100%, rgba(99, 102, 241, .06), transparent 70%),
        #ffffff;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    animation: riseIn .6s .1s cubic-bezier(.16, 1, .3, 1) both;
}

.auth-header {
    margin-bottom: 28px;
}

.auth-brand-mobile {
    display: none;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
}

.auth-brand-mobile .brand-mark { width: 38px; height: 38px; font-size: 20px; }

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 11px;
    margin-bottom: 18px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    color: #047857;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
}

.status-pill i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, .6);
    animation: pulse 2s infinite;
}

.status-pill.offline { color: #b45309; background: #fffbeb; border-color: #fde68a; }
.status-pill.offline i { background: #f59e0b; animation: none; }

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, .55); }
    70% { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.auth-header h1 {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.8px;
    color: var(--text-dark);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-header h1 .wave {
    display: inline-block;
    font-size: 26px;
    transform-origin: 70% 70%;
    animation: wave 2.4s ease-in-out 1s 2;
}

@keyframes wave {
    0%, 60%, 100% { transform: rotate(0); }
    10%, 30% { transform: rotate(14deg); }
    20% { transform: rotate(-8deg); }
    40% { transform: rotate(-4deg); }
    50% { transform: rotate(10deg); }
}

.auth-header p,
.auth-sub {
    font-size: 14px;
    color: var(--text-muted);
}

#loginSubtitle {
    margin-top: 6px;
    font-weight: 700;
    color: var(--primary-deep);
}

/* ── Form Inputs ── */
.field-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 18px;
}

.field-label {
    font-size: 13px;
    font-weight: 700;
    color: #334155;
}

.input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.input-container i.field-icon {
    position: absolute;
    left: 15px;
    font-size: 19px;
    color: #94a3b8;
    pointer-events: none;
    transition: color 0.2s ease;
}

.input-control {
    width: 100%;
    height: 52px;
    padding: 10px 46px 10px 46px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--text-dark);
    background-color: var(--input-bg);
    border: 1.5px solid var(--border-color);
    border-radius: 14px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.input-control::placeholder { color: #a0aec0; font-weight: 400; }

.input-control:hover { border-color: #cbd5e1; }

.input-control:focus {
    background-color: #ffffff;
    border-color: var(--input-focus-border);
    box-shadow: 0 0 0 4px rgba(0, 191, 255, 0.14);
}

.input-container:focus-within i.field-icon {
    color: var(--primary-blue);
}

/* Password Toggle Button */
.toggle-password-btn {
    position: absolute;
    right: 10px;
    width: 34px;
    height: 34px;
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    transition: color .2s ease, background .2s ease;
}

.toggle-password-btn:hover {
    color: var(--text-dark);
    background: #eef2f7;
}

/* ── Remember Me & Forgot Password Row ── */
.auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 4px 0 24px;
    font-size: 13px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #475569;
    font-weight: 600;
    user-select: none;
}

.remember-me input[type="checkbox"] {
    width: 17px;
    height: 17px;
    accent-color: var(--primary-blue);
    cursor: pointer;
}

.forgot-password-link a {
    color: var(--primary-deep);
    font-weight: 700;
    text-decoration: none;
}

.forgot-password-link a:hover {
    text-decoration: underline;
}

/* ── Action Buttons ── */
.btn-primary-action {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 52px;
    background: linear-gradient(135deg, #22c3ff 0%, #0ea5e9 50%, #0284c7 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .2px;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 12px 24px -10px rgba(2, 132, 199, .7), inset 0 1px 0 rgba(255, 255, 255, .25);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.btn-primary-action::after {
    content: '\2192';
    font-size: 18px;
    line-height: 1;
    transition: transform .2s ease;
}

.btn-primary-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
    transform: skewX(-20deg);
    transition: left .6s ease;
}

.btn-primary-action:hover {
    filter: brightness(1.05);
    box-shadow: 0 16px 30px -12px rgba(2, 132, 199, .8), inset 0 1px 0 rgba(255, 255, 255, .25);
    transform: translateY(-1px);
}

.btn-primary-action:hover::after { transform: translateX(4px); }
.btn-primary-action:hover::before { left: 120%; }

.btn-primary-action:active {
    transform: translateY(0);
}

.btn-primary-action:disabled {
    background: #cbd5e1 !important;
    color: #64748b !important;
    cursor: wait !important;
    box-shadow: none !important;
    transform: none !important;
    filter: none;
}

.btn-primary-action:disabled::after,
.btn-primary-action:disabled::before { display: none; }

.btn-secondary-action {
    width: 100%;
    height: 48px;
    background: #ffffff;
    color: var(--primary-blue);
    font-size: 14px;
    font-weight: 700;
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-secondary-action:hover {
    border-color: var(--primary-blue);
    background: #f8fafc;
}

/* ── 2FA / OTP Phase ── */
.otp-header-card {
    text-align: center;
    margin-bottom: 22px;
    padding: 20px 16px;
    background: linear-gradient(180deg, #f0f9ff, #ffffff);
    border-radius: 18px;
    border: 1px solid #e0f2fe;
}

.otp-shield-badge {
    width: 52px;
    height: 52px;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, #38bdf8, #0284c7);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 26px;
    box-shadow: 0 10px 22px -10px rgba(2, 132, 199, .8);
}

.otp-header-card h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.otp-header-card p {
    font-size: 12.5px;
    color: var(--text-muted);
}

.otp-code-input {
    font-size: 24px !important;
    font-weight: 800 !important;
    letter-spacing: 10px !important;
    text-align: center !important;
    font-family: 'Plus Jakarta Sans', monospace !important;
}

.otp-timer-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: -6px;
    margin-bottom: 20px;
}

.otp-timer-info {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

.otp-timer-info i {
    margin-right: 4px;
    vertical-align: -2px;
}

.otp-timer-info strong {
    color: var(--primary-deep);
    font-weight: 700;
}

.otp-progress-bar {
    width: 100%;
    height: 4px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.otp-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-blue), #2563eb);
    border-radius: 4px;
    transition: width 1s linear;
}

.back-to-signin-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    margin-top: 14px;
    padding: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    background: none;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

.back-to-signin-link:hover {
    color: var(--primary-deep);
    background: #f1f5f9;
}

/* ── Messages ── */
.error-label {
    display: block;
    margin-top: 16px;
    padding: 11px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #b91c1c;
    text-align: left;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 12px;
}

.msg-success {
    color: #15803d !important;
    background: #f0fdf4 !important;
    border-color: #bbf7d0 !important;
}

.msg-warning {
    color: #b45309 !important;
    background: #fffbeb !important;
    border-color: #fde68a !important;
}

.field-error-text {
    font-size: 12px;
    font-weight: 600;
    color: var(--danger);
    display: none;
}

.caps-lock-warning {
    font-size: 12px;
    font-weight: 600;
    color: #d97706;
    display: none;
    align-items: center;
    gap: 4px;
}

.shake-group .input-control {
    border-color: var(--danger);
    animation: shake 0.4s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

/* ── Footer ── */
.auth-footer {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid #eef2f7;
    text-align: center;
}

.auth-footer p {
    font-size: 12.5px;
    color: var(--text-muted);
}

#helpLine {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

#helpLine i { font-size: 16px; color: var(--primary-blue); }

#helpLine a {
    color: var(--primary-deep);
    font-weight: 700;
    text-decoration: none;
}

#helpLine a:hover { text-decoration: underline; }

.auth-copy {
    margin-top: 6px;
    font-size: 11.5px !important;
    color: var(--text-light) !important;
}

/* ── Loading Overlay ── */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(6, 13, 28, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    animation: fadeInOverlay 0.25s ease-out forwards;
}

@keyframes fadeInOverlay {
    from { opacity: 0; }
    to { opacity: 1; }
}

.loading-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 36px 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    transform: scale(0.92);
    animation: scaleInCard 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes scaleInCard {
    to { transform: scale(1); }
}

.spinner-wrapper {
    position: relative;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner-circle {
    width: 50px;
    height: 50px;
    border: 4px solid #e2e8f0;
    border-top-color: var(--primary-blue);
    border-right-color: var(--primary-blue);
    border-radius: 50%;
    animation: spin 0.75s linear infinite;
}

.spinner-icon {
    position: absolute;
    font-size: 20px;
    color: var(--primary-blue);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.2px;
    text-align: center;
}

.loading-subtext {
    font-size: 13px;
    color: #64748b;
    margin-top: -6px;
    text-align: center;
}

/* ── Responsive ── */
@media (max-width: 1280px) {
    .hero-panel { padding: 40px 44px 32px; }
    .preview-toast { left: 200px; }
}

@media (max-height: 820px) {
    .hero-preview { display: none; }
}

@media (max-width: 1024px) {
    .hero-features { display: none; }
    .preview-sales { width: 260px; }
    .preview-toast { left: 160px; }
}

@media (max-width: 860px) {
    .split-container { flex-direction: column; }
    .hero-panel { display: none; }
    .auth-panel { padding: 32px 20px; min-height: 100vh; }
    .auth-brand-mobile { display: flex; }
}

/* ═══════════════════════════════════════════════════════════
   AUTH CARD
   ═══════════════════════════════════════════════════════════ */
.auth-panel {
    background:
        radial-gradient(45% 40% at 85% 10%, rgba(0, 191, 255, .14), transparent 70%),
        radial-gradient(40% 35% at 10% 95%, rgba(99, 102, 241, .10), transparent 70%),
        radial-gradient(circle, rgba(15, 23, 42, .06) 1px, transparent 1.2px) 0 0 / 22px 22px,
        #f4f7fb;
}

.auth-card {
    position: relative;
    max-width: 452px;
    padding: 40px 38px 0;
    border-radius: 28px;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(226, 232, 240, .9);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, .04),
        0 30px 60px -28px rgba(15, 23, 42, .28),
        0 0 0 6px rgba(255, 255, 255, .5);
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #38bdf8, #0ea5e9, #6366f1, #22d3ee);
    background-size: 200% 100%;
    animation: barShift 6s linear infinite;
}

@keyframes barShift {
    to { background-position: 200% 0; }
}

.auth-glow {
    position: absolute;
    top: -120px;
    left: 50%;
    width: 320px;
    height: 220px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(56, 189, 248, .22), transparent);
    pointer-events: none;
}

.auth-card .status-pill {
    position: absolute;
    top: 18px;
    right: 18px;
    margin: 0;
    padding: 4px 10px;
    font-size: 11px;
    z-index: 2;
}

.auth-header {
    position: relative;
    text-align: center;
    margin-bottom: 26px;
}

.auth-logo {
    position: relative;
    width: 66px;
    height: 66px;
    margin: 0 auto 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #f0f9ff, #ffffff);
    border: 1px solid #e0f2fe;
    box-shadow: 0 12px 24px -14px rgba(2, 132, 199, .6);
}

.auth-logo::after {
    content: '';
    position: absolute;
    inset: -7px;
    border-radius: 25px;
    border: 1px dashed rgba(14, 165, 233, .35);
    animation: spin 24s linear infinite;
}

.auth-logo .brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    font-size: 24px;
}

.auth-brand-name {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #0284c7;
    margin-bottom: 14px;
}

.auth-header h1 {
    justify-content: center;
    font-size: 28px;
}

.auth-header .auth-sub {
    font-size: 14px;
}

.auth-card .field-label {
    font-size: 12px;
    letter-spacing: .02em;
    color: #475569;
}

.auth-card .input-control {
    background-color: #f8fafc;
    border-color: #e5eaf1;
}

.auth-card .input-control:focus {
    background-color: #ffffff;
}

.auth-card .btn-primary-action {
    margin-top: 2px;
}

/* Trust row */
.auth-trust {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.auth-trust span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #e8edf3;
}

.auth-trust i {
    font-size: 13px;
    color: #0ea5e9;
}

/* Footer band */
.auth-card .auth-footer {
    margin: 26px -38px 0;
    padding: 16px 24px 18px;
    border-top: 1px solid #eef2f7;
    background: linear-gradient(180deg, #f8fafc, #f1f5f9);
}

@media (max-width: 860px) {
    .auth-panel { padding: 24px 14px; }
    .auth-card { padding: 34px 22px 0; border-radius: 24px; }
    .auth-card .auth-footer { margin: 22px -22px 0; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
