/* ═══════════════════════════════════════════════════════════════
   AUTH MODAL — depth upgrade (blue base, gold accents, texture)
   Drop-in replacement for the existing .auth-modal rule block in
   index.html (~line 326). Everything else in the file is untouched.
   Requires: auth-assets/auth-modal-bg-blobs.png copied to your
   site's asset path (adjust the url() below to match).
   ═══════════════════════════════════════════════════════════════ */

.auth-modal{
  width:min(440px,94vw);
  background:
    /* GB roundel sits in the bottom-right corner of this image already,
       so a plain centered cover keeps it visible without extra tuning */
    url('/assets/auth-modal-bg-blobs.png') center / cover no-repeat,
    linear-gradient(180deg,#152040,#0e1730);
  border:1px solid rgba(255,210,74,.22);
  border-radius:20px;
  box-shadow:
    0 24px 80px rgba(0,0,0,.55),
    0 0 0 1px rgba(255,255,255,.03) inset,
    0 1px 0 rgba(255,220,130,.35) inset;   /* thin gold top highlight, embossed edge feel */
  padding:24px 22px;
  max-height:90vh;
  overflow-y:auto;
  cursor:default;
  position:relative;
}

/* subtle animated glow ring on the whole card when it opens */
.auth-modal{
  animation: authRise .35s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes authRise{
  from{ transform:translateY(10px) scale(.98); opacity:0; }
  to  { transform:translateY(0) scale(1); opacity:1; }
}

.auth-title{
  font-size:24px;font-weight:900;margin:0 0 6px;font-family:"Rajdhani",sans-serif;
  background:linear-gradient(180deg,#fff,#cdd8ff 60%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}

/* tabs: gold active state instead of flat blue */
.auth-tab{
  flex:1;padding:11px 12px;border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  color:var(--text);font-weight:700;cursor:pointer;font-size:14px;font-family:inherit;
  transition:transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.auth-tab.active{
  background:linear-gradient(180deg,var(--gold),var(--gold2));
  color:#08101f;
  border-color:transparent;
  box-shadow:0 6px 18px rgba(255,210,74,.35), 0 0 0 1px rgba(255,255,255,.15) inset;
  transform:translateY(-1px);
}

/* inputs: subtle inset depth + dual-tone focus ring (blue glow + thin gold edge) */
.form-row input{
  width:100%;padding:12px 14px;border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.05);
  color:var(--text);outline:none;font-size:14px;font-family:inherit;box-sizing:border-box;
  box-shadow:inset 0 1px 3px rgba(0,0,0,.4);
  transition:border-color .2s ease, box-shadow .2s ease;
}
.form-row input:focus{
  border-color:rgba(255,210,74,.55);
  box-shadow:
    inset 0 1px 3px rgba(0,0,0,.4),
    0 0 0 3px rgba(78,161,255,.18),
    0 0 14px rgba(255,210,74,.20);
}

/* primary submit buttons: gold gains a soft glow lift on hover, matching site .btn */
button.btn.secondary{
  background:linear-gradient(180deg,rgba(78,161,255,.95),rgba(78,161,255,.65));
  box-shadow:0 6px 18px rgba(78,161,255,.28);
  transition:transform .15s ease, filter .15s ease, box-shadow .2s ease;
}
button.btn.secondary:hover{
  transform:translateY(-2px);
  filter:brightness(1.06);
  box-shadow:0 10px 26px rgba(78,161,255,.4), 0 0 16px rgba(255,210,74,.18);
}

/* small brand mark row above the tabs — optional, purely decorative */
.auth-brandmark{
  display:flex;align-items:center;gap:10px;margin-bottom:14px;opacity:.9;
}
.auth-brandmark img{width:28px;height:28px;filter:drop-shadow(0 0 6px rgba(255,210,74,.4))}
.auth-brandmark span{font-family:"Rajdhani",sans-serif;font-size:12px;letter-spacing:.14em;
  text-transform:uppercase;color:var(--muted)}

.auth-social-divider{display:flex;align-items:center;gap:10px;margin:16px 0 12px;color:var(--muted);font-size:11px;letter-spacing:.08em;text-transform:uppercase}
.auth-social-divider::before,.auth-social-divider::after{content:"";flex:1;height:1px;background:rgba(255,255,255,.12)}
.auth-social-col{display:flex !important;flex-direction:column !important;flex-wrap:nowrap !important;gap:10px;margin-bottom:8px;width:100%}
.auth-social-col .social-btn-disabled{width:100% !important;flex:0 0 auto !important}
.social-btn-disabled{display:flex;align-items:center;justify-content:center;gap:10px;padding:14px 14px;border-radius:10px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.05);color:var(--text);font-size:14.5px;font-weight:700;font-family:inherit;cursor:not-allowed;opacity:.72}
.auth-social-note{text-align:center;color:var(--muted);font-size:11px;opacity:.6;margin-bottom:14px}
