/* :root {
    --gold: #f0b429;
    --gold-soft: #f5c542;
    --gold-deep: #e0891a;
    --success: #2ecc71;
    --white: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.72);
    --card-bg: rgba(16, 14, 12, 0.58);
    --card-border: rgba(240, 180, 41, 0.55);
    --input-bg: rgba(0, 0, 0, 0.38);
    --input-border: rgba(255, 255, 255, 0.18);
} */

:root{

    /* Primary ONGC */
    --primary:#003B73;
    --primary-light:#005AA7;
    --primary-dark:#002B55;

    /* Government Accent */
    --accent:#F7941D;
    --accent-light:#FDBB4F;
    --accent-dark:#D97706;

    /* Success */
    --success:#28a745;

    /* Text */
    --white:#ffffff;
    --text-muted:rgba(255,255,255,.75);

    /* Glass Card */
    --card-bg: rgba(6,34,66,.92);
    border:1px solid rgba(255, 255, 255, 0.982);

    /* Input */
    --input-bg:rgba(255,255,255,.08);
    --input-border:rgba(255,255,255,.18);

}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
    font-family: 'Outfit', sans-serif;
    color: var(--white);
    overflow-x: hidden;
    overflow-y: auto;
    background: #120e0a;
}

.page {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.login-modal{
    max-width: 450px !important;
}

/* Video slideshow */
.bg-stack {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.bg-stack video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transform: translateX(100%) scale(1.04);
    transition: transform 0.9s cubic-bezier(0.65, 0, 0.35, 1);
    will-change: transform;
    filter: brightness(0.88) saturate(1.05);
}

.bg-stack video.is-active {
    transform: translateX(0) scale(1);
    z-index: 2;
}

.bg-stack video.is-exit {
    transform: translateX(-100%) scale(1.04);
    z-index: 2;
}

.bg-stack video.is-ready-right {
    transform: translateX(100%) scale(1.04);
    transition: none;
}

.bg-stack .bg-tint {
    position: absolute;
    inset: 0;
    z-index: 3;
    background:
        radial-gradient(ellipse 70% 55% at 50% 45%, rgba(0, 0, 0, 0.15), rgba(8, 5, 3, 0.72)),
        linear-gradient(180deg, rgba(10, 8, 6, 0.4) 0%, transparent 35%, rgba(10, 8, 6, 0.55) 100%);
    pointer-events: none;
}

/* Soft ambient orbs */
.ambient {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.ambient span {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.35;
    animation: floatOrb 12s ease-in-out infinite;
}

.ambient span:nth-child(1) {
    width: 280px; height: 280px;
    /* background: rgba(240, 180, 41, 0.35); */
    background:rgba(0,90,167,.25);
    top: 12%; left: 8%;
}

.ambient span:nth-child(2) {
    width: 220px; height: 220px;
    background: rgba(224, 137, 26, 0.28);
    bottom: 10%; right: 12%;
    animation-delay: -4s;
}

.ambient span:nth-child(3) {
    width: 160px; height: 160px;
    background: rgba(255, 200, 80, 0.2);
    top: 55%; left: 55%;
    animation-delay: -7s;
}

/* Floating particles */
.particles {
    position: fixed;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.particles i {
    position: absolute;
    bottom: -10px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(245, 197, 66, 0.7);
    animation: rise linear infinite;
    opacity: 0;
}

.stage {
    position: relative;
    z-index: 5;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    min-height: 100vh;
    min-height: 100dvh;
}

.login-modal {
    position: relative;
    width: 100%;
    max-width: 380px;
    padding: 1.4rem 1.55rem 1.15rem;
    border-radius: 10px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(24px) saturate(1.25);
    -webkit-backdrop-filter: blur(24px) saturate(1.25);
    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(240, 180, 41, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    overflow: hidden;
    animation: modalIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.login-modal:hover {
    box-shadow:
        0 32px 80px rgba(0, 0, 0, 0.55),
        0 0 40px rgba(240, 180, 41, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Shine sweep */
.login-modal .shine {
    position: absolute;
    top: 0;
    left: -60%;
    width: 45%;
    height: 100%;
    /* background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.08), transparent); */
    background: rgb(6 34 66 / 49%);
    transform: skewX(-18deg);
    animation: shineSweep 5.5s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

/* .login-modal::before,
.login-modal::after {
    content: '';
    position: absolute;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 1px solid rgba(240, 180, 41, 0.28);
    pointer-events: none;
    box-shadow:
        0 0 0 10px rgba(240, 180, 41, 0.07),
        0 0 0 20px rgba(240, 180, 41, 0.03);
    z-index: 0;
}

.login-modal::before { top: -60px; left: -60px; }
.login-modal::after { bottom: -60px; right: -60px; } */

.modal-inner {
    position: relative;
    z-index: 2;
}

.asset-chip{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;

    padding:6px 16px;
    margin:0 auto 18px;

    border-radius:30px;

    /* background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.12); */

    color:#D9E8F5;

    font-size:18px;
    font-weight:600;
    letter-spacing:1.4px;
    text-transform:uppercase;

    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);

    transition:.3s ease;
}

.asset-chip:hover{
    border-color:#005AA7;
    background:rgba(0,90,167,.12);
    color:#ffffff;
}

/* .asset-chip .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.941);
    animation: pulseDot 1.8s ease-in-out infinite;
} */

.header-block {
    text-align: center;
    margin-bottom: 1rem;
    animation: fadeUp 0.65s ease 0.15s both;
}

.card-badge {
    position: relative;
    width: 75px;
    height: 75px;
    margin: 0 auto 0.7rem;
    border-radius: 50%;
    /* border: 2px solid var(--gold); */
    border:2px solid #9a1010;
    background: rgba(255, 255, 255, 0.96);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 5px;
    box-shadow: 0 0 0 0 rgba(240, 180, 41, 0.35);
    animation: logoPulse 2.8s ease-out infinite;
}

.card-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.login-modal h1 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.2rem;
    /* background: linear-gradient(180deg, #fff 30%, #f5d78a 100%); */
    background:linear-gradient(
        180deg,
        #ffffff,
        #9fd7ff
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.login-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.field {
    margin-bottom: 0.7rem;
    animation: fadeUp 0.6s ease both;
}

.field:nth-of-type(1) { animation-delay: 0.22s; }
.field:nth-of-type(2) { animation-delay: 0.3s; }

.field label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 0.28rem;
}

.input-box {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 10px;
    padding: 0 0.75rem;
    height: 42px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, transform 0.2s ease;
}

.input-box:hover {
    border-color: rgba(240, 180, 41, 0.4);
}

.input-box:focus-within {
    /* border-color: rgba(240, 180, 41, 0.85); */
    border-color:var(--primary-light);
    background: rgba(0, 0, 0, 0.48);
    /* box-shadow: 0 0 0 3px rgba(240, 180, 41, 0.14); */
    box-shadow:0 0 0 3px rgba(0,90,167,.25);
    transform: translateY(-1px);
}

.icon-left{
    color:var(--accent);
}

.input-box .icon-left {
    width: 16px;
    height: 16px;
    color: var(--gold);
    flex-shrink: 0;
    margin-right: 0.55rem;
    transition: transform 0.25s ease;
}

.input-box:focus-within .icon-left {
    transform: scale(1.1);
}

.input-box input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    color: var(--white);
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
}

.input-box input::placeholder {
    color: rgba(255, 255, 255, 0.32);
}

.input-box .icon-right {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--success);
    filter: drop-shadow(0 0 4px rgba(46, 204, 113, 0.6));
}

.toggle-pass {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.toggle-pass:hover {
    color: var(--gold);
    transform: scale(1.08);
}

.toggle-pass svg { width: 16px; height: 16px; }

.options-row {
    display: flex;
    align-items: center;
    justify-content: end;
    margin: 0.1rem 0 0.85rem;
    gap: 0.75rem;
    flex-wrap: wrap;
    animation: fadeUp 0.6s ease 0.36s both;
}

.remember {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: var(--white);
    cursor: pointer;
    user-select: none;
}

.remember input {
    appearance: none;
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    border: 1.5px solid var(--gold);
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    position: relative;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.remember input:checked {
    background: var(--gold);
    box-shadow: 0 0 8px rgba(240, 180, 41, 0.45);
}

.remember input:checked::after {
    content: '';
    position: absolute;
    left: 3.5px;
    top: 0.5px;
    width: 4px;
    height: 8px;
    border: solid #1a120c;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.forgot {
    font-size: 0.78rem;
    /* color: var(--gold); */
    color:#ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.forgot:hover { color: #3F51B5; }

.btn-submit {
    position: relative;
    width: 100%;
    height: 44px;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    /* background: linear-gradient(110deg, var(--gold-soft) 0%, var(--gold) 45%, var(--gold-deep) 100%); */
    background:linear-gradient(
        135deg,
        #005AA7 0%,
        #003B73 50%,
        #002B55 100%
    );
    background-size: 180% 100%;
    /* color: #1a120c; */
    color:#fff;
    box-shadow:0 12px 28px rgba(0,59,115,.35);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.25s ease, background-position 0.4s ease;
    /* box-shadow: 0 10px 26px rgba(224, 137, 26, 0.38); */
    animation: fadeUp 0.6s ease 0.42s both;
}

.btn-submit::after {
    content: '';
    position: absolute;
    top: 0;
    left: -40%;
    width: 35%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-20deg);
    transition: left 0.45s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    background-position: 100% 0;
    /* box-shadow: 0 14px 32px rgba(224, 137, 26, 0.48); */
    box-shadow:0 18px 35px rgba(0,59,115,.55);
}

.btn-submit:hover::after { left: 120%; }

.btn-submit:active { transform: translateY(0); }

.or-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0.85rem 0 0.6rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    animation: fadeUp 0.6s ease 0.48s both;
}

.or-row::before,
.or-row::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
}

.register-row {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    animation: fadeUp 0.6s ease 0.52s both;
}

.register-row a {
    color: var(--gold);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.register-row a:hover { color: var(--gold-soft); }

/* Slideshow dots */
.slide-dots {
    display: flex;
    gap: 0.45rem;
    align-items: center;
    justify-content: center;
    z-index: 6;
    animation: fadeUp 0.7s ease 0.55s both;
}

.slide-dots button {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.28);
    cursor: pointer;
    padding: 0;
    transition: width 0.35s ease, background 0.3s ease;
}

.slide-dots button.is-active {
    width: 22px;
    background: linear-gradient(90deg, var(--gold-soft), var(--gold-deep));
}

.brand-foot{
    position:fixed;
    bottom:20px;
    left:50%;
    transform:translateX(-50%);
    z-index:10;

    padding:10px 22px;

    /* background:rgba(3,27,55,.72); */
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);

    /* border:1px solid rgba(255,255,255,.12); */
    border-radius:30px;

    color:rgba(255,255,255,.82);

    font-size:13px;
    font-weight:500;
    letter-spacing:.4px;

    box-shadow:0 8px 25px rgba(0,0,0,.28);
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(28px) scale(0.94); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes shineSweep {
    0%, 55% { left: -60%; }
    75%, 100% { left: 130%; }
}

@keyframes logoPulse {
    0% { box-shadow: 0 0 0 0 rgba(240, 180, 41, 0.4); }
    70% { box-shadow: 0 0 0 12px rgba(240, 180, 41, 0); }
    100% { box-shadow: 0 0 0 0 rgba(240, 180, 41, 0); }
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(0.85); }
}

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(18px, -22px) scale(1.08); }
}

@keyframes rise {
    0% { transform: translateY(0) scale(0.6); opacity: 0; }
    15% { opacity: 0.7; }
    100% { transform: translateY(-100vh) scale(1); opacity: 0; }
}

@media (max-width: 860px) {
    .login-modal {
        padding: 1.2rem 1.2rem 1rem;
        border-radius: 10px;
    }

    .ambient { display: none; }
}

@media (max-height: 720px) {
    .card-badge { width: 55px; height: 55px; margin-bottom: 0.45rem; }
    .login-modal h1 { font-size: 1.3rem; }
    .login-subtitle { margin-bottom: 0; }
    .asset-chip { margin-bottom: 0.5rem; }
    .brand-foot { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}



.captcha-section{
    margin:18px 0;
}

.captcha-row{
    display:flex;
    align-items:center;
    gap:10px;
}

.captcha-box{
    flex:0 0 120px;
}

.captcha-box input{
    width:100%;
    height:44px;
    border:1px solid rgba(200, 200, 200, 0.396);
    border-radius:10px;
    background:rgba(255,255,255,.08);
    /* color:var(--gold-soft); */
    color:#ffffff;
    text-align:center;
    font-size:20px;
    font-weight:700;
    letter-spacing:5px;
    font-family:monospace;
    outline:none;
}

.captcha-refresh{
    width:44px;
    height:44px;
    border:none;
    border-radius:10px;
    cursor:pointer;
    color:#fff;
    /* background:linear-gradient(135deg,var(--gold),var(--gold-deep)); */
    background:linear-gradient(
        135deg,
        #005AA7,
        #003B73
    );
    display:flex;
    justify-content:center;
    align-items:center;
    transition:.3s;
}

.captcha-refresh:hover{
    transform:rotate(180deg);
}

.captcha-input{
    flex:1;
}

.captcha-input input{
    width:100%;
    height:44px;
    border:1px solid rgba(255,255,255,.18);
    border-radius:10px;
    background:rgba(0,0,0,.35);
    color:#fff;
    padding:0 15px;
    outline:none;
}

.captcha-input input:focus{
    border-color:var(--gold);
    box-shadow:0 0 0 3px rgba(240,180,41,.15);
}


.card-header{
    display:flex;
    justify-content:center;
    margin-bottom:15px;
    margin-top: 10px;
}

.back-btn{

    display:inline-flex;
    align-items:center;
    gap:8px;
    font-weight: 600;
    padding:8px 14px;

    border-radius:8px;

    background:rgba(255,255,255,.06);

    border:1px solid rgba(255,255,255,.10);

    color:#D8E5F4;

    text-decoration:none;

    font-size:13px;

    transition:.3s;
}

.back-btn:hover{

    background:#ffffff;

    color:#151212;

    border-color:#ffffff;
}

.back-btn i{

    font-size:12px;
}


.otp-info{

    display:flex;
    justify-content:space-between;
    align-items:center;

    margin:15px 0;

    font-size:13px;

}

#timer{

    color:#FDBB4F;

    font-weight:700;
}

.resend-btn{

    border:none;

    background:none;

    color:#0A84FF;

    cursor:pointer;

    font-weight:600;

    transition:.3s;
}

.resend-btn:hover{

    color:#fff;
}