:root {
    --bg: #eef3ff;
    --bg-2: #e3ecff;
    --surface: rgba(255, 255, 255, 0.94);
    --surface-strong: #ffffff;
    --line: #d4def2;
    --text: #12274f;
    --muted: #6178a3;
    --primary: #2563eb;
    --primary-2: #1d4ed8;
    --danger: #dc2626;
    --warning: #d97706;
    --success: #16a34a;
    --shadow-lg: 0 36px 80px -42px rgba(22, 41, 84, 0.5);
    --shadow-md: 0 18px 36px -24px rgba(22, 41, 84, 0.36);
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
    margin: 0;
}

body {
    font-family: "Plus Jakarta Sans", sans-serif;
    color: var(--text);
    background:
        linear-gradient(135deg, rgba(7, 28, 69, 0.78), rgba(18, 47, 102, 0.74)),
        url("../images/auth/login-hero-new.png") center/cover no-repeat fixed;
    overflow-x: hidden;
    position: relative;
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
}

body::before {
    background: linear-gradient(135deg, rgba(8, 22, 54, 0.58), rgba(11, 67, 112, 0.44));
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
}

body::after {
    display: none;
}

/* Utility classes used by auth.js */
.hidden { display: none !important; }
.opacity-0 { opacity: 0 !important; }
.pointer-events-none { pointer-events: none !important; }
.text-primary-600 { color: #2563eb !important; }
.text-white { color: #fff !important; }
.text-slate-400 { color: #94a3b8 !important; }
.text-slate-500 { color: #64748b !important; }
.bg-slate-200 { background: #e2e8f0 !important; }
.bg-slate-400 { background: #94a3b8 !important; }
.bg-primary-100 { background: #dbeafe !important; }
.bg-primary-300 { background: #93c5fd !important; }
.bg-primary-600 { background: #2563eb !important; }
.bg-red-500 { background: #ef4444 !important; }
.bg-amber-400 { background: #fbbf24 !important; }
.bg-green-500 { background: #22c55e !important; }
.border { border: 1px solid #cbd5e1 !important; }
.border-l-4 { border-left-width: 4px !important; border-left-style: solid !important; }
.border-primary-200 { border-color: #bfdbfe !important; }
.border-red-500 { border-color: #ef4444 !important; border-left-color: #ef4444 !important; }
.border-amber-500 { border-color: #f59e0b !important; border-left-color: #f59e0b !important; }
.border-green-500 { border-color: #22c55e !important; border-left-color: #22c55e !important; }
.h-full { height: 100% !important; }
.h-6 { height: 1.5rem !important; }
.w-1\/3 { width: 33.333333% !important; }
.w-6 { width: 1.5rem !important; }
.transition-colors { transition: background-color 0.2s ease, color 0.2s ease !important; }
.font-bold { font-weight: 700 !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mr-1\.5 { margin-right: 0.375rem !important; }
.text-right { text-align: right !important; }
.text-\[10px\] { font-size: 10px !important; }
.text-red-500 { color: #ef4444 !important; }
.text-amber-500 { color: #f59e0b !important; }
.text-green-600 { color: #16a34a !important; }
.rounded-full { border-radius: 999px !important; }
.flex { display: flex !important; }
.items-center { align-items: center !important; }
.justify-center { justify-content: center !important; }
.gap-3 { gap: 0.75rem !important; }
.p-4 { padding: 1rem !important; }
.shadow-xl { box-shadow: 0 22px 42px -26px rgba(15, 23, 42, 0.46) !important; }
.bg-white { background: #fff !important; }
.min-w-\[250px\] { min-width: 250px !important; }
.z-\[9999\] { z-index: 9999 !important; }

/* Animations */
.fade-in { animation: fadeIn 0.24s ease both; }
.slide-up { animation: slideUp 0.36s cubic-bezier(0.16, 1, 0.3, 1) both; }
.modal-enter { animation: modalIn 0.22s ease both; }
.modal-leave { animation: modalOut 0.2s ease both; }
.panel-enter { animation: panelIn 0.24s cubic-bezier(0.16, 1, 0.3, 1) both; }
.panel-leave { animation: panelOut 0.18s cubic-bezier(0.16, 1, 0.3, 1) both; }
.toast-enter { animation: toastIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) both; }
.toast-leave { animation: toastOut 0.2s ease both; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes modalIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px) scale(0.988); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes panelOut { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(10px); } }
@keyframes toastIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: translateX(0); } }
@keyframes toastOut { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(18px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes cardAura {
    0%, 100% { opacity: 0.45; }
    50% { opacity: 0.9; }
}
@keyframes cardSheen {
    0% { transform: translateX(-130%) skewX(-24deg); opacity: 0; }
    14% { opacity: 0.28; }
    30% { opacity: 0; }
    100% { transform: translateX(220%) skewX(-24deg); opacity: 0; }
}

/* Loading */
.auth-loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #0b1b45 0%, #10295e 100%);
    transition: opacity 0.2s ease;
}

.auth-loading-spinner {
    width: 56px;
    height: 56px;
    border: 4px solid rgba(147, 197, 253, 0.28);
    border-top-color: #60a5fa;
    border-radius: 999px;
    animation: spin 0.85s linear infinite;
    margin-bottom: 12px;
}

.auth-loading-overlay h2 {
    margin: 0;
    color: #ffffff;
    letter-spacing: 0.14em;
    font-size: 13px;
    font-weight: 800;
}

/* Layout */
.auth-layout {
    min-height: 100vh;
    width: 100%;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.auth-layout::before,
.auth-layout::after {
    display: none;
}

.auth-left-visual {
    display: none;
}

.auth-right-shell {
    width: min(100%, 500px);
    position: relative;
    z-index: 1;
}

.auth-right-shell::before,
.auth-right-shell::after {
    display: none;
}

.auth-right-bg {
    display: none;
}

.auth-card {
    width: 100%;
    background: #ffffff;
    border: 1px solid #d3deef;
    border-radius: 14px;
    box-shadow: 0 12px 34px -20px rgba(15, 23, 42, 0.36);
    padding: 24px 20px 16px;
    position: relative;
    overflow: hidden;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.auth-card::before {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    top: 0;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0), rgba(37, 99, 235, 0.95), rgba(34, 211, 238, 0.9), rgba(37, 99, 235, 0));
    animation: cardAura 4.6s ease-in-out infinite;
    pointer-events: none;
}

.auth-card::after {
    content: "";
    position: absolute;
    top: -40%;
    left: -30%;
    width: 48%;
    height: 180%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(37, 99, 235, 0.16), rgba(255, 255, 255, 0));
    animation: cardSheen 6.8s ease-in-out infinite;
    pointer-events: none;
}

.auth-card:hover {
    transform: translateY(-2px);
    border-color: #bfd1f0;
    box-shadow: 0 20px 44px -24px rgba(15, 23, 42, 0.4);
}

.auth-section {
    width: 100%;
}

.auth-section-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 14px;
}

.auth-section-header--center {
    text-align: center;
    align-items: center;
}

.auth-logo-badge {
    width: 62px;
    height: 62px;
    border-radius: 999px;
    margin-bottom: 4px;
    background: linear-gradient(180deg, #e8f1ff 0%, #dbe8ff 100%);
    display: grid;
    place-items: center;
}

.auth-logo-letter {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(180deg, #3b82f6 0%, #22d3ee 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
}

.auth-section-header h2 {
    margin: 0;
    font-size: 30px;
    letter-spacing: 0.03em;
    color: #112a60;
    font-weight: 800;
}

.auth-brand-tagline {
    margin: 0;
    color: #0f8db0 !important;
    font-size: 13px !important;
    letter-spacing: 0.11em;
    font-weight: 700 !important;
}

.auth-brand-subtitle {
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
}

.auth-section-header p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.auth-back-btn {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: #eaf1ff;
    color: #4d6692;
    display: grid;
    place-items: center;
    cursor: pointer;
    margin-bottom: 6px;
}

.auth-back-btn:hover {
    background: #dce7ff;
}

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

.auth-field {
    display: grid;
    gap: 6px;
}

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

.auth-input-wrap {
    position: relative;
}

.auth-input-wrap > i:first-child {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #8094b8;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    line-height: 1;
    z-index: 2;
    pointer-events: none;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="tel"],
.auth-form input[type="number"],
.auth-form select,
.auth-form textarea,
.auth-field > input,
.auth-field > select,
.auth-field > textarea {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface-strong);
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    padding: 10px 14px;
    outline: none;
    transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.auth-input-wrap input {
    padding-left: 54px;
    padding-right: 40px;
    line-height: 1.3;
}

.auth-form textarea {
    min-height: 92px;
    resize: vertical;
}

.auth-form input::placeholder,
.auth-form textarea::placeholder {
    color: #92a3c2;
    font-size: 14px;
}

.auth-form input:focus,
.auth-form select:focus,
.auth-form textarea:focus {
    border-color: #78a2ff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

/* Hard fix: prevent icon/text overlap on login + forgot form */
#formLogin .auth-input-wrap > i:first-child,
#formForgot .auth-input-wrap > i:first-child {
    display: none !important;
}

#formLogin .auth-input-wrap input,
#formForgot .auth-input-wrap input {
    padding-left: 14px !important;
}

#formLogin .auth-form {
    gap: 12px;
}

#formLogin .auth-field {
    gap: 8px;
}

.auth-eye-btn {
    position: absolute;
    top: 50%;
    right: 9px;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border: 0;
    background: transparent;
    color: #7f93b8;
    display: grid;
    place-items: center;
    cursor: pointer;
    font-size: 18px;
}

.auth-eye-btn:hover {
    color: #3e5c8f;
}

.auth-warning,
.auth-error,
.auth-hint {
    margin: 0;
    font-size: 12px;
}

.auth-warning {
    color: var(--warning);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 700;
}

.auth-error {
    color: var(--danger);
    font-weight: 700;
}

.auth-hint {
    color: #6178a3;
}

.auth-inline-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.auth-inline-row a,
.auth-link-btn,
.auth-footnote a {
    color: #1d4ed8;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
}

.auth-inline-row a:hover,
.auth-link-btn:hover,
.auth-footnote a:hover {
    text-decoration: underline;
}

.auth-link-btn {
    border: 0;
    background: transparent;
    cursor: pointer;
}

.auth-muted {
    font-size: 12px;
    color: #7e91b2;
}

.auth-check-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #415f90;
    font-weight: 600;
    cursor: pointer;
}

.form-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #bfd0ee;
    border-radius: 5px;
    background: #fff;
    display: grid;
    place-content: center;
    cursor: pointer;
    margin: 0;
}

.form-checkbox::before {
    content: "";
    width: 9px;
    height: 9px;
    transform: scale(0);
    transition: transform 0.12s ease;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
    background: #fff;
}

.form-checkbox:checked {
    background: #2563eb;
    border-color: #2563eb;
}

.form-checkbox:checked::before {
    transform: scale(1);
}

.auth-action-stack {
    display: grid;
    gap: 11px;
    margin-top: 3px;
}

.auth-btn {
    min-height: 44px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-size: 16px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.auth-btn:hover { transform: translateY(-1px); }
.auth-btn:active { transform: translateY(0); }
.auth-btn:disabled,
.auth-btn[disabled] {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.auth-btn-primary {
    color: #fff;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-2) 100%);
    box-shadow: 0 12px 24px -16px rgba(29, 78, 216, 0.8);
}

.auth-btn-outline {
    color: #1e40af;
    background: #fff;
    border-color: #93b4f2;
}

.auth-btn-outline:hover {
    background: #f4f8ff;
}

.auth-btn-neutral {
    color: #fff;
    background: linear-gradient(140deg, #334155, #0f172a);
}

.auth-btn-secondary {
    color: #385581;
    border-color: #c5d4ef;
    background: #f8fbff;
}

.auth-btn-secondary:hover {
    background: #edf4ff;
}

.auth-btn.auth-btn-disabled,
.auth-btn.auth-btn-disabled:hover {
    color: #fff;
    background: #94a3b8;
    border-color: #94a3b8;
    box-shadow: none;
    transform: none;
}

.auth-rate-limit {
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #dc2626;
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

/* Register/Forgot/OTP/Reset */
.auth-stepper {
    display: grid;
    grid-template-columns: auto 1fr auto 1fr auto;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.auth-stepper-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
}

.auth-step-dot {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

.auth-step-line {
    height: 1px;
    background: #e2e8f0;
}

.auth-step { display: grid; gap: 12px; }

.auth-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.auth-row-split {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 10px;
}

.auth-strength-wrap {
    display: flex;
    width: 100%;
    height: 6px;
    border-radius: 999px;
    overflow: hidden;
    background: #e2e8f0;
    margin-top: 6px;
}

.auth-summary-card {
    border: 1px solid #d8e5fb;
    border-radius: 12px;
    background: #f7faff;
    padding: 11px;
}

.auth-summary-card h4 {
    margin: 0 0 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 800;
}

.auth-summary-card h4 i { color: var(--success); }

.auth-summary-card dl {
    margin: 0;
    display: grid;
    gap: 6px;
}

.auth-summary-card dl > div {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 8px;
    align-items: center;
}

.auth-summary-card dt {
    margin: 0;
    font-size: 12px;
    color: #6178a3;
}

.auth-summary-card dd {
    margin: 0;
    text-align: right;
    font-size: 13px;
    font-weight: 800;
    color: #12274f;
}

.auth-check-card {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 10px;
    align-items: flex-start;
    border-radius: 12px;
    border: 1px solid #d7e3fa;
    padding: 10px;
    font-size: 12px;
    color: #4f648c;
}

.auth-check-card--demo {
    background: #ecfdf3;
    border-color: #bbf7d0;
}

.auth-check-card--terms {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.auth-check-card:hover {
    border-color: #93c5fd;
}

.auth-otp-target {
    font-size: 13px;
    color: #334155;
}

.auth-form-otp { gap: 12px; }

.auth-otp-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

.otp-input {
    min-height: 48px !important;
    text-align: center;
    font-size: 20px !important;
    font-weight: 900;
    border-radius: 10px !important;
    padding: 0 !important;
}

.auth-otp-meta {
    text-align: center;
    color: #6178a3;
    font-size: 13px;
}

.auth-otp-meta span {
    color: #2563eb;
    font-weight: 800;
}

.auth-otp-meta button {
    border: 0;
    background: transparent;
    color: #64748b;
    margin-top: 6px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.auth-otp-meta button:hover {
    color: #334155;
    text-decoration: underline;
}

.auth-info-banner {
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: #1e3a8a;
    border-radius: 10px;
    padding: 9px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.auth-footnote {
    margin: 14px 0 0;
    text-align: center;
    font-size: 12px;
    color: #6178a3;
}

.auth-security-footer {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #dbe5f8;
    color: #6079a5;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-security-footer span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

/* Toast */
.auth-toast {
    position: fixed;
    top: 14px;
    right: 14px;
    z-index: 9999;
    display: grid;
    gap: 8px;
    pointer-events: none;
}

/* Modal */
.auth-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    background:
        radial-gradient(60% 50% at 50% 15%, rgba(59, 130, 246, 0.28), transparent 70%),
        rgba(2, 6, 23, 0.72);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.auth-modal-panel {
    width: 100%;
    max-width: 392px;
    border-radius: 16px;
    border: 1px solid rgba(196, 214, 245, 0.9);
    background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
    box-shadow:
        0 36px 82px -38px rgba(2, 6, 23, 0.82),
        0 0 0 1px rgba(255, 255, 255, 0.6) inset;
    padding: 18px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.auth-modal-panel::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb 0%, #22d3ee 100%);
}

.auth-modal-panel h2 {
    margin: 0 0 8px;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 900;
}

.auth-modal-panel p {
    margin: 0 0 14px;
    font-size: 14px;
    color: #627598;
}

.auth-modal-icon {
    width: 72px;
    height: 72px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    margin: 2px auto 12px;
    font-size: 38px;
    box-shadow: 0 14px 26px -18px rgba(37, 99, 235, 0.45);
}

.auth-modal-icon--success {
    background: radial-gradient(circle at 25% 20%, #bbf7d0 0%, #dcfce7 60%);
    color: #15803d;
}
.auth-modal-icon--brand,
.auth-modal-icon--info {
    background: radial-gradient(circle at 20% 20%, #bfdbfe 0%, #dbeafe 64%);
    color: #1d4ed8;
}

.auth-modal-summary {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    padding: 10px;
    text-align: left;
    margin-bottom: 12px;
    display: grid;
    gap: 8px;
}

.auth-modal-summary small {
    display: block;
    font-size: 11px;
    color: #627598;
    margin-bottom: 2px;
}

.auth-modal-summary strong {
    font-size: 13px;
    color: #12274f;
}

.auth-modal-panel--terms,
.auth-modal-panel--help {
    max-width: 540px;
    text-align: left;
    padding: 0;
    overflow: hidden;
    background: #fff;
}

.auth-modal-head {
    padding: 14px 16px;
    background: linear-gradient(180deg, #f8fbff 0%, #edf4ff 100%);
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.auth-modal-head h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.auth-modal-head h2 i { color: #2563eb; }

.auth-modal-close {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #64748b;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.auth-modal-close:hover {
    background: #e4edfd;
    color: #334155;
}

.auth-modal-body {
    max-height: 50vh;
    overflow: auto;
    padding: 16px;
    display: grid;
    gap: 10px;
    color: #475569;
    font-size: 14px;
    line-height: 1.65;
}

.auth-modal-body p { margin: 0; }

.auth-modal-body ul {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 6px;
}

.auth-modal-foot {
    border-top: 1px solid #e2e8f0;
    padding: 14px 16px;
    background: linear-gradient(180deg, #f8fbff 0%, #edf4ff 100%);
}

/* number input spinner remove */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

@media (max-width: 768px) {
    .auth-layout {
        padding: 14px 10px;
    }

    .auth-layout::before,
    .auth-layout::after {
        display: none;
    }

    .auth-right-shell {
        width: 100%;
    }

    .auth-card {
        border-radius: 12px;
        padding: 18px 14px 12px;
    }

    .auth-logo-badge {
        width: 56px;
        height: 56px;
    }

    .auth-logo-letter {
        width: 34px;
        height: 34px;
        font-size: 19px;
    }

    .auth-section-header h2 {
        font-size: 24px;
    }

    .auth-brand-tagline {
        font-size: 12px !important;
    }

    .auth-brand-subtitle,
    .auth-section-header p {
        font-size: 13px;
    }

    .auth-grid-2,
    .auth-row-split {
        grid-template-columns: 1fr;
    }

    .auth-inline-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 7px;
    }

    .auth-security-footer {
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
