:root {
    --neon-green: #00ff9d;
    --neon-green-glow: rgba(0, 255, 157, 0.4);
    --neon-cyan: #00e5ff;
    --neon-blue: #00b4d8;
    --canvas: #050811;
    --card-surface: rgba(10, 18, 34, 0.94);
    --card-border: rgba(0, 255, 157, 0.32);
    --card-glow: 0 0 50px rgba(0, 255, 157, 0.15), 0 30px 90px rgba(0, 0, 0, 0.85);
    --input-bg: rgba(15, 23, 42, 0.88);
    --input-border: rgba(0, 255, 157, 0.28);
    --ink: #f1f5f9;
    --ink-secondary: #cbd5e1;
    --muted: #8ca2be;
    --line: rgba(0, 255, 157, 0.2);
    --success: #00ff9d;
    --danger: #ff4757;
    --radius: 22px;
    --control-radius: 12px;
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-mono: 'Fira Code', 'Courier New', monospace;
}

*,
*::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-color: #050811;
    background-image: 
        radial-gradient(ellipse at 15% 20%, rgba(0, 255, 157, 0.09) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 80%, rgba(0, 229, 255, 0.08) 0%, transparent 60%),
        linear-gradient(rgba(0, 255, 157, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 157, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 36px 36px, 36px 36px;
    font-family: var(--font-sans);
    font-size: 14px;
    line-height: 1.5;
    position: relative;
    overflow-x: hidden;
}

body.loading {
    overflow: hidden;
}

.matrix-canvas-full {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    opacity: 0.26;
}

button,
input,
select {
    font: inherit;
}

button:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 2px solid var(--neon-green);
    outline-offset: 2px;
}

[hidden] {
    display: none !important;
}

.auth-shell {
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: 32px 16px;
    position: relative;
    z-index: 2;
}

.auth-card {
    position: relative;
    width: min(1040px, 100%);
    min-height: 640px;
    display: grid;
    grid-template-columns: minmax(320px, 38%) minmax(0, 62%);
    overflow: hidden;
    background: var(--card-surface);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    box-shadow: var(--card-glow);
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00ff9d 0%, #00e5ff 50%, #00ff9d 100%);
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.7);
    z-index: 10;
}

/* Visual Panel (Left side) */
.visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 48px 34px;
    overflow: hidden;
    text-align: center;
    background: linear-gradient(170deg, #081020 0%, #040812 100%);
    border-right: 1px solid rgba(0, 255, 157, 0.2);
}

.visual::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, #00ff9d, #00e5ff);
    box-shadow: 0 0 10px #00ff9d;
    z-index: 2;
}

.brand-block {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 280px;
}

.brand-mark {
    width: 88px;
    height: 88px;
    display: grid;
    place-items: center;
    margin: 0 auto 16px;
    overflow: hidden;
    border: 2px solid #00ff9d;
    border-radius: 50%;
    background: #081224;
    box-shadow: 0 0 25px rgba(0, 255, 157, 0.45), inset 0 0 15px rgba(0, 255, 157, 0.25);
}

.brand-img {
    width: 100%;
    height: 100%;
    padding: 8px;
    border-radius: 50%;
    object-fit: contain;
}

.logo-fallback {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #00ff9d;
    background: #081224;
    font-family: var(--font-mono);
    font-size: 34px;
    font-weight: 800;
    text-transform: uppercase;
    text-shadow: 0 0 12px rgba(0, 255, 157, 0.7);
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 255, 157, 0.1);
    border: 1px solid rgba(0, 255, 157, 0.35);
    color: #00ff9d;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 12px;
    text-shadow: 0 0 8px rgba(0, 255, 157, 0.4);
}

.brand-name {
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.3px;
    margin: 0 0 4px;
    line-height: 1.25;
    font-family: var(--font-sans);
    text-shadow: 0 0 14px rgba(0, 255, 157, 0.4);
}

.brand-subtitle {
    color: #00e5ff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 14px;
    font-family: var(--font-mono);
}

.brand-copy {
    max-width: 260px;
    margin: 0 auto 20px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.brand-features {
    display: flex;
    flex-direction: column;
    gap: 9px;
    width: 100%;
    max-width: 270px;
    margin: 0 auto;
    text-align: left;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(0, 255, 157, 0.2);
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #cbd5e1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    transition: all 0.2s ease;
}

.feature-item:hover {
    border-color: rgba(0, 255, 157, 0.45);
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.2);
    transform: translateY(-1px);
}

.feature-item i {
    font-size: 13px;
    width: 18px;
    text-align: center;
}

.text-neon-green {
    color: #00ff9d !important;
    text-shadow: 0 0 8px rgba(0, 255, 157, 0.6);
}

.text-neon-cyan {
    color: #00e5ff !important;
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.6);
}

/* Form Side (Right side) */
.form-side {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 38px 48px 24px;
    background: rgba(10, 18, 34, 0.96);
}

/* Mobile Brand Banner */
.mobile-brand-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 15px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(9, 18, 34, 0.95) 100%);
    border: 1px solid rgba(0, 255, 157, 0.3);
    box-shadow: 0 0 16px rgba(0, 255, 157, 0.12);
    border-radius: 12px;
    margin-bottom: 20px;
}

.mobile-logo-wrap {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #081224;
    border: 1.5px solid #00ff9d;
    box-shadow: 0 0 10px rgba(0, 255, 157, 0.35);
    display: grid;
    place-items: center;
    overflow: hidden;
    flex-shrink: 0;
}

.mobile-brand-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

.logo-fallback-sm {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background: #081224;
    color: #00ff9d;
    font-weight: 800;
    font-size: 17px;
    font-family: var(--font-mono);
}

.mobile-brand-info {
    min-width: 0;
    flex: 1;
}

.mobile-brand-title {
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 0 8px rgba(0, 255, 157, 0.4);
}

.mobile-brand-subtitle {
    font-size: 11.5px;
    color: #00e5ff;
    font-weight: 600;
    font-family: var(--font-mono);
}

/* Tabs */
.tabs {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    border-bottom: 1px solid rgba(0, 255, 157, 0.2);
}

.tab-btn {
    position: relative;
    min-height: 46px;
    padding: 10px 10px 13px;
    border: 0;
    color: #70859e;
    background: transparent;
    font-size: 13.5px;
    font-weight: 600;
    font-family: var(--font-mono);
    line-height: 1.25;
    transition: all 180ms ease;
    cursor: pointer;
    text-align: center;
}

.tab-btn::after {
    content: "";
    position: absolute;
    right: 15%;
    bottom: -1px;
    left: 15%;
    height: 2.5px;
    border-radius: 3px 3px 0 0;
    background: transparent;
    transition: all 180ms ease;
}

.tab-btn:hover {
    color: #00ff9d;
}

.tab-btn.active {
    color: #00ff9d;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0, 255, 157, 0.6);
}

.tab-btn.active::after {
    background: linear-gradient(90deg, #00ff9d, #00e5ff);
    box-shadow: 0 0 12px #00ff9d;
}

.panels {
    width: 100%;
    max-width: 520px;
    flex: 1;
    align-self: center;
    margin-top: 24px;
}

.auth-panel {
    display: none;
    width: 100%;
}

.auth-panel.active {
    display: block;
    animation: authFade 0.25s ease forwards;
}

@keyframes authFade {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.portal-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 255, 157, 0.1);
    color: #00ff9d;
    border: 1px solid rgba(0, 255, 157, 0.32);
    border-radius: 50px;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    font-family: var(--font-mono);
    letter-spacing: 0.06em;
    margin-bottom: 10px;
    text-shadow: 0 0 8px rgba(0, 255, 157, 0.4);
}

.heading {
    margin-bottom: 22px;
}

.heading h2 {
    margin: 0 0 6px;
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 23px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.4px;
}

.heading p {
    margin: 0;
    color: var(--muted);
    font-size: 13.5px;
}

.field {
    margin-bottom: 17px;
}

.field > label {
    display: block;
    margin: 0 0 6px;
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 600;
    font-family: var(--font-mono);
    letter-spacing: 0.03em;
}

.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: #00ff9d;
    background: transparent;
    text-align: center;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 14px;
    transition: color 180ms ease;
}

.field input,
.field select {
    width: 100%;
    height: 50px;
    padding: 0 44px 0 44px;
    border: 1.5px solid rgba(0, 255, 157, 0.28);
    border-radius: var(--control-radius);
    color: #f1f5f9;
    background: rgba(15, 23, 42, 0.88);
    box-shadow: none;
    outline: 0;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    transition: all 180ms ease;
}

.field select {
    cursor: pointer;
}

.field select option {
    background: #0b1426;
    color: #f1f5f9;
}

.field input::placeholder {
    color: #64748b;
    font-weight: 400;
}

.field input:hover,
.field select:hover {
    border-color: rgba(0, 255, 157, 0.5);
}

.field input:focus,
.field select:focus {
    border-color: #00ff9d;
    box-shadow: 0 0 0 3px rgba(0, 255, 157, 0.22), 0 0 18px rgba(0, 255, 157, 0.3);
    background: rgba(15, 23, 42, 0.98);
    color: #ffffff;
}

.input-wrap:focus-within > .field-icon:first-child {
    color: #00ff9d;
    text-shadow: 0 0 8px #00ff9d;
}

.password-toggle {
    position: absolute;
    z-index: 3;
    top: 50%;
    right: 8px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 8px;
    color: #70859e;
    background: transparent;
    transform: translateY(-50%);
    cursor: pointer;
    transition: color 150ms ease, background-color 150ms ease;
}

.password-toggle:hover {
    color: #00ff9d;
    background: rgba(0, 255, 157, 0.1);
}

.form-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 4px 0 18px;
}

.check-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}

.check-label input {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    margin: 0;
    accent-color: #00ff9d;
    cursor: pointer;
}

.btn-gradient,
.btn-outline-primary {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: var(--control-radius);
    font-size: 14px;
    font-weight: 800;
    font-family: var(--font-mono);
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all 180ms ease;
}

.btn-gradient {
    border: none;
    color: #050811;
    background: linear-gradient(135deg, #00ff9d 0%, #00b4d8 100%);
    box-shadow: 0 0 22px rgba(0, 255, 157, 0.45), 0 4px 15px rgba(0, 0, 0, 0.4);
}

.btn-gradient:hover,
.btn-gradient:focus {
    color: #050811;
    box-shadow: 0 0 35px rgba(0, 255, 157, 0.75), 0 6px 22px rgba(0, 180, 216, 0.45);
    transform: translateY(-1px);
}

.btn-outline-primary {
    border: 1.5px solid rgba(0, 255, 157, 0.4);
    color: #00ff9d;
    background: rgba(0, 255, 157, 0.08);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    border-color: #00ff9d;
    color: #050811;
    background: #00ff9d;
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.45);
}

.btn-gradient:disabled,
.btn-outline-primary:disabled,
.secondary-link:disabled {
    cursor: not-allowed;
    box-shadow: none;
    opacity: 0.55;
    transform: none;
}

.secondary-link {
    min-height: 34px;
    padding: 4px 2px;
    border: 0;
    border-radius: 6px;
    color: #00e5ff;
    background: transparent;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-mono);
    text-decoration: none;
    cursor: pointer;
    transition: color 150ms ease;
}

.secondary-link:hover {
    color: #00ff9d;
    text-shadow: 0 0 8px rgba(0, 255, 157, 0.6);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.button-spinner {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    border: 2px solid rgba(0, 0, 0, 0.35);
    border-top-color: #000;
    border-radius: 50%;
    animation: spin 700ms linear infinite;
}

.btn-outline-primary .button-spinner,
.secondary-link .button-spinner {
    border-color: rgba(0, 255, 157, 0.3);
    border-top-color: #00ff9d;
}

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

.field-hint,
.otp-expiry {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.otp-expiry {
    min-height: 20px;
    margin: 0 0 15px;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 12.5px;
    font-weight: 600;
    color: #00e5ff;
}

.otp-group {
    width: 100%;
    max-width: 420px;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    margin: 20px auto 14px;
}

.otp-group input {
    width: 100%;
    min-width: 0;
    height: 52px;
    padding: 0;
    border: 1.5px solid rgba(0, 255, 157, 0.35);
    border-radius: 10px;
    color: #00ff9d;
    background: rgba(15, 23, 42, 0.95);
    font-family: var(--font-mono);
    font-size: 24px;
    font-weight: 800;
    text-align: center;
    outline: 0;
    transition: all 180ms ease;
}

.otp-group input:focus {
    border-color: #00ff9d;
    box-shadow: 0 0 0 3px rgba(0, 255, 157, 0.25), 0 0 18px rgba(0, 255, 157, 0.4);
    background: rgba(15, 23, 42, 1);
}

.otp-group.success input {
    border-color: #00ff9d;
    background: rgba(0, 255, 157, 0.15);
    color: #00ff9d;
}

.otp-group.error {
    animation: shake 280ms ease-in-out;
}

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

/* Stepper */
.stepper {
    width: 100%;
    display: flex;
    align-items: flex-start;
    margin: 0 0 24px;
}

.step {
    position: relative;
    z-index: 1;
    min-width: 0;
    flex: 1;
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
    font-family: var(--font-mono);
    line-height: 1.25;
    text-align: center;
    text-transform: uppercase;
}

.step::before {
    content: attr(data-step);
    position: relative;
    z-index: 2;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    margin: 0 auto 6px;
    border: 1px solid rgba(0, 255, 157, 0.3);
    border-radius: 50%;
    color: #64748b;
    background: #081224;
    font-size: 12px;
    font-weight: 700;
    transition: all 180ms ease;
}

.step:not(:last-child)::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: 14px;
    left: calc(50% + 14px);
    width: calc(100% - 28px);
    height: 1px;
    background: rgba(0, 255, 157, 0.2);
}

.step.active {
    color: #00ff9d;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(0, 255, 157, 0.6);
}

.step.active::before {
    border-color: #00ff9d;
    color: #050811;
    background: #00ff9d;
    box-shadow: 0 0 14px #00ff9d;
}

.step.done {
    color: #00e5ff;
}

.step.done::before {
    content: "✓";
    border-color: #00e5ff;
    color: #050811;
    background: #00e5ff;
    box-shadow: 0 0 12px #00e5ff;
}

.step.done::after {
    background: #00e5ff;
}

.password-meter {
    height: 4px;
    margin: -8px 0 16px;
    overflow: hidden;
    border-radius: 999px;
    background: #1e293b;
}

.password-meter span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--danger);
    transition: width 180ms ease, background-color 180ms ease;
}

.success-view {
    padding: 24px 8px 18px;
    text-align: center;
}

.success-check {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    margin: 0 auto 16px;
    border: 2px solid #00ff9d;
    border-radius: 50%;
    color: #00ff9d;
    background: rgba(0, 255, 157, 0.12);
    font-size: 26px;
    box-shadow: 0 0 25px rgba(0, 255, 157, 0.35);
}

.success-view h3 {
    margin: 0 0 8px;
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 22px;
    font-weight: 800;
}

.success-view p {
    margin: 0 0 20px;
    color: var(--muted);
}

.footer {
    width: 100%;
    margin-top: auto;
    padding-top: 20px;
    color: #64748b;
    font-size: 12px;
    font-family: var(--font-mono);
    text-align: center;
}

/* Page Loader */
.page-loader {
    position: fixed;
    z-index: 10000;
    inset: 0;
    display: grid;
    place-items: center;
    color: #00ff9d;
    background: #050811;
    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: 90px;
    height: 90px;
    display: grid;
    place-items: center;
}

.loader-ring {
    position: absolute;
    inset: 0;
    border: 2px solid rgba(0, 255, 157, 0.15);
    border-top-color: #00ff9d;
    border-right-color: #00e5ff;
    border-radius: 50%;
    box-shadow: 0 0 22px rgba(0, 255, 157, 0.3);
    animation: spin 950ms linear infinite;
}

.loader-logo-shell {
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 157, 0.4);
    border-radius: 50%;
    background: #091322;
}

.loader-logo {
    width: 100%;
    height: 100%;
    padding: 6px;
    border-radius: 50%;
    object-fit: contain;
}

.loader-logo-shell .logo-fallback {
    font-size: 28px;
    color: #00ff9d;
    font-weight: 800;
}

.loader-name {
    margin-top: 16px;
    color: #00ff9d;
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-shadow: 0 0 12px rgba(0, 255, 157, 0.5);
}

.processing-overlay {
    position: absolute;
    z-index: 80;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(5, 8, 17, 0.88);
    backdrop-filter: blur(5px);
}

.processing-box {
    width: min(300px, 100%);
    padding: 26px 22px;
    border: 1px solid rgba(0, 255, 157, 0.35);
    border-radius: 14px;
    background: #0a1222;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85), 0 0 25px rgba(0, 255, 157, 0.2);
    text-align: center;
}

.processing-spinner {
    width: 32px;
    height: 32px;
    margin: 0 auto 14px;
    border: 2px solid rgba(0, 255, 157, 0.25);
    border-top-color: #00ff9d;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.4);
    animation: spin 760ms linear infinite;
}

.processing-box h3 {
    margin: 0 0 5px;
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 17px;
    font-weight: 700;
}

.processing-box p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

/* Toast Notifications */
.toast-stack {
    position: fixed;
    z-index: 9999;
    top: 18px;
    right: 18px;
    width: min(380px, calc(100vw - 36px));
    display: grid;
    gap: 9px;
}

.auth-toast {
    padding: 13px 16px;
    border-radius: 12px;
    background: #0a1222;
    border: 1px solid rgba(0, 255, 157, 0.3);
    color: #f1f5f9;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 255, 157, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideToast 0.25s ease forwards;
}

.auth-toast.error {
    border-color: rgba(255, 71, 87, 0.5);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 71, 87, 0.25);
}

.auth-toast.error i {
    color: #ff4757;
    font-size: 16px;
}

.auth-toast.success {
    border-color: rgba(0, 255, 157, 0.5);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 255, 157, 0.25);
}

.auth-toast.success i {
    color: #00ff9d;
    font-size: 16px;
}

@keyframes slideToast {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Responsive Media Queries */
@media (max-width: 991px) {
    .auth-card {
        grid-template-columns: 1fr;
        max-width: 520px;
    }

    .visual {
        display: none !important;
    }

    .form-side {
        padding: 30px 28px 22px;
    }

    .panels {
        margin-top: 20px;
    }
}

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

    .auth-card {
        width: 100%;
        border-radius: 18px;
        min-height: auto;
    }

    .form-side {
        padding: 22px 18px 20px;
    }

    .tab-btn {
        min-height: 42px;
        font-size: 12px;
        padding: 8px 6px;
    }

    .otp-group {
        gap: 5px;
    }

    .otp-group input {
        height: 48px;
        font-size: 20px;
    }

    .toast-stack {
        top: auto;
        right: 12px;
        bottom: 12px;
        left: 12px;
        width: auto;
    }
}

#registerContact .heading,
#forgotMobile .heading,
#loginMain .heading {
    width: 100%;
}

@media (max-width: 360px) {
    .form-side {
        padding-right: 14px;
        padding-left: 14px;
    }

    .otp-group {
        gap: 4px;
    }

    .otp-group input {
        height: 44px;
        border-radius: 8px;
        font-size: 18px;
    }

    .step {
        font-size: 9px;
    }
}