
    :root {
        --navy: #071221;
        --navy2: #0a1628;
        --navy3: #0d1e33;
        --blue: #003580;
        --blue-mid: #0b4ea8;
        --blue-l: #1565c0;
        --teal: #00695c;
        --teal-l: #00897b;
        --saffron: #e65100;
        --saffron-m: #f57c00;
        --saffron-l: #ff8f00;
        --gold: #f9a825;
        --gold-l: #fdd835;
        --green: #2e7d32;
        --green-l: #43a047;
        --surface: #fff;
        --border: #ccd8e8;
        --text: #0d1b2a;
        --muted: #5a7894;
        --light: #8aa4bc;
    }

    *,
    *::before,
    *::after {
        box-sizing: border-box;
        margin: 0;
        padding: 0
    }

    html,
    body {
        height: 100%;
        font-family: 'Inter', sans-serif
    }

    body {
        background: var(--navy);
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        overflow-x: hidden
    }

    .bg-anim {
        position: fixed;
        inset: 0;
        z-index: 0;
        overflow: hidden
    }

    .bg-layer1 {
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(11, 78, 168, .18), transparent), radial-gradient(ellipse 50% 50% at 20% 60%, rgba(0, 105, 92, .12), transparent), linear-gradient(160deg, var(--navy) 0%, #0c1e36 50%, #0a1628 100%)
    }

    .bg-lines {
        position: absolute;
        inset: 0;
        background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
        background-size: 52px 52px
    }

    .bg-glow {
        position: absolute;
        width: 600px;
        height: 600px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(21, 101, 192, .08), transparent 70%);
        top: -100px;
        right: -100px;
        animation: glowMove 12s ease-in-out infinite
    }

    .bg-glow2 {
        position: absolute;
        width: 400px;
        height: 400px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(0, 105, 92, .07), transparent 70%);
        bottom: -80px;
        left: -80px;
        animation: glowMove2 16s ease-in-out infinite
    }

    @keyframes glowMove {

        0%,
        100% {
            transform: scale(1) translate(0, 0)
        }

        50% {
            transform: scale(1.2) translate(-40px, 30px)
        }
    }

    @keyframes glowMove2 {

        0%,
        100% {
            transform: scale(1) translate(0, 0)
        }

        50% {
            transform: scale(1.3) translate(30px, -20px)
        }
    }

    .particles {
        position: absolute;
        inset: 0;
        overflow: hidden;
        pointer-events: none
    }

    .p-dot {
        position: absolute;
        border-radius: 50%;
        animation: particleRise linear infinite;
        opacity: 0
    }

    @keyframes particleRise {
        0% {
            transform: translateY(0) scale(0);
            opacity: 0
        }

        15% {
            opacity: .7
        }

        80% {
            opacity: .2
        }

        100% {
            transform: translateY(-100vh) scale(1.4);
            opacity: 0
        }
    }

    .gov-ribbon {
        position: relative;
        z-index: 20;
        background: rgba(7, 18, 33, .95);
        backdrop-filter: blur(20px);
        border-bottom: 3px solid var(--saffron);
        padding: 10px 32px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        box-shadow: 0 2px 20px rgba(0, 0, 0, .5);
    }

    .gr-left {
        display: flex;
        align-items: center;
        gap: 16px
    }

    .gr-seal {
        width: 52px;
        height: 52px;
        flex-shrink: 0;
        filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .5))
    }

    .gr-info .line1 {
        font-size: 11.5px;
        font-weight: 700;
        color: #cce0f0;
        letter-spacing: .07em;
        text-transform: uppercase
    }

    .gr-info .line2 {
        font-size: 12px;
        font-weight: 600;
        color: #e2eff8;
        margin-top: 1px
    }

    .gr-info .line3 {
        font-size: 10.5px;
        color: #6a8a9e;
        font-style: italic
    }

    .gr-info .hindi {
        font-family: 'Noto Sans Devanagari', sans-serif;
        font-size: 11.5px;
        color: #a0c0d8;
        font-weight: 600;
        margin-top: 1px
    }

    .gr-div {
        width: 1px;
        height: 40px;
        background: rgba(255, 255, 255, .1);
        flex-shrink: 0
    }

    .gr-right {
        display: flex;
        align-items: center;
        gap: 10px
    }

    .gr-badge {
        padding: 5px 12px;
        border-radius: 9999px;
        font-size: 10.5px;
        font-weight: 700;
        display: flex;
        align-items: center;
        gap: 6px
    }

    .gr-badge.green {
        background: rgba(46, 125, 50, .18);
        border: 1px solid rgba(46, 125, 50, .3);
        color: #66bb6a
    }

    .gr-badge.blue {
        background: rgba(21, 101, 192, .18);
        border: 1px solid rgba(21, 101, 192, .3);
        color: #90caf9
    }

    .gr-badge.amber {
        background: rgba(249, 168, 37, .15);
        border: 1px solid rgba(249, 168, 37, .3);
        color: #ffd54f
    }

    .live-dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #43a047;
        animation: ldot 2s infinite
    }

    @keyframes ldot {

        0%,
        100% {
            opacity: 1;
            transform: scale(1)
        }

        50% {
            opacity: .3;
            transform: scale(1.5)
        }
    }

    .main-wrap {
        flex: 1;
        display: flex;
        align-items: stretch;
        position: relative;
        z-index: 10
    }

    .left-panel {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 60px 64px;
        max-width: 640px
    }

    .right-panel {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 40px 48px;
        background: rgba(255, 255, 255, .03);
        backdrop-filter: blur(8px);
        border-left: 1px solid rgba(255, 255, 255, .06)
    }

    .hero-logo {
        width: 72px;
        height: 72px;
        border-radius: 18px;
        background: linear-gradient(135deg, var(--saffron), var(--gold));
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 36px;
        box-shadow: 0 4px 24px rgba(230, 81, 0, .4), 0 0 0 1px rgba(255, 255, 255, .1);
        margin-bottom: 24px;
        animation: logoFloat 4s ease-in-out infinite
    }

    @keyframes logoFloat {

        0%,
        100% {
            transform: translateY(0)
        }

        50% {
            transform: translateY(-8px)
        }
    }

    .hero-title {
        font-size: 40px;
        font-weight: 900;
        color: #fff;
        line-height: 1.1;
        letter-spacing: -.5px;
        margin-bottom: 8px
    }

    .hero-title span {
        background: linear-gradient(135deg, var(--saffron-l), var(--gold));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text
    }

    .hero-sub {
        font-size: 15.5px;
        color: #8ab0d0;
        font-weight: 400;
        margin-bottom: 32px;
        line-height: 1.6
    }

    .hero-version {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 4px 12px;
        border-radius: 9999px;
        background: rgba(21, 101, 192, .18);
        border: 1px solid rgba(21, 101, 192, .3);
        color: #90caf9;
        font-size: 11px;
        font-weight: 700;
        margin-bottom: 32px;
        letter-spacing: .05em;
        text-transform: uppercase
    }

    .feature-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin-bottom: 36px
    }

    .feature-card {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        padding: 12px 14px;
        background: rgba(255, 255, 255, .04);
        border: 1px solid rgba(255, 255, 255, .07);
        border-radius: 12px;
        transition: .2s;
        cursor: default
    }

    .feature-card:hover {
        background: rgba(255, 255, 255, .07);
        transform: translateY(-2px)
    }

    .fc-icon {
        font-size: 20px;
        flex-shrink: 0;
        margin-top: 1px
    }

    .fc-title {
        font-size: 12.5px;
        font-weight: 700;
        color: #c8dff0
    }

    .fc-sub {
        font-size: 11px;
        color: #5a7a8e;
        margin-top: 2px
    }

    .stats-ticker {
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
        padding: 14px 20px;
        background: rgba(255, 255, 255, .04);
        border: 1px solid rgba(255, 255, 255, .07);
        border-radius: 12px
    }

    .ticker-item {
        text-align: center
    }

    .ticker-val {
        font-size: 20px;
        font-weight: 900;
        color: #fff;
        display: block
    }

    .ticker-lab {
        font-size: 10px;
        color: #5a7a8e;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: .05em;
        margin-top: 2px
    }

    .login-card {
        background: rgba(255, 255, 255, .98);
        border-radius: 24px;
        box-shadow: 0 16px 64px rgba(0, 0, 0, .3), 0 0 0 1px rgba(255, 255, 255, .3);
        width: 100%;
        max-width: 460px;
        overflow: hidden;
        animation: cardSlide .6s cubic-bezier(.34, 1.56, .64, 1)
    }

    @keyframes cardSlide {
        from {
            transform: translateY(30px) scale(.96);
            opacity: 0
        }

        to {
            transform: none;
            opacity: 1
        }
    }

    .card-top {
        background: linear-gradient(135deg, var(--navy) 0%, #0b2a52 100%);
        padding: 28px 28px 22px;
        text-align: center;
        border-bottom: 3px solid var(--saffron)
    }

    .card-top-title {
        font-size: 16px;
        font-weight: 800;
        color: #e8f4fd;
        margin-top: 10px
    }

    .card-top-sub {
        font-size: 11.5px;
        color: #7a9ab8;
        margin-top: 3px
    }

    .facility-badge {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 4px 12px;
        border-radius: 9999px;
        background: rgba(21, 101, 192, .2);
        border: 1px solid rgba(21, 101, 192, .3);
        color: #90caf9;
        font-size: 10.5px;
        font-weight: 600;
        margin-top: 8px
    }

    .card-body {
        padding: 28px
    }

    .role-section-title {
        font-size: 11px;
        font-weight: 700;
        color: var(--muted);
        text-transform: uppercase;
        letter-spacing: .07em;
        margin-bottom: 10px
    }

    .role-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-bottom: 20px
    }

    .role-btn {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 9px 12px;
        border: 1.5px solid var(--border);
        border-radius: 10px;
        background: #fff;
        cursor: pointer;
        transition: .18s;
        font-family: inherit;
        text-align: left
    }

    .role-btn:hover {
        border-color: var(--blue-l);
        background: #f0f7ff
    }

    .role-btn.selected {
        border-color: var(--blue-l);
        background: #e3f2fd;
        box-shadow: 0 0 0 3px rgba(21, 101, 192, .1)
    }

    .role-btn-icon {
        font-size: 18px;
        flex-shrink: 0
    }

    .role-btn-name {
        font-size: 12px;
        font-weight: 700;
        color: var(--text)
    }

    .role-btn-desc {
        font-size: 10px;
        color: var(--muted)
    }

    .form-label {
        font-size: 12px;
        font-weight: 700;
        color: #2c4460;
        margin-bottom: 5px;
        display: block
    }

    .form-label .req {
        color: #c62828;
        margin-left: 2px
    }

    .form-input {
        width: 100%;
        padding: 10px 14px;
        border: 1.5px solid var(--border);
        border-radius: 8px;
        font-size: 13px;
        color: var(--text);
        background: #fff;
        outline: none;
        font-family: inherit;
        transition: .18s
    }

    .form-input:focus {
        border-color: var(--blue-l);
        box-shadow: 0 0 0 3px rgba(21, 101, 192, .1)
    }

    .form-input.is-invalid {
        border-color: #c62828;
        box-shadow: 0 0 0 3px rgba(198, 40, 40, .1)
    }

    .input-wrap {
        position: relative
    }

    .input-prefix {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 16px;
        pointer-events: none
    }

    .form-input.has-prefix {
        padding-left: 38px
    }

    .pass-toggle {
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        cursor: pointer;
        font-size: 16px;
        color: var(--muted);
        padding: 0
    }

    .form-group {
        margin-bottom: 16px
    }

    .login-btn {
        width: 100%;
        padding: 12px;
        border-radius: 10px;
        border: none;
        background: linear-gradient(135deg, var(--blue-mid), var(--blue-l));
        color: #fff;
        font-size: 14px;
        font-weight: 800;
        cursor: pointer;
        font-family: inherit;
        transition: .2s;
        box-shadow: 0 4px 14px rgba(21, 101, 192, .4);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px
    }

    .login-btn:hover {
        background: linear-gradient(135deg, var(--blue), var(--blue-mid));
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(21, 101, 192, .5)
    }

    .login-btn:active {
        transform: none
    }

    .divider {
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 16px 0
    }

    .divider hr {
        flex: 1;
        border: 0;
        border-top: 1px solid var(--border)
    }

    .divider span {
        font-size: 11px;
        color: var(--muted);
        font-weight: 600
    }

    .demo-title {
        font-size: 11px;
        font-weight: 700;
        color: var(--muted);
        text-transform: uppercase;
        letter-spacing: .06em;
        margin-bottom: 10px
    }

    .demo-btns {
        display: flex;
        gap: 6px;
        flex-wrap: wrap
    }

    .demo-btn {
        padding: 5px 10px;
        border-radius: 6px;
        border: 1.5px solid var(--border);
        background: #f7f9fc;
        color: var(--text);
        font-size: 11px;
        font-weight: 600;
        cursor: pointer;
        font-family: inherit;
        transition: .15s;
        display: flex;
        align-items: center;
        gap: 5px
    }

    .demo-btn:hover {
        border-color: var(--blue-l);
        background: #e3f2fd;
        color: var(--blue)
    }

    .forgot-panel {
        display: none;
        margin-top: 14px;
        padding: 14px;
        border: 1px solid #dbe6f1;
        border-radius: 10px;
        background: #f7fafd
    }

    .forgot-panel.show {
        display: block
    }

    .forgot-panel-title {
        font-size: 12px;
        font-weight: 700;
        color: #2c4460;
        margin-bottom: 8px
    }

    .form-alert {
        padding: 10px 14px;
        border-radius: 8px;
        font-size: 12.5px;
        margin-bottom: 14px;
        display: flex;
        align-items: flex-start;
        gap: 8px
    }

    .form-alert.error {
        background: #ffebee;
        border: 1px solid rgba(198, 40, 40, .25);
        color: #7f0000
    }

    .form-alert.success {
        background: #e8f5e9;
        border: 1px solid rgba(46, 125, 50, .25);
        color: #1b5e20
    }

    .form-alert.info {
        background: #e3f2fd;
        border: 1px solid rgba(21, 101, 192, .25);
        color: #0b4ea8
    }

    .card-footer-bar {
        padding: 14px 28px;
        background: #f7fafd;
        border-top: 1px solid var(--border);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        flex-wrap: wrap
    }

    .cfa-links {
        display: flex;
        gap: 12px;
        flex-wrap: wrap
    }

    .cfa-link {
        font-size: 11px;
        color: var(--muted);
        text-decoration: none;
        cursor: pointer;
        transition: .15s;
        background: none;
        border: none;
        font-family: inherit
    }

    .cfa-link:hover {
        color: var(--blue-l)
    }

    .security-badge {
        display: flex;
        align-items: center;
        gap: 5px;
        font-size: 10.5px;
        color: var(--muted)
    }

    .login-loading {
        position: absolute;
        inset: 0;
        background: rgba(7, 18, 33, .7);
        backdrop-filter: blur(4px);
        display: none;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 12px;
        border-radius: 24px;
        z-index: 10
    }

    .login-loading.show {
        display: flex
    }

    .ld-spinner {
        width: 40px;
        height: 40px;
        border: 3px solid rgba(255, 255, 255, .2);
        border-top-color: #90caf9;
        border-radius: 50%;
        animation: spin .7s linear infinite
    }

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

    .ld-text {
        font-size: 13px;
        font-weight: 700;
        color: #c8dff0
    }

    .page-footer {
        position: relative;
        z-index: 20;
        background: rgba(7, 18, 33, .92);
        border-top: 1px solid rgba(255, 255, 255, .06);
        padding: 12px 32px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 8px
    }

    .pf-left {
        font-size: 10.5px;
        color: #5a7a8e
    }

    .pf-right {
        display: flex;
        gap: 16px;
        flex-wrap: wrap
    }

    .pf-link {
        font-size: 10.5px;
        color: #5a7a8e;
        text-decoration: none;
        cursor: pointer;
        transition: .15s
    }

    .pf-link:hover {
        color: #90caf9
    }

    .announce-strip {
        background: linear-gradient(90deg, rgba(230, 81, 0, .15), rgba(249, 168, 37, .1));
        border-bottom: 1px solid rgba(230, 81, 0, .2);
        padding: 5px 32px;
        display: flex;
        align-items: center;
        gap: 10px;
        position: relative;
        z-index: 15;
        overflow: hidden
    }

    .ann-icon {
        font-size: 13px;
        flex-shrink: 0
    }

    .ann-marquee {
        flex: 1;
        overflow: hidden
    }

    .ann-text {
        font-size: 11px;
        color: #ffcc80;
        font-weight: 600;
        white-space: nowrap;
        animation: marquee 30s linear infinite;
        display: inline-block
    }

    @keyframes marquee {
        from {
            transform: translateX(100%)
        }

        to {
            transform: translateX(-100%)
        }
    }

    .ann-badge {
        padding: 3px 10px;
        border-radius: 9999px;
        background: rgba(230, 81, 0, .2);
        border: 1px solid rgba(230, 81, 0, .3);
        color: #ff8a65;
        font-size: 10px;
        font-weight: 800;
        flex-shrink: 0;
        text-transform: uppercase
    }

    /* ── SYSTEM STATUS PANEL ── */
    .status-panel {
        margin-top: 20px;
        padding: 16px 20px;
        background: rgba(255, 255, 255, .04);
        border: 1px solid rgba(255, 255, 255, .07);
        border-radius: 14px;
    }

    .sp-title {
        font-size: 11px;
        font-weight: 700;
        color: #5a7a8e;
        text-transform: uppercase;
        letter-spacing: .06em;
        margin-bottom: 10px
    }

    .sp-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px
    }

    .sp-item {
        display: flex;
        align-items: center;
        gap: 8px
    }

    .sp-dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        flex-shrink: 0
    }

    .sp-dot.ok {
        background: #43a047;
        box-shadow: 0 0 0 3px rgba(67, 160, 71, .15)
    }

    .sp-dot.warn {
        background: #ffa000
    }

    .sp-dot.error {
        background: #e53935
    }

    .sp-label {
        font-size: 11.5px;
        color: #8ab0c8;
        font-weight: 500
    }

    .sp-val {
        font-size: 10px;
        color: #5a7a8e;
        margin-left: auto
    }

    @media(max-width:1100px) {
        .left-panel {
            display: none
        }
    }

    @media(max-width:700px) {
        .right-panel {
            padding: 20px 14px
        }

        .gov-ribbon {
            padding: 8px 16px
        }

        .gr-badge {
            display: none
        }
    }