body.auth-locked { overflow: hidden; }

#authBlocker{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
  z-index: 99998;
}
#authBlocker.active{ opacity: 1; pointer-events: auto; }

.floating-verify{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 99997;
  font-family: "Inter", sans-serif;
}

.fv-toggle{
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: #1a3e6f;
  color: #fff;
  box-shadow: 0 18px 55px rgba(15,23,42,.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: transform .15s ease, filter .15s ease;
}
.fv-toggle:hover{ transform: translateY(-2px); filter: brightness(.98); }

.fv-card{
  position: absolute;
  right: 0;
  bottom: 70px;
  width: 360px;
  max-width: calc(100vw - 36px);
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 22px;
  box-shadow: 0 28px 80px rgba(15,23,42,.22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 16px;
  display: none;
}
.fv-card.active{ display: block; }

.fv-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.fv-title{
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: #0b0f1a;
}
.fv-title i{ color: #1a3e6f; }

.fv-close{
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.78);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fv-sub{
  color: rgba(11,15,26,.65);
  font-size: 14px;
  line-height: 1.6;
  margin: 6px 0 12px;
}

.fv-form{
  display: flex;
  gap: 10px;
  align-items: center;
}
.fv-form input{
  flex: 1;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.14);
  background: rgba(255,255,255,.92);
  outline: none;
  font-size: 14px;
}
.fv-form button{
  padding: 12px 14px;
  border-radius: 16px;
  border: none;
  font-weight: 900;
  cursor: pointer;
  background: #1a3e6f;
  color: #fff;
  white-space: nowrap;
  box-shadow: 0 14px 34px rgba(26,62,111,.18);
}

.fv-hint{
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,204,0,.14);
  border: 1px solid rgba(255,204,0,.28);
  color: rgba(70,52,0,.98);
  font-size: 13.5px;
  line-height: 1.5;
}

.verify-modal{
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
  z-index: 99999;
  background: rgba(0,0,0,.50);
}
.verify-modal.active{ display: flex; }

.verify-modal-card{
  width: 100%;
  max-width: 440px;
  border-radius: 22px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: 0 28px 80px rgba(15,23,42,.22);
  padding: 24px 26px;
  position: relative;
  text-align: center;
  max-height: 85vh;
  overflow: auto;
}
.verify-close{
  position: absolute;
  top: 12px;
  right: 12px;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(0,0,0,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #333;
}
.verify-modal-title{
  font-family: "Merriweather", serif;
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 8px;
  color: #111;
}
.verify-modal-sub{
  font-size: 14.8px;
  color: #555;
  line-height: 1.65;
  margin-bottom: 10px;
}

/* =========================================================
   ✅ STATUS PILL (ACTIVE=GREEN, RENEWAL=ORANGE)
========================================================= */
.verify-status-row{
  display:flex;
  justify-content:center;
  margin: 6px 0 10px;
}

.verify-status-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 1000;
  font-size: 12.5px;
  letter-spacing: .6px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.90);
  color: #111;
  text-transform: uppercase;
}

.verify-status-pill.status-active{
  background: rgba(34,197,94,.14);
  border-color: rgba(34,197,94,.35);
  color: #166534;
}
.verify-status-pill.status-renewal{
  background: rgba(249,115,22,.14);
  border-color: rgb(255, 136, 0);
  color: #ff7b00;
}
.verify-status-pill.status-unknown{
  background: rgba(148,163,184,.18);
  border-color: rgba(148,163,184,.35);
  color: #334155;
}

/* =========================================================
   ID SHELL ACCENT (BORDER GLOW)
========================================================= */
.id-shell{
  display:flex;
  justify-content:center;
  align-items:center;
  width:100%;
}

.id-shell.status-active .id-card{
  box-shadow:
    0 10px 26px rgba(0,0,0,.16),
    0 0 0 3px rgba(34,197,94,.35);
}
.id-shell.status-renewal .id-card{
  box-shadow:
    0 10px 26px rgba(0,0,0,.16),
    0 0 0 3px rgba(249,115,22,.35);
}

/* ================= ID CARD ================= */
.id-card{
  position:relative;
  width:360px;
  height:228px;
  border-radius:18px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 10px 26px rgba(0,0,0,.16);
  margin:12px auto 0;
  font-family:"Inter",sans-serif;
}
.id-bg{width:100%;height:100%;object-fit:cover}
.id-number{
  position:absolute;
  top:69px;
  left:35px;
  font-size:7px;
  font-weight:900;
  letter-spacing:.6px;
  color:#111;
  text-shadow:0 1px 0 rgba(255,255,255,.6);
}
.id-last{
  position:absolute;
  top:76px;
  left:150px;
  font-size:16px;
  font-weight:900;
  letter-spacing:.7px;
  color:#111;
  white-space:nowrap;
}
.id-first{
  position:absolute;
  top:100px;
  left:119px;
  font-size:15px;
  font-weight:800;
  letter-spacing:.4px;
  color:#111;
  white-space:nowrap;
}
.id-photo{
  position:absolute;
  top:85px;
  left:14px;
  width:96px;
  height:116px;
  object-fit:cover;
  border:3px solid rgba(255,255,255,.95);
  border-radius:14px;
  background:#eee;
  box-shadow:0 10px 20px rgba(0,0,0,.12);
}

/* bounded text box (club/position/region) */
.id-info{
  position:absolute;
  top:122px;
  left:119px;
  width:214px;
  bottom:34px;
  display:flex;
  flex-direction:column;
  gap:2px;
  text-align:left;
}

.id-club{
  position:relative;
  top:2px;
  font-size:10px;
  font-weight:900;
  line-height:1.08;
  word-break:break-word;
  overflow-wrap:anywhere;
}
.id-position{
  position:relative;
  top:6px;
  font-size:10.5px;
  font-weight:900;
  line-height:1.08;
  word-break:break-word;
  overflow-wrap:anywhere;
}
.id-region{
  position:relative;
  top:11px;
  font-size:10.2px;
  font-weight:900;
  line-height:1.08;
  word-break:break-word;
  overflow-wrap:anywhere;
}

/* STAMP (active only, placed inside card) */
/* .id-stamp-img{
  position:absolute;
  bottom:15px;
  left:90px;
  width:80px;
  transform:rotate(-15deg);
  z-index:20;
  opacity:.95;
  pointer-events:none;
} */

/* LOGIN MODAL (unchanged) */
.login-modal{
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.58);
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 18px;
}
.login-modal.active{ display: flex; }

.login-modal-card{
  width: 100%;
  max-width: 470px;
  border-radius: 24px;
  padding: 22px;
  position: relative;
  background: rgba(255,255,255,.90);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: 0 34px 110px rgba(15,23,42,.28);
  overflow: hidden;
}
.login-modal-card::before{
  content:"";
  position:absolute;
  inset:-140px -140px auto -140px;
  height:260px;
  background:
    radial-gradient(circle at 30% 50%, rgba(255,204,0,.30), transparent 58%),
    radial-gradient(circle at 70% 50%, rgba(255,76,76,.16), transparent 60%),
    radial-gradient(circle at 55% 40%, rgba(31,64,104,.14), transparent 62%);
  filter: blur(20px);
  opacity: .85;
  pointer-events: none;
}
.login-close{
  position:absolute;
  top:12px;
  right:12px;
  width:40px;
  height:40px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.08);
  background:rgba(255,255,255,.78);
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:2;
}

.login-tabs{
  display:flex;
  gap:8px;
  margin-bottom:18px;
  background:rgba(15,23,42,.06);
  padding:7px;
  border-radius:18px;
  position:relative;
  z-index:1;
}
.login-tab{
  flex:1;
  padding:11px 0;
  border-radius:14px;
  border:none;
  cursor:pointer;
  font-weight:950;
  font-size:14px;
  background:transparent;
  color:rgba(11,15,26,.62);
}
.login-tab.active{
  background:#fff;
  color:#111;
  box-shadow:0 10px 26px rgba(0,0,0,.10);
}

.login-panel{ display:none; position:relative; z-index:1; }
.login-panel.active{ display:block; }

.login-title{
  font-family:"Merriweather",serif;
  font-size:28px;
  font-weight:900;
  margin:6px 0 6px;
}
.login-sub{
  margin:0 0 16px;
  color:rgba(11,15,26,.65);
  font-size:14.6px;
  line-height:1.6;
}

.login-form label{
  display:block;
  font-weight:900;
  font-size:13px;
  margin:12px 0 6px;
  color:rgba(11,15,26,.82);
}
.login-form input{
  width:100%;
  padding:14px 14px;
  border-radius:18px;
  border:1px solid rgba(15,23,42,.12);
  background:rgba(255,255,255,.92);
  outline:none;
  font-size:14.5px;
}
.password-wrap{ display:flex; gap:10px; align-items:center; }
.password-wrap input{ flex:1; }
.toggle-pass{
  width:48px;
  height:48px;
  border-radius:18px;
  border:1px solid rgba(15,23,42,.12);
  background:rgba(255,255,255,.92);
  cursor:pointer;
}

.login-submit{
  width:100%;
  margin-top:16px;
  padding:14px 16px;
  border:none;
  border-radius:18px;
  background:#1a3e6f;
  color:#fff;
  font-weight:1000;
  cursor:pointer;
  box-shadow:0 18px 52px rgba(26,62,111,.18);
}

.login-alert{
  margin-top:14px;
  padding:12px 14px;
  border-radius:18px;
  font-weight:900;
  font-size:14px;
  text-align:center;
  border:1px solid rgba(15,23,42,.10);
}
.login-alert.error{ background:rgba(255,135,126,.18); color:#8b1d16; }
.login-alert.success{ background:rgba(128,212,131,.18); color:#1e6b2f; }

@media (max-width:420px){
  .id-card{ transform: scale(.92); transform-origin: top center; }
}