/* ============================================================
   auth.css — Login / Register / OTP / Fingerprint pages only
   Link ONLY in _Layout_Auth.cshtml — NOT in _Layout.cshtml
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* ================================================================
   1. CSS VARIABLES
   ================================================================ */
:root {
    --bg-main: #121214;
    --bg-panel: #1A1B20;
    --bg-card: #1E1F24;
    --accent-red: #FE4C4C;
    --accent-red-hover: #E03E3E;
    --accent-red-alpha: rgba(254, 76, 76, 0.15);
    --text-primary: #FFFFFF;
    --text-secondary: #9FA1AB;
    --text-muted: #64666F;
    --border-color: rgba(255, 255, 255, 0.05);
    --shadow-outset: 6px 6px 16px #0c0d0f, -6px -6px 16px #24252b;
    --shadow-inset: inset 4px 4px 10px #0c0d0f, inset -4px -4px 10px #24252b;
    --shadow-btn: 4px 4px 10px #0c0d0f, -4px -4px 10px #24252b;
    --shadow-btn-active: inset 3px 3px 6px #0c0d0f, inset -3px -3px 6px #24252b;
    --shadow-red: 0 8px 24px rgba(254, 76, 76, 0.35);
    --font-family: 'Outfit', 'Segoe UI', system-ui, sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ================================================================
   2. RESET & BASE
   ================================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-family);
    overflow-x: hidden;
}

/* ================================================================
   3. FULL-SCREEN SPLIT LAYOUT  (Desktop Login / Register)
   ================================================================ */

.lp {
    display: flex;
    min-height: 100vh;
    width: 100%;
    background: #0a0b0d;
    font-family: var(--font-family);
    overflow: hidden;
}

/* ── LEFT BRANDING PANEL ── */
.lp-left {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 48px 52px;
    overflow: hidden;
    background: #0a0b0d;
    min-height: 100vh;
}

.lp-bg-circles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

    .lp-bg-circles span {
        position: absolute;
        border-radius: 50%;
        opacity: .07;
    }

        .lp-bg-circles span:nth-child(1) {
            width: 520px;
            height: 520px;
            background: #FE4C4C;
            top: -140px;
            left: -100px;
            animation: lp-drift1 9s ease-in-out infinite;
        }

        .lp-bg-circles span:nth-child(2) {
            width: 320px;
            height: 320px;
            background: #ff6b35;
            bottom: 40px;
            left: 160px;
            animation: lp-drift2 12s ease-in-out infinite;
        }

        .lp-bg-circles span:nth-child(3) {
            width: 200px;
            height: 200px;
            background: #FE4C4C;
            top: 260px;
            left: 340px;
            animation: lp-drift1 15s ease-in-out infinite reverse;
        }

@keyframes lp-drift1 {
    0%, 100% {
        transform: translate(0,0) scale(1);
    }

    50% {
        transform: translate(24px,-36px) scale(1.06);
    }
}

@keyframes lp-drift2 {
    0%, 100% {
        transform: translate(0,0) scale(1);
    }

    50% {
        transform: translate(-18px,24px) scale(0.94);
    }
}

.lp-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(254,76,76,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(254,76,76,.04) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
}

.lp-left-fade {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100px;
    background: linear-gradient(to right, transparent, rgba(10,11,13,.7));
    pointer-events: none;
    z-index: 3;
}

.lp-logo {
    position: relative;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 14px;
}

.lp-logo-icon {
    width: 50px;
    height: 50px;
    background: #FE4C4C;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 32px rgba(254,76,76,.5);
    flex-shrink: 0;
}

    .lp-logo-icon svg {
        width: 26px;
        height: 26px;
        fill: #fff;
    }

.lp-logo-name {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.6px;
}

    .lp-logo-name span {
        color: #FE4C4C;
    }

.lp-tagline {
    position: relative;
    z-index: 4;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .lp-tagline h2 {
        font-size: 42px;
        font-weight: 800;
        color: #fff;
        line-height: 1.18;
        margin-bottom: 18px;
        letter-spacing: -.8px;
    }

        .lp-tagline h2 em {
            color: #FE4C4C;
            font-style: normal;
        }

    .lp-tagline p {
        font-size: 15px;
        color: rgba(255,255,255,.42);
        line-height: 1.75;
        max-width: 380px;
    }

.lp-stats {
    position: relative;
    z-index: 4;
    display: flex;
    gap: 40px;
}

.stat-item .stat-num {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

    .stat-item .stat-num span {
        color: #FE4C4C;
    }

.stat-item .stat-label {
    font-size: 11px;
    color: rgba(255,255,255,.32);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: .9px;
}

/* ── RIGHT FORM PANEL ── */
.lp-right {
    width: 460px;
    flex-shrink: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 50px;
    background: rgba(255,255,255,.028);
    backdrop-filter: blur(36px);
    -webkit-backdrop-filter: blur(36px);
    border-left: 1px solid rgba(255,255,255,.055);
    min-height: 100vh;
}

    .lp-right::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(145deg, rgba(254,76,76,.04) 0%, transparent 55%);
        pointer-events: none;
    }

.lp-form-inner {
    width: 100%;
    max-width: 360px;
    position: relative;
    z-index: 1;
}

.lp-form-head {
    margin-bottom: 30px;
}

    .lp-form-head h3 {
        font-size: 26px;
        font-weight: 700;
        color: #fff;
        letter-spacing: -.4px;
        margin-bottom: 7px;
    }

    .lp-form-head p {
        font-size: 13.5px;
        color: rgba(255,255,255,.38);
        line-height: 1.5;
    }

/* ── ALERTS ── */
.lp-alert {
    border-radius: 12px;
    padding: 11px 15px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
    animation: lp-slide-down .3s ease;
}

@keyframes lp-slide-down {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lp-alert svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lp-alert-err {
    background: rgba(254,76,76,.1);
    border: 1px solid rgba(254,76,76,.28);
    color: #FE4C4C;
}

.lp-alert-ok {
    background: rgba(67,160,71,.1);
    border: 1px solid rgba(67,160,71,.28);
    color: #4caf50;
}

/* ── FORM FIELDS ── */
.lp-field {
    margin-bottom: 20px;
}

.lp-field-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.lp-lbl {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,.38);
    text-transform: uppercase;
    letter-spacing: .9px;
}

.lp-forgot {
    font-size: 12px;
    color: #FE4C4C;
    text-decoration: none;
    opacity: .8;
    transition: opacity .2s;
}

    .lp-forgot:hover {
        opacity: 1;
    }

.lp-inp-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.lp-inp-icon {
    position: absolute;
    left: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: .32;
}

    .lp-inp-icon svg {
        width: 17px;
        height: 17px;
        fill: none;
        stroke: #fff;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.lp-inp {
    width: 100%;
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 13px;
    padding: 14px 44px;
    font-size: 14px;
    color: #fff;
    outline: none;
    transition: border-color .25s, background .25s, box-shadow .25s;
    font-family: var(--font-family);
    -webkit-text-fill-color: #fff;
}

    .lp-inp::placeholder {
        color: rgba(255,255,255,.2);
        -webkit-text-fill-color: rgba(255,255,255,.2);
    }

    .lp-inp:focus {
        border-color: rgba(254,76,76,.55);
        background: rgba(254,76,76,.05);
        box-shadow: 0 0 0 3px rgba(254,76,76,.1);
    }

.lp-field-err {
    display: block;
    font-size: 11px;
    color: #FE4C4C;
    margin-top: 5px;
    padding-left: 4px;
}

.lp-eye-btn {
    position: absolute;
    right: 13px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    opacity: .32;
    transition: opacity .2s;
}

    .lp-eye-btn:hover {
        opacity: .7;
    }

    .lp-eye-btn svg {
        width: 17px;
        height: 17px;
        fill: none;
        stroke: #fff;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

/* ── REMEMBER ME ── */
.lp-rem-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.lp-chk-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

    .lp-chk-label input[type="checkbox"] {
        display: none;
    }

.lp-chk-box {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .22s;
    flex-shrink: 0;
}

    .lp-chk-box svg {
        width: 12px;
        height: 12px;
        fill: none;
        stroke: #fff;
        stroke-width: 2.5;
        stroke-linecap: round;
        stroke-linejoin: round;
        opacity: 0;
        transform: scale(.4);
        transition: all .22s;
    }

.lp-chk-label input[type="checkbox"]:checked + .lp-chk-box {
    background: #FE4C4C;
    border-color: #FE4C4C;
    box-shadow: 0 0 14px rgba(254,76,76,.4);
}

    .lp-chk-label input[type="checkbox"]:checked + .lp-chk-box svg {
        opacity: 1;
        transform: scale(1);
    }

.lp-chk-text {
    font-size: 13.5px;
    color: rgba(255,255,255,.42);
}

/* ── SIGN IN BUTTON ── */
.lp-btn-signin {
    width: 100%;
    padding: 15px;
    background: #FE4C4C;
    color: #fff;
    border: none;
    border-radius: 13px;
    font-size: 15.5px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: .2px;
    transition: background .2s, transform .15s, box-shadow .2s;
    box-shadow: 0 8px 28px rgba(254,76,76,.38);
    margin-bottom: 22px;
    font-family: var(--font-family);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

    .lp-btn-signin::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, rgba(255,255,255,.1), transparent);
        pointer-events: none;
    }

    .lp-btn-signin svg {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: #fff;
        stroke-width: 2.2;
        stroke-linecap: round;
        stroke-linejoin: round;
        flex-shrink: 0;
    }

    .lp-btn-signin:hover {
        background: #e83c3c;
        box-shadow: 0 14px 34px rgba(254,76,76,.48);
        transform: translateY(-1px);
    }

    .lp-btn-signin:active {
        transform: scale(.98);
        box-shadow: 0 4px 16px rgba(254,76,76,.3);
    }

/* ── OR DIVIDER ── */
.lp-or-div {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 18px;
}

    .lp-or-div::before, .lp-or-div::after {
        content: '';
        flex: 1;
        height: 1px;
        background: rgba(255,255,255,.07);
    }

    .lp-or-div span {
        font-size: 11.5px;
        color: rgba(255,255,255,.24);
        white-space: nowrap;
    }

/* ── SOCIAL BUTTONS ── */
.lp-social-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
    margin-bottom: 24px;
}

.lp-btn-soc {
    padding: 12px 14px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 13px;
    color: rgba(255,255,255,.72);
    font-size: 13.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    transition: all .22s;
    font-family: var(--font-family);
    font-weight: 500;
    text-decoration: none;
}

    .lp-btn-soc:hover {
        background: rgba(255,255,255,.09);
        border-color: rgba(255,255,255,.16);
        color: #fff;
        transform: translateY(-1px);
    }

    .lp-btn-soc:active {
        transform: scale(.97);
    }

    .lp-btn-soc svg {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }

/* ── FORM FOOTER ── */
.lp-form-footer {
    text-align: center;
    font-size: 13.5px;
    color: rgba(255,255,255,.3);
}

    .lp-form-footer a {
        color: #FE4C4C;
        text-decoration: none;
        font-weight: 600;
        opacity: .88;
        transition: opacity .2s;
    }

        .lp-form-footer a:hover {
            opacity: 1;
        }

.lp-secure-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 16px;
    font-size: 11px;
    color: rgba(255,255,255,.18);
}

    .lp-secure-badge svg {
        width: 13px;
        height: 13px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
        flex-shrink: 0;
    }

/* ================================================================
   4. LEGACY CENTERED CARD (OTP / Fingerprint / ForgotPassword)
   ================================================================ */

.app-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: radial-gradient(circle at 10% 20%, #17181c 0%, #0d0e11 90%);
}

.neu-card {
    background: var(--bg-card);
    border-radius: 28px;
    padding: 35px 30px;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shadow-outset);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.neu-input-group {
    margin-bottom: 20px;
    position: relative;
}

.neu-input-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding-left: 4px;
}

.neu-input {
    width: 100%;
    background: var(--bg-panel);
    border: 1px solid rgba(255,255,255,.02);
    border-radius: 16px;
    padding: 15px 18px;
    font-size: 15px;
    color: var(--text-primary);
    box-shadow: var(--shadow-inset);
    outline: none;
    transition: var(--transition);
    font-family: var(--font-family);
}

    .neu-input::placeholder {
        color: var(--text-muted);
    }

    .neu-input:focus {
        border-color: rgba(254,76,76,.3);
        box-shadow: var(--shadow-inset), 0 0 8px rgba(254,76,76,.2);
    }

.neu-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-secondary);
    user-select: none;
}

    .neu-checkbox-label input {
        display: none;
    }

.neu-checkbox-custom {
    width: 22px;
    height: 22px;
    background: var(--bg-panel);
    border-radius: 7px;
    box-shadow: var(--shadow-inset);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.neu-checkbox-label input:checked + .neu-checkbox-custom {
    background: var(--accent-red);
    box-shadow: var(--shadow-red);
}

    .neu-checkbox-label input:checked + .neu-checkbox-custom::after {
        content: '✓';
        color: #fff;
        font-size: 14px;
        font-weight: bold;
    }

.neu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-btn);
    transition: var(--transition);
    text-decoration: none;
    outline: none;
    font-family: var(--font-family);
}

    .neu-btn:hover {
        transform: translateY(-2px);
        color: var(--accent-red);
    }

    .neu-btn:active {
        transform: translateY(0);
        box-shadow: var(--shadow-btn-active);
    }

.neu-btn-red {
    background: var(--accent-red);
    color: #fff;
    border: none;
    box-shadow: var(--shadow-red), var(--shadow-btn);
}

    .neu-btn-red:hover {
        background: var(--accent-red-hover);
        color: #fff;
        box-shadow: var(--shadow-red);
    }

    .neu-btn-red:active {
        box-shadow: var(--shadow-btn-active);
    }

.neu-btn-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    padding: 0;
    box-shadow: var(--shadow-btn);
}

    .neu-btn-circle:active {
        box-shadow: var(--shadow-btn-active);
    }

    .neu-btn-circle.active {
        background: var(--accent-red);
        color: #fff;
        box-shadow: var(--shadow-red);
    }

.neu-btn-outline {
    background: transparent;
    color: var(--accent-red);
    border: 1.5px solid var(--accent-red);
    box-shadow: none;
}

    .neu-btn-outline:hover {
        background: var(--accent-red-alpha);
        box-shadow: var(--shadow-red);
    }

.logo-container {
    text-align: center;
    margin-bottom: 25px;
}

.app-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--bg-panel);
    border-radius: 22px;
    box-shadow: var(--shadow-outset);
    font-size: 32px;
    color: var(--accent-red);
    margin-bottom: 15px;
}

.page-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    text-align: center;
}

.page-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 6px;
    margin-bottom: 25px;
}

.neu-alert-error {
    background: rgba(254,76,76,.08);
    border: 1px solid rgba(254,76,76,.2);
    border-radius: 16px;
    color: var(--accent-red);
    padding: 12px 16px;
    font-size: 13.5px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.otp-inputs {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 25px 0;
}

.otp-box {
    width: 50px;
    height: 55px;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-panel);
    border-radius: 12px;
    box-shadow: var(--shadow-inset);
    outline: none;
    border: 1px solid transparent;
    transition: var(--transition);
}

    .otp-box:focus {
        border-color: var(--accent-red);
        box-shadow: var(--shadow-inset), 0 0 6px var(--accent-red-alpha);
    }

.neu-keypad {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 15px;
    margin-top: 25px;
}

.keypad-key {
    background: var(--bg-panel);
    color: var(--text-primary);
    border: none;
    border-radius: 16px;
    padding: 16px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-btn);
    transition: var(--transition);
}

    .keypad-key:active {
        box-shadow: var(--shadow-btn-active);
    }

.fingerprint-scanner {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: var(--bg-panel);
    box-shadow: var(--shadow-outset);
    margin: 30px auto;
    position: relative;
    cursor: pointer;
}

.fingerprint-icon {
    font-size: 64px;
    color: var(--accent-red);
    z-index: 2;
    transition: var(--transition);
}

.fingerprint-scanner::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--accent-red);
    opacity: 0;
    transform: scale(.9);
}

.fingerprint-scanner.scanning::after {
    animation: fp-pulse 1.5s infinite;
}

@keyframes fp-pulse {
    0% {
        transform: scale(.95);
        opacity: .5;
    }

    100% {
        transform: scale(1.15);
        opacity: 0;
    }
}

.loader-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid var(--bg-panel);
    border-top-color: var(--accent-red);
    margin: 30px auto;
    animation: lp-spin 1s linear infinite;
    box-shadow: var(--shadow-outset);
}

@keyframes lp-spin {
    to {
        transform: rotate(360deg);
    }
}

.avatar-upload-container {
    position: relative;
    width: 110px;
    height: 110px;
    margin: 0 auto 25px;
}

.avatar-preview {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: var(--bg-panel);
    box-shadow: var(--shadow-outset);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-color);
}

    .avatar-preview img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.avatar-edit-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--accent-red);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-red);
    cursor: pointer;
    transition: var(--transition);
}

    .avatar-edit-badge:hover {
        transform: scale(1.1);
    }

/* ================================================================
   5. RESPONSIVE
   ================================================================ */
@media (max-width: 900px) {
    .lp {
        flex-direction: column;
    }

    .lp-left {
        min-height: auto;
        padding: 36px 28px 32px;
    }

    .lp-tagline h2 {
        font-size: 30px;
    }

    .lp-right {
        width: 100%;
        min-height: auto;
        padding: 36px 28px 44px;
        border-left: none;
        border-top: 1px solid rgba(255,255,255,.055);
    }

    .lp-form-inner {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .lp-left {
        padding: 28px 20px 24px;
    }

    .lp-tagline h2 {
        font-size: 26px;
    }

    .lp-stats {
        gap: 24px;
    }

    .lp-right {
        padding: 28px 20px 36px;
    }

    .lp-social-row {
        grid-template-columns: 1fr;
    }
}

/* ================================================================
   RENTALX LOGIN — Fully scoped with rx- prefix, no conflicts
   ================================================================ */

:root {
    --rx-red: #E63946;
    --rx-red-hover: #ff4d5a;
    --rx-red-glow: rgba(230, 57, 70, 0.4);
}

.rx-body {
    min-height: 100vh;
    margin: 0;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    overflow-y: auto;
    color: #fff;
    background-color: #121212;
}

/* Video Background */
.rx-video-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.rx-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7) contrast(1.1);
}

.rx-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 20%, rgba(0,0,0,0.3));
}

/* Hero Layout */
.rx-hero-section {
    min-height: 100vh;
    display: flex;
    align-items: flex-start; /* Changed from center to prevent top clipping */
    justify-content: center;
    padding: 8vh 15px 40px 15px; /* Added vh padding to visually center shorter forms while allowing tall forms to scroll normally */
    position: relative;
    box-sizing: border-box;
}

/* When content overflows the viewport, let it scroll naturally */
.rx-body {
    min-height: 100vh;
    margin: 0;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    overflow-y: auto;
    color: #fff;
    background-color: #121212;
}

/* Branding */
.rx-brand-text {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: 2px;
}

.rx-brand-x {
    color: var(--rx-red);
}

.rx-logo-box {
    width: 50px;
    height: 50px;
    background: var(--rx-red);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: 0 0 20px var(--rx-red-glow);
    flex-shrink: 0;
}

/* Stats */
.rx-stat-item h4 {
    color: var(--rx-red);
    font-weight: bold;
    font-family: 'Orbitron', sans-serif;
    margin: 0;
    font-size: 1.25rem;
}

.rx-stat-item small {
    color: rgba(255,255,255,0.6);
    display: block;
}

/* Glass Card */
.rx-glass-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 25px;
    padding: 40px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.rx-glass-card h3 {
    color: #fff;
    font-size: 1.5rem;
}

/* Inputs */
.rx-input {
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    color: #fff !important;
    padding: 12px 16px !important;
    border-radius: 12px !important;
    width: 100%;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    outline: none;
    -webkit-text-fill-color: #fff;
}

.rx-input:focus {
    border-color: var(--rx-red) !important;
    box-shadow: 0 0 15px rgba(230, 57, 70, 0.3) !important;
}

.rx-input::placeholder {
    color: rgba(255,255,255,0.5);
    -webkit-text-fill-color: rgba(255,255,255,0.5);
}

.rx-form-label {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: block;
    color: rgba(255,255,255,0.8);
}

/* Checkbox */
.rx-check {
    border-color: var(--rx-red) !important;
    background-color: transparent !important;
}

.rx-check:checked {
    background-color: var(--rx-red) !important;
    border-color: var(--rx-red) !important;
}

/* Sign In Button */
.rx-btn-signin {
    background: var(--rx-red);
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-weight: bold;
    font-family: 'Orbitron', sans-serif;
    color: white;
    width: 100%;
    transition: 0.3s;
    text-transform: uppercase;
    margin-top: 15px;
    cursor: pointer;
    letter-spacing: 0.5px;
    font-size: 14px;
    box-shadow: 0 6px 24px rgba(230, 57, 70, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rx-btn-signin:hover {
    transform: scale(1.03);
    box-shadow: 0 0 25px rgba(230, 57, 70, 0.5);
    background: var(--rx-red-hover);
}

.rx-btn-signin:active {
    transform: scale(0.98);
}

/* Social Buttons */
.rx-btn-soc {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 12px;
    border-radius: 12px;
    font-weight: 600;
    color: white;
    transition: 0.3s;
    text-decoration: none;
    font-size: 0.85rem;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.rx-btn-soc:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.2);
    color: white;
    transform: translateY(-2px);
}

.rx-btn-soc:active {
    transform: scale(0.97);
}

/* Alerts */
.rx-alert-err {
    background: rgba(230, 57, 70, 0.2);
    border: 1px solid var(--rx-red);
    color: white;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    font-size: 13.5px;
    animation: lp-slide-down .3s ease;
}

.rx-alert-ok {
    background: rgba(40, 167, 69, 0.2);
    border: 1px solid #28a745;
    color: white;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    font-size: 13.5px;
    animation: lp-slide-down .3s ease;
}

/* Link */
.rx-link {
    color: var(--rx-red);
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.rx-link:hover {
    color: var(--rx-red-hover);
    text-shadow: 0 0 10px rgba(230, 57, 70, 0.5);
}

/* Divider */
.rx-divider {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin: 20px 0;
}

/* Responsive */
@media (max-width: 991px) {
    .rx-hero-section {
        display: block;
        text-align: center;
        padding: 40px 15px;
        height: auto;
        min-height: 100vh;
        overflow-y: auto;
    }

    .rx-hero-section .container {
        margin: 0 auto;
        padding-top: 0;
        padding-bottom: 40px;
    }

    .rx-brand-logo-container {
        justify-content: center;
        margin-bottom: 25px !important;
    }

    .rx-brand-text {
        font-size: 2.2rem !important;
    }
    
    .rx-logo-box {
        width: 45px;
        height: 45px;
    }

    .rx-logo-box i {
        font-size: 1.4rem !important;
    }

    /* Hide large text and stats on mobile */
    .rx-hero-section .col-lg-7 p.lead,
    .rx-hero-section .rx-stats-container {
        display: none !important;
    }

    .rx-glass-card {
        margin-top: 0 !important;
        padding: 30px 20px !important;
        width: 100%;
        max-width: 100%;
    }
}


.rx-btn-signin,
.rx-btn-soc {
    transition: all 0.4s ease-in-out; /* Smooth transition */
}

    .rx-btn-signin:hover {
        background: var(--rx-red-hover);
        transform: scale(1.05); /* Slight grow effect on hover */
    }

    .rx-btn-soc:hover {
        background: rgba(255,255,255,0.1);
        transform: translateY(-2px); /* Lift effect on hover */
    }


.rx-otp-box {
    width: 55px;
    height: 60px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 0;
    border-radius: 8px;
}

.rx-loader {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255,255,255,0.1);
    border-top-color: var(--rx-red);
    border-radius: 50%;
    animation: rx-spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes rx-spin {
    to {
        transform: rotate(360deg);
    }
}


.scanning {
    animation: pulse-ring 1.5s ease-out infinite;
    border-color: var(--rx-red) !important;
}

.scanning #fingerIcon {
    color: var(--rx-red) !important;
    animation: pulse-icon 1.5s ease-out infinite;
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--rx-red-rgb), 0.4);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(var(--rx-red-rgb), 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(var(--rx-red-rgb), 0);
    }
}

@keyframes pulse-icon {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.scan-success {
    border-color: #28a745 !important;
    box-shadow: 0 0 20px rgba(40, 167, 69, 0.3) !important;
}

    .scan-success #fingerIcon {
        color: #28a745 !important;
    }




.scanning {
    animation: pulse-ring 1.5s ease-out infinite;
    border-color: var(--rx-red) !important;
}

.scanning #fingerIcon {
    color: var(--rx-red) !important;
    animation: pulse-icon 1.5s ease-out infinite;
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--rx-red-rgb), 0.4);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(var(--rx-red-rgb), 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(var(--rx-red-rgb), 0);
    }
}

@keyframes pulse-icon {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);


    }
}

.scan-success {
    border-color: #28a745 !important;
    box-shadow: 0 0 20px rgba(40, 167, 69, 0.3) !important;
}

    .scan-success #fingerIcon {
        color: #28a745 !important;
    }

/* ============================================================
   auth.css — Login / Register / OTP / Fingerprint pages only
   Link ONLY in _Layout_Auth.cshtml — NOT in _Layout.cshtml
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* ================================================================
   1. CSS VARIABLES
   ================================================================ */
:root {
    --bg-main: #121214;
    --bg-panel: #1A1B20;
    --bg-card: #1E1F24;
    --accent-red: #FE4C4C;
    --accent-red-hover: #E03E3E;
    --accent-red-alpha: rgba(254, 76, 76, 0.15);
    --text-primary: #FFFFFF;
    --text-secondary: #9FA1AB;
    --text-muted: #64666F;
    --border-color: rgba(255, 255, 255, 0.05);
    --shadow-outset: 6px 6px 16px #0c0d0f, -6px -6px 16px #24252b;
    --shadow-inset: inset 4px 4px 10px #0c0d0f, inset -4px -4px 10px #24252b;
    --shadow-btn: 4px 4px 10px #0c0d0f, -4px -4px 10px #24252b;
    --shadow-btn-active: inset 3px 3px 6px #0c0d0f, inset -3px -3px 6px #24252b;
    --shadow-red: 0 8px 24px rgba(254, 76, 76, 0.35);
    --font-family: 'Outfit', 'Segoe UI', system-ui, sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ================================================================
   2. RESET & BASE
   ================================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-family);
    overflow-x: hidden;
}

/* ================================================================
   3. FULL-SCREEN SPLIT LAYOUT  (Desktop Login / Register)
   ================================================================ */

.lp {
    display: flex;
    min-height: 100vh;
    width: 100%;
    background: #0a0b0d;
    font-family: var(--font-family);
    overflow: hidden;
}

/* ── LEFT BRANDING PANEL ── */
.lp-left {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 48px 52px;
    overflow: hidden;
    background: #0a0b0d;
    min-height: 100vh;
}

.lp-bg-circles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

    .lp-bg-circles span {
        position: absolute;
        border-radius: 50%;
        opacity: .07;
    }

        .lp-bg-circles span:nth-child(1) {
            width: 520px;
            height: 520px;
            background: #FE4C4C;
            top: -140px;
            left: -100px;
            animation: lp-drift1 9s ease-in-out infinite;
        }

        .lp-bg-circles span:nth-child(2) {
            width: 320px;
            height: 320px;
            background: #ff6b35;
            bottom: 40px;
            left: 160px;
            animation: lp-drift2 12s ease-in-out infinite;
        }

        .lp-bg-circles span:nth-child(3) {
            width: 200px;
            height: 200px;
            background: #FE4C4C;
            top: 260px;
            left: 340px;
            animation: lp-drift1 15s ease-in-out infinite reverse;
        }

@keyframes lp-drift1 {
    0%, 100% {
        transform: translate(0,0) scale(1);
    }

    50% {
        transform: translate(24px,-36px) scale(1.06);
    }
}

@keyframes lp-drift2 {
    0%, 100% {
        transform: translate(0,0) scale(1);
    }

    50% {
        transform: translate(-18px,24px) scale(0.94);
    }
}

.lp-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(254,76,76,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(254,76,76,.04) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
}

.lp-left-fade {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100px;
    background: linear-gradient(to right, transparent, rgba(10,11,13,.7));
    pointer-events: none;
    z-index: 3;
}

.lp-logo {
    position: relative;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 14px;
}

.lp-logo-icon {
    width: 50px;
    height: 50px;
    background: #FE4C4C;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 32px rgba(254,76,76,.5);
    flex-shrink: 0;
}

    .lp-logo-icon svg {
        width: 26px;
        height: 26px;
        fill: #fff;
    }

.lp-logo-name {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.6px;
}

    .lp-logo-name span {
        color: #FE4C4C;
    }

.lp-tagline {
    position: relative;
    z-index: 4;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .lp-tagline h2 {
        font-size: 42px;
        font-weight: 800;
        color: #fff;
        line-height: 1.18;
        margin-bottom: 18px;
        letter-spacing: -.8px;
    }

        .lp-tagline h2 em {
            color: #FE4C4C;
            font-style: normal;
        }

    .lp-tagline p {
        font-size: 15px;
        color: rgba(255,255,255,.42);
        line-height: 1.75;
        max-width: 380px;
    }

.lp-stats {
    position: relative;
    z-index: 4;
    display: flex;
    gap: 40px;
}

.stat-item .stat-num {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

    .stat-item .stat-num span {
        color: #FE4C4C;
    }

.stat-item .stat-label {
    font-size: 11px;
    color: rgba(255,255,255,.32);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: .9px;
}

/* ── RIGHT FORM PANEL ── */
.lp-right {
    width: 460px;
    flex-shrink: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 50px;
    background: rgba(255,255,255,.028);
    backdrop-filter: blur(36px);
    -webkit-backdrop-filter: blur(36px);
    border-left: 1px solid rgba(255,255,255,.055);
    min-height: 100vh;
}

    .lp-right::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(145deg, rgba(254,76,76,.04) 0%, transparent 55%);
        pointer-events: none;
    }

.lp-form-inner {
    width: 100%;
    max-width: 360px;
    position: relative;
    z-index: 1;
}

.lp-form-head {
    margin-bottom: 30px;
}

    .lp-form-head h3 {
        font-size: 26px;
        font-weight: 700;
        color: #fff;
        letter-spacing: -.4px;
        margin-bottom: 7px;
    }

    .lp-form-head p {
        font-size: 13.5px;
        color: rgba(255,255,255,.38);
        line-height: 1.5;
    }

/* ── ALERTS ── */
.lp-alert {
    border-radius: 12px;
    padding: 11px 15px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
    animation: lp-slide-down .3s ease;
}

@keyframes lp-slide-down {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lp-alert svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lp-alert-err {
    background: rgba(254,76,76,.1);
    border: 1px solid rgba(254,76,76,.28);
    color: #FE4C4C;
}

.lp-alert-ok {
    background: rgba(67,160,71,.1);
    border: 1px solid rgba(67,160,71,.28);
    color: #4caf50;
}

/* ── FORM FIELDS ── */
.lp-field {
    margin-bottom: 20px;
}

.lp-field-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.lp-lbl {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,.38);
    text-transform: uppercase;
    letter-spacing: .9px;
}

.lp-forgot {
    font-size: 12px;
    color: #FE4C4C;
    text-decoration: none;
    opacity: .8;
    transition: opacity .2s;
}

    .lp-forgot:hover {
        opacity: 1;
    }

.lp-inp-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.lp-inp-icon {
    position: absolute;
    left: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: .32;
}

    .lp-inp-icon svg {
        width: 17px;
        height: 17px;
        fill: none;
        stroke: #fff;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.lp-inp {
    width: 100%;
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 13px;
    padding: 14px 44px;
    font-size: 14px;
    color: #fff !important;
    outline: none;
    transition: border-color .25s, box-shadow .25s;
    font-family: var(--font-family);
    -webkit-text-fill-color: #fff !important;
    caret-color: #fff;
}

    .lp-inp::placeholder {
        color: rgba(255,255,255,.22);
        -webkit-text-fill-color: rgba(255,255,255,.22) !important;
    }

    .lp-inp:focus {
        border-color: rgba(254,76,76,.55);
        background: rgba(254,76,76,.05);
        box-shadow: 0 0 0 3px rgba(254,76,76,.1);
    }

    /* ══════════════════════════════════════════════════════════════
   AUTOFILL FIX — Browser (Chrome / Edge / Safari) injects a
   solid white background when it fills saved credentials.
   We override it with a large inset box-shadow trick because
   background-color cannot override the browser UA style,
   but box-shadow can paint "on top" of it visually.
   ══════════════════════════════════════════════════════════════ */
    .lp-inp:-webkit-autofill,
    .lp-inp:-webkit-autofill:hover,
    .lp-inp:-webkit-autofill:focus,
    .lp-inp:-webkit-autofill:active,
    input:-webkit-autofill,
    input:-webkit-autofill:hover,
    input:-webkit-autofill:focus,
    input:-webkit-autofill:active {
        /* Paint our dark colour OVER the white UA background */
        -webkit-box-shadow: 0 0 0 9999px #12100f inset !important;
        box-shadow: 0 0 0 9999px #12100f inset !important;
        /* Keep text white */
        -webkit-text-fill-color: #fff !important;
        color: #fff !important;
        caret-color: #fff !important;
        /* Prevent Chrome from briefly flashing the white bg on load */
        transition: background-color 99999s ease-in-out 0s, border-color .25s, box-shadow .25s !important;
    }
        /* Focused autofill — add red glow, keep dark bg */
        .lp-inp:-webkit-autofill:focus,
        input:-webkit-autofill:focus {
            -webkit-box-shadow: 0 0 0 9999px #130e0e inset, 0 0 0 3px rgba(254,76,76,.12) !important;
            box-shadow: 0 0 0 9999px #130e0e inset, 0 0 0 3px rgba(254,76,76,.12) !important;
            border-color: rgba(254,76,76,.55) !important;
        }

/* Same fix for legacy .neu-input (OTP / ForgotPassword pages) */
.neu-input:-webkit-autofill,
.neu-input:-webkit-autofill:hover,
.neu-input:-webkit-autofill:focus,
.neu-input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 9999px #16171c inset !important;
    box-shadow: 0 0 0 9999px #16171c inset !important;
    -webkit-text-fill-color: #fff !important;
    color: #fff !important;
    caret-color: #fff !important;
    transition: background-color 99999s ease-in-out 0s !important;
}

/* Same fix for rx-input (RentalX-style pages) */
.rx-input:-webkit-autofill,
.rx-input:-webkit-autofill:hover,
.rx-input:-webkit-autofill:focus,
.rx-input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 9999px #121212 inset !important;
    box-shadow: 0 0 0 9999px #121212 inset !important;
    -webkit-text-fill-color: #fff !important;
    color: #fff !important;
    caret-color: #fff !important;
    transition: background-color 99999s ease-in-out 0s !important;
}

.lp-field-err {
    display: block;
    font-size: 11px;
    color: #FE4C4C;
    margin-top: 5px;
    padding-left: 4px;
}

.lp-eye-btn {
    position: absolute;
    right: 13px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    opacity: .32;
    transition: opacity .2s;
}

    .lp-eye-btn:hover {
        opacity: .7;
    }

    .lp-eye-btn svg {
        width: 17px;
        height: 17px;
        fill: none;
        stroke: #fff;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

/* ── REMEMBER ME ── */
.lp-rem-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.lp-chk-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

    .lp-chk-label input[type="checkbox"] {
        display: none;
    }

.lp-chk-box {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .22s;
    flex-shrink: 0;
}

    .lp-chk-box svg {
        width: 12px;
        height: 12px;
        fill: none;
        stroke: #fff;
        stroke-width: 2.5;
        stroke-linecap: round;
        stroke-linejoin: round;
        opacity: 0;
        transform: scale(.4);
        transition: all .22s;
    }

.lp-chk-label input[type="checkbox"]:checked + .lp-chk-box {
    background: #FE4C4C;
    border-color: #FE4C4C;
    box-shadow: 0 0 14px rgba(254,76,76,.4);
}

    .lp-chk-label input[type="checkbox"]:checked + .lp-chk-box svg {
        opacity: 1;
        transform: scale(1);
    }

.lp-chk-text {
    font-size: 13.5px;
    color: rgba(255,255,255,.42);
}

/* ── SIGN IN BUTTON ── */
.lp-btn-signin {
    width: 100%;
    padding: 15px;
    background: #FE4C4C;
    color: #fff;
    border: none;
    border-radius: 13px;
    font-size: 15.5px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: .2px;
    transition: background .2s, transform .15s, box-shadow .2s;
    box-shadow: 0 8px 28px rgba(254,76,76,.38);
    margin-bottom: 22px;
    font-family: var(--font-family);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

    .lp-btn-signin::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, rgba(255,255,255,.1), transparent);
        pointer-events: none;
    }

    .lp-btn-signin svg {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: #fff;
        stroke-width: 2.2;
        stroke-linecap: round;
        stroke-linejoin: round;
        flex-shrink: 0;
    }

    .lp-btn-signin:hover {
        background: #e83c3c;
        box-shadow: 0 14px 34px rgba(254,76,76,.48);
        transform: translateY(-1px);
    }

    .lp-btn-signin:active {
        transform: scale(.98);
        box-shadow: 0 4px 16px rgba(254,76,76,.3);
    }

/* ── OR DIVIDER ── */
.lp-or-div {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 18px;
}

    .lp-or-div::before, .lp-or-div::after {
        content: '';
        flex: 1;
        height: 1px;
        background: rgba(255,255,255,.07);
    }

    .lp-or-div span {
        font-size: 11.5px;
        color: rgba(255,255,255,.24);
        white-space: nowrap;
    }

/* ── SOCIAL BUTTONS ── */
.lp-social-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
    margin-bottom: 24px;
}

.lp-btn-soc {
    padding: 12px 14px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 13px;
    color: rgba(255,255,255,.72);
    font-size: 13.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    transition: all .22s;
    font-family: var(--font-family);
    font-weight: 500;
    text-decoration: none;
}

    .lp-btn-soc:hover {
        background: rgba(255,255,255,.09);
        border-color: rgba(255,255,255,.16);
        color: #fff;
        transform: translateY(-1px);
    }

    .lp-btn-soc:active {
        transform: scale(.97);
    }

    .lp-btn-soc svg {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }

/* ── FORM FOOTER ── */
.lp-form-footer {
    text-align: center;
    font-size: 13.5px;
    color: rgba(255,255,255,.3);
}

    .lp-form-footer a {
        color: #FE4C4C;
        text-decoration: none;
        font-weight: 600;
        opacity: .88;
        transition: opacity .2s;
    }

        .lp-form-footer a:hover {
            opacity: 1;
        }

.lp-secure-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 16px;
    font-size: 11px;
    color: rgba(255,255,255,.18);
}

    .lp-secure-badge svg {
        width: 13px;
        height: 13px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
        flex-shrink: 0;
    }

/* ================================================================
   4. LEGACY CENTERED CARD (OTP / Fingerprint / ForgotPassword)
   ================================================================ */

.app-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: radial-gradient(circle at 10% 20%, #17181c 0%, #0d0e11 90%);
}

.neu-card {
    background: var(--bg-card);
    border-radius: 28px;
    padding: 35px 30px;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shadow-outset);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.neu-input-group {
    margin-bottom: 20px;
    position: relative;
}

.neu-input-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding-left: 4px;
}

.neu-input {
    width: 100%;
    background: var(--bg-panel);
    border: 1px solid rgba(255,255,255,.02);
    border-radius: 16px;
    padding: 15px 18px;
    font-size: 15px;
    color: var(--text-primary);
    box-shadow: var(--shadow-inset);
    outline: none;
    transition: var(--transition);
    font-family: var(--font-family);
}

    .neu-input::placeholder {
        color: var(--text-muted);
    }

    .neu-input:focus {
        border-color: rgba(254,76,76,.3);
        box-shadow: var(--shadow-inset), 0 0 8px rgba(254,76,76,.2);
    }

.neu-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-secondary);
    user-select: none;
}

    .neu-checkbox-label input {
        display: none;
    }

.neu-checkbox-custom {
    width: 22px;
    height: 22px;
    background: var(--bg-panel);
    border-radius: 7px;
    box-shadow: var(--shadow-inset);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.neu-checkbox-label input:checked + .neu-checkbox-custom {
    background: var(--accent-red);
    box-shadow: var(--shadow-red);
}

    .neu-checkbox-label input:checked + .neu-checkbox-custom::after {
        content: '✓';
        color: #fff;
        font-size: 14px;
        font-weight: bold;
    }

.neu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-btn);
    transition: var(--transition);
    text-decoration: none;
    outline: none;
    font-family: var(--font-family);
}

    .neu-btn:hover {
        transform: translateY(-2px);
        color: var(--accent-red);
    }

    .neu-btn:active {
        transform: translateY(0);
        box-shadow: var(--shadow-btn-active);
    }

.neu-btn-red {
    background: var(--accent-red);
    color: #fff;
    border: none;
    box-shadow: var(--shadow-red), var(--shadow-btn);
}

    .neu-btn-red:hover {
        background: var(--accent-red-hover);
        color: #fff;
        box-shadow: var(--shadow-red);
    }

    .neu-btn-red:active {
        box-shadow: var(--shadow-btn-active);
    }

.neu-btn-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    padding: 0;
    box-shadow: var(--shadow-btn);
}

    .neu-btn-circle:active {
        box-shadow: var(--shadow-btn-active);
    }

    .neu-btn-circle.active {
        background: var(--accent-red);
        color: #fff;
        box-shadow: var(--shadow-red);
    }

.neu-btn-outline {
    background: transparent;
    color: var(--accent-red);
    border: 1.5px solid var(--accent-red);
    box-shadow: none;
}

    .neu-btn-outline:hover {
        background: var(--accent-red-alpha);
        box-shadow: var(--shadow-red);
    }

.logo-container {
    text-align: center;
    margin-bottom: 25px;
}

.app-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--bg-panel);
    border-radius: 22px;
    box-shadow: var(--shadow-outset);
    font-size: 32px;
    color: var(--accent-red);
    margin-bottom: 15px;
}

.page-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    text-align: center;
}

.page-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 6px;
    margin-bottom: 25px;
}

.neu-alert-error {
    background: rgba(254,76,76,.08);
    border: 1px solid rgba(254,76,76,.2);
    border-radius: 16px;
    color: var(--accent-red);
    padding: 12px 16px;
    font-size: 13.5px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.otp-inputs {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 25px 0;
}

.otp-box {
    width: 50px;
    height: 55px;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-panel);
    border-radius: 12px;
    box-shadow: var(--shadow-inset);
    outline: none;
    border: 1px solid transparent;
    transition: var(--transition);
}

    .otp-box:focus {
        border-color: var(--accent-red);
        box-shadow: var(--shadow-inset), 0 0 6px var(--accent-red-alpha);
    }

.neu-keypad {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 15px;
    margin-top: 25px;
}

.keypad-key {
    background: var(--bg-panel);
    color: var(--text-primary);
    border: none;
    border-radius: 16px;
    padding: 16px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-btn);
    transition: var(--transition);
}

    .keypad-key:active {
        box-shadow: var(--shadow-btn-active);
    }

.fingerprint-scanner {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: var(--bg-panel);
    box-shadow: var(--shadow-outset);
    margin: 30px auto;
    position: relative;
    cursor: pointer;
}

.fingerprint-icon {
    font-size: 64px;
    color: var(--accent-red);
    z-index: 2;
    transition: var(--transition);
}

.fingerprint-scanner::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--accent-red);
    opacity: 0;
    transform: scale(.9);
}

.fingerprint-scanner.scanning::after {
    animation: fp-pulse 1.5s infinite;
}

@keyframes fp-pulse {
    0% {
        transform: scale(.95);
        opacity: .5;
    }

    100% {
        transform: scale(1.15);
        opacity: 0;
    }
}

.loader-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid var(--bg-panel);
    border-top-color: var(--accent-red);
    margin: 30px auto;
    animation: lp-spin 1s linear infinite;
    box-shadow: var(--shadow-outset);
}

@keyframes lp-spin {
    to {
        transform: rotate(360deg);
    }
}

.avatar-upload-container {
    position: relative;
    width: 110px;
    height: 110px;
    margin: 0 auto 25px;
}

.avatar-preview {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: var(--bg-panel);
    box-shadow: var(--shadow-outset);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-color);
}

    .avatar-preview img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.avatar-edit-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--accent-red);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-red);
    cursor: pointer;
    transition: var(--transition);
}

    .avatar-edit-badge:hover {
        transform: scale(1.1);
    }

/* ================================================================
   5. RESPONSIVE
   ================================================================ */
@media (max-width: 900px) {
    .lp {
        flex-direction: column;
    }

    .lp-left {
        min-height: auto;
        padding: 36px 28px 32px;
    }

    .lp-tagline h2 {
        font-size: 30px;
    }

    .lp-right {
        width: 100%;
        min-height: auto;
        padding: 36px 28px 44px;
        border-left: none;
        border-top: 1px solid rgba(255,255,255,.055);
    }

    .lp-form-inner {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .lp-left {
        padding: 28px 20px 24px;
    }

    .lp-tagline h2 {
        font-size: 26px;
    }

    .lp-stats {
        gap: 24px;
    }

    .lp-right {
        padding: 28px 20px 36px;
    }

    .lp-social-row {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   PREMIUM HIGH-END AUTH INTERFACE ENHANCEMENTS
   ============================================================ */

/* ── Animated Background Particles ── */
.lp-left::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(254, 76, 76, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    top: 20%;
    left: 30%;
    animation: floatParticle 10s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }
    33% {
        transform: translate(40px, -60px) scale(1.15);
        opacity: 0.8;
    }
    66% {
        transform: translate(-30px, 30px) scale(0.9);
        opacity: 0.4;
    }
}

/* ── Premium Glass Card ── */
.lp-right {
    background: rgba(26, 27, 32, 0.45) !important;
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-left: 1px solid rgba(255, 255, 255, 0.04) !important;
    position: relative;
    overflow: hidden;
}

.lp-right::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(254, 76, 76, 0.04) 60deg, transparent 120deg);
    animation: rotateGlare 16s linear infinite;
    pointer-events: none;
}

@keyframes rotateGlare {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ── Premium Input Focus ── */
.lp-inp {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.lp-inp:focus {
    border-color: rgba(254, 76, 76, 0.5) !important;
    background: rgba(254, 76, 76, 0.03) !important;
    box-shadow: 0 0 0 3px rgba(254, 76, 76, 0.08), 0 0 20px rgba(254, 76, 76, 0.08) !important;
    transform: translateY(-1px);
}

/* ── Premium Button Ripple ── */
.lp-btn-signin {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #FE4C4C 0%, #E83C3C 100%) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    border: none !important;
}

.lp-btn-signin:hover {
    background: linear-gradient(135deg, #FF5555 0%, #E83C3C 100%) !important;
    box-shadow: 0 12px 36px rgba(254, 76, 76, 0.45) !important;
    transform: translateY(-2px);
}

.lp-btn-signin:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 4px 12px rgba(254, 76, 76, 0.3) !important;
}

/* ── Premium Social Buttons ── */
.lp-btn-soc {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.lp-btn-soc:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* ── Premium Alert Animations ── */
.lp-alert, .alert-danger, .alert-success {
    animation: alertSlideIn 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes alertSlideIn {
    from {
        opacity: 0;
        transform: translateY(-12px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ── Premium Tagline Animation ── */
.lp-tagline h2 {
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) both;
}

.lp-tagline p {
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) 0.15s both;
}

.lp-stats {
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) 0.3s both;
}

/* ── Premium Form Head Animation ── */
.lp-form-head h3 {
    animation: fadeInUp 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) 0.1s both;
}

.lp-form-head p {
    animation: fadeInUp 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) 0.2s both;
}

.lp-field {
    animation: fadeInUp 0.5s cubic-bezier(0.25, 0.8, 0.25, 1) both;
}

.lp-field:nth-child(1) { animation-delay: 0.15s; }
.lp-field:nth-child(2) { animation-delay: 0.25s; }
.lp-field:nth-child(3) { animation-delay: 0.35s; }

/* ── Neumorphic Card Premium ── */
.neu-card {
    background: linear-gradient(145deg, #1F2025 0%, #1C1D22 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.04) !important;
    position: relative;
    overflow: hidden;
}

.neu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
}

/* ── Premium Logo Glow ── */
.lp-logo-icon {
    position: relative;
    animation: logoPulse 3s ease-in-out infinite;
    border-radius: 12px;
}

@keyframes logoPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(254, 76, 76, 0.4);
    }
    50% {
        box-shadow: 0 0 40px rgba(254, 76, 76, 0.6), 0 0 60px rgba(254, 76, 76, 0.2);
    }
}

/* ── RentalX / Video Login Premium ── */
.rx-body {
    overflow-y: auto;
}

.rx-video-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.rx-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rx-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(10,11,13,0.4) 50%, rgba(0,0,0,0.5) 100%);
}

.rx-hero-section {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: flex-start; /* Changed from center to prevent top clipping */
    justify-content: center;
    padding: 8vh 0 40px 0;
}

.rx-glass-card {
    background: rgba(255, 255, 255, 0.04) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 24px;
    padding: 40px 35px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: cardSlideIn 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) both;
}

@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.rx-glass-card h3 {
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.rx-glass-card p {
    color: rgba(255, 255, 255, 0.5);
}

.rx-brand-text {
    font-family: 'Orbitron', 'Outfit', sans-serif;
    font-size: 2.8rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 2px;
}

.rx-brand-x {
    color: #FE4C4C;
    text-shadow: 0 0 20px rgba(254, 76, 76, 0.4);
}

.rx-logo-box {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #FE4C4C, #E83C3C);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(254, 76, 76, 0.4);
    animation: logoPulse 3s ease-in-out infinite;
}

.rx-form-label {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
    font-weight: 500;
}

.rx-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 14px;
    color: #fff;
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Outfit', sans-serif;
}

.rx-input:focus {
    border-color: rgba(254, 76, 76, 0.5) !important;
    box-shadow: 0 0 0 3px rgba(254, 76, 76, 0.08) !important;
    background: rgba(254, 76, 76, 0.03) !important;
}

.rx-input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.rx-btn-signin {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #FE4C4C, #E83C3C) !important;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(254, 76, 76, 0.35);
    font-family: 'Outfit', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.rx-btn-signin:hover {
    box-shadow: 0 12px 36px rgba(254, 76, 76, 0.5);
    transform: translateY(-2px);
}

.rx-btn-soc {
    padding: 12px;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
}

.rx-btn-soc:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    transform: translateY(-1px);
    color: #fff;
}

.rx-alert-err {
    background: rgba(254, 76, 76, 0.1);
    border: 1px solid rgba(254, 76, 76, 0.25);
    color: #FE4C4C;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 13px;
    margin-bottom: 20px;
    animation: alertSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.rx-alert-ok {
    background: rgba(67, 160, 71, 0.1);
    border: 1px solid rgba(67, 160, 71, 0.25);
    color: #4caf50;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 13px;
    margin-bottom: 20px;
    animation: alertSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.rx-divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.rx-divider::before, .rx-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
}

.rx-link {
    color: #FE4C4C;
    text-decoration: none;
    transition: opacity 0.2s;
}

.rx-link:hover {
    opacity: 0.85;
    color: #FE4C4C;
}

.rx-check {
    accent-color: #FE4C4C;
}

.rx-stat-item h4 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    font-family: 'Orbitron', sans-serif;
}

.rx-stat-item small {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* ================================================================
   COMPREHENSIVE AUTH RESPONSIVE — All screen sizes
   ================================================================ */

/* ── Tablet (≤991px): stack layout, show only logo + form ── */
@media (max-width: 991px) {
    .rx-body {
        overflow-y: auto !important;
    }

    .rx-hero-section {
        display: block !important;
        min-height: 100vh;
        height: auto;
        padding: 30px 15px 50px;
    }

    .rx-hero-section > .container > .row {
        display: block !important;
    }

    .rx-hero-section .col-lg-7,
    .rx-hero-section .col-lg-5 {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }

    /* Logo centred at top */
    .rx-brand-logo-container {
        justify-content: center !important;
        margin-bottom: 20px !important;
    }

    /* Hide the description paragraph & stats on mobile */
    .rx-hero-section .col-lg-7 p.lead,
    .rx-hero-section .rx-stats-container {
        display: none !important;
    }

    /* Full-width glass card */
    .rx-glass-card {
        max-width: 480px !important;
        margin: 0 auto !important;
        padding: 30px 24px !important;
    }
}

/* ── Mobile (≤576px): tighter padding, slightly smaller text ── */
@media (max-width: 576px) {
    .rx-hero-section {
        padding: 20px 12px 40px;
    }

    .rx-brand-text {
        font-size: 1.8rem !important;
    }

    .rx-logo-box {
        width: 40px !important;
        height: 40px !important;
    }

    .rx-glass-card {
        padding: 24px 16px !important;
        border-radius: 18px !important;
    }

    .rx-glass-card h3 {
        font-size: 1.25rem;
    }

    .rx-btn-signin {
        padding: 13px !important;
        font-size: 13px !important;
    }

    .rx-input {
        padding: 11px 14px !important;
        font-size: 14px !important;
    }

    /* OTP boxes: shrink to fit small screens */
    .rx-glass-card .d-flex.gap-2 input[type="text"] {
        width: 42px !important;
        height: 48px !important;
        font-size: 1.25rem !important;
    }
}

/* ── Extra small (≤375px) ── */
@media (max-width: 375px) {
    .rx-hero-section {
        padding: 15px 10px 35px;
    }

    .rx-glass-card {
        padding: 20px 14px !important;
    }

    /* OTP boxes even smaller */
    .rx-glass-card .d-flex.gap-2 input[type="text"] {
        width: 36px !important;
        height: 42px !important;
        font-size: 1.1rem !important;
    }

    .rx-glass-card .d-flex.gap-2 {
        gap: 6px !important;
    }
}
