/* MGAV admin login: andhere kamre me lamp - dori khincho, roshni aur login form.
   v23: colours of the website - navy blue room (#0b2448 / #0f3d7a / #1a56a6) and gold light (#f2ac1c) */
:root {
    --lp-bg: #061631;
    --lp-ink: #eef4ff;
    --lp-mute: #a9badb;
    --lp-gold: #f2ac1c;
    --lp-yellow: #ffc94a;
    --lp-glass: rgba(13, 42, 88, .72);
    --lp-line: rgba(170, 200, 245, .16);
    --lp-ease: cubic-bezier(.22, 1, .36, 1);
    --lx: 30%;
    --ly: 30%;
}
html, body.lp-body { height: 100%; }
body.lp-body { margin: 0; min-height: 100vh; overflow-x: hidden; background: var(--lp-bg) !important; color: var(--lp-ink);
    font-family: Urbanist, Inter, system-ui, sans-serif !important; }

/* ---------- room ---------- */
.lp-room { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.lp-wall { position: absolute; inset: 0; background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .012) 0 2px, transparent 2px 120px),
    linear-gradient(180deg, #0b2448 0%, #081c3c 60%, #061631 100%); }
.lp-warm { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--lp-ease);
    background: radial-gradient(900px 620px at var(--lx) var(--ly), rgba(255, 200, 90, .18), rgba(242, 172, 28, .05) 45%, transparent 70%),
    radial-gradient(1400px 900px at 70% 50%, rgba(26, 86, 166, .45), transparent 70%); }
#lp-flies { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.4s ease .3s; }
.lp-on .lp-warm { opacity: 1; }
.lp-on #lp-flies { opacity: 1; }

/* ---------- top / foot ---------- */
.lp-top { position: fixed; top: 0; left: 0; right: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; padding: 18px 28px; }
.lp-brand { display: inline-block; padding: 6px 12px; border-radius: 14px; background: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); opacity: .35; filter: grayscale(.6) brightness(.8); transition: opacity 1s, filter 1s; }
.lp-brand img { height: 48px; width: auto; display: block; }
.lp-on .lp-brand { opacity: 1; filter: none; }
.lp-tag { font-size: 11.5px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--lp-mute); padding: 7px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--lp-line); }
.lp-foot { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; text-align: center; padding: 14px; font-size: 12px; color: rgba(169, 186, 219, .65); }

/* ---------- stage ---------- */
.lp-stage { position: relative; z-index: 2; min-height: 100vh; display: flex; align-items: center; justify-content: center; gap: clamp(40px, 9vw, 150px); padding: 96px 24px 60px; }

/* ---------- lamp ---------- */
.lp-lamp { position: relative; width: 240px; height: 460px; flex: none; }
.lp-svg { position: absolute; inset: 0; width: 240px; height: 460px; overflow: visible; z-index: 2; }
.lp-bulb { opacity: .08; transition: opacity .35s; }
.lp-rim { transition: opacity .35s; }
.lp-on .lp-bulb { opacity: 1; }
.lp-on .lp-rim { opacity: .9; }
.lp-svg path:nth-of-type(2) { transition: filter .6s; }
.lp-on .lp-svg { filter: drop-shadow(0 6px 26px rgba(255, 200, 100, .25)); }
.lp-cone { position: absolute; z-index: 1; top: 88px; left: 50%; width: 660px; height: 400px; transform: translateX(-50%); pointer-events: none;
    clip-path: polygon(40% 0, 60% 0, 100% 100%, 0 100%);
    background: linear-gradient(180deg, rgba(255, 226, 150, .55) 0%, rgba(255, 205, 110, .26) 40%, rgba(255, 190, 90, .08) 80%, transparent 100%);
    -webkit-mask-image: radial-gradient(120% 100% at 50% 0, #000 55%, transparent 100%); mask-image: radial-gradient(120% 100% at 50% 0, #000 55%, transparent 100%);
    opacity: 0; transform-origin: top center; transition: opacity .45s ease; }
.lp-on .lp-cone { opacity: 1; animation: lpHum 6s ease-in-out infinite; }
.lp-pool { position: absolute; z-index: 0; left: 50%; top: 388px; width: 560px; height: 120px; transform: translateX(-50%); border-radius: 50%; opacity: 0; transition: opacity .6s;
    background: radial-gradient(closest-side, rgba(255, 205, 110, .32), rgba(255, 190, 90, .1) 60%, transparent); }
.lp-on .lp-pool { opacity: 1; }

/* dori + gaanth */
.lp-string { position: absolute; left: 0; top: 0; width: 240px; height: 460px; overflow: visible; z-index: 3; pointer-events: none; }
.lp-string path { fill: none; stroke: #4d6890; stroke-width: 1.6; stroke-linecap: round; }
.lp-on .lp-string path { stroke: #a9badb; }
.lp-knob { position: absolute; z-index: 4; left: 0; top: 0; width: 14px; height: 26px; margin: -2px 0 0 -7px; padding: 0; border: 0; border-radius: 8px; cursor: grab; touch-action: none;
    background: linear-gradient(90deg, #d08f0a, #ffd77a 45%, #e0a01a); box-shadow: 0 4px 10px rgba(0, 0, 0, .5), inset 0 -2px 0 rgba(0, 0, 0, .2); outline: none; }
.lp-knob::before { content: ""; position: absolute; inset: -14px -16px; } /* bada touch area */
.lp-knob:active { cursor: grabbing; }
.lp-knob:focus-visible { box-shadow: 0 0 0 3px var(--lp-bg), 0 0 0 5px var(--lp-yellow); }
body:not(.lp-on):not(.lp-used) .lp-knob { animation: lpNudge 2.8s ease-in-out 1.6s infinite; }

.lp-hint { position: absolute; z-index: 3; left: 20px; top: -54px; width: max-content; max-width: 280px; font-size: 14px; font-weight: 600; color: var(--lp-mute); transition: opacity .5s, transform .5s; }
.lp-hint::after { content: ""; position: absolute; left: 146px; top: 26px; width: 1px; height: 30px; background: linear-gradient(var(--lp-mute), transparent); }
.lp-on .lp-hint, .lp-used .lp-hint { opacity: 0; transform: translateY(-6px); }

/* ---------- card ---------- */
.lp-card { position: relative; z-index: 2; width: 420px; max-width: 100%; padding: 38px 34px 30px; border-radius: 26px;
    background: var(--lp-glass); backdrop-filter: blur(16px) saturate(1.1); -webkit-backdrop-filter: blur(16px) saturate(1.1);
    box-shadow: inset 0 0 0 1px var(--lp-line), inset 0 1px 0 rgba(255, 255, 255, .06), 0 40px 80px -30px rgba(0, 0, 0, .8);
    transition: opacity .7s var(--lp-ease) .12s, transform .9s var(--lp-ease) .12s, filter .7s var(--lp-ease) .12s, visibility 0s linear 0s; }
html.lp-js body:not(.lp-on) .lp-card { opacity: 0; visibility: hidden; transform: translateY(26px) scale(.97); filter: blur(8px);
    transition: opacity .45s ease, transform .5s ease, filter .45s ease, visibility 0s linear .5s; }
.lp-head { text-align: center; margin-bottom: 28px; }
.lp-head h1 { margin: 0 0 8px; font-size: 34px; font-weight: 800; letter-spacing: -.5px; color: #fff; }
.lp-head p { margin: 0; font-size: 14px; color: var(--lp-mute); }

.lp-field { margin-bottom: 14px; }
.lp-in { position: relative; }
.lp-in > svg { position: absolute; left: 15px; top: 15px; width: 18px; height: 18px; fill: none; stroke: #8ea3c4; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; transition: stroke .25s; }
.lp-in:focus-within > svg { stroke: var(--lp-yellow); }
.lp-body .lp-input.form-control { height: 48px; padding: 0 46px 0 44px; border-radius: 13px; border: 1px solid rgba(170, 200, 245, .14) !important; background: rgba(3, 16, 38, .45) !important;
    color: var(--lp-ink) !important; font-size: 14.5px; font-weight: 600; box-shadow: inset 0 2px 6px rgba(0, 0, 0, .35) !important; transition: border-color .25s, box-shadow .25s, background .25s; }
.lp-body .lp-input.form-control::placeholder { color: #7f93b3; font-weight: 500; }
.lp-body .lp-input.form-control:focus { border-color: rgba(242, 172, 28, .7) !important; box-shadow: inset 0 2px 6px rgba(0, 0, 0, .35), 0 0 0 4px rgba(242, 172, 28, .16) !important; background: rgba(3, 16, 38, .55) !important; }
.lp-eye { position: absolute; right: 6px; top: 6px; width: 36px; height: 36px; border: 0; border-radius: 10px; background: transparent; color: #8ea3c4; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.lp-eye:hover, .lp-eye:focus-visible { background: rgba(255, 255, 255, .06); color: var(--lp-ink); outline: none; }
.lp-eye svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lp-eye .e-off, .lp-eye.on .e-on { display: none; }
.lp-eye.on .e-off { display: block; }
.lp-body .fv-plugins-message-container, .lp-body .fv-plugins-message-container .invalid-feedback { color: #ff9b8a; font-size: 12px; font-weight: 600; margin-top: 6px; }

.lp-submit { margin-top: 22px; }
.lp-body .btn.lp-btn { height: 50px; border: 0; border-radius: 13px; font-size: 15.5px; font-weight: 800; color: #0b2448 !important;
    background-image: linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, .45) 50%, transparent 62%), linear-gradient(180deg, var(--lp-yellow), var(--lp-gold)) !important;
    background-size: 260% 100%, 100% 100% !important; background-position: 130% 0, 0 0 !important; background-repeat: no-repeat !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 14px 30px -12px rgba(242, 172, 28, .6) !important; transition: background-position .7s var(--lp-ease), transform .2s, box-shadow .3s; }
.lp-body .btn.lp-btn:hover { background-position: -30% 0, 0 0 !important; transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 20px 36px -12px rgba(242, 172, 28, .75) !important; }
.lp-body .btn.lp-btn:active { transform: translateY(0) scale(.98); }
.lp-body .btn.lp-btn:focus-visible { box-shadow: 0 0 0 3px #0b2448, 0 0 0 5px #fff !important; }
.lp-body .btn.lp-btn .spinner-border { border-color: #0b2448; border-right-color: transparent; }

.lp-or { display: flex; align-items: center; gap: 12px; margin: 24px 0 16px; font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: #8ea3c4; }
.lp-or::before, .lp-or::after { content: ""; flex: 1; height: 1px; background: var(--lp-line); }
.lp-alt { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lp-ghost { display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 13px; font-size: 13.5px; font-weight: 700; color: var(--lp-ink); text-decoration: none;
    background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(170, 200, 245, .18); transition: background .25s, transform .2s; }
.lp-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; transform: translateY(-1px); }
.lp-ghost svg { width: 17px; height: 17px; fill: none; stroke: var(--lp-yellow); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lp-demo { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--lp-line); }

/* ---------- jawab par roshni ---------- */
.lp-flicker .lp-cone, .lp-flicker .lp-warm, .lp-flicker .lp-bulb { animation: lpFlicker .9s steps(1, end); }
.lp-bright .lp-cone { filter: brightness(1.35) saturate(1.1); }
.lp-bright .lp-card { box-shadow: inset 0 0 0 1px rgba(242, 172, 28, .55), 0 0 60px -10px rgba(242, 172, 28, .45), 0 40px 80px -30px rgba(0, 0, 0, .8); }

/* ---------- responsive ---------- */
@media (max-width: 899px) {
    .lp-stage { flex-direction: column; justify-content: flex-start; gap: 0; padding-top: 122px; }
    .lp-lamp { transform: scale(.62); transform-origin: top center; margin-bottom: -150px; }
    .lp-hint { left: -10px; font-size: 18px; top: -46px; }
    .lp-card { padding: 30px 22px 24px; }
    .lp-brand img { height: 40px; }
    .lp-top { padding: 14px 16px; }
    .lp-foot { position: static; }
}

/* ---------- keyframes ---------- */
@keyframes lpHum { 0%, 100% { opacity: 1; } 50% { opacity: .9; } }
@keyframes lpNudge { 0%, 70%, 100% { translate: 0 0; } 78% { translate: 0 8px; } 86% { translate: 0 -2px; } 92% { translate: 0 3px; } }
@keyframes lpFlicker { 0% { opacity: .2; } 15% { opacity: 1; } 30% { opacity: .35; } 45% { opacity: 1; } 60% { opacity: .5; } 75%, 100% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
    .lp-body *, .lp-body *::before, .lp-body *::after { animation: none !important; transition-duration: .01s !important; transition-delay: 0s !important; }
}
