/* Admin login — premium template (viharasetu-admin-login.html) */
/* =========================================================
   VIHARA SETU · ADMIN LOGIN (premium)
   ========================================================= */
:root{
  --deep:#062a2f;      /* night teal */
  --teal:#0f6e78;      /* brand teal */
  --teal-2:#0b5560;
  --saffron:#f39a1e;   /* brand saffron */
  --gold:#e6b765;
  --ivory:#fbf7ef;
  --ink:#16262a;
  --muted:#5d6b6e;
  --line:#e4dccd;
  --display:"Cormorant Garamond", Georgia, serif;
  --ui:"Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*{ box-sizing:border-box; }
html,body{ margin:0; height:100%; }
body{ font-family:var(--ui); color:var(--ink); background:var(--ivory); -webkit-font-smoothing:antialiased; }

.vs-shell{ min-height:100vh; display:flex; flex-wrap:wrap; }

/* ---------- left: cinematic brand panel ---------- */
.vs-hero{
  position:relative; overflow:hidden; flex:1 1 560px; min-height:100vh;
  display:flex; flex-direction:column; justify-content:space-between;
  padding:40px 56px; color:var(--ivory);
  background:
    radial-gradient(120% 70% at 50% 115%, rgba(243,154,30,.55) 0%, rgba(243,154,30,.12) 38%, rgba(0,0,0,0) 62%),
    linear-gradient(180deg,#041d21 0%, #073a40 45%, #0d5a60 78%, #2b7a72 100%);
}
.vs-stars{ position:absolute; inset:0; pointer-events:none; opacity:.7;
  background-image:
    radial-gradient(1px 1px at 12% 18%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 8%,  #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 46% 22%, #ffe9c4 50%, transparent 51%),
    radial-gradient(1px 1px at 63% 12%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 78% 26%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 88% 9%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 8% 38%,  #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 37% 34%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 92% 40%, #ffe9c4 50%, transparent 51%);
  animation:vs-twinkle 6s ease-in-out infinite alternate;
}
@keyframes vs-twinkle{ from{opacity:.45;} to{opacity:.85;} }

.vs-brand{ position:relative; display:flex; align-items:center; gap:14px; }
.vs-mark{ width:46px; height:46px; }
.vs-brand-name{ font-family:var(--display); font-size:28px; font-weight:600; letter-spacing:.01em; line-height:1; }
.vs-brand-name span{ color:var(--saffron); }
.vs-brand-tag{ font-size:11px; letter-spacing:.32em; text-transform:uppercase; color:#cfe3df; margin-top:6px; }

.vs-hero-copy{ position:relative; max-width:520px; }
.vs-eyebrow{ font-size:12px; letter-spacing:.3em; text-transform:uppercase; color:var(--gold); font-weight:600; }
.vs-hero-copy h2{ font-family:var(--display); font-weight:500; font-size:clamp(40px,4.6vw,64px); line-height:1.02; margin:14px 0 16px; }
.vs-hero-copy h2 em{ color:var(--saffron); font-style:italic; }
.vs-hero-copy p{ margin:0; font-size:16px; line-height:1.6; color:#d7e7e4; max-width:420px; }

.vs-hero-plane-wrap{ position:relative; height:200px; margin:8px -56px 0; }
.vs-hero-plane{
  position:absolute; top:30px; left:8%; width:min(560px,78%);
  filter:drop-shadow(0 26px 30px rgba(0,0,0,.35));
  animation:vs-cruise 14s ease-in-out infinite alternate;
}
.vs-hero-trail{
  position:absolute; top:150px; left:-10%; width:40%; height:3px; border-radius:3px;
  background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.55));
  filter:blur(1px); animation:vs-cruise 14s ease-in-out infinite alternate;
}
@keyframes vs-cruise{
  0%  { transform:translate(-4%,6px) rotate(-1deg); }
  50% { transform:translate(4%,-8px) rotate(.6deg); }
  100%{ transform:translate(10%,2px) rotate(-.4deg); }
}
.vs-bridge{ position:absolute; left:0; right:0; bottom:0; width:100%; height:120px; opacity:.35; pointer-events:none; }
.vs-hero-foot{ position:relative; display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; font-size:12px; color:#a9c8c3; letter-spacing:.04em; }
.vs-hero-foot i{ font-style:italic; font-family:var(--display); font-size:16px; color:#e9d7b5; letter-spacing:0; }

/* ---------- right: sign-in panel ---------- */
.vs-panel{ flex:1 1 440px; display:flex; align-items:center; justify-content:center; padding:48px 24px; }
.vs-card{ width:100%; max-width:420px; }
.vs-card .vs-eyebrow{ color:var(--teal); }
.vs-card h1{ font-family:var(--display); font-weight:600; font-size:44px; line-height:1.05; margin:10px 0 8px; color:var(--deep); }
.vs-card .vs-lead{ margin:0 0 32px; color:var(--muted); font-size:15px; line-height:1.55; }

.vs-error{ display:flex; gap:10px; align-items:flex-start; margin:0 0 20px; padding:12px 14px; border-radius:12px;
  background:#fdf0ec; border:1px solid #f2c9bb; color:#8a2c14; font-size:14px; }
.vs-error[hidden]{ display:none; }

.vs-field{ margin-bottom:20px; }
.vs-field label{ display:block; font-size:12px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:#3d4c4f; margin-bottom:8px; }
.vs-input{ position:relative; }
.vs-input svg.vs-ico{ position:absolute; left:16px; top:50%; width:18px; height:18px; margin-top:-9px; color:#8a9799; pointer-events:none; }
.vs-input input{
  width:100%; height:54px; padding:0 52px 0 46px; border-radius:14px;
  border:1px solid var(--line); background:#fff; color:var(--ink);
  font:inherit; font-size:15px; transition:border-color .2s, box-shadow .2s;
}
.vs-input input::placeholder{ color:#9aa5a6; }
.vs-input input:focus{ outline:none; border-color:var(--teal); box-shadow:0 0 0 4px rgba(15,110,120,.14); }
.vs-input input:focus + svg.vs-ico, .vs-input:focus-within svg.vs-ico{ color:var(--teal); }
.vs-eye{ position:absolute; right:5px; top:5px; width:44px; height:44px; border:0; border-radius:10px; background:transparent; color:#6c7a7c; cursor:pointer; display:grid; place-items:center; }
.vs-eye:hover{ background:#f3efe6; color:var(--teal); }
.vs-caps{ margin-top:8px; font-size:12px; font-weight:600; display:none; }
.vs-input:focus-within ~ .vs-caps.known, .vs-field:focus-within .vs-caps.known{ display:block; }
.vs-caps.on{ color:#9a5a00; }
.vs-caps.off{ color:#2A5C45; }

.vs-row{ display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; margin:4px 0 26px; font-size:14px; }
.vs-check{ display:flex; align-items:center; gap:10px; cursor:pointer; color:#3d4c4f; min-height:44px; }
.vs-check input{ appearance:none; width:20px; height:20px; margin:0; border-radius:6px; border:1.5px solid #c9bfae; background:#fff; display:grid; place-items:center; cursor:pointer; }
.vs-check input:checked{ background:var(--teal); border-color:var(--teal); }
.vs-check input:checked::after{ content:""; width:10px; height:6px; border-left:2px solid #fff; border-bottom:2px solid #fff; transform:translateY(-1px) rotate(-45deg); }
.vs-check input:focus-visible{ outline:3px solid rgba(15,110,120,.35); outline-offset:2px; }
.vs-link{ color:var(--teal); font-weight:600; text-decoration:none; }
.vs-link:hover{ color:var(--teal-2); text-decoration:underline; text-underline-offset:3px; }

.vs-submit{
  position:relative; overflow:hidden; width:100%; height:56px; border:0; border-radius:14px; cursor:pointer;
  background:linear-gradient(180deg,#127884,#0b5560); color:var(--ivory);
  font:inherit; font-size:16px; font-weight:700; letter-spacing:.02em;
  display:flex; align-items:center; justify-content:center; gap:10px;
  box-shadow:0 14px 30px rgba(11,85,96,.28), inset 0 1px 0 rgba(255,255,255,.18);
  transition:transform .15s, box-shadow .2s;
}
.vs-submit::after{ content:""; position:absolute; top:0; left:-60%; width:40%; height:100%;
  background:linear-gradient(100deg,rgba(255,255,255,0),rgba(255,255,255,.22),rgba(255,255,255,0)); transform:skewX(-20deg); transition:left .7s ease; }
.vs-submit:hover::after{ left:120%; }
.vs-submit:hover{ transform:translateY(-1px); box-shadow:0 18px 36px rgba(11,85,96,.34), inset 0 1px 0 rgba(255,255,255,.18); }
.vs-submit:focus-visible{ outline:3px solid var(--saffron); outline-offset:3px; }
.vs-submit .vs-accent{ display:block; width:22px; height:2px; background:var(--saffron); border-radius:2px; }

.vs-secure{ display:flex; align-items:center; justify-content:center; gap:8px; margin-top:22px; font-size:12px; color:#7b8789; letter-spacing:.03em; }
.vs-divider{ height:1px; background:linear-gradient(90deg,transparent,var(--line),transparent); margin:30px 0 18px; }
.vs-help{ text-align:center; font-size:13px; color:var(--muted); margin:0; }

@media (max-width:860px){
  .vs-hero{ min-height:auto; padding:28px 24px 0; }
  .vs-hero-copy{ margin-top:28px; }
  .vs-hero-copy p{ font-size:15px; }
  .vs-hero-plane-wrap{ height:150px; margin:0 -24px; }
  .vs-hero-plane{ width:86%; top:20px; }
  .vs-hero-trail{ top:104px; }
  .vs-hero-foot{ display:none; }
  .vs-panel{ padding:36px 20px 48px; }
  .vs-card h1{ font-size:38px; }
}


/* =========================================================
   BOARDING-PASS SIGN-IN (right side) - landscape pass:
   header + route + fields on the left, tear-off teal stub on the right
   ========================================================= */
.vs-sr{ position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

.vs-hero{ flex:1 1 520px; }
.vs-panel{
  flex:1.3 1 640px; min-height:100vh; padding:20px 24px;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px;
  background:#0a2d34;
  --stub:clamp(150px, 27%, 190px);
}
.vs-pass{
  position:relative; display:grid; grid-template-columns:minmax(0,1fr) var(--stub);
  width:100%; max-width:760px; border-radius:22px;
  filter:drop-shadow(0 26px 40px rgba(0,0,0,.45));
}

/* left: the ticket */
.vs-pass-left{ background:#fffdf8; color:var(--ink); border-radius:22px 0 0 22px; overflow:hidden; display:flex; flex-direction:column; min-width:0; }
.vs-pass-head{
  display:flex; align-items:center; justify-content:space-between; gap:12px; flex:0 0 auto;
  padding:0 24px; height:52px; background:linear-gradient(100deg,#0b5560 0%,#0f7580 100%); color:#fff;
}
.vs-pass-title{ font-family:var(--display); font-weight:600; font-size:22px; letter-spacing:.01em; white-space:nowrap; }
.vs-pass-title em{ font-style:normal; color:var(--saffron); }
.vs-pass-class{
  padding:7px 14px 6px; border-radius:999px; white-space:nowrap;
  background:linear-gradient(180deg,#f8b645,#ec9420); color:#06303a;
  font-size:10.5px; font-weight:800; letter-spacing:.2em; text-transform:uppercase;
  box-shadow:0 2px 6px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.35);
}
.vs-pass-body{ padding:14px 24px 0; flex:1 1 auto; }

.vs-pass-route{ display:flex; align-items:flex-start; justify-content:space-between; gap:14px; }
.vs-code{ display:flex; flex-direction:column; }
.vs-code b{ font-family:var(--display); font-weight:500; font-size:clamp(40px, 5.2vh, 52px); line-height:.95; color:var(--deep); letter-spacing:.01em; }
.vs-code small{ margin-top:5px; font-size:10px; font-weight:700; letter-spacing:.2em; text-transform:uppercase; color:#6f7c7e; }
.vs-code-r{ text-align:right; align-items:flex-end; }
.vs-flight{ flex:1; display:flex; align-items:center; gap:8px; margin-top:20px; color:var(--saffron); }
.vs-flight i{ flex:1; height:0; border-top:2px dashed #cfc7b4; }
.vs-pass-plane{ transform:rotate(90deg); flex:0 0 auto; }

.vs-welcome{ margin:12px 0 14px; font-size:13.5px; line-height:1.5; color:var(--muted); }
.vs-welcome b{ color:var(--deep); font-weight:700; }

.vs-pass .vs-error, .vs-pass .vs-notice{ margin:0 0 12px; padding:9px 12px; font-size:13px; }
.vs-fields2{ display:grid; grid-template-columns:repeat(auto-fit, minmax(190px, 1fr)); gap:0 14px; }
.vs-pass .vs-field{ margin-bottom:12px; min-width:0; }
.vs-pass .vs-field label{ font-size:10.5px; letter-spacing:.14em; color:#5a676a; margin-bottom:6px; }
.vs-opt{ font-weight:500; letter-spacing:.04em; text-transform:none; opacity:.7; }
.vs-pass .vs-input input{ height:46px; border-radius:13px; font-size:14px; background:#fff; }
.vs-pass .vs-input input:focus{ border-color:var(--teal); box-shadow:0 0 0 4px rgba(15,110,120,.14); }
.vs-pass .vs-eye{ top:3px; right:3px; width:40px; height:40px; }
.vs-pass .vs-caps{ margin-top:4px; font-size:11.5px; }

.vs-fields-sub{ align-items:end; }
.vs-keeprow{ margin:0 0 12px; min-height:46px; display:flex; flex-direction:row; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; font-size:13px; }
.vs-pass .vs-check{ min-height:0; font-size:13px; gap:8px; color:#3d4c4f; }
.vs-pass .vs-check input{ width:20px; height:20px; border-radius:6px; flex:0 0 auto; }

.vs-pass .vs-submit{
  height:50px; border-radius:14px; gap:12px; margin-top:2px;
  background:linear-gradient(180deg,#f7b13c,#ea8c10); color:#2b1a02;
  font-size:14px; font-weight:800; letter-spacing:.2em; text-transform:uppercase;
  box-shadow:0 14px 28px rgba(234,140,16,.32), inset 0 1px 0 rgba(255,255,255,.4);
}
.vs-pass .vs-submit:hover{ box-shadow:0 18px 34px rgba(234,140,16,.4), inset 0 1px 0 rgba(255,255,255,.4); }
.vs-pass .vs-submit:focus-visible{ outline:3px solid var(--teal); }
.vs-pass .vs-secure{ justify-content:flex-start; margin:10px 0 0; font-size:11.5px; gap:7px; }

.vs-pass-info{
  margin:12px 24px 0; padding:12px 0 16px; border-top:2px dashed #ddd5c2;
  display:grid; grid-template-columns:repeat(4, 1fr); gap:10px;
}
.vs-pass-info dt{ font-size:9.5px; font-weight:800; letter-spacing:.2em; text-transform:uppercase; color:#7b8789; margin:0 0 3px; }
.vs-pass-info dd{ margin:0; font:600 15px/1.1 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; color:var(--deep); letter-spacing:.02em; }

/* right: the teal stub */
.vs-pass-side{
  position:relative; display:flex; flex-direction:column; justify-content:space-between; gap:14px;
  padding:22px 18px 18px 22px; border-radius:0 22px 22px 0; color:#fff;
  background:linear-gradient(180deg,#0c5360 0%,#073a43 100%);
}
.vs-pass-side::before{ content:""; position:absolute; left:-1px; top:16px; bottom:16px; border-left:2px dashed rgba(207,199,180,.9); }
.vs-pass-side .vs-eyebrow{ color:var(--saffron); font-size:10.5px; letter-spacing:.22em; }
.vs-pass-side h2{ font-family:var(--display); font-weight:600; font-size:clamp(22px, 3.4vh, 29px); line-height:1.08; margin:10px 0 14px; color:#fff; }
.vs-pass-side h2 em{ color:var(--saffron); font-style:italic; }
.vs-side-grid{ margin:0; display:grid; grid-template-columns:1fr 1fr; gap:12px 10px; }
.vs-side-grid dt{ font-size:9px; font-weight:800; letter-spacing:.2em; text-transform:uppercase; color:#7fd0d2; margin:0 0 3px; }
.vs-side-grid dd{ margin:0; font:700 14px/1.1 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; color:#fff; }
.vs-side-bottom{ display:flex; flex-direction:column; gap:10px; }
.vs-barcode{ height:54px; padding:6px 8px; border-radius:8px; color:#062a2f; background:#fff; }
.vs-side-tag{ font-family:var(--display); font-size:13px; color:#e9d7b5; text-align:center; line-height:1.2; }

/* notches where the stub tears off */
.vs-notch{ position:absolute; z-index:2; width:28px; height:28px; border-radius:50%; background:#0a2d34; left:calc(100% - var(--stub) - 14px); }
.vs-notch-t{ top:-14px; }
.vs-notch-b{ bottom:-14px; }

.vs-panel .vs-help{ margin:0; color:#9fb9bb; }

/* shorter screens: tighten so the pass still fits without scrolling */
@media (max-height:760px){
  .vs-pass-head{ height:46px; }
  .vs-pass-body{ padding-top:10px; }
  .vs-welcome{ margin:8px 0 10px; }
  .vs-pass .vs-field{ margin-bottom:9px; }
  .vs-pass .vs-input input{ height:42px; }
  .vs-pass .vs-eye{ width:36px; height:36px; }
  .vs-keeprow{ min-height:42px; margin-bottom:9px; }
  .vs-pass .vs-submit{ height:46px; }
  .vs-pass-info{ margin-top:8px; padding:9px 0 12px; }
  .vs-panel{ padding-top:12px; padding-bottom:12px; gap:10px; }
}

/* narrower windows: hero hides, the pass is centred on its own */
@media (max-width:1180px){
  .vs-hero{ display:none; }
  .vs-panel{ padding:24px 16px; }
}
/* short laptop screens: only the SPACING of the left panel tightens (picture and text unchanged) so nothing scrolls */
@media (min-width:1181px) and (max-height:720px){
  .vs-hero{ padding-top:22px; padding-bottom:22px; }
  .vs-hero-copy h2{ margin:8px 0 10px; font-size:clamp(34px,3.8vw,52px); }
  .vs-hero-plane-wrap{ height:150px; }
  .vs-hero-plane{ top:14px; }
  .vs-hero-trail{ top:112px; }
}
/* phones: stub drops under the ticket */
@media (max-width:640px){
  .vs-pass{ grid-template-columns:1fr; --stub:0px; }
  .vs-pass-left{ border-radius:22px 22px 0 0; }
  .vs-pass-side{ border-radius:0 0 22px 22px; flex-direction:row; align-items:center; padding:16px 18px; }
  .vs-pass-side::before{ left:16px; right:16px; top:-1px; bottom:auto; border-left:0; border-top:2px dashed rgba(207,199,180,.9); }
  .vs-pass-side h2, .vs-pass-side .vs-eyebrow, .vs-side-tag{ display:none; }
  .vs-side-top{ flex:1; } .vs-side-bottom{ flex:0 0 112px; }
  .vs-side-grid{ grid-template-columns:repeat(4, auto); gap:6px 14px; }
  .vs-notch{ display:none; }
  .vs-pass-head{ padding:0 18px; }
  .vs-pass-title{ font-size:19px; }
  .vs-pass-class{ font-size:9.5px; padding:6px 10px 5px; letter-spacing:.14em; }
  .vs-pass-body{ padding:12px 18px 0; }
  .vs-pass-info{ margin:10px 18px 0; grid-template-columns:repeat(2, 1fr); }
  .vs-panel{ padding:16px 12px 24px; justify-content:flex-start; }
}

/* =========================================================
   LOADER (plane · success · parachute)
   ========================================================= */
#vs-loader{
  position:fixed; inset:0; z-index:9999; overflow:hidden;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:22px;
  background:
    radial-gradient(90% 55% at 50% 108%, rgba(255,214,150,.95) 0%, rgba(243,154,30,.55) 25%, rgba(243,154,30,0) 60%),
    linear-gradient(180deg,#052327 0%,#0a4a52 38%,#1f7b7c 64%,#7fb3a2 82%,#f2c58a 100%);
  font-family:var(--ui); color:var(--ivory);
  opacity:0; visibility:hidden; transition:opacity .45s ease, visibility .45s ease;
}
#vs-loader.vs-show{ opacity:1; visibility:visible; }
#vs-loader .vs-stars{ height:45%; }

.vs-cloud{
  position:absolute; left:100%; pointer-events:none;
  background:
    radial-gradient(closest-side at 30% 62%, #fff 0, #fff 70%, rgba(255,255,255,0) 100%),
    radial-gradient(closest-side at 52% 40%, #fff 0, #fff 72%, rgba(255,255,255,0) 100%),
    radial-gradient(closest-side at 72% 60%, #fbf3e6 0, #fbf3e6 70%, rgba(255,255,255,0) 100%),
    radial-gradient(closest-side at 50% 78%, #f1dcc0 0, #f1dcc0 65%, rgba(255,255,255,0) 100%);
  background-repeat:no-repeat;
  background-size:55% 80%, 50% 95%, 50% 75%, 95% 45%;
  background-position:0% 70%, 35% 0%, 100% 70%, 50% 100%;
  animation:vs-drift linear infinite;
}
.vs-far { z-index:1; filter:blur(3px); opacity:.35; }
.vs-mid { z-index:2; filter:blur(1.5px); opacity:.55; }
.vs-near{ z-index:6; filter:blur(6px); opacity:.75; }
.vs-f1{ top:12%; width:160px; height:70px;  animation-duration:18s; }
.vs-f2{ top:34%; width:120px; height:52px;  animation-duration:21s; animation-delay:-9s; }
.vs-f3{ top:60%; width:180px; height:70px;  animation-duration:19s; animation-delay:-4s; }
.vs-m1{ top:22%; width:260px; height:110px; animation-duration:10s; animation-delay:-2s; }
.vs-m2{ top:56%; width:300px; height:120px; animation-duration:12s; animation-delay:-7s; }
.vs-n1{ top:70%; width:560px; height:210px; animation-duration:6.5s; animation-delay:-1s; }
.vs-n2{ top:-4%; width:440px; height:170px; animation-duration:8s; animation-delay:-5s; }
@keyframes vs-drift{ from{ transform:translateX(0); } to{ transform:translateX(calc(-100vw - 620px)); } }

.vs-stage{ position:relative; z-index:4; width:min(660px,94vw); aspect-ratio:1100/326; }
.vs-plane{
  position:absolute; inset:0; width:100%; height:100%; object-fit:contain;
  animation:vs-bob 3.4s ease-in-out infinite;
  filter:drop-shadow(0 22px 22px rgba(4,30,34,.35));
}
@keyframes vs-bob{
  0%,100%{ transform:translate(0,0) rotate(-1deg); }
  25%    { transform:translate(6px,-6px) rotate(-.3deg); }
  50%    { transform:translate(0,-11px) rotate(.7deg); }
  75%    { transform:translate(-6px,-4px) rotate(0); }
}
.vs-trail{ position:absolute; z-index:3; right:52%; height:4px; border-radius:4px;
  background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.9)); filter:blur(1.5px);
  animation:vs-streak 1.1s linear infinite; }
.vs-t1{ top:76%; width:50%; }
.vs-t2{ top:82%; width:36%; animation-delay:-.55s; opacity:.7; }
@keyframes vs-streak{ 0%{opacity:0; transform:translateX(20px);} 25%{opacity:1;} 100%{opacity:0; transform:translateX(-90px);} }

.vs-status{ position:relative; z-index:7; text-align:center; text-shadow:0 2px 14px rgba(4,30,34,.55); min-height:86px; }
.vs-status-title{ font-family:var(--display); font-size:38px; font-weight:500; line-height:1.1; }
.vs-status-title em{ color:#ffd9a0; }
.vs-status-sub{ margin-top:8px; font-size:14px; letter-spacing:.06em; color:#eaf3f0; transition:opacity .3s; }

.vs-route{ position:relative; z-index:7; width:min(380px,82vw); display:flex; align-items:center; gap:12px; font-size:11px; letter-spacing:.24em; text-transform:uppercase; color:#e9f1ee; }
.vs-track{ position:relative; flex:1; height:2px; background:rgba(255,255,255,.28); border-radius:2px; }
.vs-fill{ position:absolute; left:0; top:0; height:100%; width:0; border-radius:2px; background:linear-gradient(90deg,var(--gold),var(--saffron)); box-shadow:0 0 12px rgba(243,154,30,.8); }
#vs-loader.vs-show .vs-fill{ animation:vs-progress 7s cubic-bezier(.15,.7,.2,1) forwards; }
@keyframes vs-progress{ from{ width:0; } to{ width:88%; } }
.vs-fill::after{ content:""; position:absolute; right:-5px; top:-4px; width:10px; height:10px; border-radius:50%; background:#fff; box-shadow:0 0 0 4px rgba(243,154,30,.35); }

/* success */
#vs-loader.vs-ok .vs-fill{ animation:none; width:100%; transition:width .5s ease; }
#vs-loader.vs-ok .vs-plane{ animation:vs-depart 1.2s .25s cubic-bezier(.5,0,.8,.4) forwards; }
@keyframes vs-depart{ to{ transform:translate(120vw,-18vh) rotate(-6deg); } }

/* failure: plane bails, parachute opens */
#vs-loader.vs-fail .vs-plane{ animation:vs-away 1.1s ease-in forwards; }
#vs-loader.vs-fail .vs-trail,
#vs-loader.vs-fail .vs-route{ display:none; }
@keyframes vs-away{ to{ transform:translate(110vw,-45vh) rotate(-9deg); } }
.vs-chute{ position:absolute; z-index:5; left:50%; top:-8%; width:130px; margin-left:-65px; opacity:0; pointer-events:none; }
#vs-loader.vs-fail .vs-chute{ animation:vs-drop 2.6s .35s cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes vs-drop{ 0%{opacity:0; transform:translateY(0);} 10%{opacity:1;} 100%{opacity:1; transform:translateY(70px);} }
.vs-chute-sway{ transform-origin:50% 0; }
#vs-loader.vs-fail .vs-chute-sway{ animation:vs-sway 3.2s 1.2s ease-in-out infinite; }
@keyframes vs-sway{ 0%,100%{ transform:rotate(-7deg);} 50%{ transform:rotate(7deg);} }
.vs-canopy{ transform-box:fill-box; transform-origin:50% 100%; transform:scale(.12,.05); }
#vs-loader.vs-fail .vs-canopy{ animation:vs-open .7s .75s cubic-bezier(.3,1.6,.5,1) forwards; }
@keyframes vs-open{ to{ transform:scale(1,1);} }
.vs-lines{ opacity:0; }
#vs-loader.vs-fail .vs-lines{ animation:vs-fade .3s .9s forwards; }
@keyframes vs-fade{ to{ opacity:1; } }
#vs-loader.vs-fail .vs-status{ margin-top:110px; opacity:0; animation:vs-fade .4s 1.2s forwards; }
.vs-retry{
  margin-top:20px; height:50px; padding:0 30px; border:0; border-radius:999px; cursor:pointer;
  background:var(--ivory); color:var(--teal-2); font:inherit; font-size:15px; font-weight:700; text-shadow:none;
  box-shadow:0 12px 26px rgba(4,30,34,.3);
}
.vs-retry:focus-visible{ outline:3px solid var(--saffron); outline-offset:3px; }

@media (prefers-reduced-motion:reduce){
  .vs-cloud,.vs-plane,.vs-trail,.vs-hero-plane,.vs-hero-trail,.vs-stars{ animation-duration:16s !important; }
}

/* ---------- admin integration tweaks ---------- */
.vs-row { justify-content: flex-end; }
.vs-notice { margin: 0 0 18px; padding: 10px 12px; border-radius: 12px; font-size: 13px; line-height: 1.5;
  background: #f3efe6; border: 1px solid var(--line); color: var(--muted); }
.vs-notice[hidden] { display: none; }
.vs-notice code { font-size: 12px; }
.vs-submit:disabled { opacity: .7; cursor: not-allowed; transform: none; }
/* parachute = cut-out photo */
.vs-chute { width: 190px; margin-left: -95px; }
.vs-chute-img { display: block; width: 100%; height: auto; filter: drop-shadow(0 10px 14px rgba(4,30,34,.35)); }
#vs-loader.vs-fail .vs-status { margin-top: 190px; }


/* logo badge */
.vs-logo { position: relative; align-self: flex-start; display: block; background: #fff; border-radius: 16px; padding: 10px 18px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.vs-logo img { display: block; width: clamp(200px, 22vw, 290px); height: auto; }


/* natural clouds: many soft puffs, wispy edges from an SVG turbulence filter */
.vs-cloud {
  background:
    radial-gradient(closest-side at 18% 62%, rgba(255,255,255,.95), rgba(255,255,255,0)),
    radial-gradient(closest-side at 34% 40%, rgba(255,255,255,1), rgba(255,255,255,0)),
    radial-gradient(closest-side at 52% 30%, rgba(255,255,255,1), rgba(255,255,255,0)),
    radial-gradient(closest-side at 68% 44%, rgba(255,255,255,.98), rgba(255,255,255,0)),
    radial-gradient(closest-side at 84% 64%, rgba(255,250,240,.9), rgba(255,255,255,0)),
    radial-gradient(closest-side at 50% 72%, rgba(255,236,205,.75), rgba(255,255,255,0));
  background-repeat: no-repeat;
  background-size: 38% 70%, 44% 90%, 42% 90%, 40% 80%, 36% 64%, 90% 55%;
  background-position: 0% 78%, 22% 30%, 50% 8%, 76% 34%, 100% 82%, 50% 100%;
}
.vs-far  { filter: url(#vs-cf1); }
.vs-mid  { filter: url(#vs-cf2); }
.vs-near { filter: url(#vs-cf3); }
.vs-far { opacity: .5; } .vs-mid { opacity: .7; } .vs-near { opacity: .85; }

/* sky-blue to sunset backdrop for the loader */
#vs-loader {
  background:
    radial-gradient(80% 45% at 50% 106%, rgba(255,226,160,.95) 0%, rgba(255,160,70,.6) 32%, rgba(255,140,60,0) 70%),
    linear-gradient(180deg, #2f7fd6 0%, #5aa7ea 38%, #a9d3f2 62%, #f8c98e 84%, #f59a52 100%);
}
#vs-loader .vs-stars { display: none; }

/* premium sunset backdrop for the brand panel */
.vs-hero {
  background:
    radial-gradient(46% 30% at 72% 76%, rgba(255,236,170,.95) 0%, rgba(255,184,86,.65) 28%, rgba(255,140,60,0) 70%),
    radial-gradient(120% 60% at 50% 112%, rgba(255,128,64,.75) 0%, rgba(214,74,92,.45) 42%, rgba(0,0,0,0) 72%),
    linear-gradient(180deg, #1a1446 0%, #3b2468 24%, #7a2f78 46%, #c24a6e 66%, #ee7d5a 84%, #f7b25e 100%);
}
.vs-hero::after {  /* soft vignette so text stays crisp */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(20,10,50,.38), rgba(20,10,50,0) 60%);
}
.vs-hero > * { z-index: 1; }
.vs-stars { opacity: .55; }
.vs-hero-copy h2 em { color: #ffd08a; }
.vs-eyebrow { color: #ffd9a0; }
.vs-hero-foot, .vs-hero-foot i { color: #fff1dc; }
.vs-bridge { opacity: .5; }

/* loader: same purple-to-orange sunset as the brand panel */
#vs-loader {
  background:
    radial-gradient(46% 30% at 72% 80%, rgba(255,236,170,.95) 0%, rgba(255,184,86,.65) 28%, rgba(255,140,60,0) 70%),
    radial-gradient(120% 60% at 50% 112%, rgba(255,128,64,.75) 0%, rgba(214,74,92,.45) 42%, rgba(0,0,0,0) 72%),
    linear-gradient(180deg, #1a1446 0%, #3b2468 24%, #7a2f78 46%, #c24a6e 66%, #ee7d5a 84%, #f7b25e 100%);
}
#vs-loader .vs-stars { display: block; opacity: .6; }
