@import url("https://fonts.googleapis.com/css2?family=Exo+2:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700;800&family=Oxanium:wght@400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap");

*{box-sizing:border-box}body{margin:0;font-family:Inter,Segoe UI,Arial,sans-serif;background:#f5f7fb;color:#172033}.topbar{height:64px;background:#fff;border-bottom:1px solid #e6e9ef;display:flex;align-items:center;justify-content:space-between;padding:0 28px;position:sticky;top:0;z-index:5}.brand{font-weight:800;letter-spacing:.8px}.brand span{color:#2f5bd3}.big{font-size:25px;text-align:center;margin-bottom:5px}.auth-wrap{min-height:calc(100vh - 64px);display:grid;place-items:center;padding:30px}.auth-card{background:#fff;width:min(430px,100%);padding:32px;border-radius:16px;box-shadow:0 10px 35px #18233d12}.tabs{display:flex;border-bottom:1px solid #e6e9ef;margin:24px 0}.tab{flex:1;padding:12px;border:0;background:none;cursor:pointer;font-size:15px}.tab.active{font-weight:700;border-bottom:2px solid #2f5bd3}.container{width:min(1400px,94%);margin:28px auto}.welcome{display:flex;justify-content:space-between;align-items:center}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:18px 0}.stat{background:#fff;border:1px solid #e4e8f0;padding:20px;border-radius:12px}.stat strong{display:block;font-size:27px}.stat span{color:#667085}.choice-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:22px 0}.choice{background:#fff;border:1px solid #e0e5ee;border-radius:14px;padding:22px;text-align:left;cursor:pointer}.choice:hover{border-color:#2f5bd3;transform:translateY(-1px)}.choice b{display:block;font-size:17px;margin-bottom:8px}.choice span{color:#667085}.panel{background:#fff;border:1px solid #e2e6ee;border-radius:14px;padding:24px;margin:18px 0}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-bottom:18px}.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.admin-box{border:1px solid #e2e6ee;border-radius:12px;padding:18px}label{display:block;font-size:13px;font-weight:650;margin:0 0 6px;color:#475467}input,select{width:100%;height:42px;border:1px solid #cfd6e2;border-radius:7px;padding:0 12px;background:#fff;font-size:14px;margin-bottom:14px}.primary{background:#2f5bd3;color:white;border:0;border-radius:7px;padding:11px 18px;font-weight:700;cursor:pointer}.full{width:100%;margin-top:8px}.muted{color:#667085}.hidden{display:none!important}.msg{margin-top:12px;color:#b42318}.results-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:26px;flex-wrap:wrap}.download{background:#eef3ff;color:#2349b5;border:1px solid #cbd8ff;padding:9px 12px;border-radius:7px;cursor:pointer}.table-wrap{overflow:auto;border:1px solid #e2e6ee;margin-top:12px;max-height:65vh}.data-table{border-collapse:collapse;min-width:2200px;width:100%;font-size:12px}.data-table th,.data-table td{padding:8px 10px;border-bottom:1px solid #edf0f5;text-align:left;white-space:nowrap}.data-table th{position:sticky;top:0;background:#f7f8fb;z-index:1}.pager{display:flex;gap:8px;align-items:center;justify-content:center;margin:14px}.pill{display:inline-block;padding:4px 8px;background:#eef2f7;border-radius:20px;font-size:12px}.explore-card{background:#f8faff;border:1px solid #dbe4ff;border-radius:12px;padding:18px;margin-top:18px}.district-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:12px;margin-top:14px}.district-card{background:#fff;border:1px solid #e2e6ee;border-radius:10px;padding:15px;cursor:pointer}.user-row{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #eee;align-items:center}@media(max-width:800px){.choice-grid,.cards,.admin-grid,.form-grid{grid-template-columns:1fr}.topbar{padding:0 15px}.container{width:94%}}

.filter-note{margin-top:14px;padding:10px 12px;background:#f7f9fc;border:1px solid #e3e8f0;border-radius:8px;color:#667085;font-size:13px}
.column-filter-row th{background:#fff;position:sticky;top:34px;z-index:2;padding:5px}
.column-filter-row input{margin:0;width:100%;height:30px;font-size:11px;padding:0 6px}
.age-filter{display:flex;gap:4px;min-width:110px}
.age-filter input{min-width:50px}
.enabled{background:#16803c}
.disabled{background:#667085}
.download-area{display:flex;gap:8px;flex-wrap:wrap}

.filter-th{min-width:90px}
.th-content{display:flex;align-items:center;justify-content:space-between;gap:5px;min-width:max-content}
.filter-arrow{border:1px solid #cfd6e2;background:#fff;border-radius:3px;width:20px;height:20px;padding:0;font-size:10px;cursor:pointer;line-height:18px}
.filter-arrow:hover{background:#eaf0ff;border-color:#8aa4ef}
.column-filter-menu{position:fixed;z-index:1000;width:310px;max-height:430px;overflow:auto;background:#fff;border:1px solid #cfd6e2;border-radius:7px;box-shadow:0 10px 30px rgba(0,0,0,.16);padding:12px}
.filter-menu-title{font-weight:700;font-size:14px;margin-bottom:10px}
.column-filter-menu input,.column-filter-menu select{margin-bottom:9px}
.column-filter-menu select{height:auto;min-height:190px}
.column-filter-menu label{font-size:12px;margin-top:5px}
.filter-search{height:34px!important}
.filter-actions{display:flex;justify-content:flex-end;gap:7px;margin-top:5px}

.age-or{font-size:11px;color:#667085;border-top:1px solid #e7eaf0;border-bottom:1px solid #e7eaf0;padding:7px 0;margin:2px 0 7px}

.filter-selected-note{font-size:11px;color:#667085;padding:5px 0 2px}

/* Complete Search: data on the left, filters on the right */
.search-workspace{
  display:grid;
  grid-template-columns:minmax(0, 1fr) 330px;
  gap:24px;
  align-items:start;
}
.search-data-column{min-width:0}
.search-data-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:10px;
}
.search-data-header h2{margin:0 0 4px}
.search-sidebar{
  background:#f8faff;
  border:1px solid #dce4f2;
  border-radius:12px;
  padding:20px;
  position:sticky;
  top:82px;
}
.search-sidebar h2{margin:0 0 5px}
.search-sidebar .muted{font-size:13px;margin:0 0 18px}
.side-filter{margin-bottom:10px}
.side-filter input,.side-filter select{margin-bottom:5px}
.search-side-button{width:100%;margin-top:6px}
.sidebar-tip{
  margin-top:18px;
  padding:12px;
  background:#fff;
  border:1px solid #e2e6ee;
  border-radius:8px;
  font-size:12px;
  color:#667085;
}
.sidebar-tip b{display:block;color:#344054;margin-bottom:4px}
.sidebar-tip span{display:block;line-height:1.45}
@media(max-width:950px){
  .search-workspace{grid-template-columns:1fr}
  .search-sidebar{position:static;order:-1}
}

/* Vote Hoshiyar final search layout: Complete Search LEFT, Voter Data RIGHT */
.search-workspace{
  display:grid;
  grid-template-columns:330px minmax(0,1fr);
  gap:24px;
  align-items:start;
}
.search-sidebar{
  grid-column:1;
  grid-row:1;
}
.search-data-column{
  grid-column:2;
  grid-row:1;
  min-width:0;
}
.search-data-header h2{margin:0 0 4px}
.search-data-header{margin-bottom:10px}
.search-sidebar{
  background:#f8faff;
  border:1px solid #dce4f2;
  border-radius:12px;
  padding:20px;
  position:sticky;
  top:82px;
}
.search-sidebar h2{margin:0 0 5px}
.search-sidebar .muted{font-size:13px;margin:0 0 18px}
.side-filter{margin-bottom:11px}
.search-side-button{width:100%;margin-top:7px}
.sidebar-tip{
  margin-top:18px;
  padding:12px;
  background:#fff;
  border:1px solid #e2e6ee;
  border-radius:8px;
  font-size:12px;
  color:#667085;
}
.sidebar-tip b{display:block;color:#344054;margin-bottom:4px}
.sidebar-tip span{display:block;line-height:1.45}
@media(max-width:950px){
  .search-workspace{grid-template-columns:1fr}
  .search-sidebar,.search-data-column{
    grid-column:1;
    grid-row:auto;
  }
  .search-sidebar{position:static}
}

/* FULL-WIDTH DESKTOP LAYOUT */
html, body{
  width:100%;
  min-width:100%;
}
body{
  margin:0;
}
.container, main, .page, .app-container{
  width:100%;
  max-width:none !important;
  margin-left:0 !important;
  margin-right:0 !important;
}
main{
  padding-left:20px;
  padding-right:20px;
  box-sizing:border-box;
}
.panel{
  width:100%;
  box-sizing:border-box;
}
.search-workspace{
  width:100%;
  box-sizing:border-box;
  grid-template-columns:330px minmax(0,1fr);
}
.search-data-column{
  width:100%;
  min-width:0;
}
.table-wrap{
  width:100%;
  max-width:none;
}
.data-table{
  width:100%;
}
@media (min-width:1200px){
  main{
    padding-left:24px;
    padding-right:24px;
  }
}

/* Premium voting-themed authentication screen */
.auth-shell{min-height:100vh;background:linear-gradient(135deg,#f7fbff 0%,#eef5ff 48%,#fff 100%);display:flex;flex-direction:column;color:#10245b}
.auth-brandbar{height:58px;display:flex;align-items:center;justify-content:space-between;padding:0 28px;border-bottom:1px solid #dce8f5;background:rgba(255,255,255,.88)}
.auth-logo{display:flex;align-items:center;gap:9px;font-weight:800;font-size:16px;letter-spacing:.3px}.auth-logo b{color:#2453c6}.shield{width:27px;height:30px;display:grid;place-items:center;background:linear-gradient(145deg,#0d57d7,#00a878);clip-path:polygon(50% 0,92% 16%,86% 70%,50% 100%,14% 70%,8% 16%);color:#fff;font-size:13px}.auth-tagline{font-size:12px;color:#64748b}
.auth-layout{width:min(1180px,94%);margin:0 auto;flex:1;display:grid;grid-template-columns:1.1fr .9fr;gap:44px;align-items:center;padding:28px 0 22px}
.auth-hero{position:relative;min-height:620px;padding:28px 20px 0 10px;overflow:hidden}.auth-hero h1{font-size:40px;line-height:1.05;margin:42px 0 12px;letter-spacing:-1.5px}.auth-hero h1 span{color:#1d4ed8}.auth-hero>p{max-width:520px;color:#64748b;font-size:14px;line-height:1.6}.hero-glow{position:absolute;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,#dbeafe 0,#eef6ff 52%,transparent 70%);right:10px;top:20px;opacity:.8}.india-watermark{position:absolute;right:90px;top:80px;font-size:220px;color:#dbeafe;opacity:.55;transform:rotate(18deg)}
.ballot-illustration{position:absolute;right:80px;top:48px;width:220px;height:180px;z-index:1}.ballot-box{position:absolute;left:62px;top:45px;width:110px;height:82px;border-radius:8px 8px 13px 13px;background:linear-gradient(#fff,#dbeafe);border:3px solid #2563eb;box-shadow:0 10px 25px #2563eb24}.ballot-slot{width:60px;height:8px;background:#172554;border-radius:8px;margin:14px auto}.ballot-paper{position:absolute;left:34px;top:-30px;width:46px;height:60px;background:#fff;border:2px solid #16a34a;transform:rotate(-9deg);display:grid;place-items:center;color:#16a34a;font-size:30px;box-shadow:0 6px 12px #0001}.vote-person{position:absolute;bottom:8px;width:42px;height:58px;background:#93c5fd;border-radius:22px 22px 8px 8px}.vote-person:before{content:"";position:absolute;width:28px;height:28px;border-radius:50%;background:#f5c9a9;top:-22px;left:7px}.person-one{left:10px;background:#60a5fa}.person-two{left:164px;background:#34d399}.person-three{left:105px;background:#a78bfa}
.security-points{display:grid;grid-template-columns:1fr 1fr;gap:13px;max-width:560px;margin-top:24px}.security-points div{display:grid;grid-template-columns:30px 1fr;column-gap:8px}.security-points span{grid-row:span 2;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#fff;border:1px solid #dbeafe;color:#2563eb}.security-points b{font-size:12px}.security-points small{font-size:10px;color:#64748b;line-height:1.35}
.auth-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:28px;max-width:600px}.auth-stats div{background:#fff;border:1px solid #dce8f5;border-radius:6px;padding:10px;text-align:center;box-shadow:0 4px 12px #1e40af08}.auth-stats strong{display:block;color:#1243b5;font-size:13px}.auth-stats small{font-size:9px;color:#64748b}
.auth-card{background:rgba(255,255,255,.96);width:min(420px,100%);justify-self:end;padding:30px 32px;border-radius:9px;box-shadow:0 14px 45px #1e3a8a18;border:1px solid #e4ebf5;text-align:left}.welcome-icon{margin:0 auto 8px;width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#f0fdf4;border:1px solid #86efac;font-size:24px}.auth-card h2{text-align:center;font-size:18px;margin:6px 0}.auth-subtitle{text-align:center;color:#64748b;font-size:11px;margin:0 0 18px}.tabs{display:flex;border:0;background:#f3f6fb;border-radius:6px;padding:3px;margin:0 0 18px}.tab{padding:9px;border-radius:5px;color:#64748b}.tab.active{background:#fff;color:#1745b8;border:0;box-shadow:0 2px 5px #0000000d}
.input-icon{position:relative}.input-icon>span{position:absolute;left:10px;top:13px;color:#94a3b8;font-size:12px;z-index:1}.input-icon input{padding-left:31px;height:38px;font-size:11px}.auth-card label{font-size:10px}.auth-options{display:flex;justify-content:space-between;align-items:center;font-size:9px;color:#64748b;margin-top:-4px;margin-bottom:9px}.auth-options label{display:flex;align-items:center;gap:4px;font-size:9px;font-weight:400}.auth-options input{width:auto;height:auto;margin:0}.auth-options a,.auth-bottom a{color:#1745b8;text-decoration:none}.auth-submit{height:38px;font-size:11px;background:linear-gradient(90deg,#073fae,#114dc8)}.or-divider{display:flex;align-items:center;gap:8px;color:#94a3b8;font-size:9px;margin:12px 0}.or-divider:before,.or-divider:after{content:"";height:1px;background:#e5e7eb;flex:1}.or-divider span{flex:none}.otp-login{width:100%;height:36px;background:#fff;border:1px solid #d7dee9;border-radius:6px;color:#1745b8;font-size:10px;cursor:pointer}.auth-bottom{text-align:center;font-size:9px;color:#64748b;margin-top:16px}.auth-footer{height:34px;background:#09295d;color:#fff;display:flex;justify-content:space-between;align-items:center;padding:0 28px;font-size:9px}
.resizing-column{cursor:col-resize!important;user-select:none}.filter-th{position:relative}.col-resizer{position:absolute;right:-2px;top:0;width:6px;height:100%;cursor:col-resize;z-index:4}.col-resizer:hover{background:#3b82f6}
@media(max-width:900px){.auth-layout{grid-template-columns:1fr}.auth-hero{display:none}.auth-card{justify-self:center}.auth-brandbar{padding:0 15px}.auth-tagline{display:none}}

/* AUTHENTICATION SCREEN BUG FIXES / FINAL POLISH */
body:has(#authView:not(.hidden)) > .topbar{
  display:none !important;
}
#authView{
  width:100%;
  min-height:100vh;
  box-sizing:border-box;
}
.auth-layout{
  width:min(1320px,94vw);
  min-height:calc(100vh - 92px);
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(360px,.75fr);
  gap:70px;
  align-items:center;
  padding:32px 0 28px;
  box-sizing:border-box;
}
.auth-hero{
  min-height:0;
  height:auto;
  padding:30px 0 20px;
  overflow:hidden;
}
.auth-hero h1{
  position:relative;
  z-index:3;
  max-width:570px;
  font-size:48px;
  line-height:1.03;
  margin:0 0 18px;
  letter-spacing:-2px;
}
.auth-hero>p{
  position:relative;
  z-index:3;
  max-width:570px;
  font-size:14px;
  margin-bottom:24px;
}
.hero-glow{
  width:520px;
  height:520px;
  right:0;
  top:0;
}
.india-watermark{
  right:30px;
  top:40px;
  font-size:180px;
  opacity:.25;
}
.ballot-illustration{
  right:70px;
  top:105px;
  width:230px;
  height:190px;
  z-index:2;
  opacity:.95;
}
.security-points{
  position:relative;
  z-index:4;
  max-width:650px;
  gap:18px 30px;
  margin-top:22px;
}
.security-points div{
  background:rgba(255,255,255,.72);
  border-radius:8px;
  padding:8px;
}
.auth-stats{
  position:relative;
  z-index:4;
  max-width:650px;
  gap:12px;
  margin-top:22px;
}
.auth-stats div{
  min-height:58px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.auth-stats strong{font-size:15px}
.auth-stats small{font-size:10px}
.auth-card{
  width:min(430px,100%);
  justify-self:end;
  align-self:center;
  box-sizing:border-box;
  padding:30px 32px;
  z-index:10;
}
.auth-brandbar{
  height:58px;
  flex-shrink:0;
}
.auth-footer{
  flex-shrink:0;
}
@media(max-width:1050px){
  .auth-layout{
    gap:35px;
    grid-template-columns:minmax(0,1fr) minmax(340px,.72fr);
  }
  .ballot-illustration{right:10px;opacity:.65}
  .auth-hero h1{font-size:42px}
}
@media(max-width:900px){
  .auth-layout{
    min-height:calc(100vh - 92px);
    grid-template-columns:1fr;
    width:min(500px,92vw);
    padding:28px 0;
  }
  .auth-hero{display:block;text-align:center;padding:10px 0}
  .auth-hero h1{font-size:36px}
  .auth-hero>p{margin-left:auto;margin-right:auto}
  .ballot-illustration,.india-watermark,.hero-glow{display:none}
  .security-points{display:none}
  .auth-stats{max-width:500px;margin:18px auto}
  .auth-card{justify-self:center;width:100%}
}
@media(max-width:520px){
  .auth-stats{grid-template-columns:repeat(2,1fr)}
  .auth-card{padding:24px 20px}
  .auth-brandbar{padding:0 15px}
}

/* FINAL VOTER DATA TABLE POLISH */
.table-wrap{overflow:auto;width:100%;max-width:100%;background:#fff}
.data-table{
  border-collapse:separate;
  border-spacing:0;
  table-layout:fixed;
  min-width:2200px;
  width:100%;
}
.data-table th,
.data-table td{
  border-right:1px solid #d9dee8 !important;
  border-bottom:1px solid #d9dee8 !important;
  box-sizing:border-box;
}
.data-table th:first-child,
.data-table td:first-child{
  border-left:1px solid #d9dee8 !important;
}
.data-table thead tr:first-child th{
  border-top:1px solid #bfc7d4 !important;
  border-right:1px solid #bfc7d4 !important;
  background:#f3f5f8 !important;
  font-weight:700;
  position:sticky;
  top:0;
  z-index:6;
}
.data-table thead tr:first-child th:last-child{
  border-right:1px solid #bfc7d4 !important;
}
.filter-th{position:relative;min-width:90px}
.th-content{height:100%;min-height:28px}
.filter-arrow{
  flex:0 0 20px;
  border:1px solid #aeb7c5;
  background:#fff;
  color:#344054;
}
.filter-arrow:hover{background:#e8eefc;border-color:#5071c8}
.col-resizer{
  position:absolute;
  right:-1px;
  top:0;
  width:7px;
  height:100%;
  cursor:col-resize;
  z-index:20;
}
.col-resizer:hover,
.filter-th.resizing-column .col-resizer{background:#2f5bd3}
.data-table tbody tr:hover td{background:#f8fbff}
.column-filter-menu{
  border:1px solid #9aa6b5 !important;
  box-shadow:0 12px 28px rgba(16,24,40,.20) !important;
}
.column-filter-menu select{
  border:1px solid #b7c0cd !important;
}
.column-filter-menu select option:checked{
  background:#dbe7ff;
}

/* Resize handles: invisible normally, blue only on the column being resized */
.data-table th .col-resizer{
  background:transparent !important;
}
.data-table th:hover .col-resizer{
  background:#cbd5e1 !important;
}
.data-table th.resizing-column .col-resizer{
  background:#2f5bd3 !important;
  width:4px;
}

/* Voter Data area: give the data workspace more vertical room */
.search-data-column{
  min-height:650px;
}
.search-data-column #results{
  min-height:540px;
}
.table-wrap{
  min-height:500px;
}
.data-table{
  min-width:2200px;
}

/* Checkbox-style Excel filter */
.filter-check-list{max-height:245px;overflow:auto;border:1px solid #9aa6b5;border-radius:6px;padding:3px;background:#fff}
.filter-check-row{display:flex!important;align-items:center;gap:8px;padding:6px 8px;font-size:13px;cursor:pointer;border-radius:3px}
.filter-check-row:hover{background:#f2f5f9}
.filter-check-row input{width:15px!important;height:15px!important;margin:0!important;accent-color:#315dcc}
.filter-check-row span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.all-row{border-bottom:1px solid #e5e7eb;margin-bottom:2px;font-weight:600}

/* User account menu */
.user-menu{position:relative;display:inline-block}
.user-menu-button{background:#fff;border:1px solid #cfd7e6;border-radius:7px;padding:8px 12px;cursor:pointer;font-size:13px}
.user-dropdown{position:absolute;right:0;top:42px;width:220px;background:#fff;border:1px solid #d5dce8;border-radius:9px;box-shadow:0 12px 30px rgba(0,0,0,.15);padding:6px;z-index:1000}
.user-dropdown button{display:block;width:100%;text-align:left;border:0;background:transparent;padding:10px;border-radius:6px;cursor:pointer}
.user-dropdown button:hover{background:#f2f5fb}
.user-dropdown .logout-item{color:#b42318}
.menu-divider{height:1px;background:#e5e7eb;margin:5px 0}

/* Modals */
.modal-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.48);display:flex;align-items:center;justify-content:center;z-index:3000;padding:20px}
.modal-card{position:relative;width:min(480px,94vw);max-height:85vh;overflow:auto;background:#fff;border-radius:14px;padding:26px;box-shadow:0 20px 60px rgba(0,0,0,.25)}
.modal-card h2{margin-top:0}.modal-card label{display:block;margin:12px 0 5px;font-weight:600;font-size:12px}
.modal-card input{width:100%;box-sizing:border-box;margin-bottom:3px}
.modal-close{position:absolute;right:12px;top:10px;border:0;background:transparent;font-size:26px;cursor:pointer;color:#667085}

/* Dark mode */
body.dark-mode{background:#0f172a;color:#e5e7eb}
body.dark-mode .topbar{background:#111827;border-color:#273449}
body.dark-mode .panel,body.dark-mode .choice,body.dark-mode .search-sidebar,body.dark-mode .auth-card,body.dark-mode .modal-card{background:#172033;border-color:#334155;color:#e5e7eb}
body.dark-mode .muted,body.dark-mode label,body.dark-mode .auth-subtitle{color:#aab5c7}
body.dark-mode input,body.dark-mode select{background:#111827;color:#e5e7eb;border-color:#475569}
body.dark-mode .user-menu-button{background:#172033;color:#e5e7eb;border-color:#475569}
body.dark-mode .user-dropdown{background:#172033;border-color:#475569}
body.dark-mode .user-dropdown button{color:#e5e7eb}
body.dark-mode .user-dropdown button:hover{background:#243047}
body.dark-mode .filter-check-list,body.dark-mode .column-filter-menu{background:#172033;border-color:#475569}
body.dark-mode .filter-check-row:hover{background:#243047}
body.dark-mode .filter-menu-title{color:#e5e7eb}
body.dark-mode .data-table thead tr:first-child th{background:#1e293b!important;color:#e5e7eb}
body.dark-mode .data-table td{background:#172033;color:#e5e7eb;border-color:#334155!important}
body.dark-mode .data-table tbody tr:hover td{background:#22304a}

/* FILTER BUTTON MUST STAY VISIBLE AFTER COLUMN RESIZE */
.data-table{
  table-layout:fixed !important;
}
.data-table th.filter-th{
  min-width:92px !important;
  width:auto;
  padding:5px 28px 5px 8px !important;
  overflow:visible !important;
  position:relative !important;
}
.data-table th.filter-th .th-content{
  width:100% !important;
  min-width:0 !important;
  max-width:100% !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:5px !important;
  overflow:hidden !important;
}
.data-table th.filter-th .th-content > span{
  flex:1 1 auto !important;
  min-width:0 !important;
  max-width:100% !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
}
.data-table th.filter-th .filter-arrow{
  flex:0 0 20px !important;
  width:20px !important;
  min-width:20px !important;
  max-width:20px !important;
  height:20px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  position:relative !important;
  z-index:30 !important;
  cursor:pointer !important;
}
.data-table th.filter-th .col-resizer{
  right:0 !important;
  width:4px !important;
  z-index:20 !important;
}
.data-table th.filter-th.resizing-column .filter-arrow{
  visibility:visible !important;
  opacity:1 !important;
}

.column-filter-menu{
  z-index:99999 !important;
  pointer-events:auto !important;
}
.column-filter-menu *{
  pointer-events:auto !important;
}

/* Vote Hoshiyar theme system */
:root{
  color-scheme: light;
  --vh-bg:#f5f7fb;
  --vh-surface:#ffffff;
  --vh-surface-2:#f8faff;
  --vh-text:#172033;
  --vh-muted:#667085;
  --vh-border:#d9e0eb;
  --vh-input:#ffffff;
  --vh-table-head:#f3f5f8;
  --vh-table-row:#ffffff;
  --vh-hover:#f7faff;
}
:root.dark-mode{
  color-scheme: dark;
  --vh-bg:#0d1424;
  --vh-surface:#151e31;
  --vh-surface-2:#10182a;
  --vh-text:#eef3ff;
  --vh-muted:#aebbd3;
  --vh-border:#33415a;
  --vh-input:#101827;
  --vh-table-head:#1c273b;
  --vh-table-row:#151e31;
  --vh-hover:#1c2940;
}
html,body{
  background:var(--vh-bg);
  color:var(--vh-text);
}
body.dark-mode,
html.dark-mode body{
  background:var(--vh-bg) !important;
  color:var(--vh-text) !important;
}
body.dark-mode .panel,
body.dark-mode .card,
body.dark-mode .search-sidebar,
body.dark-mode .user-menu,
body.dark-mode .auth-card{
  background:var(--vh-surface) !important;
  color:var(--vh-text) !important;
  border-color:var(--vh-border) !important;
}
body.dark-mode .muted,
body.dark-mode label,
body.dark-mode .sidebar-tip,
body.dark-mode p{
  color:var(--vh-muted) !important;
}
body.dark-mode input,
body.dark-mode select,
body.dark-mode textarea{
  background:var(--vh-input) !important;
  color:var(--vh-text) !important;
  border-color:var(--vh-border) !important;
}
body.dark-mode .data-table{
  background:var(--vh-surface) !important;
  color:var(--vh-text) !important;
}
body.dark-mode .data-table th{
  background:var(--vh-table-head) !important;
  color:var(--vh-text) !important;
  border-color:var(--vh-border) !important;
}
body.dark-mode .data-table td{
  background:var(--vh-table-row) !important;
  color:var(--vh-text) !important;
  border-color:var(--vh-border) !important;
}
body.dark-mode .data-table tbody tr:hover td{
  background:var(--vh-hover) !important;
}
body.dark-mode .filter-arrow{
  background:#202b40 !important;
  color:#eef3ff !important;
  border-color:#50617d !important;
}
body.dark-mode .column-filter-menu{
  background:#151e31 !important;
  color:#eef3ff !important;
  border-color:#50617d !important;
}
body.dark-mode .column-filter-menu input,
body.dark-mode .column-filter-menu select{
  background:#101827 !important;
  color:#eef3ff !important;
  border-color:#50617d !important;
}
body.dark-mode .column-filter-menu option{
  background:#101827 !important;
  color:#eef3ff !important;
}
body.dark-mode .filter-selected-note{
  color:#aebbd3 !important;
}
body.dark-mode .search-data-header,
body.dark-mode .results-head{
  color:var(--vh-text);
}
body.dark-mode .filter-note{
  background:#101827 !important;
  color:#aebbd3 !important;
  border-color:#33415a !important;
}
#themeToggle{
  cursor:pointer;
}

/* Eye-friendly light theme: no dark mode */
html,body{
  background:#eef2f6 !important;
  color:#172033;
}
body{
  min-height:100vh;
}
body .panel,
body .card,
body .search-sidebar{
  background:#f8fafc !important;
  border-color:#d9e0e8 !important;
}
body input,
body select,
body textarea{
  background:#f7f9fb !important;
  border-color:#cbd5e1 !important;
  color:#172033 !important;
}
body .data-table{
  background:#f8fafc !important;
}
body .data-table th{
  background:#e9eef3 !important;
  color:#172033 !important;
  border-color:#cbd5e1 !important;
}
body .data-table td{
  background:#f8fafc !important;
  color:#344054 !important;
  border-color:#d5dce5 !important;
}
body .data-table tbody tr:hover td{
  background:#eef3f7 !important;
}
body .filter-note{
  background:#eef3f7 !important;
  border-color:#d5dce5 !important;
  color:#667085 !important;
}
body .column-filter-menu{
  background:#f8fafc !important;
  border-color:#c5ced9 !important;
}
body .column-filter-menu input,
body .column-filter-menu select{
  background:#ffffff !important;
  color:#172033 !important;
  border-color:#c5ced9 !important;
}
body .filter-arrow{
  background:#f8fafc !important;
  color:#344054 !important;
  border-color:#b8c2cf !important;
}

/* COMPACT DASHBOARD CARDS + LARGE VOTER DATA */
.feature-card{height:72px !important;min-height:72px !important;padding:14px 22px !important;box-sizing:border-box !important;}
.feature-card h3{font-size:15px !important;margin:0 0 4px !important;}
.feature-card p{font-size:11px !important;margin:0 !important;}
.search-data-column{min-height:900px !important;}
#results{min-height:800px !important;}
.table-wrap{height:700px !important;max-height:700px !important;overflow:auto !important;}
@media(max-width:950px){.feature-card{height:68px !important;min-height:68px !important;}.search-data-column{min-height:700px !important;}#results{min-height:620px !important;}.table-wrap{height:560px !important;max-height:560px !important;}}

/* FINAL DASHBOARD LAYOUT */
.choice-grid{display:grid!important;grid-template-columns:300px 300px!important;gap:14px!important;margin:14px 0 18px!important}.choice{min-height:68px!important;height:68px!important;padding:12px 16px!important;border-radius:10px!important}.choice b{font-size:15px!important;margin-bottom:4px!important}.choice span{font-size:11px!important;line-height:1.3!important}#searchPanel.search-workspace{display:grid!important;grid-template-columns:330px minmax(0,1fr)!important;gap:22px!important;align-items:start!important;min-height:850px!important;padding:20px!important}#searchPanel .search-sidebar{width:100%!important;min-height:800px!important}#searchPanel .search-data-column{min-width:0!important;width:100%!important;min-height:800px!important}#searchPanel #results{width:100%!important;min-height:700px!important}#searchPanel .table-wrap{width:100%!important;height:650px!important;min-height:650px!important;max-height:650px!important;overflow:auto!important;background:#f8fafc!important}#searchPanel .data-table{min-width:2200px!important;width:max-content!important}#searchPanel .data-table th{position:sticky!important;top:0!important;z-index:5!important}@media(max-width:950px){.choice-grid{grid-template-columns:1fr 1fr!important}#searchPanel.search-workspace{grid-template-columns:280px minmax(0,1fr)!important}#searchPanel .table-wrap{height:550px!important;min-height:550px!important;max-height:550px!important}}@media(max-width:700px){.choice-grid{grid-template-columns:1fr!important}.choice{width:100%!important}#searchPanel.search-workspace{grid-template-columns:1fr!important}#searchPanel .search-sidebar{min-height:auto!important}#searchPanel .table-wrap{height:500px!important;min-height:500px!important;max-height:500px!important}}

/* Voter table: drag columns */
.data-table th.draggable-column{cursor:grab;user-select:none}
.data-table th.draggable-column:active{cursor:grabbing}
.data-table th.column-dragging{opacity:.5}
.data-table th.column-drag-over{border-left:3px solid #2f5bd3!important}

.column-tools{display:flex;gap:8px;align-items:center;margin:8px 0}
.column-selector-menu{position:fixed;z-index:3000;width:280px;max-height:450px;overflow:auto;background:#fff;border:1px solid #cfd6e2;border-radius:8px;box-shadow:0 12px 30px rgba(0,0,0,.18);padding:12px}
.column-selector-menu>b{display:block;margin-bottom:10px}
.column-selector-list{display:flex;flex-direction:column;gap:4px}
.column-selector-list label{display:flex;align-items:center;gap:8px;padding:6px;border-radius:5px;cursor:pointer}
.column-selector-list label:hover{background:#f3f6fb}
.column-selector-list input{width:auto;height:auto;margin:0}
.column-selector-actions{display:flex;justify-content:flex-end;gap:7px;margin-top:12px;padding-top:10px;border-top:1px solid #e5e7eb}

.column-manager-menu{position:fixed;z-index:5000;width:290px;max-height:450px;overflow:auto;background:#fff;border:1px solid #d0d7e2;border-radius:10px;box-shadow:0 12px 35px rgba(0,0,0,.18);padding:14px}
.column-manager-title{font-weight:700;font-size:15px;margin-bottom:5px}
.column-manager-note{font-size:12px;color:#667085;margin-bottom:10px}
.column-manager-list{display:flex;flex-direction:column;gap:2px}
.column-manager-row{display:flex;align-items:center;gap:8px;padding:7px;border-radius:6px;cursor:pointer}
.column-manager-row:hover{background:#f3f6fb}
.column-manager-row input{width:auto;height:auto;margin:0}
.column-manager-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px;padding-top:10px;border-top:1px solid #e5e7eb}


/* Voter statistics inside the data header */
.voter-stats-bar{
  display:flex;
  align-items:center;
  width:100%;
  min-height:44px;
  margin-top:12px;
  padding:0 8px;
  background:#f8fafc;
  border:1px solid #d8e0ec;
  border-radius:7px;
  overflow:hidden;
}
.voter-stat{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:30px;
  padding:4px 14px;
  border-right:1px solid #d8e0ec;
  font-size:13px;
  white-space:nowrap;
}
.voter-stat:last-child{border-right:0}
.voter-stat span{font-weight:650}
.voter-stat b{font-size:14px}
.voter-stat.total span,.voter-stat.total b{color:#2563eb}
.voter-stat.male span,.voter-stat.male b{color:#1d4ed8}
.voter-stat.female span,.voter-stat.female b{color:#db2777}
.voter-stat.third span,.voter-stat.third b{color:#7c3aed}
@media(max-width:700px){
  .voter-stats-bar{overflow-x:auto;justify-content:flex-start}
  .voter-stat{flex:0 0 auto;min-width:150px}
}


/* Vote Hoshiyar Admin Console */
.admin-shell{display:grid;grid-template-columns:245px minmax(0,1fr);min-height:calc(100vh - 64px);background:#f5f7fb;margin:-28px calc((94% - 100vw)/2) 0}
.admin-sidebar{background:#111827;color:#fff;padding:22px 14px;display:flex;flex-direction:column;min-height:calc(100vh - 64px);position:sticky;top:64px;height:calc(100vh - 64px)}
.admin-side-brand{display:flex;align-items:center;gap:10px;padding:4px 8px 28px;border-bottom:1px solid #293241;margin-bottom:18px}
.admin-side-brand b{display:block;font-size:14px;letter-spacing:.7px}.admin-side-brand small{display:block;color:#9ca3af;font-size:10px;margin-top:3px;letter-spacing:1px}
.admin-shield{width:36px;height:36px;border-radius:10px;background:#2f5bd3;display:grid;place-items:center;font-weight:800}
.admin-nav,.admin-back{border:0;background:transparent;color:#cbd5e1;text-align:left;padding:12px 13px;border-radius:9px;margin:2px 0;cursor:pointer;font-size:14px;display:flex;gap:11px;align-items:center}
.admin-nav:hover,.admin-nav.active{background:#1f2937;color:#fff}.admin-nav.active{box-shadow:inset 3px 0 #5b7cfa}
.admin-side-bottom{margin-top:auto;border-top:1px solid #293241;padding-top:12px}.admin-back{width:100%}.admin-back.danger:hover{background:#3a1f24;color:#fecaca}
.admin-main{padding:34px clamp(22px,4vw,48px);min-width:0}.admin-top{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:28px}.admin-kicker{font-size:11px;font-weight:800;color:#2f5bd3;letter-spacing:1.5px}.admin-top h1{margin:4px 0 5px;font-size:30px}.admin-status{background:#fff;border:1px solid #e2e6ee;padding:9px 12px;border-radius:20px;font-size:12px;color:#475467}.admin-status span{display:inline-block;width:7px;height:7px;background:#16803c;border-radius:50%;margin-right:7px}
.admin-stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.admin-stat{background:#fff;border:1px solid #e2e6ee;border-radius:14px;padding:19px;display:flex;gap:13px;align-items:center;box-shadow:0 3px 12px rgba(20,32,56,.035)}.admin-stat strong{display:block;font-size:24px;color:#172033}.admin-stat small{display:block;color:#667085;margin-top:4px}.stat-icon{width:42px;height:42px;border-radius:11px;background:#eef3ff;color:#2f5bd3;display:grid;place-items:center;font-size:18px}
.admin-two-col{display:grid;grid-template-columns:1.25fr 1fr;gap:18px}.admin-card{background:#fff;border:1px solid #e2e6ee;border-radius:14px;padding:22px;box-shadow:0 3px 12px rgba(20,32,56,.035)}.admin-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:18px}.admin-card h2,.admin-card h3{margin:0}.admin-card-head p{margin:5px 0 0;color:#667085;font-size:13px}
.quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.quick-actions button{border:1px solid #e2e6ee;background:#f9fafc;text-align:left;padding:15px;border-radius:10px;cursor:pointer}.quick-actions button:hover{border-color:#9bb0f2;background:#f4f7ff}.quick-actions b,.quick-actions span{display:block}.quick-actions span{font-size:12px;color:#667085;margin-top:5px}
.download-control{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:16px;background:#f8faff;border:1px solid #dbe4ff;border-radius:11px}.download-control strong,.download-control span{display:block}.download-control span{font-size:12px;color:#667085;margin-top:4px}.admin-toggle{border:0;border-radius:8px;padding:10px 13px;color:#fff;font-weight:700;cursor:pointer;white-space:nowrap}.admin-toggle.enabled{background:#16803c}.admin-toggle.disabled{background:#667085}
.upload-zone{border:2px dashed #cfd8e8;border-radius:13px;padding:34px;text-align:center;background:#fafcff}.upload-icon{font-size:28px;color:#2f5bd3}.upload-zone h3{margin:10px 0 5px}.upload-zone p{color:#667085;font-size:13px}.upload-zone input{max-width:420px;margin:12px auto;display:block}.admin-note{margin-top:16px;padding:12px 14px;border-radius:9px;background:#f7f9fc;border:1px solid #e3e8f0;color:#667085;font-size:12px}.admin-users .user-row{padding:14px 2px}.secondary-btn{border:1px solid #cfd6e2;background:#fff;border-radius:7px;padding:8px 12px;cursor:pointer}.security-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.security-grid>div{padding:15px;border:1px solid #e2e6ee;border-radius:10px;background:#fafbfc}.security-grid b,.security-grid span{display:block}.security-grid span{font-size:12px;color:#667085;margin-top:5px}.settings-list>div{display:flex;justify-content:space-between;gap:20px;padding:16px 0;border-bottom:1px solid #edf0f5;align-items:center}.settings-list b,.settings-list span{display:block}.settings-list span{font-size:12px;color:#667085;margin-top:4px}.setting-badge{background:#eef2f7!important;color:#475467!important;border-radius:15px;padding:5px 9px!important;white-space:nowrap}
@media(max-width:1050px){.admin-stat-grid{grid-template-columns:repeat(2,1fr)}.admin-two-col{grid-template-columns:1fr}}
@media(max-width:760px){.admin-shell{grid-template-columns:1fr;margin:-15px 0 0}.admin-sidebar{position:relative;top:0;height:auto;min-height:0}.admin-side-bottom{margin-top:15px}.admin-main{padding:22px 14px}.admin-top{display:block}.admin-status{display:inline-block;margin-top:12px}.admin-stat-grid,.quick-actions,.security-grid{grid-template-columns:1fr}}

/* ADMIN MODE ISOLATION */
#dashboardView.admin-mode #searchPanel,
#dashboardView.admin-mode #explorePanel {
  display: none !important;
}
#dashboardView.admin-mode #adminPanel {
  display: grid !important;
}
#adminPanel.admin-shell {
  width: 100%;
  box-sizing: border-box;
  margin-top: 0;
}

/* FINAL ADMIN LAYOUT FIX
   The admin console lives inside the shared .container used by the user UI.
   In admin mode, remove that user's width/margins so the sidebar starts at x=0. */
#dashboardView.admin-mode > .container{
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
  box-sizing:border-box !important;
}
#dashboardView.admin-mode .admin-shell{
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  box-sizing:border-box !important;
  grid-template-columns:250px minmax(0,1fr);
}
#dashboardView.admin-mode .admin-sidebar{
  width:250px;
  box-sizing:border-box;
}
#dashboardView.admin-mode .admin-main{
  min-width:0;
  overflow:hidden;
}
@media(max-width:760px){
  #dashboardView.admin-mode .admin-shell{
    grid-template-columns:1fr;
  }
  #dashboardView.admin-mode .admin-sidebar{
    width:100%;
  }
}

.user-admin-head-actions{display:flex;gap:8px;align-items:center}.user-admin-toolbar{display:grid;grid-template-columns:minmax(220px,1fr) 160px 160px;gap:10px;margin-bottom:12px}.user-admin-toolbar input,.user-admin-toolbar select,.user-actions select{border:1px solid #d6dce7;background:#fff;border-radius:8px;padding:9px 10px}.role-help{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:15px}.role-help span{font-size:11px;color:#667085;background:#f7f9fc;border:1px solid #e5e9f0;padding:7px 9px;border-radius:8px}.role-help b{color:#26324a;margin-right:4px}.user-row-rich{display:grid;grid-template-columns:42px minmax(180px,1.5fr) 100px 90px minmax(300px,1.5fr);gap:12px;align-items:center;border-top:1px solid #edf0f5;padding:13px 4px}.user-avatar{width:38px;height:38px;border-radius:50%;background:#eef3ff;color:#2f5bd3;display:grid;place-items:center;font-weight:800}.user-info b,.user-info span,.user-info small{display:block}.user-info span{font-size:12px;color:#475467;margin-top:2px}.user-info small{font-size:10px;color:#98a2b3;margin-top:3px}.role-pill,.status-pill{font-size:11px;font-weight:700;border-radius:20px;padding:6px 9px;text-align:center}.role-owner{background:#fff1c7;color:#8a5a00}.role-manager{background:#efe7ff;color:#6841a5}.role-admin{background:#e8efff;color:#2f5bd3}.role-user{background:#eef2f6;color:#475467}.status-pill.active{background:#e8f7ee;color:#18794e}.status-pill.inactive{background:#fbeaea;color:#b42318}.user-actions{display:flex;gap:6px;align-items:center;justify-content:flex-end;flex-wrap:wrap}.mini-btn{border:1px solid #d7ddea;background:#fff;border-radius:7px;padding:7px 9px;font-size:11px;cursor:pointer}.danger-btn{color:#b42318}.success-btn{color:#18794e}.self-label{font-size:11px;color:#98a2b3}.empty-users{padding:30px;text-align:center;color:#667085}
@media(max-width:1000px){.user-row-rich{grid-template-columns:42px 1fr 90px 80px}.user-actions{grid-column:2 / -1;justify-content:flex-start}.user-admin-toolbar{grid-template-columns:1fr 1fr}.user-admin-toolbar input{grid-column:1 / -1}}
@media(max-width:600px){.user-admin-head-actions{flex-direction:column;align-items:stretch}.user-admin-toolbar{grid-template-columns:1fr}.user-row-rich{grid-template-columns:42px 1fr}.role-pill,.status-pill{justify-self:start}}

.role-card-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:20px}.role-card{border:1px solid #e2e6ee;border-radius:12px;padding:16px;background:#fbfcfe}.role-card-title{display:flex;align-items:center;gap:8px;font-size:14px}.role-dot{width:10px;height:10px;border-radius:50%;display:inline-block;background:#667085}.role-card-owner .role-dot{background:#d79b18}.role-card-manager .role-dot{background:#8b5cf6}.role-card-admin .role-dot{background:#4164d8}.role-card-user .role-dot{background:#94a3b8}.role-card p{font-size:12px;line-height:1.5;color:#667085;margin:8px 0 0}.permission-table-wrap{overflow:auto;border:1px solid #e3e7ee;border-radius:10px}.permission-table{width:100%;border-collapse:collapse;min-width:680px}.permission-table th,.permission-table td{padding:11px 13px;border-bottom:1px solid #edf0f5;text-align:center;font-size:12px}.permission-table th:first-child,.permission-table td:first-child{text-align:left}.permission-table th{background:#f8fafc;color:#475467}.perm-yes{color:#16803c;font-weight:900;font-size:16px}.perm-no{color:#98a2b3}.audit-toolbar{display:grid;grid-template-columns:1fr 220px;gap:10px;margin-bottom:12px}.audit-toolbar input,.audit-toolbar select{border:1px solid #d6dce7;background:#fff;border-radius:8px;padding:9px 10px}.audit-summary{display:flex;justify-content:space-between;color:#667085;font-size:12px;padding:8px 2px 12px}.audit-table-wrap{overflow:auto;border:1px solid #e3e7ee;border-radius:10px}.audit-table{width:100%;border-collapse:collapse;min-width:720px}.audit-table th,.audit-table td{padding:11px 12px;border-bottom:1px solid #edf0f5;text-align:left;font-size:12px}.audit-table th{background:#f8fafc;color:#475467}.audit-table td small{display:block;color:#98a2b3;margin-top:3px}.audit-action{display:inline-block;background:#eef3ff;color:#2f5bd3;border-radius:15px;padding:5px 8px;font-size:11px;font-weight:700}.audit-pagination{display:flex;align-items:center;justify-content:center;gap:14px;padding:14px 4px 4px;color:#475467;font-size:12px}.audit-pagination .secondary-btn:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:1000px){.role-card-grid{grid-template-columns:1fr 1fr}.audit-toolbar{grid-template-columns:1fr}}
@media(max-width:600px){.role-card-grid{grid-template-columns:1fr}}

.data-preview{margin-top:18px;border-top:1px solid #e5e9f0;padding-top:18px}.preview-summary{display:flex;justify-content:space-between;gap:15px;align-items:center}.preview-summary b,.preview-summary span{display:block}.preview-summary span{font-size:12px;color:#667085;margin-top:4px}.preview-status,.import-status{font-size:11px;font-weight:700;border-radius:15px;padding:6px 9px;text-transform:capitalize}.preview-status.ready,.import-status.completed{background:#e8f7ee;color:#18794e}.preview-status.warning,.import-status.failed{background:#fff1e8;color:#b54708}.admin-warning{margin-top:12px;padding:11px;background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;border-radius:8px;font-size:12px}.column-checks{margin:15px 0;font-size:12px}.column-checks>div{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.column-checks span{padding:5px 7px;background:#f4f6f9;border:1px solid #e2e6ee;border-radius:6px}.preview-table-wrap{overflow:auto;border:1px solid #e3e7ee;border-radius:9px}.preview-table{border-collapse:collapse;min-width:1100px;width:100%}.preview-table th,.preview-table td{padding:8px;border-bottom:1px solid #edf0f5;text-align:left;font-size:10px;white-space:nowrap;max-width:180px;overflow:hidden;text-overflow:ellipsis}.preview-table th{background:#f8fafc}.import-confirm{margin-top:14px}.import-history-card{margin-top:18px}.import-row{display:grid;grid-template-columns:1.5fr 1fr 100px;gap:15px;align-items:center;border-top:1px solid #edf0f5;padding:12px 3px;font-size:12px}.import-row b,.import-row span{display:block}.import-row span{color:#667085;font-size:11px;margin-top:3px}

.validation-summary{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}.validation-summary span{background:#eef3ff;color:#344054;border-radius:8px;padding:8px 10px;font-size:12px}.validation-summary .bad{background:#fbeaea;color:#b42318}.mapping-box{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:12px 0;font-size:11px}.mapping-box>b{width:100%;font-size:12px;margin-bottom:2px}.mapping-box span{padding:6px 8px;border:1px solid #dce2eb;border-radius:7px;background:#fafbfc;color:#667085}.mapping-box strong{color:#26324a}.validation-errors{margin:12px 0;padding:10px;border:1px solid #fecaca;background:#fff7f7;border-radius:8px;color:#991b1b;font-size:11px}.validation-errors div{margin-top:5px}

.dataset-list,.backup-list{border-top:1px solid #edf0f5}.dataset-row{display:grid;grid-template-columns:minmax(220px,1.6fr) 120px 90px 80px;gap:14px;align-items:center;border-bottom:1px solid #edf0f5;padding:14px 3px}.dataset-main b,.dataset-main span,.dataset-main small{display:block}.dataset-main span{font-size:12px;color:#475467;margin-top:3px}.dataset-main small{font-size:10px;color:#98a2b3;margin-top:4px}.backup-row{display:flex;justify-content:space-between;align-items:center;gap:15px;border-bottom:1px solid #edf0f5;padding:12px 3px;font-size:12px}.backup-row b,.backup-row span{display:block}.backup-row span{font-size:11px;color:#667085;margin-top:3px}.import-target{margin-top:14px;max-width:500px}.import-target label{display:block;font-size:12px;font-weight:700;margin-bottom:5px}.import-target select{width:100%;border:1px solid #d6dce7;border-radius:8px;padding:9px}@media(max-width:800px){.dataset-row{grid-template-columns:1fr 100px}.dataset-row .mini-btn{grid-column:2}}

/* User menu layering fix: keep account dropdown above sticky voter-table headers */
.topbar,
.navbar {
  position: relative;
  z-index: 10000 !important;
}
.user-menu, .profile-menu, .account-menu, .user-dropdown {
  position: relative;
  z-index: 10001 !important;
}
.user-menu .dropdown, .profile-menu .dropdown, .account-menu .dropdown,
.user-dropdown .dropdown, .dropdown-menu {
  position: absolute;
  z-index: 10002 !important;
}
.table-wrap, .table-container, .data-table-wrap, .voter-table-wrap {
  position: relative;
  z-index: 1;
}
table thead, .sticky-header, .table-header {
  z-index: 2;
}

/* Final account-menu fix: viewport-anchored dropdown prevents clipping while page/table scrolls. */
.user-dropdown{
  z-index:100000 !important;
  box-sizing:border-box;
}

/* Dataset and voter record management */
.dataset-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.admin-voter-table-wrap{overflow:auto;border:1px solid #dbe3ef;border-radius:10px}
.admin-voter-table{width:100%;border-collapse:collapse;min-width:900px}
.admin-voter-table th,.admin-voter-table td{padding:9px 10px;border-bottom:1px solid #e5eaf1;text-align:left;font-size:12px}
.admin-voter-table th{background:#f6f8fc;position:sticky;top:0;z-index:1}
.voter-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(240px,1fr));gap:12px;max-height:65vh;overflow:auto;padding-right:4px}
.edit-field{display:flex;flex-direction:column;gap:5px}
.edit-field label{font-size:12px;font-weight:600;color:#334155}
.edit-field input,.edit-field select,.edit-field textarea{width:100%;box-sizing:border-box}
.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px;position:sticky;bottom:0;background:#fff;padding:12px 0 2px;z-index:20;border-top:1px solid #e5eaf1}
.history-item{border:1px solid #e1e7f0;border-radius:8px;padding:10px;margin:8px 0}
.history-item span{display:block;font-size:11px;color:#64748b;margin:3px 0}
.history-item pre{white-space:pre-wrap;word-break:break-word;font-size:11px;margin:6px 0 0}
@media(max-width:760px){.voter-edit-grid{grid-template-columns:1fr}}

.dataset-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(180px,1fr));gap:10px;margin-bottom:12px}
.dataset-detail-grid>div{border:1px solid #e1e7f0;border-radius:8px;padding:10px;background:#f8fafc}
.dataset-detail-grid span{display:block;font-size:11px;color:#64748b;margin-bottom:3px}
.dataset-description{padding:10px;border:1px solid #e1e7f0;border-radius:8px;margin-bottom:14px;color:#475569}
.user-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
@media(max-width:900px){.dataset-detail-grid{grid-template-columns:1fr}}

.permission-user-head{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:10px 12px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:9px;margin-bottom:10px}
.permission-user-head span{font-size:12px;color:#64748b}
.permission-modal-note{font-size:13px;color:#64748b;margin:8px 0 12px}
.user-permission-list{display:grid;grid-template-columns:1fr 1fr;gap:7px;max-height:420px;overflow:auto}
.user-permission-row{display:flex;gap:9px;align-items:flex-start;padding:10px;border:1px solid #e2e8f0;border-radius:8px;background:#fff}
.user-permission-row input{margin-top:3px}
.user-permission-row span{display:flex;flex-direction:column;gap:2px}
.user-permission-row small{font-size:10px;color:#64748b}
@media(max-width:800px){.user-permission-list{grid-template-columns:1fr}}

.advanced-filter-title{font-size:12px;font-weight:700;color:#334155;text-transform:uppercase;letter-spacing:.05em;margin:14px 0 4px;padding-top:10px;border-top:1px solid #e2e8f0}.age-filter-row{display:grid;grid-template-columns:1fr 1fr;gap:6px}.search-sidebar{overflow-y:auto}.search-sidebar .side-filter input,.search-sidebar .side-filter select{box-sizing:border-box;width:100%}

.admin-list-search{margin:0 0 12px}.admin-list-search input,.select-search-input{width:100%;box-sizing:border-box;padding:9px 11px;border:1px solid #cbd5e1;border-radius:7px;background:#fff;color:#0f172a;font-size:13px}.select-search-input{margin:5px 0 5px}.select-search-input:focus,.admin-list-search input:focus{outline:none;border-color:#4163d7;box-shadow:0 0 0 2px rgba(65,99,215,.10)}

.advanced-filter-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;margin:14px 0 0;padding:11px 12px;border:1px solid #d7deee;border-radius:9px;background:#f8faff;color:#24345d;font-weight:700;font-size:13px;cursor:pointer;text-align:left}
.advanced-filter-toggle:hover{background:#f1f5ff;border-color:#bfcdf1}
.advanced-filter-icon{display:inline-flex;width:20px;height:20px;align-items:center;justify-content:center;margin-right:5px}
.advanced-filter-toggle small{font-weight:600;color:#4163d7;margin-left:4px}
.advanced-filter-chevron{font-size:17px;line-height:1}
.advanced-filters-body{padding:8px 0 2px}
.advanced-filters-body.hidden{display:none}

.searchable-select-wrap{position:relative;width:100%;margin:5px 0 7px}
.native-search-select{display:none!important}
.searchable-select-trigger{width:100%;box-sizing:border-box;min-height:40px;padding:9px 34px 9px 12px;border:1px solid #cbd5e1;border-radius:7px;background:#fff;color:#0f172a;text-align:left;font-size:13px;cursor:pointer;position:relative}
.searchable-select-trigger:after{content:"▾";position:absolute;right:12px;top:50%;transform:translateY(-50%);color:#475569}
.searchable-select-menu{position:absolute;z-index:1000;left:0;right:0;top:calc(100% + 4px);background:#fff;border:1px solid #cbd5e1;border-radius:8px;box-shadow:0 12px 28px rgba(15,23,42,.15);overflow:hidden}
.searchable-select-menu.hidden{display:none}
.searchable-select-search-row{display:flex;align-items:center;gap:6px;padding:7px;border-bottom:1px solid #e2e8f0;background:#f8fafc}
.searchable-select-search-row span{color:#64748b;font-size:16px}
.searchable-select-search{width:100%;box-sizing:border-box;padding:8px 9px;border:1px solid #cbd5e1;border-radius:6px;outline:none;background:#fff}
.searchable-select-search:focus{border-color:#4163d7;box-shadow:0 0 0 2px rgba(65,99,215,.1)}
.searchable-select-options{max-height:230px;overflow-y:auto;padding:4px}
.searchable-select-option{display:block;width:100%;border:0;background:#fff;padding:9px 10px;text-align:left;border-radius:5px;font-size:13px;color:#1e293b;cursor:pointer}
.searchable-select-option:hover,.searchable-select-option.selected{background:#eef3ff;color:#2445b8}
.searchable-select-option.hidden{display:none}

/* Final search layout: Complete Search above Voter Data */
.search-workspace{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:18px;
  align-items:start;
}
.search-sidebar{
  grid-column:1;
  grid-row:1;
  position:static;
  width:100%;
  box-sizing:border-box;
}
.search-data-column{
  grid-column:1;
  grid-row:2;
  min-width:0;
}
.icon-tools{
  display:flex;
  align-items:center;
  gap:8px;
}
.icon-tool{
  width:38px;
  height:38px;
  padding:8px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid #cbd5f5;
  border-radius:8px;
  background:#f8faff;
  color:#2f52c9;
  cursor:pointer;
}
.icon-tool:hover{
  background:#eef3ff;
  border-color:#9fb3ef;
}
.icon-tool svg{
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

/* Complete Search: compact two-row filter grid */
.search-sidebar{
  width:100%;
  box-sizing:border-box;
}
.search-sidebar #searchPanel{
  display:grid;
  grid-template-columns:repeat(5, minmax(150px, 1fr));
  column-gap:14px;
  row-gap:12px;
  align-items:end;
}
.search-sidebar #searchPanel > .filter-group{
  min-width:0;
}
.search-sidebar #searchPanel > .filter-group:nth-child(1),
.search-sidebar #searchPanel > .filter-group:nth-child(2),
.search-sidebar #searchPanel > .filter-group:nth-child(3),
.search-sidebar #searchPanel > .filter-group:nth-child(4),
.search-sidebar #searchPanel > .filter-group:nth-child(5){
  grid-row:1;
}
.search-sidebar #searchPanel > .filter-group:nth-child(6){
  grid-column:1;
  grid-row:2;
}
.search-sidebar #searchPanel > .advanced-filters{
  grid-column:2 / span 4;
  grid-row:2;
}
.search-sidebar #searchPanel .search-actions{
  grid-column:1 / -1;
  grid-row:3;
}
.search-sidebar #searchPanel .advanced-filters-content{
  display:grid;
  grid-template-columns:repeat(4, minmax(130px,1fr));
  gap:12px;
}
@media (max-width: 1100px){
  .search-sidebar #searchPanel{
    grid-template-columns:repeat(3, minmax(150px,1fr));
  }
  .search-sidebar #searchPanel > .filter-group:nth-child(n){
    grid-row:auto;
  }
  .search-sidebar #searchPanel > .filter-group:nth-child(6),
  .search-sidebar #searchPanel > .advanced-filters,
  .search-sidebar #searchPanel .search-actions{
    grid-column:1 / -1;
  }
}
@media (max-width: 700px){
  .search-sidebar #searchPanel{
    grid-template-columns:1fr;
  }
  .search-sidebar #searchPanel > .filter-group:nth-child(n),
  .search-sidebar #searchPanel > .advanced-filters,
  .search-sidebar #searchPanel .search-actions{
    grid-column:1;
    grid-row:auto;
  }
  .search-sidebar #searchPanel .advanced-filters-content{
    grid-template-columns:1fr;
  }
}

/* Exact Complete Search layout requested:
   Row 1: State | Year | District | Assembly | Name
   Row 2: Voter ID | Advanced Filters
   Row 3+: Advanced filter contents
   Final row: Search
*/
.search-workspace{
  grid-template-columns:minmax(0,1fr) !important;
}
.search-sidebar{
  display:grid !important;
  grid-template-columns:repeat(6,minmax(0,1fr)) !important;
  column-gap:14px;
  row-gap:10px;
  width:100% !important;
  box-sizing:border-box;
  align-items:end;
}
.search-sidebar > h2,
.search-sidebar > .muted{
  grid-column:1 / -1;
}
.search-sidebar > .side-filter:nth-of-type(1){grid-column:1;grid-row:3;}
.search-sidebar > .side-filter:nth-of-type(2){grid-column:2;grid-row:3;}
.search-sidebar > .side-filter:nth-of-type(3){grid-column:3;grid-row:3;}
.search-sidebar > .side-filter:nth-of-type(4){grid-column:4;grid-row:3;}
.search-sidebar > .side-filter:nth-of-type(5){grid-column:5;grid-row:3;}
.search-sidebar > .side-filter:nth-of-type(6){grid-column:6;grid-row:3;}
.search-sidebar > #advancedFilterToggle{
  grid-column:2 / 6;
  grid-row:4;
  width:100%;
  align-self:end;
}
.search-sidebar > #advancedFiltersBody{
  grid-column:1 / -1;
  grid-row:5;
  width:100%;
}
.search-sidebar > .search-side-button{
  grid-column:1 / -1;
  grid-row:6;
  width:100%;
}
.search-sidebar > .sidebar-tip{
  grid-column:1 / -1;
  grid-row:7;
}
#advancedFiltersBody{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}
#advancedFiltersBody.hidden{display:none !important;}
#advancedFiltersBody .side-filter{min-width:0;}
@media (max-width:900px){
  .search-sidebar{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
  .search-sidebar > .side-filter:nth-of-type(n){
    grid-column:auto;
    grid-row:auto;
  }
  .search-sidebar > #advancedFilterToggle,
  .search-sidebar > #advancedFiltersBody,
  .search-sidebar > .search-side-button,
  .search-sidebar > .sidebar-tip{
    grid-column:1 / -1;
    grid-row:auto;
  }
  #advancedFiltersBody{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:600px){
  .search-sidebar{grid-template-columns:1fr !important;}
  .search-sidebar > h2,
  .search-sidebar > .muted,
  .search-sidebar > .side-filter:nth-of-type(n),
  .search-sidebar > #advancedFilterToggle,
  .search-sidebar > #advancedFiltersBody,
  .search-sidebar > .search-side-button,
  .search-sidebar > .sidebar-tip{
    grid-column:1;
    grid-row:auto;
  }
  #advancedFiltersBody{grid-template-columns:1fr;}
}

/* FINAL: Complete Search must use the full page width.
   Do not keep it as a narrow left sidebar. */
.search-workspace{
  display:block !important;
  width:100% !important;
  max-width:none !important;
  box-sizing:border-box;
}
.search-sidebar{
  display:grid !important;
  width:100% !important;
  max-width:none !important;
  box-sizing:border-box;
  grid-template-columns:repeat(5,minmax(0,1fr)) !important;
  column-gap:18px !important;
  row-gap:14px !important;
  padding:18px !important;
  align-items:end;
}
.search-sidebar > h2{
  grid-column:1 / -1 !important;
  grid-row:1 !important;
  margin:0 !important;
}
.search-sidebar > .muted{
  grid-column:1 / -1 !important;
  grid-row:2 !important;
  margin:0 !important;
}
.search-sidebar > .side-filter{
  width:100% !important;
  min-width:0 !important;
  box-sizing:border-box;
}
.search-sidebar > .side-filter:nth-of-type(1){grid-column:1 !important;grid-row:3 !important;}
.search-sidebar > .side-filter:nth-of-type(2){grid-column:2 !important;grid-row:3 !important;}
.search-sidebar > .side-filter:nth-of-type(3){grid-column:3 !important;grid-row:3 !important;}
.search-sidebar > .side-filter:nth-of-type(4){grid-column:4 !important;grid-row:3 !important;}
.search-sidebar > .side-filter:nth-of-type(5){grid-column:5 !important;grid-row:3 !important;}
.search-sidebar > .side-filter:nth-of-type(6){grid-column:1 !important;grid-row:4 !important;}
.search-sidebar > #advancedFilterToggle{
  grid-column:2 / 6 !important;
  grid-row:4 !important;
  width:100% !important;
  box-sizing:border-box;
}
.search-sidebar > #advancedFiltersBody{
  grid-column:1 / -1 !important;
  grid-row:5 !important;
  width:100% !important;
}
.search-sidebar > .search-side-button{
  grid-column:1 / -1 !important;
  grid-row:6 !important;
  width:100% !important;
}
.search-sidebar > .sidebar-tip{
  grid-column:1 / -1 !important;
  grid-row:7 !important;
  width:100% !important;
}
.search-data-column{
  display:block !important;
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  box-sizing:border-box;
  margin-top:18px !important;
}
.search-data-header{
  width:100%;
}
#advancedFiltersBody{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:14px !important;
}
#advancedFiltersBody.hidden{display:none !important;}

@media (max-width:900px){
  .search-sidebar{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
  .search-sidebar > .side-filter:nth-of-type(n),
  .search-sidebar > #advancedFilterToggle,
  .search-sidebar > #advancedFiltersBody,
  .search-sidebar > .search-side-button,
  .search-sidebar > .sidebar-tip{
    grid-column:auto !important;
    grid-row:auto !important;
  }
  .search-sidebar > h2,
  .search-sidebar > .muted{
    grid-column:1 / -1 !important;
  }
  .search-sidebar > #advancedFilterToggle,
  .search-sidebar > #advancedFiltersBody,
  .search-sidebar > .search-side-button,
  .search-sidebar > .sidebar-tip{
    grid-column:1 / -1 !important;
  }
  #advancedFiltersBody{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
}
@media (max-width:600px){
  .search-sidebar{grid-template-columns:1fr !important;}
  #advancedFiltersBody{grid-template-columns:1fr !important;}
}

/* FINAL OVERRIDE: beat the old #searchPanel.search-workspace rule.
   Complete Search spans the full container; no empty right grid column. */
#searchPanel.search-workspace{
  display:block !important;
  grid-template-columns:none !important;
  grid-template-rows:none !important;
  width:100% !important;
  max-width:none !important;
  min-height:auto !important;
  box-sizing:border-box !important;
  padding:20px !important;
}
#searchPanel.search-workspace > .search-sidebar{
  display:grid !important;
  width:100% !important;
  min-height:auto !important;
  max-width:none !important;
  grid-template-columns:repeat(5,minmax(0,1fr)) !important;
  box-sizing:border-box !important;
}
#searchPanel.search-workspace > .search-data-column{
  display:block !important;
  width:100% !important;
  min-height:auto !important;
  max-width:none !important;
  margin-top:18px !important;
}
#searchPanel.search-workspace #results{
  width:100% !important;
  min-height:0 !important;
}

/* FINAL COMPACT SEARCH GUI */
#searchPanel.search-workspace{
  padding:18px 22px !important;
  min-height:0 !important;
}
#searchPanel.search-workspace > .search-sidebar{
  padding:0 !important;
  column-gap:16px !important;
  row-gap:12px !important;
}

/* Keep the five primary filters evenly sized and comfortable. */
#searchPanel .search-sidebar > .side-filter:nth-of-type(1),
#searchPanel .search-sidebar > .side-filter:nth-of-type(2),
#searchPanel .search-sidebar > .side-filter:nth-of-type(3),
#searchPanel .search-sidebar > .side-filter:nth-of-type(4),
#searchPanel .search-sidebar > .side-filter:nth-of-type(5){
  min-width:0 !important;
}

/* Second row: Voter ID + compact Advanced Filters. */
#searchPanel .search-sidebar > .side-filter:nth-of-type(6){
  grid-column:1 !important;
  grid-row:4 !important;
  max-width:350px !important;
}
#searchPanel .search-sidebar > #advancedFilterToggle{
  grid-column:2 / 4 !important;
  grid-row:4 !important;
  width:100% !important;
  max-width:520px !important;
  min-height:42px !important;
  padding:9px 14px !important;
  border-radius:9px !important;
  justify-self:start !important;
}

/* Search button: compact instead of full-width. */
#searchPanel .search-sidebar > .search-side-button{
  grid-column:1 / -1 !important;
  grid-row:6 !important;
  width:170px !important;
  min-width:170px !important;
  height:42px !important;
  padding:9px 18px !important;
  justify-self:center !important;
  border-radius:9px !important;
}

/* Advanced fields remain full-width when opened, but compact. */
#searchPanel #advancedFiltersBody{
  grid-column:1 / -1 !important;
  grid-row:5 !important;
  width:100% !important;
  padding:12px 0 2px !important;
}
#searchPanel #advancedFiltersBody .side-filter{
  min-width:0 !important;
}

/* Reduce empty space below the search controls. */
#searchPanel.search-workspace > .search-data-column{
  margin-top:14px !important;
}
#searchPanel .search-data-header{
  margin-bottom:8px !important;
}



/* FINAL: Column Visibility is a small popup directly below the Columns option. */
.column-manager-menu{
  position:absolute !important;
  width:290px !important;
  max-width:calc(100vw - 24px) !important;
  max-height:450px !important;
  overflow-y:auto !important;
  z-index:5000 !important;
  right:auto !important;
}

/* ===== India / Election visual identity ===== */
.topbar{
  height:68px;
  padding:0 28px;
  position:sticky;
  top:0;
  z-index:20;
  box-shadow:0 2px 12px rgba(18,35,64,.05);
}
.topbar::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:3px;
  background:linear-gradient(90deg,#f59b23 0 33.33%,#fff 33.33% 66.66%,#138808 66.66%);
}
.brand-wrap{display:flex;align-items:center;gap:10px}
.brand-emblem{
  width:36px;height:36px;border:2px solid #2f5bd3;border-radius:50%;
  display:grid;place-items:center;color:#2f5bd3;font-size:21px;
  background:linear-gradient(180deg,#fff,#f3f6ff);
  box-shadow:0 2px 8px rgba(47,91,211,.12);
}
.brand{font-weight:850;letter-spacing:.9px;font-size:15px;line-height:16px}
.brand span{color:#2f5bd3}
.brand-subtitle{
  font-size:8px;font-weight:750;letter-spacing:1.2px;
  color:#667085;margin-top:2px;
}
.topbar-india{
  margin-left:auto;margin-right:18px;
  padding:6px 10px;border:1px solid #e1e6ef;border-radius:18px;
  background:#fbfcff;color:#475467;font-size:11px;font-weight:650;
}
.topbar-india span{font-size:14px;margin-right:4px}

.search-workspace{
  position:relative;
  overflow:visible;
  padding-top:16px;
  background:
    radial-gradient(circle at 98% 8%,rgba(47,91,211,.055),transparent 22%),
    #fff;
}
.india-data-banner{
  display:flex;align-items:center;gap:11px;
  padding:10px 13px;margin:0 0 18px;
  border:1px solid #dfe6f2;border-radius:10px;
  background:linear-gradient(90deg,#fff9f1,#fff,#f5fff5);
  position:relative;overflow:hidden;
}
.india-banner-mark{
  width:34px;height:34px;border-radius:50%;
  display:grid;place-items:center;flex:none;
  color:#315bd3;border:1px solid #cdd9f6;background:#fff;
  font-size:19px;
}
.india-data-banner strong{display:block;font-size:14px;color:#172033}
.india-data-banner span{display:block;font-size:11px;color:#667085;margin-top:2px}
.tricolor-bars{margin-left:auto;display:flex;width:56px;height:5px;border-radius:5px;overflow:hidden;opacity:.9}
.tricolor-bars i{flex:1}
.tricolor-bars i:nth-child(1){background:#f59b23}
.tricolor-bars i:nth-child(2){background:#e8edf4}
.tricolor-bars i:nth-child(3){background:#138808}
.search-title-icon{
  display:inline-grid;place-items:center;width:25px;height:25px;
  margin-right:5px;border-radius:7px;background:#eef3ff;color:#2f5bd3;
  font-size:16px;vertical-align:-3px;
}
.search-sidebar h2{display:flex;align-items:center}

@media(max-width:800px){
  .topbar-india{display:none}
  .topbar{padding:0 15px}
  .brand-subtitle{font-size:7px}
  .india-data-banner{align-items:flex-start}
  .tricolor-bars{display:none}
}

/* ===== Premium client-facing polish ===== */
body{
  background:
    radial-gradient(circle at 8% 0%,rgba(47,91,211,.045),transparent 25%),
    #f4f7fb;
}
.topbar{
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(10px);
}
.container{margin-top:22px}
.search-workspace{
  border-radius:16px;
  border-color:#dce4f0;
  box-shadow:0 8px 30px rgba(22,38,70,.055);
}
.india-data-banner{
  min-height:58px;
  border-color:#d8e2f1;
  box-shadow:0 3px 12px rgba(31,55,100,.035);
}
.client-value-strip{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
  margin:0 0 18px;
}
.value-item{
  display:flex;
  align-items:center;
  gap:9px;
  padding:10px 12px;
  background:#fbfcff;
  border:1px solid #e3e9f3;
  border-radius:10px;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.value-item:hover{
  transform:translateY(-2px);
  border-color:#cbd8f3;
  box-shadow:0 6px 18px rgba(47,91,211,.08);
}
.value-icon{
  width:30px;height:30px;flex:none;
  display:grid;place-items:center;
  border-radius:8px;
  background:#eef3ff;
  color:#2f5bd3;
  font-weight:800;
}
.value-item b{
  display:block;
  font-size:11px;
  color:#1d2940;
}
.value-item small{
  display:block;
  margin-top:2px;
  color:#7a8699;
  font-size:9px;
}
.voter-data-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
}
.voter-data-heading h2{margin-bottom:3px}
.portal-badge{
  font-size:9px;
  letter-spacing:.7px;
  font-weight:800;
  color:#536176;
  background:#fff;
  border:1px solid #dce3ee;
  border-radius:20px;
  padding:7px 10px;
}
.search-sidebar{
  background:linear-gradient(180deg,#fff,#fbfcff);
  border:1px solid #e0e7f1;
  border-radius:12px;
  padding:17px;
  box-shadow:0 3px 14px rgba(31,55,100,.035);
}
.search-sidebar h2{margin-top:0}
.side-filter label{font-size:11px;color:#44516a}
.side-filter input,.side-filter select{
  border-color:#d4dce8;
  box-shadow:inset 0 1px 2px rgba(30,50,90,.025);
}
.side-filter input:focus,.side-filter select:focus{
  outline:none;
  border-color:#6d8ee8;
  box-shadow:0 0 0 3px rgba(47,91,211,.09);
}
.primary,.search-button{
  box-shadow:0 5px 12px rgba(47,91,211,.18);
  transition:transform .16s ease,box-shadow .16s ease;
}
.primary:hover,.search-button:hover{
  transform:translateY(-1px);
  box-shadow:0 7px 16px rgba(47,91,211,.23);
}
.results-head{
  padding-top:3px;
}
.table-wrap{
  border-radius:10px;
  box-shadow:0 4px 18px rgba(25,45,80,.045);
}
.data-table th{
  background:linear-gradient(#f8faff,#f2f5fa);
  color:#344054;
  font-weight:750;
}
.data-table tr:hover td{
  background:#f8faff;
}
@media(max-width:900px){
  .client-value-strip{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:600px){
  .client-value-strip{grid-template-columns:1fr}
  .portal-badge{display:none}
}

/* ===== SEARCH PAGE FLOW FIX =====
   The voter table is part of the main page, not a second vertical viewport.
   30 records should be visible in normal document flow and pagination follows
   the table. Only horizontal overflow is handled by the table wrapper. */
#searchPanel.search-workspace{
  overflow:visible !important;
}
#searchPanel.search-workspace > .search-data-column{
  overflow:visible !important;
}
#searchPanel.search-workspace #results{
  overflow:visible !important;
}
#searchPanel .table-wrap{
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  overflow-x:auto !important;
  overflow-y:visible !important;
}
#searchPanel .data-table{
  min-width:2200px !important;
}

/* ===== DEFINITIVE SEARCH PAGE FIX =====
   Search controls and voter results belong to the normal document flow.
   Never create a second vertical viewport inside the page. */
html, body{
  overflow-x:hidden !important;
  overflow-y:auto !important;
}
#dashboardView{
  overflow:visible !important;
}
#searchPanel.search-workspace{
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  overflow:visible !important;
}
#searchPanel.search-workspace > .search-sidebar{
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  overflow:visible !important;
}
#searchPanel.search-workspace > .search-data-column{
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  overflow:visible !important;
}
#searchPanel.search-workspace #results{
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  overflow:visible !important;
}
#searchPanel .table-wrap{
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  overflow-x:auto !important;
  overflow-y:visible !important;
}
#searchPanel .data-table{
  min-width:2200px !important;
}

/* The custom State/District/Assembly menus must be allowed to extend
   outside the search card instead of being clipped by an inner scroller. */
#searchPanel .searchable-select-wrap,
#searchPanel .searchable-select-menu{
  overflow:visible;
}
#searchPanel .searchable-select-menu{
  z-index:10000 !important;
}

/* ===== TABLE HEADER FILTER POPUP FINAL ===== */
.column-filter-menu{
  position:fixed !important;
  width:270px !important;
  max-width:calc(100vw - 16px) !important;
  max-height:430px !important;
  overflow:auto !important;
  z-index:100000 !important;
  box-sizing:border-box !important;
}

/* FINAL: client-value strip removed from the voter search UI */
.client-value-strip{display:none!important;}

/* FINAL: align Voter ID and Advanced Filters on the same search row */
@media (min-width: 951px){
  #searchPanel .search-secondary-row,
  #searchPanel .voter-id-advanced-row{
    display:grid !important;
    grid-template-columns: 320px minmax(420px, 1fr) !important;
    gap:18px !important;
    align-items:end !important;
  }
  #searchPanel .voter-id-advanced-row > *,
  #searchPanel .search-secondary-row > *{
    margin-top:0 !important;
  }
  #searchPanel #advancedFiltersToggle{
    width:100% !important;
    box-sizing:border-box !important;
    height:42px !important;
  }
  #searchPanel #voterId{
    height:42px !important;
    box-sizing:border-box !important;
  }
}

/* FINAL SEARCH ROW ALIGNMENT: Voter ID and Advanced Filters */
@media (min-width: 951px){
  #searchPanel .search-sidebar > #advancedFilterToggle{
    margin-top:0 !important;
    align-self:end !important;
    height:42px !important;
    box-sizing:border-box !important;
  }
  #searchPanel .search-sidebar > .side-filter:nth-of-type(6){
    margin-bottom:0 !important;
  }
  #searchPanel #voterId{
    height:42px !important;
    box-sizing:border-box !important;
  }
}

/* FINAL VISUAL TUNE: give the secondary search row a little more breathing room */
@media (min-width: 951px){
  #searchPanel .search-sidebar > #advancedFilterToggle{
    margin-left:0 !important;
    width:100% !important;
  }
  #searchPanel .search-sidebar > .side-filter:nth-of-type(6){
    width:100% !important;
  }
  #searchPanel #voterId{
    width:100% !important;
  }
}

/* COMPACT COMPLETE SEARCH - desktop */
@media (min-width: 951px){
  #searchPanel{
    max-width: 1450px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  #searchPanel .search-sidebar{
    padding: 18px 22px !important;
  }

  #searchPanel .search-sidebar h2{
    margin-bottom: 3px !important;
    font-size: 22px !important;
  }

  #searchPanel .search-sidebar .muted{
    margin-bottom: 12px !important;
    font-size: 12px !important;
  }

  #searchPanel .side-filter{
    margin-bottom: 7px !important;
  }

  #searchPanel .search-sidebar > .side-filter:nth-of-type(1),
  #searchPanel .search-sidebar > .side-filter:nth-of-type(2),
  #searchPanel .search-sidebar > .side-filter:nth-of-type(3),
  #searchPanel .search-sidebar > .side-filter:nth-of-type(4),
  #searchPanel .search-sidebar > .side-filter:nth-of-type(5){
    grid-row: 3 !important;
  }

  #searchPanel .search-sidebar > .side-filter:nth-of-type(6){
    grid-row: 4 !important;
    width: 320px !important;
  }

  #searchPanel .search-sidebar > #advancedFilterToggle{
    grid-column: 2 / 4 !important;
    grid-row: 4 !important;
    width: 500px !important;
    height: 40px !important;
    margin-top: 0 !important;
  }

  #searchPanel .search-sidebar > .search-side-button,
  #searchPanel .search-sidebar > button.search-side-button{
    width: 170px !important;
    margin: 10px auto 0 !important;
    height: 40px !important;
  }

  #searchPanel .search-sidebar > .sidebar-tip{
    display:none !important;
  }
}

/* FINAL COMPACT SEARCH LAYOUT
   Row 1: State | Year | District | Assembly
   Row 2: Name | Voter ID | Advanced Filters
*/
@media (min-width: 951px){
  #searchPanel{
    max-width: 1320px !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }

  #searchPanel .search-sidebar{
    display:grid !important;
    grid-template-columns: repeat(4, minmax(190px, 1fr)) !important;
    column-gap:16px !important;
    row-gap:7px !important;
    padding:16px 20px 14px !important;
  }

  #searchPanel .search-sidebar > h2,
  #searchPanel .search-sidebar > .muted{
    grid-column:1 / -1 !important;
  }

  #searchPanel .search-sidebar > .side-filter:nth-of-type(1){grid-column:1 !important;grid-row:3 !important;}
  #searchPanel .search-sidebar > .side-filter:nth-of-type(2){grid-column:2 !important;grid-row:3 !important;}
  #searchPanel .search-sidebar > .side-filter:nth-of-type(3){grid-column:3 !important;grid-row:3 !important;}
  #searchPanel .search-sidebar > .side-filter:nth-of-type(4){grid-column:4 !important;grid-row:3 !important;}

  /* Name first, then Voter ID */
  #searchPanel .search-sidebar > .side-filter:nth-of-type(5){
    grid-column:1 !important;
    grid-row:4 !important;
  }
  #searchPanel .search-sidebar > .side-filter:nth-of-type(6){
    grid-column:2 !important;
    grid-row:4 !important;
    width:auto !important;
  }

  #searchPanel .search-sidebar > #advancedFilterToggle{
    grid-column:3 / 5 !important;
    grid-row:4 !important;
    width:100% !important;
    height:40px !important;
    margin:0 !important;
    align-self:end !important;
  }

  #searchPanel .search-sidebar > .side-filter{
    margin:0 !important;
  }

  #searchPanel .search-sidebar label{
    font-size:11px !important;
    margin-bottom:3px !important;
  }

  #searchPanel .search-sidebar input,
  #searchPanel .search-sidebar select{
    height:38px !important;
    min-height:38px !important;
    box-sizing:border-box !important;
    font-size:12px !important;
  }

  #searchPanel .search-sidebar > .search-side-button,
  #searchPanel .search-sidebar > button.search-side-button{
    grid-column:2 / 4 !important;
    grid-row:5 !important;
    width:160px !important;
    height:38px !important;
    margin:8px auto 0 !important;
  }

  #searchPanel .search-sidebar > .sidebar-tip{
    display:none !important;
  }
}

/* FINAL SEARCH LAYOUT
   Row 1: State | Year | District | Assembly | Voter ID | Name
   Row 2: small Advanced Filters
*/
@media (min-width: 951px){
  #searchPanel{
    max-width: 1450px !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }

  #searchPanel .search-sidebar{
    display:grid !important;
    grid-template-columns: repeat(6, minmax(130px, 1fr)) !important;
    column-gap:12px !important;
    row-gap:8px !important;
    padding:15px 18px 12px !important;
  }

  #searchPanel .search-sidebar > h2,
  #searchPanel .search-sidebar > .muted{
    grid-column:1 / -1 !important;
  }

  /* Row 1 */
  #searchPanel .search-sidebar > .side-filter:nth-of-type(1){grid-column:1 !important;grid-row:3 !important;}
  #searchPanel .search-sidebar > .side-filter:nth-of-type(2){grid-column:2 !important;grid-row:3 !important;}
  #searchPanel .search-sidebar > .side-filter:nth-of-type(3){grid-column:3 !important;grid-row:3 !important;}
  #searchPanel .search-sidebar > .side-filter:nth-of-type(4){grid-column:4 !important;grid-row:3 !important;}
  #searchPanel .search-sidebar > .side-filter:nth-of-type(6){grid-column:5 !important;grid-row:3 !important;}
  #searchPanel .search-sidebar > .side-filter:nth-of-type(5){grid-column:6 !important;grid-row:3 !important;}

  #searchPanel .search-sidebar > .side-filter{
    margin:0 !important;
    width:auto !important;
  }

  #searchPanel .search-sidebar label{
    font-size:11px !important;
    margin-bottom:3px !important;
  }

  #searchPanel .search-sidebar input,
  #searchPanel .search-sidebar select{
    height:36px !important;
    min-height:36px !important;
    box-sizing:border-box !important;
    font-size:12px !important;
    padding:7px 10px !important;
  }

  /* Row 2: intentionally small because advanced filters are optional */
  #searchPanel .search-sidebar > #advancedFilterToggle{
    grid-column:1 !important;
    grid-row:4 !important;
    justify-self:start !important;
    width:180px !important;
    height:34px !important;
    min-height:34px !important;
    margin:4px 0 0 !important;
    padding:7px 10px !important;
    font-size:12px !important;
  }

  #searchPanel .search-sidebar > .search-side-button,
  #searchPanel .search-sidebar > button.search-side-button{
    grid-column:3 / 5 !important;
    grid-row:4 !important;
    width:150px !important;
    height:36px !important;
    margin:4px auto 0 !important;
  }

  #searchPanel .search-sidebar > .sidebar-tip{
    display:none !important;
  }
}

/* ===== Vote Hoshiyar developer credit ===== */
html,body{min-height:100%;}
body{min-height:100vh;display:flex;flex-direction:column;}
body > main#app{flex:1 0 auto;display:flex;flex-direction:column;}
body > main#app > #dashboardView{flex:1 0 auto;}

/* Logged-in pages: keep the credit at the bottom when there are no results/content. */
.vh-credit-footer{
  width:100%;
  box-sizing:border-box;
  flex:0 0 auto;
  text-align:center;
  padding:12px 20px 13px;
  margin-top:auto;
  border-top:1px solid #e7ebf2;
  background:rgba(255,255,255,.96);
  color:#7a8495;
  font-size:11px;
  line-height:1.5;
  letter-spacing:.1px;
}
.vh-credit-footer span{font-size:13px;margin-right:3px;}
.vh-credit-footer strong{color:#3d4758;font-weight:700;}

/* Login / Sign-up: the credit belongs INSIDE the existing blue auth footer. */
.auth-footer{
  min-height:34px;
  height:auto;
  box-sizing:border-box;
  background:#09295d;
  color:#fff;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:18px;
  padding:7px 28px;
  font-size:9px;
}
.auth-footer > span:first-child{text-align:left;}
.auth-footer > span:last-child{text-align:right;}
.auth-footer .auth-credit{
  margin:0;
  text-align:center;
  color:#dbe7ff;
  white-space:nowrap;
  font-size:9px;
}
.auth-footer .auth-credit strong{color:#fff;font-weight:700;}
/* Don't show the separate global credit while the login/signup screen is active. */
body:has(#authView:not(.hidden)) > .vh-credit-footer{display:none!important;}

@media(max-width:900px){
  .auth-footer{grid-template-columns:1fr;justify-items:center;text-align:center;gap:3px;padding:8px 12px;}
  .auth-footer > span:first-child,.auth-footer > span:last-child,.auth-footer .auth-credit{text-align:center;}
}
@media(max-width:600px){
  .vh-credit-footer{padding:11px 12px 12px;font-size:10px;}
  .vh-credit-footer span{font-size:12px;}
}


/* Audit log clear controls */
.danger-outline{border-color:#efb4b4!important;color:#b42318!important}
.danger-btn{border:1px solid #efb4b4;background:#fff5f5;color:#b42318;border-radius:8px;padding:10px 14px;font-weight:600;cursor:pointer}
.audit-clear-modal{position:fixed;inset:0;background:rgba(15,23,42,.28);display:flex;align-items:center;justify-content:center;z-index:10000}
.audit-clear-modal.hidden{display:none}
.audit-clear-dialog{width:min(520px,calc(100vw - 32px));background:#fff;border:1px solid #d8e0ef;border-radius:12px;box-shadow:0 20px 60px rgba(15,23,42,.18);padding:18px}
.audit-clear-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.audit-clear-head h3{margin:0 0 4px}
.audit-clear-head p{margin:0;color:#64748b;font-size:12px}
.audit-clear-actions{display:grid;gap:14px;margin-top:18px}
.audit-before-box{border:1px solid #e2e8f0;border-radius:10px;padding:13px}
.audit-before-box label{display:block;font-size:12px;font-weight:700;margin-bottom:8px}
.audit-before-row{display:flex;gap:8px;align-items:center}
.audit-before-row input{height:38px;border:1px solid #cbd5e1;border-radius:7px;padding:0 9px;flex:1}
.audit-before-row .primary{height:38px;white-space:nowrap}
.audit-before-box small{display:block;color:#64748b;margin-top:7px;font-size:11px}

.admin-list-pagination{display:flex;justify-content:center;align-items:center;gap:12px;padding:14px 0;color:#64748b;font-size:12px}.admin-list-pagination button:disabled{opacity:.45;cursor:not-allowed}

/* GLOBAL ADMIN SIDEBAR HEIGHT FIX */
html, body {
    min-height: 100%;
}
body.admin-page,
body:has(.admin-sidebar) {
    min-height: 100vh;
}
.admin-layout {
    display: flex !important;
    align-items: stretch !important;
    min-height: 100vh !important;
}
.admin-sidebar {
    align-self: stretch !important;
    min-height: 100vh !important;
    height: 100vh !important;
    position: sticky !important;
    top: 0 !important;
    flex: 0 0 auto !important;
    box-sizing: border-box !important;
}
.admin-main {
    min-height: 100vh !important;
}
.admin-sidebar .sidebar-bottom,
.admin-sidebar .admin-sidebar-bottom,
.admin-sidebar > .sidebar-footer {
    margin-top: auto !important;
}

/* FINAL ADMIN SIDEBAR FIX - ALL ADMIN SECTIONS */
body:has(.admin-sidebar) {
    margin: 0 !important;
    min-height: 100vh !important;
}
.admin-layout {
    min-height: 100vh !important;
    height: 100vh !important;
    display: flex !important;
    align-items: stretch !important;
}
.admin-sidebar {
    height: 100vh !important;
    min-height: 100vh !important;
    max-height: none !important;
    position: sticky !important;
    top: 0 !important;
    align-self: stretch !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
}
.admin-sidebar > * {
    flex-shrink: 0;
}
.admin-sidebar .sidebar-bottom,
.admin-sidebar .admin-sidebar-bottom,
.admin-sidebar .sidebar-footer,
.admin-sidebar .admin-sidebar-footer {
    margin-top: auto !important;
}
.admin-main {
    min-height: 100vh !important;
    flex: 1 1 auto !important;
    overflow: auto !important;
}
/* Top horizontal scrollbar for voter table */
.table-top-scroll{
  width:100%;
  height:16px;
  overflow-x:auto;
  overflow-y:hidden;
  background:#f8fafc;
  border:1px solid #e2e6ee;
  border-bottom:0;
  border-radius:7px 7px 0 0;
}

.table-top-scroll-inner{
  height:1px;
  min-width:2200px;
}

/* Keep the top scrollbar aligned with the table */
#searchPanel .table-top-scroll{
  width:100%;
  max-width:100%;
}
.password-input-wrap{
  position:relative;
  width:100%;
}

.password-input-wrap .input-icon{
  width:100%;
}

.password-input-wrap .input-icon input{
  padding-right:48px;
}

.password-toggle{
  position:absolute;
  right:10px;
  top:50%;
  transform:translateY(-50%);
  border:0;
  background:transparent;
  cursor:pointer;
  font-size:18px;
  line-height:1;
  padding:5px;
  z-index:2;
}

.password-toggle:hover{
  opacity:.75;
}
/* ===== USER HOME PAGE ===== */ .home-panel{padding:0!important;background:#f7faff;overflow:hidden}.home-panel.hidden{display:none!important}.home-hero{padding:65px 50px 70px;background:linear-gradient(135deg,#eef5ff 0%,#fff 55%,#f1fff7 100%);text-align:center;border-bottom:1px solid #dbe5f2}.home-hero-content{max-width:1050px;margin:0 auto}.home-kicker{font-size:13px;font-weight:700;letter-spacing:2px;color:#3156c9;margin-bottom:12px}.home-hero h1{font-size:46px;line-height:1.1;margin:0 0 15px;color:#12285f;font-weight:800}.home-hero p{font-size:17px;color:#60708c;margin:0 auto 30px;max-width:700px}.home-search-box{display:flex;max-width:850px;margin:auto;background:#fff;border:1px solid #d5deed;border-radius:12px;padding:6px;box-shadow:0 8px 25px rgba(30,65,120,.10)}.home-search-box input{flex:1;border:0!important;outline:0!important;padding:17px 18px;font-size:15px;background:#fff!important}.home-search-box button{border:0;border-radius:9px;padding:0 30px;background:#3154c8;color:#fff;font-weight:700;font-size:15px;cursor:pointer}.home-search-box button:hover{background:#2445b4}.home-overview{padding:42px 50px}.home-section-heading{text-align:center;margin-bottom:25px}.home-section-heading h2{margin:0 0 7px;color:#172b58;font-size:28px}.home-section-heading p{margin:0;color:#71809a}.home-stat-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:18px;max-width:1250px;margin:auto}.home-stat-card{background:#fff;border:1px solid #dbe4f1;border-radius:14px;padding:24px 15px;text-align:center;box-shadow:0 5px 18px rgba(30,65,120,.06)}.home-stat-card span{display:block;font-size:25px;margin-bottom:10px}.home-stat-card b{display:block;color:#2448b8;font-size:27px;margin-bottom:5px}.home-stat-card small{color:#687993;font-size:13px}.home-vote-banner{margin:5px 50px 45px;padding:30px 40px;border-radius:16px;background:linear-gradient(100deg,#172f68,#294ebd);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:25px}.home-vote-banner h2{margin:0 0 5px;font-size:23px}.home-vote-banner p{margin:0;opacity:.85}.home-vote-banner strong{text-align:right;font-size:20px;line-height:1.35}.home-vote-banner strong span{font-size:13px;letter-spacing:1px}@media(max-width:900px){.home-stat-grid{grid-template-columns:repeat(2,1fr)}.home-hero{padding:45px 25px}.home-overview{padding:35px 25px}.home-vote-banner{margin:5px 25px 35px;flex-direction:column;text-align:center}.home-vote-banner strong{text-align:center}}@media(max-width:600px){.home-stat-grid{grid-template-columns:1fr}.home-hero h1{font-size:35px}.home-search-box{flex-direction:column}.home-search-box button{height:48px}.home-vote-banner{margin-left:15px;margin-right:15px}}
/* ===== PANEL VISIBILITY FIX ===== */
#searchPanel.hidden,#explorePanel.hidden,#adminPanel.hidden{display:none!important}
#homePanel.hidden{display:none!important}

.home-features{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;max-width:1250px;margin:0 auto 45px;padding:0 50px}.home-feature-card{background:#fff;border:1px solid #dbe4f1;border-radius:16px;padding:28px;box-shadow:0 6px 20px rgba(30,65,120,.06);cursor:pointer;transition:transform .2s,box-shadow .2s,border-color .2s}.home-feature-card:hover{transform:translateY(-4px);box-shadow:0 12px 28px rgba(30,65,120,.12);border-color:#3154c8}.home-feature-icon{width:48px;height:48px;display:flex;align-items:center;justify-content:center;border-radius:12px;background:#eef3ff;font-size:23px;margin-bottom:16px}.home-feature-card h3{margin:0 0 8px;color:#172b58;font-size:19px}.home-feature-card p{min-height:42px;margin:0 0 18px;color:#71809a;font-size:13px;line-height:1.6}.home-feature-card button{border:0;background:none;color:#3154c8;font-weight:700;padding:0;cursor:pointer}@media(max-width:900px){.home-features{grid-template-columns:1fr;padding:0 25px}}\n/* ===== HOME VISUAL POLISH ===== */\n.home-features{max-width:1320px!important;grid-template-columns:repeat(3,1fr)!important;gap:24px!important;padding:42px 50px 50px!important;margin:0 auto!important}.home-feature-card{min-height:210px!important;padding:30px 32px!important;border-radius:18px!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important}.home-feature-icon{width:56px!important;height:56px!important;border-radius:15px!important;font-size:26px!important;margin-bottom:18px!important}.home-feature-card h3{font-size:21px!important;margin-bottom:9px!important}.home-feature-card p{font-size:14px!important;line-height:1.65!important;min-height:46px!important}.home-feature-card button{margin-top:auto!important;font-size:14px!important}.home-vote-banner{margin:0!important;border-radius:0!important;min-height:125px!important;padding:32px 55px!important}.home-hero{min-height:330px!important;padding:65px 30px 60px!important}.home-hero h1{font-size:50px!important}.home-search-box{max-width:900px!important;height:64px!important;border-radius:34px!important}.home-overview{padding:44px 50px 38px!important}.home-stat-card{min-height:135px!important}.home-section-heading h2{font-size:29px!important}@media(max-width:900px){.home-features{grid-template-columns:1fr!important;padding:30px 25px!important}.home-hero h1{font-size:40px!important}}@media(max-width:600px){.home-hero h1{font-size:34px!important}.home-overview{padding:30px 18px!important}.home-features{padding:25px 18px!important}}
/* ===== HOME PAGE SPACING FIX ===== */ #dashboardView{min-height:0!important}.home-panel{min-height:0!important}.home-features{margin-bottom:20px!important;padding-bottom:25px!important}.home-feature-card{min-height:185px!important}#dashboardView>.container{min-height:0!important}.home-panel+.home-features{margin-top:0!important}@media(max-width:900px){.home-features{margin-bottom:15px!important;padding-bottom:20px!important}}
/* ===== ADVANCED SEARCH REDESIGN ===== */ .search-workspace{display:grid!important;grid-template-columns:300px minmax(0,1fr)!important;gap:0!important;padding:0!important;overflow:hidden!important;background:#f8fafc!important}.search-sidebar{background:#fff!important;border-right:1px solid #e1e7f0!important;padding:24px!important;min-height:650px!important}.search-sidebar h2{font-size:21px!important;color:#172b58!important;margin:0 0 6px!important}.search-sidebar>.muted{font-size:12px!important;margin-bottom:22px!important}.side-filter{margin-bottom:15px!important}.side-filter label{font-size:11px!important;font-weight:700!important;color:#52627a!important;text-transform:uppercase!important;letter-spacing:.4px!important}.side-filter input,.side-filter select{height:40px!important;border-radius:8px!important;border:1px solid #d5deea!important;margin-bottom:0!important}.side-filter input:focus,.side-filter select:focus{border-color:#3154c8!important;box-shadow:0 0 0 3px rgba(49,84,200,.08)!important;outline:none!important}.search-side-button{width:100%!important;height:43px!important;margin-top:10px!important;border-radius:9px!important}.advanced-filter-toggle{width:100%!important;margin-top:5px!important;border:1px solid #dbe3ef!important;background:#f8faff!important;border-radius:8px!important;padding:11px 12px!important}.search-data-column{min-width:0!important;padding:25px 28px 35px!important;background:#f8fafc!important}.search-data-header{background:#fff!important;border:1px solid #e0e7f0!important;border-radius:12px!important;padding:18px 20px!important;margin-bottom:16px!important;box-shadow:0 3px 12px rgba(20,50,100,.04)!important}.search-data-header h2{font-size:23px!important;color:#172b58!important;margin:0 0 4px!important}.search-data-header p{margin:0!important;font-size:12px!important}.results-head{background:#fff!important;border:1px solid #e0e7f0!important;border-radius:10px!important;padding:13px 15px!important;margin-top:12px!important}.voter-stats-bar{border-radius:10px!important;margin-top:12px!important}.table-wrap{border-radius:10px!important;background:#fff!important}.data-table th{background:#f4f7fb!important;color:#344054!important}.pager{padding:8px 0!important}.india-data-banner{grid-column:1 / -1!important;margin:0!important;border-radius:0!important}@media(max-width:900px){.search-workspace{grid-template-columns:1fr!important}.search-sidebar{border-right:0!important;border-bottom:1px solid #e1e7f0!important;min-height:auto!important}.search-data-column{padding:18px!important}}

/* ===== VOTE HOSHIYAR PREMIUM HOME ===== */
.home-panel{padding:0!important;background:#f5f9ff!important;overflow:hidden}
.vh-home-hero{min-height:350px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at 76% 20%,rgba(38,100,220,.13),transparent 25%),linear-gradient(135deg,#eaf5ff,#fff 50%,#effff5);border-bottom:1px solid #d8e5f3}
.vh-home-hero:after{content:"";position:absolute;left:-5%;right:-5%;bottom:-70px;height:145px;border-radius:50%;background:linear-gradient(170deg,transparent 35%,rgba(255,153,51,.55) 36% 45%,transparent 46%),linear-gradient(170deg,transparent 47%,rgba(19,136,8,.5) 48% 60%,transparent 61%);transform:rotate(-5deg)}
.vh-hero-content{width:min(1000px,92%);position:relative;z-index:3;text-align:center}
.vh-kicker{color:#1255c8;font-weight:900;font-size:14px;letter-spacing:2.5px;margin-bottom:12px}
.vh-hero-content h1{margin:0;color:#10265e;font-size:52px;line-height:1.05;font-weight:900;letter-spacing:-1.5px}
.vh-hero-content p{margin:16px auto 27px;color:#465875;font-size:17px}
.vh-main-search{height:66px;display:flex;align-items:center;background:#fff;border:1px solid #d6e1ef;border-radius:34px;padding:6px 7px 6px 22px;box-shadow:0 10px 30px rgba(30,70,130,.15);text-align:left}
.vh-search-icon{font-size:29px;margin-right:13px;color:#10265e}
.vh-main-search input{flex:1;height:100%;border:0!important;outline:0!important;background:transparent!important;font-size:16px}
.vh-main-search button{height:54px;padding:0 29px;border:0;border-radius:28px;color:#fff;background:linear-gradient(135deg,#145de2,#1649bc);font-size:15px;font-weight:800;cursor:pointer}
.vh-hero-arch{position:absolute;left:25px;bottom:18px;z-index:1;width:105px;height:110px;border:11px solid #4c8bd0;border-bottom:0;border-radius:55px 55px 0 0;color:#4c8bd0;opacity:.16;font-size:18px;font-weight:900;text-align:center;padding-top:40px}
.vh-hero-dome{position:absolute;left:150px;bottom:20px;z-index:1;color:#4c8bd0;opacity:.15;font-size:125px}
.vh-tricolor{position:absolute;right:-70px;bottom:8px;width:570px;height:150px;z-index:1;transform:rotate(-7deg);opacity:.8}
.vh-tricolor i,.vh-tricolor b,.vh-tricolor em{position:absolute;left:0;right:0;height:18px;border-radius:50%}
.vh-tricolor i{top:38px;background:#ff9933}.vh-tricolor b{top:65px;background:#fff}.vh-tricolor em{top:92px;background:#138808}
.vh-overview{background:#fff;padding:38px 5% 30px}
.vh-section-title{text-align:center;margin-bottom:25px}.vh-section-title h2{margin:0;color:#101d42;font-size:29px;font-weight:900}.vh-section-title p{margin:7px 0 8px;color:#697993}
.vh-title-line{display:flex;align-items:center;justify-content:center;gap:7px}.vh-title-line i{width:25px;height:2px;background:#1d57d5}.vh-title-line b{width:7px;height:7px;border-radius:50%;background:#1d57d5}
.vh-stat-grid{max-width:1260px;margin:auto;display:grid;grid-template-columns:repeat(5,1fr);gap:20px}
.vh-stat-card{min-height:125px;padding:15px;text-align:center;border:1px solid #dce5f1;border-radius:14px;background:#fff;box-shadow:0 8px 22px rgba(40,72,120,.08)}
.vh-stat-icon{width:46px;height:46px;margin:0 auto 8px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:23px;font-weight:900}
.vh-stat-card strong{display:block;font-size:27px;line-height:1;font-weight:900}.vh-stat-card span{display:block;margin-top:7px;color:#273554;font-size:13px}
.stat-blue .vh-stat-icon{background:#1760dc}.stat-blue strong{color:#1552ca}.stat-green .vh-stat-icon{background:#159650}.stat-green strong{color:#16894a}.stat-orange .vh-stat-icon{background:#f58b15}.stat-orange strong{color:#ed8109}.stat-purple .vh-stat-icon{background:#6741c9}.stat-purple strong{color:#5d3db8}.stat-cyan .vh-stat-icon{background:#159db8}.stat-cyan strong{color:#1591aa}
.vh-feature-area{padding:30px 5% 25px;display:grid;grid-template-columns:repeat(3,1fr);gap:22px;background-color:#f7fbff;background-image:radial-gradient(#dbeaff 1.4px,transparent 1.4px);background-size:15px 15px}
.vh-feature-card{min-height:205px;display:flex;align-items:center;gap:20px;padding:25px;border-radius:17px;background:#fff;border:1px solid #d7e1ee;box-shadow:0 9px 25px rgba(35,67,120,.09);cursor:pointer;transition:.2s}
.vh-feature-card:hover{transform:translateY(-4px);box-shadow:0 15px 32px rgba(35,67,120,.15)}
.feature-search{border-color:#72a0ff}.feature-verify{border-color:#70c6a0}.feature-history{border-color:#b49af4}
.vh-feature-art{flex:0 0 140px;width:140px;height:140px;border-radius:50%;display:flex;align-items:center;justify-content:center;position:relative}
.search-art{background:#e7f0ff}.verify-art{background:#e6f7ec}.history-art{background:#eee8ff}
.art-paper{width:62px;height:82px;padding:9px;border:3px solid #183d79;border-radius:8px;background:#fff;color:#2e75dc;font-size:18px;line-height:21px;font-weight:900}
.art-magnify{position:absolute;right:17px;bottom:20px;width:54px;height:54px;border:8px solid #1555c5;border-radius:50%;background:#fff}.art-magnify:after{content:"";position:absolute;right:-22px;bottom:-13px;width:28px;height:8px;border-radius:5px;background:#1555c5;transform:rotate(45deg)}
.art-shield{width:75px;height:92px;display:flex;align-items:center;justify-content:center;background:#158a47;color:#fff;font-size:42px;font-weight:900;clip-path:polygon(50% 0,100% 18%,91% 66%,50% 100%,9% 66%,0 18%)}
.art-ballot{width:92px;height:62px;display:flex;align-items:center;justify-content:center;background:#275bc1;border:5px solid #183d82;border-radius:5px 5px 12px 12px;color:#fff;font-weight:900;position:relative}.art-ballot:before{content:"";position:absolute;width:38px;height:45px;top:-38px;left:24px;background:#fff;border:3px solid #1b3b73;transform:rotate(8deg)}
.vh-feature-content{flex:1}.vh-feature-content h3{margin:0 0 9px;color:#122c68;font-size:21px;font-weight:900}.feature-verify h3{color:#166044}.feature-history h3{color:#42229a}
.vh-feature-content p{margin:0 0 17px;color:#344362;font-size:14px;line-height:1.6}
.vh-feature-content button{border:0;padding:11px 18px;border-radius:6px;background:#1258d7;color:#fff;font-weight:800;cursor:pointer}.feature-verify button{background:#14934e}.feature-history button{background:#6334c9}
.vh-vote-banner{min-height:130px;padding:20px 6%;display:flex;align-items:center;justify-content:space-between;color:#fff;background:linear-gradient(100deg,#07367f,#0747a9,#07377e)}
.vote-side{font-size:65px}.vote-center{text-align:center}.vote-center h2{margin:0 0 5px;font-size:30px;font-weight:900}.vote-stars{margin:3px 0 6px}.vote-center strong{color:#ffd42f;font-size:20px}
@media(max-width:1050px){.vh-stat-grid{grid-template-columns:repeat(3,1fr)}.vh-feature-area{grid-template-columns:1fr}}
@media(max-width:700px){.vh-hero-content h1{font-size:38px}.vh-main-search{height:auto;min-height:62px}.vh-stat-grid{grid-template-columns:repeat(2,1fr)}.vh-feature-card{flex-direction:column;text-align:center}.vh-vote-banner{flex-direction:column;text-align:center;gap:10px}.vote-side{display:none}}
@media(max-width:480px){.vh-stat-grid{grid-template-columns:1fr}.vh-hero-content h1{font-size:32px}.vh-main-search{flex-wrap:wrap;padding:8px}.vh-main-search input{width:100%;height:45px}.vh-main-search button{width:100%;height:48px}}


/* ===== HOME PAGE V2 - CLEAN PREMIUM DESIGN ===== */
.home-panel{padding:0!important;background:#f4f7fb!important;overflow:hidden}
.vh2-hero{position:relative;min-height:350px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:linear-gradient(115deg,#eef6ff 0%,#fff 48%,#f2fbf5 100%);border-bottom:1px solid #dfe7f1}
.vh2-hero:after{content:"";position:absolute;left:-8%;right:-8%;bottom:-88px;height:145px;border-radius:50%;background:linear-gradient(170deg,transparent 34%,rgba(255,153,51,.34) 35% 44%,transparent 45%),linear-gradient(170deg,transparent 46%,rgba(19,136,8,.30) 47% 58%,transparent 59%);transform:rotate(-2deg)}
.vh2-hero-inner{position:relative;z-index:4;width:min(980px,92%);text-align:center}
.vh2-eyebrow{font-size:12px;letter-spacing:3px;font-weight:900;color:#1556c7;margin-bottom:13px}
.vh2-hero h1{margin:0;color:#10265d;font-size:50px;line-height:1.05;font-weight:900;letter-spacing:-1.6px}
.vh2-hero p{margin:14px auto 25px;color:#52647e;font-size:16px}
.vh2-search{height:62px;display:flex;align-items:center;background:#fff;border:1px solid #d4dfed;border-radius:32px;padding:5px 6px 5px 20px;box-shadow:0 12px 28px rgba(31,63,112,.13)}
.vh2-search-symbol{font-size:28px;color:#132b62;margin-right:11px}
.vh2-search input{flex:1;height:100%;border:0!important;outline:0!important;background:transparent!important;font-size:15px;color:#182846}
.vh2-search button{height:50px;padding:0 28px;border:0;border-radius:26px;background:#1559d6;color:#fff;font-weight:800;font-size:14px;cursor:pointer}
.vh2-search button:hover{background:#0f49b6}
.vh2-quick-links{display:flex;justify-content:center;align-items:center;gap:10px;margin-top:18px;font-size:12px;color:#7a879a}
.vh2-quick-links button{border:0;background:none;color:#3159a8;font-weight:700;cursor:pointer;padding:0}
.vh2-arch{position:absolute;left:34px;bottom:8px;width:88px;height:105px;border:9px solid #5b90cf;border-bottom:0;border-radius:50px 50px 0 0;color:#5b90cf;opacity:.12;text-align:center;padding-top:35px;font-weight:900;z-index:1}
.vh2-wheel{position:absolute;right:170px;top:48px;font-size:105px;color:#5b90cf;opacity:.07;z-index:1}
.vh2-hero-glow{position:absolute;border-radius:50%;opacity:.4}.vh2-glow-left{width:300px;height:300px;left:-100px;top:-120px;background:#dcecff}.vh2-glow-right{width:360px;height:360px;right:-130px;top:-120px;background:#dff5e8}
.vh2-stats{background:#fff;padding:35px 5% 31px}
.vh2-heading{text-align:center;margin-bottom:23px}.vh2-heading h2{margin:0;color:#12213f;font-size:28px;font-weight:900}.vh2-heading p{margin:6px 0 0;color:#78869a;font-size:13px}
.vh2-stat-row{max-width:1260px;margin:auto;display:grid;grid-template-columns:repeat(5,1fr);gap:16px}
.vh2-stat{min-height:126px;background:#fff;border:1px solid #dce5f0;border-radius:13px;text-align:center;padding:15px 10px 12px;box-shadow:0 7px 20px rgba(28,57,99,.07);transition:.2s}
.vh2-stat:hover{transform:translateY(-3px);box-shadow:0 12px 25px rgba(28,57,99,.11)}
.vh2-stat-icon{width:44px;height:44px;border-radius:50%;margin:0 auto 8px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:11px;font-weight:900;letter-spacing:.5px}
.vh2-stat strong{display:block;font-size:25px;line-height:1.05;font-weight:900}.vh2-stat span{display:block;margin-top:6px;font-size:12px;color:#596980}
.vh2-stat-icon.blue{background:#2363dc}.vh2-stat-icon.green{background:#1a9a58}.vh2-stat-icon.orange{background:#f08b21}.vh2-stat-icon.purple{background:#6b43c8}.vh2-stat-icon.cyan{background:#159bb5}
.vh2-stat:nth-child(1) strong{color:#1855c9}.vh2-stat:nth-child(2) strong{color:#198a51}.vh2-stat:nth-child(3) strong{color:#e07b0c}.vh2-stat:nth-child(4) strong{color:#5c39b2}.vh2-stat:nth-child(5) strong{color:#148ca4}
.vh2-tools{padding:28px 5% 32px;display:grid;grid-template-columns:repeat(3,1fr);gap:20px;background:#f7faff}
.vh2-tool-card{min-height:190px;display:flex;align-items:center;gap:20px;padding:24px;border-radius:16px;background:#fff;border:1px solid #dce5f0;box-shadow:0 8px 22px rgba(29,58,101,.07);cursor:pointer;transition:.2s}
.vh2-tool-card:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(29,58,101,.12)}
.blue-card{border-top:3px solid #2463df}.green-card{border-top:3px solid #1b9958}.purple-card{border-top:3px solid #6b43c8}
.vh2-tool-icon{flex:0 0 82px;width:82px;height:82px;border-radius:20px;display:flex;align-items:center;justify-content:center;font-size:43px;font-weight:900}
.blue-icon{background:#edf4ff;color:#2361d8}.green-icon{background:#eaf8f0;color:#15894d}.purple-icon{background:#f0ebff;color:#6439bd}
.vh2-tool-text{flex:1}.vh2-tool-label{font-size:10px;letter-spacing:1.5px;font-weight:900;color:#98a5b7;margin-bottom:5px}.vh2-tool-text h3{margin:0 0 8px;font-size:19px;color:#132c63;font-weight:900}.green-card h3{color:#155d3c}.purple-card h3{color:#4d2b9e}
.vh2-tool-text p{margin:0 0 14px;color:#5f6e82;font-size:12px;line-height:1.55}
.vh2-tool-text button{border:0;border-radius:6px;padding:9px 14px;background:#185bd5;color:#fff;font-size:12px;font-weight:800;cursor:pointer}.green-card button{background:#159451}.purple-card button{background:#633bc2}.vh2-tool-text button span{margin-left:7px}
.vh2-message{background:linear-gradient(105deg,#082f78,#1649a7,#082f78);color:#fff}
.vh2-message-inner{min-height:120px;margin:auto;padding:20px 5%;display:flex;align-items:center;justify-content:space-between;gap:20px}.vh2-message-mark{font-size:52px;color:#ffd02f}.vh2-message h2{margin:0;font-size:27px;font-weight:900;text-align:center}.vh2-message p{margin:8px 0 0;text-align:center;color:#ffd42d;font-size:15px;font-weight:900}.vh2-message-side{text-align:right;font-size:24px;font-weight:900}.vh2-message-side small{font-size:9px;letter-spacing:2px;opacity:.65}
@media(max-width:1050px){.vh2-stat-row{grid-template-columns:repeat(3,1fr)}.vh2-tools{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.vh2-hero{min-height:330px}.vh2-hero h1{font-size:39px}.vh2-search{height:auto;min-height:60px}.vh2-search button{padding:0 20px}.vh2-stat-row{grid-template-columns:repeat(2,1fr)}.vh2-tools{grid-template-columns:1fr}.vh2-tool-card{min-height:160px}.vh2-message-inner{flex-direction:column;text-align:center}.vh2-message-side{display:none}}
@media(max-width:480px){.vh2-hero h1{font-size:32px}.vh2-search{flex-wrap:wrap;padding:7px}.vh2-search input{height:44px;width:100%}.vh2-search button{width:100%;height:45px}.vh2-quick-links{display:none}.vh2-stat-row{grid-template-columns:1fr}.vh2-tool-card{flex-direction:column;text-align:center}}


/* ===== FINAL HOME NAV / FOOTER FIX ===== */
.vh2-main-nav{display:flex;align-items:center;justify-content:center;gap:7px;flex:1;margin:0 25px}
.vh2-main-nav button{border:0;background:transparent;color:#18243d;padding:12px 15px;border-radius:9px;font:inherit;font-weight:750;cursor:pointer;white-space:nowrap}
.vh2-main-nav button:hover{background:#eef4ff;color:#1458d2}
.vh2-main-nav button:first-child{color:#18243d;background:transparent}
.vh2-main-nav button span{margin-left:5px}
.vh2-back-home{display:block;margin:0 0 12px;padding:9px 14px;border:1px solid #d5dfeb;border-radius:8px;background:#fff;color:#1d4fae;font-weight:700;cursor:pointer}
.vh2-back-home:hover{background:#eef4ff}
.vh2-stat-icon{font-family:Arial,sans-serif!important;font-size:20px!important}
.vh2-tool-label{display:none!important}

/* Keep the real site footer at the bottom on short pages. */
#dashboardView{min-height:calc(100vh - 95px)!important}
#dashboardView>.container{min-height:calc(100vh - 95px)!important;display:flex!important;flex-direction:column!important}
#dashboardView>.container>footer{margin-top:auto!important}
body>footer{margin-top:auto!important}

@media(max-width:1100px){
  .vh2-main-nav{gap:2px;margin:0 8px}
  .vh2-main-nav button{padding:10px 8px;font-size:12px}
}
@media(max-width:800px){
  .vh2-main-nav{display:none}
}


/* ===== FINAL HOME NAV / FOOTER FIX ===== */
.vh2-main-nav{display:flex;align-items:center;justify-content:center;gap:7px;flex:1;margin:0 25px}
.vh2-main-nav button{border:0;background:transparent;color:#18243d;padding:12px 15px;border-radius:9px;font:inherit;font-weight:750;cursor:pointer;white-space:nowrap}
.vh2-main-nav button:hover{background:#eef4ff;color:#1458d2}
.vh2-main-nav button:first-child{color:#18243d;background:transparent}
.vh2-main-nav button span{margin-left:5px}
.vh2-back-home{display:block;margin:0 0 12px;padding:9px 14px;border:1px solid #d5dfeb;border-radius:8px;background:#fff;color:#1d4fae;font-weight:700;cursor:pointer}
.vh2-back-home:hover{background:#eef4ff}
.vh2-stat-icon{font-family:Arial,sans-serif!important;font-size:20px!important}
.vh2-tool-label{display:none!important}

/* Keep the real site footer at the bottom on short pages. */
#dashboardView{min-height:calc(100vh - 95px)!important}
#dashboardView>.container{min-height:calc(100vh - 95px)!important;display:flex!important;flex-direction:column!important}
#dashboardView>.container>footer{margin-top:auto!important}
body>footer{margin-top:auto!important}

@media(max-width:1100px){
  .vh2-main-nav{gap:2px;margin:0 8px}
  .vh2-main-nav button{padding:10px 8px;font-size:12px}
}
@media(max-width:800px){
  .vh2-main-nav{display:none}
}


/* ===== FINAL HOME NAV / FOOTER FIX ===== */
.vh2-main-nav{display:flex;align-items:center;justify-content:center;gap:7px;flex:1;margin:0 25px}
.vh2-main-nav button{border:0;background:transparent;color:#18243d;padding:12px 15px;border-radius:9px;font:inherit;font-weight:750;cursor:pointer;white-space:nowrap}
.vh2-main-nav button:hover{background:#eef4ff;color:#1458d2}
.vh2-main-nav button:first-child{color:#18243d;background:transparent}
.vh2-main-nav button span{margin-left:5px}
.vh2-back-home{display:block;margin:0 0 12px;padding:9px 14px;border:1px solid #d5dfeb;border-radius:8px;background:#fff;color:#1d4fae;font-weight:700;cursor:pointer}
.vh2-back-home:hover{background:#eef4ff}
.vh2-stat-icon{font-family:Arial,sans-serif!important;font-size:20px!important}
.vh2-tool-label{display:none!important}

/* Keep the real site footer at the bottom on short pages. */
#dashboardView{min-height:calc(100vh - 95px)!important}
#dashboardView>.container{min-height:calc(100vh - 95px)!important;display:flex!important;flex-direction:column!important}
#dashboardView>.container>footer{margin-top:auto!important}
body>footer{margin-top:auto!important}

@media(max-width:1100px){
  .vh2-main-nav{gap:2px;margin:0 8px}
  .vh2-main-nav button{padding:10px 8px;font-size:12px}
}
@media(max-width:800px){
  .vh2-main-nav{display:none}
}

/* ===== CLEAN FINAL HOME LAYOUT ===== */
.topbar{display:flex!important;align-items:center!important;gap:18px!important}
.vh2-main-nav{display:flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;flex:1 1 auto!important;margin:0!important}
.vh2-main-nav button{border:0!important;background:transparent!important;color:#23304a!important;padding:10px 14px!important;border-radius:8px!important;font-size:13px!important;font-weight:700!important;cursor:pointer!important;white-space:nowrap!important}
.vh2-main-nav button:hover,.vh2-main-nav button.active{color:#1559d6!important;background:#edf4ff!important}
.vh2-main-nav button[data-nav="verification"].active{color:#16884c!important;background:#eaf8f0!important}
.vh2-main-nav button[data-nav="history"].active{color:#6039b9!important;background:#f0ebff!important}
#dashboardView{min-height:0!important}
#dashboardView>.container{min-height:0!important;display:block!important}
#dashboardView>.container>footer,body>footer{margin-top:0!important}
.home-panel{min-height:0!important;height:auto!important;overflow:visible!important}
.vh2-back-home{display:inline-flex!important;align-items:center!important;margin:16px 0 0 18px!important;padding:9px 14px!important;border:1px solid #d5dfeb!important;border-radius:8px!important;background:#fff!important;color:#1559b8!important;font-weight:700!important;cursor:pointer!important}
.vh2-back-home:hover{background:#edf4ff!important}
@media(max-width:1050px){.vh2-main-nav{gap:2px!important}.vh2-main-nav button{padding:9px 8px!important;font-size:12px!important}}
@media(max-width:800px){.vh2-main-nav{display:none!important}}

/* ===== CLEAN FINAL HOME LAYOUT ===== */
.topbar{display:flex!important;align-items:center!important;gap:18px!important}
.vh2-main-nav{display:flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;flex:1 1 auto!important;margin:0!important}
.vh2-main-nav button{border:0!important;background:transparent!important;color:#23304a!important;padding:10px 14px!important;border-radius:8px!important;font-size:13px!important;font-weight:700!important;cursor:pointer!important;white-space:nowrap!important}
.vh2-main-nav button:hover,.vh2-main-nav button.active{color:#1559d6!important;background:#edf4ff!important}
.vh2-main-nav button[data-nav="verification"].active{color:#16884c!important;background:#eaf8f0!important}
.vh2-main-nav button[data-nav="history"].active{color:#6039b9!important;background:#f0ebff!important}
#dashboardView{min-height:0!important}
#dashboardView>.container{min-height:0!important;display:block!important}
#dashboardView>.container>footer,body>footer{margin-top:0!important}
.home-panel{min-height:0!important;height:auto!important;overflow:visible!important}
.vh2-back-home{display:inline-flex!important;align-items:center!important;margin:16px 0 0 18px!important;padding:9px 14px!important;border:1px solid #d5dfeb!important;border-radius:8px!important;background:#fff!important;color:#1559b8!important;font-weight:700!important;cursor:pointer!important}
.vh2-back-home:hover{background:#edf4ff!important}
@media(max-width:1050px){.vh2-main-nav{gap:2px!important}.vh2-main-nav button{padding:9px 8px!important;font-size:12px!important}}
@media(max-width:800px){.vh2-main-nav{display:none!important}}

/* ===== HOME FINAL SPACING FIX ===== */
html,body{min-height:100%!important}
body{min-height:100vh!important;display:flex!important;flex-direction:column!important}
main{flex:1 0 auto!important}
#dashboardView{min-height:0!important;flex:1 0 auto!important}
#dashboardView>.container{min-height:0!important}
.home-panel{min-height:0!important}
.home-feature-card{min-height:215px!important}
.home-features{padding-top:28px!important;padding-bottom:35px!important}
.home-vote-banner{position:relative!important;overflow:hidden!important}
.home-vote-banner:before,.home-vote-banner:after{display:none!important}
.home-vote-banner>div:first-child{position:relative!important;z-index:2!important}
.home-vote-banner>strong{position:relative!important;z-index:2!important}
.home-vote-banner img,.home-vote-banner picture,.home-vote-banner svg{display:none!important}
.topbar button:focus{outline:none!important;box-shadow:none!important}
.vh2-main-nav button:focus{outline:none!important;box-shadow:none!important}
footer{margin-top:auto!important}
@media(max-width:900px){.home-feature-card{min-height:190px!important}}

/* ===== SIMPLE HOME V2 ===== */
html,body{min-height:100%}
body{min-height:100vh;display:flex;flex-direction:column}
main{flex:1 0 auto}
#dashboardView{min-height:0!important;padding-bottom:0!important}
#dashboardView>.container{min-height:0!important}
#homePanel.home-panel{display:block;padding:0!important;margin:0!important;background:#f5f8fc!important;border:0!important;overflow:visible!important}
.simple-home-hero{background:linear-gradient(135deg,#eef5ff 0%,#fff 55%,#f1faf5 100%);border-bottom:1px solid #dbe4ef;padding:58px 24px 64px;text-align:center}
.simple-home-inner{max-width:1050px;margin:0 auto}
.simple-home-kicker{color:#3158c7;font-size:12px;font-weight:800;letter-spacing:2.5px;margin-bottom:10px}
.simple-home-hero h1{margin:0 0 12px;color:#12285f;font-size:46px;line-height:1.12;font-weight:800}
.simple-home-hero p{margin:0 auto 27px;max-width:680px;color:#687891;font-size:16px}
.simple-home-search{display:flex;max-width:820px;height:58px;margin:0 auto;padding:5px;background:#fff;border:1px solid #d2ddea;border-radius:31px;box-shadow:0 8px 24px rgba(25,60,110,.10)}
.simple-home-search input{flex:1;min-width:0;border:0!important;outline:0!important;background:transparent!important;padding:0 19px!important;color:#26344d;font-size:14px}
.simple-home-search button{min-width:105px;border:0;border-radius:26px;background:#3158c9;color:#fff;font-size:14px;font-weight:700;cursor:pointer}
.simple-home-search button:hover{background:#2448b5}
.simple-home-overview{padding:38px 5% 34px;background:#fff}
.simple-home-title{text-align:center;margin-bottom:22px}
.simple-home-title h2{margin:0 0 5px;color:#172b58;font-size:27px}
.simple-home-title p{margin:0;color:#7a879a;font-size:13px}
.simple-home-stats{display:grid;grid-template-columns:repeat(5,1fr);gap:15px;max-width:1180px;margin:0 auto}
.simple-stat{min-height:112px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fff;border:1px solid #dbe4ef;border-radius:13px;box-shadow:0 4px 15px rgba(30,65,120,.055);text-align:center;padding:17px 10px}
.simple-stat strong{color:#2854bd;font-size:25px;line-height:1.15;margin-bottom:6px}
.simple-stat span{color:#687993;font-size:12px}
.simple-home-message{min-height:108px;display:flex;align-items:center;justify-content:center;padding:24px 30px;background:linear-gradient(100deg,#182f68,#3156c6);color:#fff;text-align:center}
.simple-home-message h2{margin:0 0 7px;font-size:23px}
.simple-home-message p{margin:0;color:#ffd83d;font-size:12px;font-weight:800;letter-spacing:.8px}
.home-features,.home-feature-card,.home-vote-banner{display:none!important}
footer{margin-top:auto!important}
.topbar button:focus,.vh2-main-nav button:focus{outline:none!important;box-shadow:none!important}
@media(max-width:900px){.simple-home-stats{grid-template-columns:repeat(2,1fr)}.simple-home-hero h1{font-size:40px}}
@media(max-width:600px){.simple-home-hero{padding:42px 18px 48px}.simple-home-hero h1{font-size:34px}.simple-home-search{height:auto;flex-direction:column;border-radius:15px}.simple-home-search input{height:50px}.simple-home-search button{height:46px}.simple-home-overview{padding:30px 18px}.simple-home-stats{grid-template-columns:1fr}}

/* ===== CODE HOME BACKGROUND ===== */

#homePanel .simple-home-hero {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate !important;
  background:
    linear-gradient(135deg,
      #eef6ff 0%,
      #ffffff 42%,
      #fff8ef 72%,
      #eef9f1 100%) !important;
}

#homePanel .simple-home-hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -170px;
  top: -210px;
  border-radius: 50%;
  background:
    repeating-conic-gradient(
      from 0deg,
      rgba(255,153,51,.15) 0deg 7deg,
      transparent 7deg 15deg
    );
  opacity: .75;
  pointer-events: none;
  z-index: -1;
}

#homePanel .simple-home-hero::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  left: -130px;
  bottom: -165px;
  border-radius: 50%;
  border: 30px solid rgba(19,136,8,.09);
  box-shadow:
    0 0 0 22px rgba(255,153,51,.055),
    0 0 0 48px rgba(19,136,8,.035);
  pointer-events: none;
  z-index: -1;
}

#homePanel .simple-home-inner {
  position: relative;
  z-index: 2;
}

#homePanel .simple-home-kicker {
  color: #3158c7 !important;
}

#homePanel .simple-home-hero h1 {
  color: #132b61 !important;
}

#homePanel .simple-home-hero p {
  color: #62718a !important;
}

#homePanel .simple-home-search {
  position: relative;
  z-index: 3;
}

#homePanel .simple-home-search::before {
  content: "✦";
  position: absolute;
  left: -28px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,153,51,.55);
  font-size: 18px;
  pointer-events: none;
}

#homePanel .simple-home-search::after {
  content: "✦";
  position: absolute;
  right: -28px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(19,136,8,.45);
  font-size: 18px;
  pointer-events: none;
}

@media (max-width: 700px) {
  #homePanel .simple-home-hero::before {
    width: 350px;
    height: 350px;
    right: -160px;
    top: -120px;
  }

  #homePanel .simple-home-search::before,
  #homePanel .simple-home-search::after {
    display: none;
  }
}


/* ===== ACTIVE HEADER NAVIGATION STYLE ===== */
.vh2-main-nav button.active{
  background: #eef4ff !important;
  color: #173f9f !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  box-shadow: 0 1px 5px rgba(20,55,130,.10) !important;
}

.vh2-main-nav button.active::after{
  content: "";
  display: block;
  height: 3px;
  margin: 6px 8px -9px;
  border-radius: 3px;
  background: #2457d6;
}

.vh2-main-nav button{
  transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}


/* NAV HIGHLIGHT CSS ONLY - FINAL */
.vh2-main-nav button{
  color:#18243d !important;
  background:transparent !important;
}









`r`n/* REMOVE BACK TO HOME BUTTONS */`r`n.vh2-back-home{display:none!important;}


/* ===== DATA VERIFICATION V1 ===== */
#verificationPanel.verification-page{padding:26px;box-sizing:border-box;background:#f7f9fc;min-height:calc(100vh - 80px)}
.verification-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:16px}.verification-head h1{margin:0 0 5px;color:#142d62;font-size:28px}.verification-head p{margin:0;color:#61718b;font-size:13px}.verification-last{background:#fff;border:1px solid #e0e7f0;border-radius:10px;padding:12px 16px;min-width:230px}.verification-last span{display:block;font-size:10px;color:#73819a;text-transform:uppercase;font-weight:700}.verification-last strong{display:inline-block;margin-top:4px;font-size:13px;color:#23304a}.verification-refresh{float:right;border:0;background:transparent;color:#1759d2;font-weight:700;cursor:pointer}
.verification-filters{display:grid;grid-template-columns:1.1fr 1.1fr 1.2fr 1.1fr 165px;gap:14px;align-items:end;background:#fff;border:1px solid #e0e7f0;border-radius:10px;padding:16px;margin-bottom:14px}.verification-filter label{display:block;font-size:10px;font-weight:700;color:#596981;margin:0 0 5px}.verification-filter select{width:100%;height:39px;border:1px solid #d6dfec;border-radius:6px;background:#fff;padding:0 10px;color:#253553;box-sizing:border-box}.verification-analyze{height:40px;border:0;border-radius:6px;background:#1759d2;color:#fff;font-weight:700;cursor:pointer}
.verification-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:14px}.verification-stat{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #e0e7f0;border-radius:10px;padding:15px;min-height:72px;box-sizing:border-box}.verification-stat small{display:block;color:#60708a;font-size:10px}.verification-stat strong{display:block;color:#182d55;font-size:21px;margin-top:3px}.vicon{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;font-size:18px;flex:none}.vicon.blue{background:#eaf2ff;color:#1760d8}.vicon.red{background:#fff0f0;color:#e04444}.vicon.orange{background:#fff5e8;color:#ed971e}.vicon.green{background:#eaf8ef;color:#25a05a}.vicon.purple{background:#f1ecff;color:#7545d4}
.verification-groups {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
}
.verification-group{background:#fff;border:1px solid #e0e7f0;border-radius:9px;padding:0 12px 12px;box-sizing:border-box}.verification-group h3{font-size:13px;margin:0 -12px 8px;padding:14px 12px;border-bottom:1px solid #edf1f6}.red-group h3{color:#d83f3f}.orange-group h3{color:#e58a16}.purple-group h3{color:#7044c8}.green-group h3{color:#238d58}.verification-item{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:8px 2px;border-bottom:1px solid #f0f3f7;font-size:11px;color:#34425b}.verification-item b{min-width:25px;text-align:center;border-radius:5px;padding:3px 6px;background:#f0f3f8;color:#40506a}.red-group .verification-item b{background:#fff0f0;color:#d83f3f}.orange-group .verification-item b{background:#fff5e8;color:#df8b1d}.purple-group .verification-item b{background:#f1edff;color:#7044c8}.green-group .verification-item b{background:#eaf8ef;color:#238d58}.verification-group>button{width:100%;height:31px;margin-top:10px;border:1px solid #d9e2ef;background:#fff;border-radius:5px;font-size:10px;font-weight:700;color:#1759d2;cursor:pointer}
.verification-table-card{background:#fff;border:1px solid #e0e7f0;border-radius:9px;padding:14px;box-sizing:border-box}.verification-table-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.verification-table-head h2{font-size:16px;margin:0;color:#182f60}.verification-table-head p{margin:3px 0 0;color:#748198;font-size:10px}.verification-table-head button{border:1px solid #d7e1ef;background:#fff;border-radius:5px;padding:8px 12px;color:#1759d2;font-weight:700;font-size:11px;cursor:pointer}.verification-table-wrap{width:100%;overflow:auto}.verification-table{width:100%;border-collapse:collapse;font-size:10px;min-width:1000px}.verification-table th{background:#eef4fc;color:#3d4e68;text-align:left;padding:9px 7px;font-weight:700;white-space:nowrap}.verification-table td{padding:9px 7px;border-bottom:1px solid #edf1f6;color:#33415a;white-space:nowrap}.verification-empty{text-align:center!important;padding:30px!important;color:#75839a!important}
@media(max-width:1100px){.verification-filters{grid-template-columns:repeat(3,1fr)}.verification-stats{grid-template-columns:repeat(3,1fr)}.verification-groups{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){#verificationPanel.verification-page{padding:14px}.verification-head{display:block}.verification-last{margin-top:12px}.verification-filters{grid-template-columns:1fr}.verification-stats{grid-template-columns:1fr 1fr}.verification-groups{grid-template-columns:1fr}}


#verificationLoadingOverlay{
  position:fixed;
  inset:0;
  background:rgba(15,32,60,.32);
  backdrop-filter:blur(3px);
  -webkit-backdrop-filter:blur(3px);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:99999;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .2s ease,visibility .2s ease;
}

#verificationLoadingOverlay.show{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}

.verification-loading-card{
  width:min(430px,calc(100vw - 40px));
  background:#fff;
  border:1px solid #dbe4f0;
  border-radius:16px;
  padding:30px 28px;
  text-align:center;
  box-shadow:0 20px 60px rgba(20,45,90,.22);
}

.verification-spinner{
  width:46px;
  height:46px;
  margin:0 auto 18px;
  border:4px solid #e5ebf5;
  border-top-color:#315bd6;
  border-right-color:#315bd6;
  border-radius:50%;
  animation:verificationSpin .8s linear infinite;
}

.verification-loading-title{
  font-size:21px;
  font-weight:700;
  color:#102d63;
  margin-bottom:9px;
}

.verification-loading-status{
  min-height:22px;
  font-size:14px;
  font-weight:600;
  color:#315bd6;
  margin-bottom:9px;
}

.verification-loading-sub{
  font-size:12px;
  line-height:1.5;
  color:#71809a;
}

@keyframes verificationSpin{
  to{transform:rotate(360deg)}
}

/* Data Verification - filters removed */
.verification-actions{display:flex;justify-content:flex-end;margin:16px 0;}
.verification-actions .verification-analyze{min-width:160px;}


/* =========================================================
   VERIFICATION RECORDS — ADVANCED COLUMN FILTERS
   ========================================================= */

.verification-table .verification-header-row th{
  white-space:nowrap;
  position:sticky;
  top:0;
  z-index:4;
}

.verification-table .verification-filter-row th{
  background:#f8fafc;
  padding:5px 4px;
  position:sticky;
  top:36px;
  z-index:3;
  border-bottom:1px solid #dbe4f0;
}

.verification-column-filter{
  width:100%;
  min-width:70px;
  height:30px;
  padding:5px 7px;
  border:1px solid #cbd5e1;
  border-radius:5px;
  background:#fff;
  color:#183b70;
  font-size:11px;
  outline:none;
  box-sizing:border-box;
}

.verification-column-filter:focus{
  border-color:#2563eb;
  box-shadow:0 0 0 2px rgba(37,99,235,.10);
}

.verification-column-filter::placeholder{
  color:#94a3b8;
}

.verification-filter-row select{
  cursor:pointer;
}

.verification-table-wrap{
  overflow:auto;
}



/* ============================================================
   VERIFICATION RECORDS — FINAL TABLE / HEADER FILTER UI
   ============================================================ */

.verification-table-wrap{
  width:100%;
  overflow:auto;
  background:#fff;
  border:1px solid #cbd5e1;
  border-radius:8px;
}

.verification-table{
  width:max-content;
  min-width:100%;
  border-collapse:collapse;
  border-spacing:0;
  background:#fff;
}

.verification-table th,
.verification-table td{
  border:1px solid #d6deea !important;
  padding:9px 10px;
  vertical-align:middle;
  white-space:nowrap;
}

.verification-table thead th{
  background:#f3f6fa;
  color:#243b63;
  font-weight:700;
  position:sticky;
  top:0;
  z-index:5;
}

.verification-table tbody td{
  background:#fff;
  color:#26384f;
}

.verification-table tbody tr:hover td{
  background:#f8fbff;
}

.verification-th-content{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  min-width:100px;
}








.verification-filter-check{
  display:flex;
  align-items:center;
  gap:8px;
  padding:7px 9px;
  font-size:12px;
  color:#334155;
  cursor:pointer;
}

.verification-filter-check:hover{
  background:#f5f8fc;
}

.verification-filter-check.all{
  border-bottom:1px solid #e2e8f0;
  font-weight:600;
}

.verification-filter-check input{
  margin:0;
}







.verification-record-summary{
  display:flex;
  align-items:center;
  gap:12px;
  padding:10px 0;
  color:#7b8799;
  font-size:12px;
}

.verification-record-summary strong{
  color:#173a72;
  font-size:13px;
}

.verification-download-buttons{
  display:flex;
  gap:8px;
}

.verification-download-btn{
  border:1px solid #cbd5e1;
  background:#fff;
  color:#214f98;
  border-radius:6px;
  padding:8px 13px;
  font-size:12px;
  font-weight:600;
  cursor:pointer;
}

.verification-download-btn:hover{
  background:#f2f6fc;
  border-color:#9eb4d4;
}

.verification-pagination{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;

  width:100%;
  box-sizing:border-box;

  padding:12px 0;
}

/* Page-size selector */
.verification-pagination select{
  width:180px;
  min-width:180px;
  max-width:180px;

  height:40px;

  border:1px solid #cbd5e1;
  background:#fff;
  color:#40516b;
  border-radius:5px;

  padding:7px 10px;

  font-size:12px;
  box-sizing:border-box;
}

/* Pagination buttons */
.verification-pagination button{
  height:40px;

  border:1px solid #cbd5e1;
  background:#fff;
  color:#40516b;

  border-radius:5px;

  padding:7px 12px;

  font-size:12px;

  cursor:pointer;
}

/* Pagination center area */
.verification-pagination .verification-page-info{
  display:flex;
  align-items:center;
  justify-content:center;

  gap:8px;

  white-space:nowrap;

  font-size:13px;
  color:#40516b;
}

/* Previous / Next area */
.verification-pagination .verification-page-controls{
  display:flex;
  align-items:center;

  gap:8px;

  margin-left:auto;
}

/* Disabled button */
.verification-pagination button:disabled{
  opacity:.45;
  cursor:not-allowed;
}

/* Mobile */
@media(max-width:700px){

  .verification-pagination{
    flex-wrap:wrap;
    justify-content:center;
  }

  .verification-pagination select{
    width:100%;
    max-width:none;
  }

  .verification-pagination .verification-page-controls{
    margin-left:0;
  }
}

/* Verification table column filter popup */

/* Filter popup title */

/* Filter search box */


/* Filter values area */

/* Individual filter option */


/* Buttons */

/* Verification Records - column filter popup */

/* Verification Records - fixed header filter popup */


/* ============================================================
   VERIFICATION RECORDS COLUMN FILTER POPUP
   ============================================================ */


/* Popup title */


/* Search */



/* Values container */


/* Every option */


/* Option row */



/* Checkbox */


/* Select All */


/* Note */


/* Buttons */





/* Verification Records popup - scroll with page */


/* =========================================================
   Verification Filter - OK Button
   ========================================================= */




/* Keep Clear button white */


/* ===== ELECTION HISTORY USER PAGE ===== */


/* ===== ELECTION HISTORY USER PAGE ===== */

.election-history-page{
  width:100%;
  min-height:calc(100vh - 80px);
  box-sizing:border-box;
  background:#f6f9fd;
}

.eh-page{
  width:100%;
  box-sizing:border-box;
  padding:28px 30px 40px;
  color:#142d62;
}


/* HEADER */

.eh-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:22px;
}

.eh-title-wrap{
  display:flex;
  align-items:center;
  gap:15px;
}

.eh-title-icon{
  width:48px;
  height:48px;
  display:flex;
  align-items:center;
  justify-content:center;

  border-radius:14px;

  background:#e9f1ff;
  color:#1458d2;

  font-size:28px;
  font-weight:700;
}

.eh-title-wrap h1{
  margin:0 0 5px;

  color:#142d62;
  font-size:28px;
  line-height:1.2;
  font-weight:750;
}

.eh-title-wrap p{
  margin:0;

  color:#64748b;
  font-size:13px;
}


/* BUTTONS */

.eh-header-actions{
  display:flex;
  gap:10px;
}

.eh-outline-btn,
.eh-search-btn{
  height:38px;
  padding:0 17px;

  border-radius:7px;

  font-size:12px;
  font-weight:650;

  cursor:pointer;
}

.eh-outline-btn{
  border:1px solid #cbd7e7;
  background:#fff;
  color:#40516b;
}

.eh-outline-btn:hover{
  background:#f2f6fc;
}

.eh-search-btn{
  border:1px solid #165dcc;
  background:#165dcc;
  color:#fff;
}

.eh-search-btn:hover{
  background:#104da9;
}


/* FILTER */

.eh-filter-card{
  padding:20px;

  background:#fff;
  border:1px solid #dce5f0;
  border-radius:10px;

  box-shadow:0 2px 8px rgba(15,35,65,.04);

  margin-bottom:20px;
}

.eh-filter-grid{
  display:grid;
  grid-template-columns:
    1fr
    1fr
    1fr
    1.15fr
    1.5fr;

  gap:14px;
}

.eh-field label{
  display:block;

  margin:0 0 7px;

  color:#263b60;

  font-size:11px;
  font-weight:700;
}

.eh-field select,
.eh-search-box input{
  width:100%;
  height:40px;

  box-sizing:border-box;

  border:1px solid #cbd8e8;
  border-radius:6px;

  background:#fff;
  color:#243b63;

  padding:0 11px;

  font-size:12px;

  outline:none;
}

.eh-field select:focus,
.eh-search-box input:focus{
  border-color:#3d7ce0;
  box-shadow:0 0 0 2px rgba(61,124,224,.10);
}

.eh-search-box{
  position:relative;
}

.eh-search-box input{
  padding-right:35px;
}

.eh-search-box span{
  position:absolute;
  right:12px;
  top:50%;

  transform:translateY(-50%);

  color:#6b7d98;
  font-size:17px;
}

.eh-filter-actions{
  display:flex;
  justify-content:flex-end;
  gap:9px;

  margin-top:15px;
}


/* SUMMARY */

.eh-summary-grid{
  display:grid;
  grid-template-columns:
    repeat(5, minmax(0,1fr));

  gap:14px;

  margin-bottom:20px;
}

.eh-summary-card{
  min-height:92px;

  display:flex;
  align-items:center;

  gap:13px;

  padding:15px;

  box-sizing:border-box;

  background:#fff;

  border:1px solid #dce5f0;
  border-radius:10px;

  box-shadow:0 2px 8px rgba(15,35,65,.035);
}

.eh-summary-icon{
  width:42px;
  height:42px;

  flex:0 0 42px;

  display:flex;
  align-items:center;
  justify-content:center;

  border-radius:50%;

  font-size:18px;
  font-weight:700;
}

.eh-summary-icon.blue{
  background:#e8f1ff;
  color:#1761d2;
}

.eh-summary-icon.green{
  background:#e9f8ef;
  color:#16934b;
}

.eh-summary-icon.orange{
  background:#fff1df;
  color:#ec8a16;
}

.eh-summary-icon.purple{
  background:#f1eaff;
  color:#7446cf;
}

.eh-summary-icon.teal{
  background:#e5f8f8;
  color:#138d91;
}

.eh-summary-card span{
  display:block;

  color:#60728e;

  font-size:10px;
  margin-bottom:3px;
}

.eh-summary-card strong{
  display:block;

  color:#142d62;

  font-size:20px;
  line-height:1.2;
}

.eh-summary-card small{
  display:block;

  color:#8794a7;

  font-size:9px;

  margin-top:3px;
}


/* RESULTS */

.eh-results-card{
  background:#fff;

  border:1px solid #dce5f0;
  border-radius:10px;

  box-shadow:0 2px 8px rgba(15,35,65,.035);

  overflow:hidden;
}

.eh-results-header{
  display:flex;
  align-items:center;
  justify-content:space-between;

  padding:18px 20px;

  border-bottom:1px solid #e4eaf2;
}

.eh-results-header h2{
  margin:0 0 4px;

  color:#142d62;

  font-size:18px;
}

.eh-results-header p{
  margin:0;

  color:#73829a;

  font-size:11px;
}

.eh-result-count{
  padding:7px 11px;

  border-radius:14px;

  background:#eaf2ff;
  color:#1458d2;

  font-size:11px;
  font-weight:700;
}

.eh-table-wrap{
  width:100%;
  overflow-x:auto;
}

.eh-table{
  width:100%;
  min-width:1250px;

  border-collapse:collapse;

  font-size:11px;
}

.eh-table th{
  height:42px;

  padding:0 10px;

  background:#f4f7fb;

  border-bottom:1px solid #dce5f0;

  color:#536681;

  font-size:10px;
  font-weight:750;

  text-align:left;

  white-space:nowrap;
}

.eh-table td{
  height:54px;

  padding:7px 10px;

  border-bottom:1px solid #edf1f6;

  color:#334966;

  white-space:nowrap;
}

.eh-table tbody tr:hover{
  background:#fafcff;
}

.eh-table td:nth-child(8){
  color:#125bd0;
  font-weight:700;
}

.eh-table td:nth-child(9){
  color:#16834a;
  font-weight:700;
}

.eh-empty-state{
  min-height:250px;

  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;

  text-align:center;

  padding:30px;
}

.eh-empty-icon{
  width:55px;
  height:55px;

  display:flex;
  align-items:center;
  justify-content:center;

  margin-bottom:12px;

  border-radius:50%;

  background:#edf4ff;
  color:#1761d2;

  font-size:27px;
}

.eh-empty-state h3{
  margin:0 0 7px;

  color:#273e63;

  font-size:15px;
}

.eh-empty-state p{
  max-width:540px;

  margin:0;

  color:#78879d;

  font-size:11px;
  line-height:1.6;
}


/* PAGINATION */

.eh-pagination{
  display:flex;
  align-items:center;
  justify-content:space-between;

  padding:14px 18px;

  border-top:1px solid #e8edf4;

  color:#687993;

  font-size:11px;
}

.eh-page-buttons{
  display:flex;
  align-items:center;
  gap:5px;
}

.eh-page-buttons button{
  min-width:31px;
  height:31px;

  border:1px solid #d5dfeb;
  border-radius:5px;

  background:#fff;
  color:#4c607c;

  cursor:pointer;
}

.eh-page-buttons button.active{
  background:#165dcc;
  border-color:#165dcc;
  color:#fff;
}

.eh-pagination select{
  height:31px;

  border:1px solid #d5dfeb;
  border-radius:5px;

  background:#fff;
  color:#40516b;

  padding:0 8px;

  font-size:11px;
}


/* LOWER CARDS */

.eh-bottom-grid{
  display:grid;
  grid-template-columns:1.5fr 1fr;

  gap:14px;

  margin-top:20px;
}

.eh-info-card{
  min-height:220px;

  padding:18px;

  box-sizing:border-box;

  background:#fff;

  border:1px solid #dce5f0;
  border-radius:10px;
}

.eh-info-title{
  display:flex;
  align-items:center;
  gap:8px;

  margin-bottom:15px;
}

.eh-info-title span{
  color:#1761d2;
  font-size:17px;
}

.eh-info-title h3{
  margin:0;

  color:#243b63;

  font-size:14px;
}

.eh-placeholder-chart{
  height:150px;

  display:flex;
  align-items:center;
  justify-content:center;

  border:1px dashed #cbd8e8;
  border-radius:7px;

  background:#fafcff;
}

.eh-chart-message{
  color:#8997aa;

  font-size:11px;
  text-align:center;
}

.eh-info-list{
  display:flex;
  flex-direction:column;
}

.eh-info-list > div{
  display:flex;
  justify-content:space-between;

  padding:12px 0;

  border-bottom:1px solid #edf1f6;
}

.eh-info-list span{
  color:#718198;
  font-size:11px;
}

.eh-info-list strong{
  color:#263e65;
  font-size:11px;
  text-align:right;
}

.eh-source-bar{
  display:flex;
  align-items:center;
  gap:9px;

  margin-top:16px;
  padding:11px 14px;

  border:1px solid #d6e5f8;
  border-radius:7px;

  background:#f3f8ff;

  color:#536b89;

  font-size:10px;
}

.eh-source-icon{
  color:#1761d2;
  font-size:15px;
}

.eh-updated{
  margin-left:auto;
}


/* RESPONSIVE */

@media(max-width:1200px){

  .eh-filter-grid{
    grid-template-columns:
      repeat(3,1fr);
  }

  .eh-summary-grid{
    grid-template-columns:
      repeat(3,1fr);
  }

}

@media(max-width:800px){

  .eh-page{
    padding:18px 14px 30px;
  }

  .eh-header{
    align-items:flex-start;
  }

  .eh-title-wrap h1{
    font-size:23px;
  }

  .eh-filter-grid{
    grid-template-columns:1fr;
  }

  .eh-summary-grid{
    grid-template-columns:
      repeat(2,1fr);
  }

  .eh-bottom-grid{
    grid-template-columns:1fr;
  }

  .eh-pagination{
    flex-wrap:wrap;
    gap:10px;
  }

}

@media(max-width:520px){

  .eh-summary-grid{
    grid-template-columns:1fr;
  }

  .eh-filter-actions{
    justify-content:stretch;
  }

  .eh-filter-actions button{
    flex:1;
  }

  .eh-source-bar{
    align-items:flex-start;
    flex-wrap:wrap;
  }

  .eh-updated{
    width:100%;
    margin-left:0;
  }

}



/* ===== RASTER RESULT PRINT ===== */

.result-print-actions{
  display:flex;
  align-items:center;
  gap:8px;
}

.result-print-button{
  height:36px;
  padding:0 14px;

  border:1px solid #cbd7e7;
  border-radius:6px;

  background:#fff;
  color:#40516b;

  font-size:12px;
  font-weight:650;

  cursor:pointer;
}

.result-print-button:hover{
  background:#f2f6fc;
  border-color:#aebed3;
}

.verification-print-btn{
  margin-left:4px;
}

.raster-print-source{
  box-sizing:border-box;

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  color:#172b4d;
}

.raster-print-heading{
  width:100%;

  box-sizing:border-box;

  padding:12px 14px 15px;

  border-bottom:2px solid #173f82;

  background:#fff;

  text-align:left;
}

.raster-print-brand{
  font-size:20px;
  font-weight:800;
  letter-spacing:.5px;
  color:#163b78;
}

.raster-print-brand span{
  color:#173f82;
}

.raster-print-subtitle{
  margin-top:2px;

  color:#687991;

  font-size:9px;
  letter-spacing:.6px;
}

.raster-print-title{
  margin-top:13px;

  color:#172f5c;

  font-size:16px;
  font-weight:700;
}

.raster-print-date{
  margin-top:4px;

  color:#75849a;

  font-size:9px;
}

.raster-print-table-holder{
  margin-top:12px;
  background:#fff;
}

.raster-print-table-holder table{
  width:max-content !important;
  min-width:100%;

  border-collapse:collapse;

  background:#fff;

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  font-size:9px;
}

.raster-print-table-holder th{
  padding:7px 8px !important;

  background:#edf3fa !important;

  color:#20395f !important;

  border:1px solid #bdcadd !important;

  font-weight:700;

  white-space:nowrap;
}

.raster-print-table-holder td{
  padding:6px 8px !important;

  background:#fff !important;

  color:#263d5d !important;

  border:1px solid #d5deea !important;

  white-space:nowrap;
}

.raster-print-table-holder tbody tr:nth-child(even) td{
  background:#f9fbfd !important;
}

.raster-print-footer{
  margin-top:10px;

  padding-top:7px;

  border-top:1px solid #d5deea;

  color:#718198;

  font-size:8px;

  text-align:left;
}

@media print{

  .raster-print-source{
    display:block !important;
  }

}


/* =========================================================
   SINGLE ACTIVE MAIN NAVIGATION
   IMPORTANT:
   Navigation highlighting is controlled ONLY by .active.
   ========================================================= */

.vh2-main-nav button {
  background: transparent !important;
  color: #18243d !important;
  box-shadow: none !important;
  border-color: transparent !important;
}

.vh2-main-nav button.active {
  background: #edf4ff !important;
  color: #1559d6 !important;
  box-shadow: 0 1px 5px rgba(20,55,130,.10) !important;
  font-weight: 750 !important;
}

/* Advance Search has its own accent only when ACTIVE. */
.vh2-main-nav button[data-nav="searchPanel"].active {
  background: #eaf8f0 !important;
  color: #16884c !important;
}

/* Static Filter */
.vh2-main-nav button[data-nav="verificationPanel"].active {
  background: #edf4ff !important;
  color: #1559d6 !important;
}

/* Election History */
.vh2-main-nav button[data-nav="electionHistoryPanel"].active {
  background: #f0ebff !important;
  color: #6039b9 !important;
}

/* Home */
.vh2-main-nav button[data-nav="homePanel"].active {
  background: #edf4ff !important;
  color: #1559d6 !important;
}

/* Never highlight inactive navigation buttons by their
   data attributes. */
.vh2-main-nav button[data-nav="searchPanel"]:not(.active),
.vh2-main-nav button[data-nav="verificationPanel"]:not(.active),
.vh2-main-nav button[data-nav="electionHistoryPanel"]:not(.active),
.vh2-main-nav button[data-nav="homePanel"]:not(.active) {
  background: transparent !important;
  color: #18243d !important;
  box-shadow: none !important;
}

/* Active underline */
.vh2-main-nav button.active::after {
  content: "";
  display: block;
  height: 3px;
  margin: 6px 8px -9px;
  border-radius: 3px;
  background: currentColor;
}

/* Inactive buttons have no underline */
.vh2-main-nav button:not(.active)::after {
  content: none !important;
}



/* =========================================================
   STATIC FILTER - FINAL VALIDATION LAYOUT
   ========================================================= */

.verification-selection-bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  box-sizing:border-box;
  margin:0 0 12px 0;
  padding:0 4px;
  min-height:34px;
}

.verification-select-all{
  display:inline-flex;
  align-items:center;
  gap:8px;
  cursor:pointer;
  user-select:none;
  font-weight:600;
}

.verification-selected-count{
  font-size:13px;
  color:#66758c;
}

.verification-groups{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:12px !important;
  width:100% !important;
  box-sizing:border-box !important;
}

.verification-group{
  width:100%;
  min-width:0;
  box-sizing:border-box;
}

/* Keep every validation card aligned at the top. */
.verification-group-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  min-height:38px;
  box-sizing:border-box;
}

/* Responsive layout */
@media(max-width:1100px){

  .verification-groups{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }

}

@media(max-width:700px){

  .verification-groups{
    grid-template-columns:1fr !important;
  }

}


/* FINAL STATIC FILTER FOUR-BOX LAYOUT */
.verification-groups {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.verification-groups > .verification-group {
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

/* Responsive only on smaller screens */
@media (max-width: 1100px) {
  .verification-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 700px) {
  .verification-groups {
    grid-template-columns: 1fr !important;
  }
}


/* =========================================================
   STATIC FILTER - FORCE FOUR VALIDATION BOXES IN ONE ROW
   ========================================================= */

/* Parent: exactly four columns */
#verificationPanel .verification-groups {
    display: grid !important;
    grid-template-columns:
        repeat(4, minmax(0, 1fr)) !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
    align-items: start !important;
}

/* IMPORTANT:
   Prevent individual groups from occupying the entire row.
*/
#verificationPanel .verification-groups > .verification-group {
    display: block !important;
    grid-column: auto !important;
    grid-row: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    box-sizing: border-box !important;
    align-self: start !important;
}

/* Do not allow the group itself to become a grid */
#verificationPanel .verification-group.red-group,
#verificationPanel .verification-group.orange-group,
#verificationPanel .verification-group.purple-group,
#verificationPanel .verification-group.green-group {
    grid-column: auto !important;
}

/* Keep the four cards visually consistent */
#verificationPanel .verification-group {
    margin: 0 !important;
}

/* Desktop */
@media (min-width: 1101px) {
    #verificationPanel .verification-groups {
        grid-template-columns:
            repeat(4, minmax(0, 1fr)) !important;
    }

    #verificationPanel .verification-groups
        > .verification-group {
        grid-column: auto !important;
    }
}

/* Tablet */
@media (min-width: 701px) and (max-width: 1100px) {
    #verificationPanel .verification-groups {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
    }
}

/* Mobile */
@media (max-width: 700px) {
    #verificationPanel .verification-groups {
        grid-template-columns: 1fr !important;
    }
}

/* STATIC FILTER - SELECT ALL HEADER ALIGNMENT */
#verificationPanel .verification-group-title {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  min-height: 38px !important;
  box-sizing: border-box !important;
}

#verificationPanel .verification-group-title h3 {
  margin: 0 !important;
  flex: 1 1 auto !important;
}

#verificationPanel .verification-group-title .verification-group-select-all {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 6px !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  white-space: nowrap !important;
}

#verificationPanel .verification-group-title .verification-section-select-all {
  position: static !important;
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  flex: 0 0 auto !important;
}
/* FIX: Select All text before checkbox */
#verificationPanel .verification-group-select-all {
  flex-direction: row-reverse !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 6px !important;
}

#verificationPanel .verification-group-select-all span {
  order: 1 !important;
}

#verificationPanel .verification-group-select-all input {
  order: 2 !important;
  margin: 0 !important;
}

/* =========================================================
   FIX: SELECT ALL CHECKBOX MUST BE AFTER THE TEXT
   Do NOT change the four-box verification layout.
   ========================================================= */

#verificationPanel .verification-group-title .verification-group-select-all {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    white-space: nowrap !important;
    margin-left: auto !important;
}

#verificationPanel .verification-group-title .verification-group-select-all span {
    order: 1 !important;
}

#verificationPanel .verification-group-title .verification-group-select-all input {
    order: 2 !important;
    margin: 0 !important;
    flex: 0 0 auto !important;
}


/* =========================================================
   FIX: STICKY TOP HEADER ON ALL PAGES
   ========================================================= */

header {
    position: sticky !important;
    top: 0 !important;
    z-index: 10000 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

header .vh2-main-nav {
    position: relative !important;
    z-index: 10001 !important;
}

/* Keep the header visually above page content */
header {
    background: #ffffff !important;
}

/* =========================================================
   END STICKY TOP HEADER FIX
   ========================================================= */


/* ===== FINAL VOTE HOSHIYAR STICKY HEADER ===== */

.topbar {
    position: sticky !important;
    top: 0 !important;
    z-index: 10000 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
}

.topbar .vh2-main-nav {
    position: relative !important;
    z-index: 10001 !important;
}

.topbar #userMenu {
    position: relative !important;
    z-index: 10002 !important;
}

/* ===== END FINAL VOTE HOSHIYAR STICKY HEADER ===== */


/* =========================================================
   VOTE HOSHIYAR FINAL STICKY HEADER
   ========================================================= */

.topbar {
    position: sticky !important;
    top: 0 !important;
    z-index: 10000 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
}

.topbar .vh2-main-nav {
    position: relative !important;
    z-index: 10001 !important;
}

.topbar #userMenu {
    position: relative !important;
    z-index: 10002 !important;
}

/* =========================================================
   END VOTE HOSHIYAR FINAL STICKY HEADER
   ========================================================= */


/* =========================================================
   VOTE HOSHIYAR - FINAL FIXED TOP HEADER
   ========================================================= */

/*
   The header must remain visible while the page scrolls.
   Use fixed instead of sticky because the page contains
   containers/overflow rules that can prevent sticky from
   working correctly.
*/

.topbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;

    width: 100% !important;
    height: 68px !important;
    min-height: 68px !important;

    z-index: 99999 !important;

    box-sizing: border-box !important;

    background: #ffffff !important;

    margin: 0 !important;
}

/*
   Keep the header contents inside the fixed header.
*/
.topbar .vh2-main-nav {
    position: relative !important;
    z-index: 100000 !important;
}

.topbar #userMenu {
    position: relative !important;
    z-index: 100001 !important;
}

/*
   Because the header is fixed, it no longer occupies
   normal document space. Give the dashboard the same
   top space so content does not hide underneath it.
*/
#dashboardView {
    padding-top: 68px !important;
    box-sizing: border-box !important;
}

/*
   Do not alter the authentication screen.
*/
#authView {
    padding-top: 0 !important;
}

/* =========================================================
   END FINAL FIXED TOP HEADER
   ========================================================= */


/* =========================================================
   POTENTIAL ISSUES INFO
   ========================================================= */

.verification-issues-label{
  display:inline-flex;
  align-items:center;
  gap:6px;
}

.verification-issues-info{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  width:17px;
  height:17px;
  min-width:17px;

  padding:0;

  border:1px solid #2563eb;
  border-radius:50%;

  background:#fff;
  color:#2563eb;

  font-size:11px;
  font-weight:700;
  line-height:1;

  cursor:pointer;

  box-sizing:border-box;

  transition:
    background-color .15s ease,
    color .15s ease,
    transform .15s ease;
}

.verification-issues-info:hover,
.verification-issues-info:focus-visible{
  background:#2563eb;
  color:#fff;
  transform:scale(1.08);
  outline:none;
}

.verification-issues-info-popup{
  position:absolute;

  top:42px;
  left:0;

  z-index:10000;

  width:365px;
  max-width:calc(100vw - 32px);

  padding:17px;

  border:1px solid #d7e0ec;
  border-radius:12px;

  background:#fff;

  box-shadow:
    0 12px 30px rgba(15,23,42,.16);

  color:#334155;

  font-size:12px;
  line-height:1.5;

  box-sizing:border-box;

  text-align:left;
}

.verification-issues-info-popup.hidden{
  display:none !important;
}

.verification-issues-info-title{
  margin-bottom:10px;

  color:#172b58;

  font-size:14px;
  font-weight:700;
}

.verification-issues-info-row{
  display:flex;

  align-items:flex-start;
  justify-content:space-between;

  gap:16px;

  padding:8px 0;

  border-bottom:1px solid #edf1f6;
}

.verification-issues-info-row span{
  flex:1;
}

.verification-issues-info-row strong{
  flex:0 0 auto;

  color:#172b58;

  font-size:13px;
}

.verification-issues-info-explanation{
  margin-top:11px;

  padding:10px 11px;

  border-radius:8px;

  background:#f5f8fc;

  color:#475569;
}

.verification-issues-info-note{
  margin-top:10px;

  color:#64748b;

  font-size:11px;
}


/*
 * Position the popup relative to the Potential Issues
 * stat card.
 */
.verification-stat{
  position:relative;
}



/* =========================================================
   POTENTIAL ISSUES INFO POPUP - FIXED POSITION
   ========================================================= */

/* =========================================================
   POTENTIAL ISSUES INFO POPUP - FIXED POSITION
   ========================================================= */

/*
 * JavaScript changes the popup to position:fixed when opened.
 * These rules prevent the popup from being clipped by the
 * verification stat card or any parent container.
 */

#verificationIssuesInfoPopup{
  position:fixed !important;

  z-index:999999 !important;

  width:365px;
  max-width:calc(100vw - 24px);

  box-sizing:border-box;

  pointer-events:auto;

  overflow:visible;
}

#verificationIssuesInfoPopup.hidden{
  display:none !important;
}

#verificationIssuesInfoButton{
  position:relative;
  z-index:1000000;

  cursor:pointer;

  user-select:none;
  -webkit-user-select:none;
}

#verificationIssuesInfoButton:focus-visible{
  outline:2px solid #2563eb;
  outline-offset:2px;
}

@media(max-width:500px){

  #verificationIssuesInfoPopup{
    width:calc(100vw - 24px) !important;
    max-width:calc(100vw - 24px) !important;
  }

}



/* =========================================================
   POTENTIAL ISSUES INFO - HOVER
   ========================================================= */

/* =========================================================
   POTENTIAL ISSUES INFO - HOVER
   ========================================================= */

#verificationIssuesInfoButton{
  cursor:pointer;
}

#verificationIssuesInfoPopup{
  pointer-events:auto !important;
}

/*
 * Keep the information popup above the page.
 */
#verificationIssuesInfoPopup{
  z-index:999999 !important;
}


/*
 * Remove any native-looking title behavior.
 */
#verificationIssuesInfoButton::after{
  content:none !important;
}


/* ============================================================
   VOTE HOSHIYAR UI FONT SYSTEM V5
   ============================================================ */

/* Font library */


:root{
  --vh-ui-font:
    Inter,
    "Segoe UI",
    Arial,
    sans-serif;
}


/*
============================================================
LOGIN / SIGNUP ARE NOT MODIFIED
============================================================

The authentication UI uses the original CSS above.
No font-scope rule is allowed to override:

.auth-wrap
.auth-card
.tabs
.tab

*/


/*
============================================================
MAIN APPLICATION UI
============================================================
*/

html[data-ui-font-scope="main"]
.topbar,
html[data-ui-font-scope="main"]
.container,
html[data-ui-font-scope="main"]
.panel,
html[data-ui-font-scope="main"]
.welcome,
html[data-ui-font-scope="main"]
.choice-grid,
html[data-ui-font-scope="main"]
.cards,
html[data-ui-font-scope="main"]
.explore-card,
html[data-ui-font-scope="main"]
.district-grid{
  font-family:
    var(--vh-ui-font);
}


/*
============================================================
BOTH
============================================================
*/

html[data-ui-font-scope="both"]
.topbar,
html[data-ui-font-scope="both"]
.container,
html[data-ui-font-scope="both"]
.panel,
html[data-ui-font-scope="both"]
.welcome,
html[data-ui-font-scope="both"]
.choice-grid,
html[data-ui-font-scope="both"]
.cards,
html[data-ui-font-scope="both"]
.explore-card,
html[data-ui-font-scope="both"]
.district-grid{
  font-family:
    var(--vh-ui-font);
}


/*
============================================================
PROTECTED / ADMIN UI
============================================================
*/

html[data-ui-font-scope="protected"]
.admin-shell,
html[data-ui-font-scope="protected"]
.admin-main,
html[data-ui-font-scope="protected"]
.admin-sidebar,

html[data-ui-font-scope="both"]
.admin-shell,
html[data-ui-font-scope="both"]
.admin-main,
html[data-ui-font-scope="both"]
.admin-sidebar{
  font-family:
    var(--vh-ui-font);
}


/*
============================================================
TABLE PROTECTION
============================================================
*/

.data-table,
.data-table *,
.data-table th,
.data-table td{
  font-family:
    Arial,
    Helvetica,
    sans-serif !important;
}


/*
============================================================
NATIVE CONTROL PROTECTION
============================================================
*/

select,
select *,
option,
input,
textarea{
  font-family:
    Arial,
    Helvetica,
    sans-serif !important;
}


/*
============================================================
FONT SETTINGS PANEL
============================================================
*/

.ui-font-setting{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:24px;
}

.ui-font-controls{
  width:min(360px,100%);
  display:flex;
  flex-direction:column;
  gap:8px;
}

.ui-font-controls select{
  margin-bottom:8px;
}

.ui-font-preview{
  border:1px solid #e2e6ee;
  border-radius:10px;
  padding:14px;
  margin:8px 0;
  background:#f8faff;
  display:flex;
  flex-direction:column;
  gap:5px;
}

.ui-font-preview strong{
  font-size:18px;
}

.ui-font-preview span{
  color:#667085;
  font-size:13px;
}

@media(max-width:800px){

  .ui-font-setting{
    flex-direction:column;
  }

  .ui-font-controls{
    width:100%;
  }

}


/*
============================================================
AUTHENTICATION HARD PROTECTION
============================================================
*/

.auth-wrap,
.auth-card,
.auth-card *,
.tabs,
.tab{
  font-family:
    Inter,
    "Segoe UI",
    Arial,
    sans-serif !important;
}


/* ============================================================
   VOTE HOSHIYAR OFFICIAL LOGO V5
   Exact supplied PNG
   ============================================================ */

.topbar .brand-wrap{
  display:flex;
  align-items:center;
  flex-shrink:0;
  width:255px;
  height:54px;
  gap:0;
}

.topbar .vh-official-logo{
  display:block;
  width:255px;
  height:auto;
  max-width:255px;
  max-height:54px;
  object-fit:contain;
  object-position:left center;
}


/* Admin Console */
.admin-side-brand{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  width:100%;
}

.vh-admin-logo{
  display:block;
  width:185px;
  height:auto;
  max-width:100%;
  object-fit:contain;
}


/* Responsive */
@media(max-width:800px){

  .topbar .brand-wrap{
    width:205px;
    height:48px;
  }

  .topbar .vh-official-logo{
    width:205px;
    max-width:205px;
    max-height:48px;
  }

  .vh-admin-logo{
    width:165px;
  }

}



/* ============================================================
   OFFICIAL VOTE HOSHIYAR HEADER LOGO
   ============================================================ */

.topbar .brand-wrap{
  display:flex;
  align-items:center;
  flex-shrink:0;
  width:255px;
  height:54px;
  gap:0;
}

.topbar .vh-header-logo{
  display:block;
  width:255px;
  height:auto;
  max-width:255px;
  max-height:54px;
  object-fit:contain;
  object-position:left center;
}


@media(max-width:800px){

  .topbar .brand-wrap{
    width:205px;
    height:48px;
  }

  .topbar .vh-header-logo{
    width:205px;
    max-width:205px;
    max-height:48px;
  }

}



/* ============================================================
   LOGIN PAGE HEADER — OFFICIAL VOTE HOSHIYAR LOGO
   ============================================================ */

.auth-brandbar .auth-logo{
  display:flex;
  align-items:center;
  flex-shrink:0;
  width:255px;
  height:52px;
}

.auth-brandbar .vh-auth-header-logo{
  display:block;
  width:255px;
  height:auto;
  max-width:255px;
  max-height:52px;
  object-fit:contain;
  object-position:left center;
}


/* Keep the tagline independent */
.auth-brandbar .auth-tagline{
  flex-shrink:0;
}


/* Mobile */
@media(max-width:800px){

  .auth-brandbar .auth-logo{
    width:205px;
    height:46px;
  }

  .auth-brandbar .vh-auth-header-logo{
    width:205px;
    max-width:205px;
    max-height:46px;
  }

}





/* ===== VOTE HOSHIYAR UI FONT SETTINGS V6 ===== */

/*
   The font selected in Admin Settings is stored in:
       --vh-ui-font

   Scopes:
       main      = Main Application UI only
       protected = Protected UI only
       both      = Main + Protected UI

   Protected UI:
       Tables
       Table cells
       Native dropdowns
       Inputs
       Textareas

   Login / Signup layout is NOT modified.
*/


:root {
  --vh-ui-font:
    Inter,
    "Segoe UI",
    Arial,
    sans-serif;

  --vh-protected-font:
    Inter,
    "Segoe UI",
    Arial,
    sans-serif;
}


/* ------------------------------------------------------------
   MAIN APPLICATION UI
   ------------------------------------------------------------ */

/*
   Default application font.

   This intentionally does NOT alter layout properties.
   It changes font-family only.
*/

html[data-ui-font-scope="main"] body,
html[data-ui-font-scope="both"] body {
  font-family: var(--vh-ui-font);
}


/* ------------------------------------------------------------
   MAIN UI CHILD ELEMENTS
   ------------------------------------------------------------ */

html[data-ui-font-scope="main"] body button,
html[data-ui-font-scope="main"] body a,
html[data-ui-font-scope="main"] body h1,
html[data-ui-font-scope="main"] body h2,
html[data-ui-font-scope="main"] body h3,
html[data-ui-font-scope="main"] body h4,
html[data-ui-font-scope="main"] body h5,
html[data-ui-font-scope="main"] body h6,
html[data-ui-font-scope="main"] body p,
html[data-ui-font-scope="main"] body span,
html[data-ui-font-scope="main"] body label,
html[data-ui-font-scope="main"] body small,
html[data-ui-font-scope="main"] body strong,
html[data-ui-font-scope="main"] body b,
html[data-ui-font-scope="both"] body button,
html[data-ui-font-scope="both"] body a,
html[data-ui-font-scope="both"] body h1,
html[data-ui-font-scope="both"] body h2,
html[data-ui-font-scope="both"] body h3,
html[data-ui-font-scope="both"] body h4,
html[data-ui-font-scope="both"] body h5,
html[data-ui-font-scope="both"] body h6,
html[data-ui-font-scope="both"] body p,
html[data-ui-font-scope="both"] body span,
html[data-ui-font-scope="both"] body label,
html[data-ui-font-scope="both"] body small,
html[data-ui-font-scope="both"] body strong,
html[data-ui-font-scope="both"] body b {
  font-family: var(--vh-ui-font);
}


/* ------------------------------------------------------------
   PROTECTED UI DEFAULT
   ------------------------------------------------------------ */

/*
   When Main Application UI is selected,
   protected elements remain on Inter.

   This prevents the font setting from disturbing:
       tables
       dropdowns
       inputs
       textareas
*/

html[data-ui-font-scope="main"] body input,
html[data-ui-font-scope="main"] body select,
html[data-ui-font-scope="main"] body textarea,
html[data-ui-font-scope="main"] body option,
html[data-ui-font-scope="main"] body table,
html[data-ui-font-scope="main"] body table *,
html[data-ui-font-scope="main"] body .data-table,
html[data-ui-font-scope="main"] body .data-table *,
html[data-ui-font-scope="main"] body .verification-table,
html[data-ui-font-scope="main"] body .verification-table * {
  font-family: var(--vh-protected-font) !important;
}


/* ------------------------------------------------------------
   PROTECTED UI ONLY
   ------------------------------------------------------------ */

html[data-ui-font-scope="protected"] body input,
html[data-ui-font-scope="protected"] body select,
html[data-ui-font-scope="protected"] body textarea,
html[data-ui-font-scope="protected"] body option,
html[data-ui-font-scope="protected"] body table,
html[data-ui-font-scope="protected"] body table *,
html[data-ui-font-scope="protected"] body .data-table,
html[data-ui-font-scope="protected"] body .data-table *,
html[data-ui-font-scope="protected"] body .verification-table,
html[data-ui-font-scope="protected"] body .verification-table * {
  font-family: var(--vh-ui-font) !important;
}


/* ------------------------------------------------------------
   BOTH
   ------------------------------------------------------------ */

html[data-ui-font-scope="both"] body input,
html[data-ui-font-scope="both"] body select,
html[data-ui-font-scope="both"] body textarea,
html[data-ui-font-scope="both"] body option,
html[data-ui-font-scope="both"] body table,
html[data-ui-font-scope="both"] body table *,
html[data-ui-font-scope="both"] body .data-table,
html[data-ui-font-scope="both"] body .data-table *,
html[data-ui-font-scope="both"] body .verification-table,
html[data-ui-font-scope="both"] body .verification-table * {
  font-family: var(--vh-ui-font) !important;
}


/* ------------------------------------------------------------
   NATIVE CONTROLS
   ------------------------------------------------------------ */

html[data-ui-font-scope="protected"] body select,
html[data-ui-font-scope="protected"] body option,
html[data-ui-font-scope="both"] body select,
html[data-ui-font-scope="both"] body option {
  font-family: var(--vh-ui-font) !important;
}


/* ------------------------------------------------------------
   FONT PREVIEW
   ------------------------------------------------------------ */

#uiFontPreview {
  font-family: var(--vh-ui-font) !important;
}


/* ------------------------------------------------------------
   IMPORTANT:
   DO NOT CHANGE AUTHENTICATION LAYOUT
   ------------------------------------------------------------

   No padding
   No margin
   No width
   No height
   No grid
   No flex
   No positioning
   No border
   No radius

   Only font-family is controlled above.
*/


/* ===== END VOTE HOSHIYAR UI FONT SETTINGS V6 ===== */


/* ===== ISSUES POPUP CSS-ONLY SAFE FIX V1 ===== */

/*
 * CSS-ONLY SAFETY FIX
 *
 * Do not change JavaScript.
 * Do not change authentication.
 * Do not change the sticky header.
 *
 * The information popup belongs to the
 * Potential Issues stat card.
 */

.verification-stat{
  position:relative;
}

/*
 * Keep the popup inside its card's stacking context.
 * This prevents it from being treated as a page-level
 * overlay above the sticky header.
 */

.verification-stat
#verificationIssuesInfoPopup{
  z-index:10 !important;
}

/*
 * Keep the information button local to its card.
 * Do not give it an enormous z-index.
 */

.verification-stat
#verificationIssuesInfoButton{
  z-index:11 !important;
}

/*
 * The popup must never visually outrank
 * the site's sticky navigation/header.
 */

#verificationIssuesInfoPopup{
  max-height:calc(100vh - 110px);
  overflow-y:auto;
  box-sizing:border-box;
}

/*
 * Keep the popup usable on small screens.
 */

@media (max-width:600px){

  #verificationIssuesInfoPopup{
    max-width:calc(100vw - 24px);
    max-height:calc(100vh - 100px);
  }

}

/* ===== END ISSUES POPUP CSS-ONLY SAFE FIX V1 ===== */


/* ===== VOTE HOSHIYAR HOME REDESIGN V1 ===== */

/*
 * HOME PAGE ONLY
 *
 * No JavaScript changes.
 * No authentication changes.
 * No search changes.
 * No other page changes.
 */

.vh-home-redesign{
  width:100%;
  max-width:1480px;
  margin:0 auto;
  padding:0;
  background:#fff;
  border-radius:18px;
  overflow:hidden;
  box-shadow:
    0 8px 30px rgba(17,37,82,.06);
}


/* ============================================================
   HERO
   ============================================================ */

.vh-home-hero{
  min-height:455px;

  display:grid;
  grid-template-columns:
    minmax(470px, .95fr)
    minmax(560px, 1.15fr);

  position:relative;
  overflow:hidden;

  background:
    radial-gradient(
      circle at 72% 35%,
      rgba(37,99,235,.09),
      transparent 30%
    ),
    linear-gradient(
      120deg,
      #f7faff 0%,
      #eef5ff 55%,
      #f8fbff 100%
    );
}


/* dotted decoration */

.vh-home-hero::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  width:145px;
  height:160px;

  opacity:.45;

  background-image:
    radial-gradient(
      #b8d3ff 1.4px,
      transparent 1.4px
    );

  background-size:10px 10px;

  mask-image:
    linear-gradient(
      135deg,
      #000,
      transparent
    );
}


/* ============================================================
   COPY
   ============================================================ */

.vh-home-copy{
  position:relative;
  z-index:3;

  padding:
    66px
    20px
    45px
    68px;
}

.vh-home-kicker{
  margin-bottom:17px;

  color:#075eea;

  font-size:16px;
  font-weight:800;

  letter-spacing:3px;
}

.vh-home-copy h1{
  margin:0;

  color:#10245e;

  font-size:50px;
  line-height:1.14;

  font-weight:850;

  letter-spacing:-1.5px;
}

.vh-home-copy h1 span{
  color:#1764ed;
}

.vh-home-description{
  margin:
    20px
    0
    28px;

  color:#405584;

  font-size:18px;
  line-height:1.9;

  font-weight:500;
}


/* ============================================================
   FEATURES
   ============================================================ */

.vh-home-features{
  display:flex;
  align-items:center;
  gap:27px;

  flex-wrap:wrap;

  max-width:680px;
}

.vh-home-feature{
  display:flex;
  align-items:center;

  gap:13px;

  min-width:145px;
}

.vh-feature-icon{
  width:55px;
  height:55px;

  flex:none;

  display:grid;
  place-items:center;

  border-radius:14px;

  font-size:30px;
  font-weight:800;
}

.vh-home-feature strong{
  color:#122457;

  font-size:14px;
  line-height:1.7;
}

.vh-feature-blue .vh-feature-icon{
  color:#1262e9;
  background:#e6efff;
}

.vh-feature-green .vh-feature-icon{
  color:#09934b;
  background:#e5f6ed;
}

.vh-feature-purple .vh-feature-icon{
  color:#6735cf;
  background:#eee7ff;
}

.vh-feature-orange .vh-feature-icon{
  color:#ef7900;
  background:#fff0df;
}


/* ============================================================
   VISUAL
   ============================================================ */

.vh-home-visual{
  position:relative;
  min-height:455px;
  overflow:hidden;
}

.vh-india-glow{
  position:absolute;

  width:430px;
  height:430px;

  right:15%;
  top:5%;

  border-radius:50%;

  background:
    radial-gradient(
      circle,
      rgba(255,255,255,.95) 0 32%,
      rgba(255,255,255,.35) 33% 53%,
      transparent 54%
    );

  opacity:.75;
}


/* stylised India/network visual */

.vh-india-map{
  position:absolute;

  left:2%;
  top:20px;

  width:350px;
  height:310px;

  transform:rotate(-4deg);
}

.vh-india-shape{
  position:absolute;

  left:92px;
  top:38px;

  width:175px;
  height:245px;

  display:flex;
  align-items:center;
  justify-content:center;

  color:#1268eb;

  font-size:25px;
  font-weight:900;

  letter-spacing:4px;

  background:
    linear-gradient(
      145deg,
      #2e83f7,
      #1261dd
    );

  clip-path:polygon(
    48% 0%,
    64% 8%,
    67% 22%,
    82% 30%,
    75% 43%,
    87% 53%,
    73% 63%,
    68% 77%,
    55% 91%,
    47% 100%,
    38% 84%,
    27% 72%,
    25% 58%,
    13% 48%,
    20% 34%,
    10% 24%,
    26% 16%,
    32% 6%
  );

  filter:
    drop-shadow(
      0 12px 18px
      rgba(20,95,220,.22)
    );
}

.vh-india-shape::after{
  content:"";

  position:absolute;
  inset:0;

  background-image:
    radial-gradient(
      circle,
      rgba(255,255,255,.8) 1.5px,
      transparent 1.5px
    );

  background-size:23px 23px;

  opacity:.75;
}


/* network nodes */

.vh-map-node{
  position:absolute;

  width:9px;
  height:9px;

  border-radius:50%;

  background:#fff;

  border:2px solid #1970ed;

  box-shadow:
    0 0 0 4px
    rgba(37,99,235,.1);

  z-index:5;
}

.vh-map-node.n1{left:74px;top:75px}
.vh-map-node.n2{left:275px;top:105px}
.vh-map-node.n3{left:65px;top:190px}
.vh-map-node.n4{left:292px;top:202px}
.vh-map-node.n5{left:178px;top:17px}
.vh-map-node.n6{left:205px;top:290px}


/* ============================================================
   PARLIAMENT ILLUSTRATION
   ============================================================ */

.vh-parliament{
  position:absolute;

  right:15px;
  bottom:48px;

  width:465px;
  height:210px;

  z-index:4;
}

.vh-parliament-dome{
  position:absolute;

  left:174px;
  top:0;

  width:115px;
  height:58px;

  border-radius:
    115px
    115px
    0
    0;

  background:
    linear-gradient(
      180deg,
      #e5e9ed,
      #b8bec5
    );

  border:
    3px solid #a5adb6;
}

.vh-parliament-dome span{
  position:absolute;

  left:50%;
  top:-14px;

  transform:translateX(-50%);

  width:8px;
  height:18px;

  background:#8d969f;
}

.vh-parliament-roof{
  position:absolute;

  left:40px;
  top:48px;

  width:385px;
  height:25px;

  border-radius:50%;

  background:
    linear-gradient(
      180deg,
      #dfe3e7,
      #9fa7af
    );

  border:3px solid #969fa8;
}

.vh-parliament-columns{
  position:absolute;

  left:53px;
  top:66px;

  width:360px;
  height:102px;

  display:flex;
  justify-content:space-around;
  align-items:stretch;

  padding:0 14px;

  background:
    linear-gradient(
      90deg,
      #d6dbe0,
      #f0f2f4,
      #c6ccd1
    );

  border-left:5px solid #8f989f;
  border-right:5px solid #8f989f;
}

.vh-parliament-columns i{
  width:7px;

  margin:
    7px
    0;

  border-radius:4px;

  background:
    linear-gradient(
      90deg,
      #89929b,
      #f3f4f5,
      #8a939b
    );
}

.vh-parliament-base{
  position:absolute;

  left:25px;
  bottom:20px;

  width:415px;
  height:35px;

  border-radius:8px 8px 3px 3px;

  background:
    linear-gradient(
      180deg,
      #c8cdd2,
      #9ca5ad
    );

  border:3px solid #8f989f;
}

.vh-india-flag{
  position:absolute;

  right:90px;
  top:-13px;

  width:4px;
  height:68px;

  background:#737d86;
}

.vh-india-flag b{
  position:absolute;

  left:4px;
  top:4px;

  width:40px;
  height:24px;

  background:
    linear-gradient(
      #f59e0b 0 33%,
      #fff 33% 66%,
      #138808 66%
    );

  box-shadow:
    0 2px 4px
    rgba(0,0,0,.15);
}

.vh-india-flag span{
  position:absolute;

  left:18px;
  top:8px;

  color:#174ca8;

  font-size:9px;
}


/* ground */

.vh-visual-ground{
  position:absolute;

  right:-20px;
  bottom:39px;

  width:600px;
  height:15px;

  border-radius:50%;

  background:
    radial-gradient(
      ellipse,
      rgba(29,62,103,.28),
      transparent 68%
    );
}


/* ============================================================
   OVERVIEW
   ============================================================ */

.vh-home-overview{
  min-height:365px;

  padding:
    40px
    50px
    65px;

  background:#fff;
}

.vh-overview-heading{
  display:flex;
  align-items:center;
  justify-content:center;

  gap:22px;

  margin-bottom:28px;

  text-align:center;
}

.vh-overview-heading > span{
  width:44px;
  height:2px;

  background:#236cff;

  position:relative;
}

.vh-overview-heading > span::after{
  content:"";

  position:absolute;

  top:-1px;
  width:9px;
  height:4px;

  background:#236cff;
}

.vh-overview-heading > span:first-child::after{
  right:0;
}

.vh-overview-heading > span:last-child::after{
  left:0;
}

.vh-overview-heading h2{
  margin:0;

  color:#10245e;

  font-size:27px;
  font-weight:850;
}

.vh-overview-heading p{
  margin:7px 0 0;

  color:#566687;

  font-size:14px;
}


/* ============================================================
   STAT CARDS
   ============================================================ */

.vh-home-stats{
  display:grid;

  grid-template-columns:
    repeat(5, minmax(0,1fr));

  gap:22px;

  max-width:1380px;

  margin:0 auto;
}

.vh-home-stat{
  min-height:138px;

  display:flex;
  align-items:center;

  gap:20px;

  padding:
    22px
    18px;

  background:#fff;

  border:
    1px solid #edf0f5;

  border-radius:15px;

  box-shadow:
    0 5px 18px
    rgba(16,36,94,.08);

  transition:
    transform .18s ease,
    box-shadow .18s ease;
}

.vh-home-stat:hover{
  transform:translateY(-3px);

  box-shadow:
    0 10px 24px
    rgba(16,36,94,.12);
}

.vh-stat-icon{
  width:82px;
  height:82px;

  flex:none;

  display:grid;
  place-items:center;

  border-radius:50%;

  font-size:31px;
  font-weight:900;
}

.stat-blue .vh-stat-icon{
  color:#1262e9;
  background:#e8f0ff;
}

.stat-green .vh-stat-icon{
  color:#079447;
  background:#e8f7ef;
}

.stat-orange .vh-stat-icon{
  color:#f47b00;
  background:#fff0df;
}

.stat-purple .vh-stat-icon{
  color:#6735cf;
  background:#f0eaff;
}

.stat-cyan .vh-stat-icon{
  color:#04a9bb;
  background:#e7f9fb;
}

.vh-stat-content{
  min-width:0;

  display:flex;
  flex-direction:column;

  align-items:flex-start;
}

.vh-stat-content strong{
  margin-bottom:8px;

  color:#1160e8;

  font-size:29px;
  line-height:1;

  font-weight:850;
}

.stat-green .vh-stat-content strong,
.stat-orange .vh-stat-content strong,
.stat-purple .vh-stat-content strong,
.stat-cyan .vh-stat-content strong{
  color:#10245e;
}

.vh-stat-content b{
  color:#10245e;

  font-size:13px;
  line-height:1.55;
}

.vh-stat-content small{
  margin-top:3px;

  color:#586886;

  font-size:12px;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media(max-width:1200px){

  .vh-home-hero{
    grid-template-columns:1fr;
  }

  .vh-home-copy{
    padding-bottom:25px;
  }

  .vh-home-visual{
    min-height:360px;
  }

  .vh-home-stats{
    grid-template-columns:
      repeat(3,1fr);
  }

}


@media(max-width:760px){

  .vh-home-redesign{
    border-radius:12px;
  }

  .vh-home-copy{
    padding:
      45px
      25px
      25px;
  }

  .vh-home-copy h1{
    font-size:38px;
  }

  .vh-home-description{
    font-size:16px;
  }

  .vh-home-desktop-break{
    display:none;
  }

  .vh-home-features{
    gap:20px;
  }

  .vh-home-feature{
    min-width:135px;
  }

  .vh-home-visual{
    min-height:300px;
    transform:scale(.9);
    transform-origin:top center;
  }

  .vh-home-stats{
    grid-template-columns:
      1fr;
  }

  .vh-home-overview{
    padding:
      35px
      20px
      45px;
  }

}


/* ===== END VOTE HOSHIYAR HOME REDESIGN V1 ===== */




/* =========================================================
   HOME LAYOUT V5
   Full-width desktop Home redesign
   concert.png is used AS-IS
   ========================================================= */

#homePanel.vh-home-redesign{
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
  box-sizing:border-box !important;
  overflow:hidden !important;
}

/*
 * The dashboard container may have a restricted width.
 * Do NOT change other panels.
 */
#dashboardView > .container:has(#homePanel.vh-home-redesign){
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 26px !important;
  box-sizing:border-box !important;
}

/* ---------------------------------------------------------
   HERO
   --------------------------------------------------------- */

#homePanel.vh-home-redesign .vh-home-hero{
  width:100% !important;
  max-width:none !important;
  min-height:454px !important;
  height:454px !important;

  display:grid !important;
  grid-template-columns:minmax(520px, 46%) minmax(0, 54%) !important;

  margin:0 !important;
  padding:0 !important;

  box-sizing:border-box !important;
  overflow:hidden !important;

  border-radius:14px 14px 0 0 !important;
}

/* ---------------------------------------------------------
   LEFT CONTENT
   --------------------------------------------------------- */

#homePanel.vh-home-redesign .vh-home-copy{
  position:relative !important;
  z-index:2 !important;

  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;

  padding:50px 30px 42px 68px !important;
  box-sizing:border-box !important;

  min-width:0 !important;
}

#homePanel.vh-home-redesign .vh-home-kicker{
  margin-bottom:18px !important;
}

#homePanel.vh-home-redesign .vh-home-copy h1{
  margin:0 !important;
  font-size:48px !important;
  line-height:1.08 !important;
  letter-spacing:-1.5px !important;
}

#homePanel.vh-home-redesign .vh-home-description{
  margin-top:22px !important;
  margin-bottom:28px !important;
  font-size:18px !important;
  line-height:1.9 !important;
}

/* ---------------------------------------------------------
   FEATURES
   --------------------------------------------------------- */

#homePanel.vh-home-redesign .vh-home-features{
  display:grid !important;
  grid-template-columns:repeat(2, max-content) !important;
  column-gap:38px !important;
  row-gap:18px !important;
  align-items:center !important;
}

#homePanel.vh-home-redesign .vh-home-feature{
  min-width:150px !important;
}


/* ---------------------------------------------------------
   RIGHT IMAGE
   IMPORTANT: IMAGE ITSELF IS NOT MODIFIED
   --------------------------------------------------------- */

#homePanel.vh-home-redesign .vh-home-visual{
  position:relative !important;
  z-index:1 !important;

  width:100% !important;
  height:454px !important;

  min-width:0 !important;
  overflow:hidden !important;

  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;

  padding:0 !important;
  margin:0 !important;
  box-sizing:border-box !important;

  background:transparent !important;
}

#homePanel.vh-home-redesign .vh-home-concert-image{
  display:block !important;

  width:100% !important;
  height:100% !important;

  max-width:none !important;
  max-height:none !important;

  object-fit:cover !important;
  object-position:center center !important;

  margin:0 !important;
  padding:0 !important;

  border:0 !important;
}


/* ---------------------------------------------------------
   DATA OVERVIEW
   --------------------------------------------------------- */

#homePanel.vh-home-redesign .vh-home-overview{
  width:100% !important;
  max-width:none !important;

  min-height:365px !important;

  padding:42px 52px 48px !important;
  margin:0 !important;

  box-sizing:border-box !important;

  background:#fff !important;
}

#homePanel.vh-home-redesign .vh-overview-heading{
  margin-bottom:28px !important;
}

#homePanel.vh-home-redesign .vh-home-stats{
  width:100% !important;

  display:grid !important;
  grid-template-columns:repeat(5, minmax(0, 1fr)) !important;

  gap:24px !important;
}

#homePanel.vh-home-redesign .vh-home-stat{
  min-width:0 !important;
  box-sizing:border-box !important;
}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width:1200px){

  #dashboardView > .container:has(#homePanel.vh-home-redesign){
    padding:0 18px !important;
  }

  #homePanel.vh-home-redesign .vh-home-copy{
    padding-left:45px !important;
  }

  #homePanel.vh-home-redesign .vh-home-copy h1{
    font-size:42px !important;
  }

  #homePanel.vh-home-redesign .vh-home-features{
    column-gap:20px !important;
  }

  #homePanel.vh-home-redesign .vh-home-overview{
    padding-left:30px !important;
    padding-right:30px !important;
  }

}


@media (max-width:900px){

  #homePanel.vh-home-redesign .vh-home-hero{
    height:auto !important;
    min-height:0 !important;

    grid-template-columns:1fr !important;
  }

  #homePanel.vh-home-redesign .vh-home-copy{
    padding:42px 30px !important;
  }

  #homePanel.vh-home-redesign .vh-home-visual{
    height:auto !important;
    min-height:300px !important;
  }

  #homePanel.vh-home-redesign .vh-home-concert-image{
    width:100% !important;
    height:auto !important;
    object-fit:contain !important;
  }

  #homePanel.vh-home-redesign .vh-home-stats{
    grid-template-columns:repeat(2, minmax(0,1fr)) !important;
  }

}


@media (max-width:600px){

  #dashboardView > .container:has(#homePanel.vh-home-redesign){
    padding:0 10px !important;
  }

  #homePanel.vh-home-redesign .vh-home-copy{
    padding:32px 22px !important;
  }

  #homePanel.vh-home-redesign .vh-home-copy h1{
    font-size:34px !important;
  }

  #homePanel.vh-home-redesign .vh-home-description{
    font-size:15px !important;
  }

  #homePanel.vh-home-redesign .vh-home-features{
    grid-template-columns:1fr !important;
  }

  #homePanel.vh-home-redesign .vh-home-overview{
    padding:32px 18px !important;
  }

  #homePanel.vh-home-redesign .vh-home-stats{
    grid-template-columns:1fr !important;
  }

}


/* =========================================================
   END HOME LAYOUT V5
   ========================================================= */




/* =========================================================
   HOME CONCERT IMAGE NO-CROP V6

   IMPORTANT:
   - concert.png is NOT modified
   - image keeps original aspect ratio
   - image is NEVER cropped
   - image is NEVER stretched
   - zoom remains responsive
   ========================================================= */


/* ---------------------------------------------------------
   HOME HERO
   --------------------------------------------------------- */

#homePanel.vh-home-redesign .vh-home-hero{
  width:100% !important;
  max-width:none !important;

  height:auto !important;
  min-height:0 !important;

  display:grid !important;
  grid-template-columns:minmax(480px, 46%) minmax(0, 54%) !important;

  align-items:center !important;

  overflow:hidden !important;

  box-sizing:border-box !important;
}


/* ---------------------------------------------------------
   RIGHT IMAGE CONTAINER

   Let the image determine its own height.
   --------------------------------------------------------- */

#homePanel.vh-home-redesign .vh-home-visual{
  position:relative !important;

  width:100% !important;
  height:auto !important;
  min-height:0 !important;

  display:flex !important;

  align-items:center !important;
  justify-content:center !important;

  overflow:hidden !important;

  padding:0 !important;
  margin:0 !important;

  box-sizing:border-box !important;
}


/* ---------------------------------------------------------
   CONCERT.PNG

   NEVER use object-fit:cover here.
   --------------------------------------------------------- */

#homePanel.vh-home-redesign .vh-home-concert-image{
  display:block !important;

  width:100% !important;
  height:auto !important;

  max-width:100% !important;
  max-height:none !important;

  object-fit:contain !important;
  object-position:center center !important;

  flex:0 0 auto !important;

  margin:0 !important;
  padding:0 !important;

  border:0 !important;

  box-sizing:border-box !important;
}


/* ---------------------------------------------------------
   LEFT CONTENT

   Do not force the hero to a fixed height.
   --------------------------------------------------------- */

#homePanel.vh-home-redesign .vh-home-copy{
  height:auto !important;
  min-height:0 !important;

  box-sizing:border-box !important;
}


/* ---------------------------------------------------------
   IMPORTANT:
   Prevent old fixed-height rules from forcing cropping.
   --------------------------------------------------------- */

#homePanel.vh-home-redesign .vh-home-visual img{
  height:auto !important;
  width:100% !important;
  object-fit:contain !important;
}


/* ---------------------------------------------------------
   MEDIUM SCREENS / BROWSER ZOOM
   --------------------------------------------------------- */

@media (max-width:1200px){

  #homePanel.vh-home-redesign .vh-home-hero{
    grid-template-columns:minmax(430px,46%) minmax(0,54%) !important;
    height:auto !important;
    min-height:0 !important;
  }

  #homePanel.vh-home-redesign .vh-home-copy{
    padding-top:40px !important;
    padding-bottom:40px !important;
  }

}


/* ---------------------------------------------------------
   SMALL SCREENS
   --------------------------------------------------------- */

@media (max-width:900px){

  #homePanel.vh-home-redesign .vh-home-hero{
    display:flex !important;
    flex-direction:column !important;

    height:auto !important;
    min-height:0 !important;
  }

  #homePanel.vh-home-redesign .vh-home-copy{
    width:100% !important;
  }

  #homePanel.vh-home-redesign .vh-home-visual{
    width:100% !important;
    height:auto !important;

    display:block !important;
  }

  #homePanel.vh-home-redesign .vh-home-concert-image{
    width:100% !important;
    height:auto !important;

    max-width:100% !important;

    object-fit:contain !important;
  }

}


/* =========================================================
   END HOME CONCERT IMAGE NO-CROP V6
   ========================================================= */




/* =========================================================
   HOME ZOOM STABLE V7

   PURPOSE:
   Keep the Home page composition stable across browser zoom.

   IMPORTANT:
   - concert.png is NOT modified
   - no image cropping
   - no image stretching
   - no JS changes
   - no authentication changes
   - no header changes
   ========================================================= */


/* ---------------------------------------------------------
   MAIN HOME PANEL
   --------------------------------------------------------- */

#homePanel.vh-home-redesign{
  width:100% !important;
  max-width:1600px !important;

  margin-left:auto !important;
  margin-right:auto !important;

  box-sizing:border-box !important;

  overflow:hidden !important;
}


/* ---------------------------------------------------------
   HERO

   Use proportional columns rather than a fixed minimum width.
   This prevents the left side from becoming too narrow at
   high browser zoom.
   --------------------------------------------------------- */

#homePanel.vh-home-redesign .vh-home-hero{
  width:100% !important;

  display:grid !important;

  grid-template-columns:
    minmax(42%, 46%)
    minmax(54%, 58%) !important;

  align-items:stretch !important;

  height:auto !important;
  min-height:0 !important;

  overflow:hidden !important;

  box-sizing:border-box !important;
}


/* ---------------------------------------------------------
   LEFT CONTENT
   --------------------------------------------------------- */

#homePanel.vh-home-redesign .vh-home-copy{
  width:100% !important;
  min-width:0 !important;

  box-sizing:border-box !important;

  padding:
    clamp(44px, 4vw, 72px)
    clamp(38px, 4vw, 72px)
    clamp(42px, 4vw, 68px) !important;
}


/* ---------------------------------------------------------
   KICKER
   --------------------------------------------------------- */

#homePanel.vh-home-redesign .vh-home-kicker{
  font-size:clamp(11px, 0.95vw, 16px) !important;

  line-height:1.35 !important;

  letter-spacing:clamp(2px, 0.22vw, 4px) !important;

  white-space:nowrap !important;
}


/* ---------------------------------------------------------
   MAIN TITLE

   clamp() counters excessive enlargement at high zoom.
   --------------------------------------------------------- */

#homePanel.vh-home-redesign .vh-home-copy h1{
  font-size:clamp(30px, 3.25vw, 58px) !important;

  line-height:1.05 !important;

  letter-spacing:clamp(-1.2px, -0.06vw, -2px) !important;

  margin-top:clamp(18px, 1.5vw, 28px) !important;
  margin-bottom:clamp(18px, 1.7vw, 30px) !important;

  max-width:none !important;

  white-space:normal !important;
}


/* Keep the two title lines together. */

#homePanel.vh-home-redesign .vh-home-copy h1 span{
  white-space:nowrap !important;
}


/* ---------------------------------------------------------
   DESCRIPTION
   --------------------------------------------------------- */

#homePanel.vh-home-redesign .vh-home-description{
  font-size:clamp(14px, 1.15vw, 20px) !important;

  line-height:1.75 !important;

  max-width:620px !important;

  margin-bottom:clamp(26px, 2.5vw, 44px) !important;
}


/* ---------------------------------------------------------
   FEATURE GRID

   Always two columns on desktop/tablet.
   --------------------------------------------------------- */

#homePanel.vh-home-redesign .vh-home-features{
  display:grid !important;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1fr) !important;

  column-gap:clamp(22px, 2.5vw, 48px) !important;

  row-gap:clamp(18px, 2vw, 32px) !important;

  max-width:560px !important;
}


/* ---------------------------------------------------------
   FEATURES
   --------------------------------------------------------- */

#homePanel.vh-home-redesign .vh-home-feature{
  min-width:0 !important;

  display:flex !important;

  align-items:center !important;

  gap:clamp(12px, 1vw, 20px) !important;
}


#homePanel.vh-home-redesign .vh-feature-icon{
  width:clamp(44px, 3.2vw, 64px) !important;
  height:clamp(44px, 3.2vw, 64px) !important;

  min-width:clamp(44px, 3.2vw, 64px) !important;

  display:flex !important;

  align-items:center !important;
  justify-content:center !important;

  font-size:clamp(20px, 1.5vw, 30px) !important;

  border-radius:clamp(10px, 0.8vw, 16px) !important;
}


#homePanel.vh-home-redesign .vh-home-feature strong{
  font-size:clamp(12px, 0.95vw, 17px) !important;

  line-height:1.55 !important;
}


/* ---------------------------------------------------------
   RIGHT VISUAL
   --------------------------------------------------------- */

#homePanel.vh-home-redesign .vh-home-visual{
  width:100% !important;
  min-width:0 !important;

  height:auto !important;
  min-height:0 !important;

  display:flex !important;

  align-items:center !important;
  justify-content:center !important;

  overflow:hidden !important;

  box-sizing:border-box !important;
}


/* ---------------------------------------------------------
   CONCERT IMAGE

   THIS IS THE IMPORTANT PART.

   Preserve original aspect ratio.
   Never crop.
   Never stretch.
   --------------------------------------------------------- */

#homePanel.vh-home-redesign .vh-home-concert-image{
  display:block !important;

  width:100% !important;
  height:auto !important;

  max-width:100% !important;
  max-height:none !important;

  object-fit:contain !important;
  object-position:center center !important;

  flex:0 0 auto !important;

  margin:0 !important;
  padding:0 !important;

  box-sizing:border-box !important;
}


/* ---------------------------------------------------------
   REMOVE ANY OLD HEIGHT-BASED IMAGE BEHAVIOR
   --------------------------------------------------------- */

#homePanel.vh-home-redesign .vh-home-visual img{
  width:100% !important;
  height:auto !important;

  max-width:100% !important;

  object-fit:contain !important;
}


/* ---------------------------------------------------------
   OVERVIEW

   Keep overview proportional as zoom changes.
   --------------------------------------------------------- */

#homePanel.vh-home-redesign .vh-home-overview{
  padding:
    clamp(38px, 4vw, 68px)
    clamp(30px, 4vw, 70px)
    clamp(42px, 4vw, 70px) !important;

  box-sizing:border-box !important;
}


#homePanel.vh-home-redesign .vh-overview-heading h2{
  font-size:clamp(22px, 2vw, 34px) !important;
}


#homePanel.vh-home-redesign .vh-overview-heading p{
  font-size:clamp(12px, 0.9vw, 16px) !important;
}


/* ---------------------------------------------------------
   STAT CARDS
   --------------------------------------------------------- */

#homePanel.vh-home-redesign .vh-home-stats{
  display:grid !important;

  grid-template-columns:
    repeat(5, minmax(0, 1fr)) !important;

  gap:clamp(14px, 1.5vw, 26px) !important;

  width:100% !important;

  max-width:1400px !important;

  margin-left:auto !important;
  margin-right:auto !important;
}


#homePanel.vh-home-redesign .vh-home-stat{
  min-width:0 !important;

  box-sizing:border-box !important;
}


/* ---------------------------------------------------------
   HIGH ZOOM / NARROW CSS VIEWPORT

   Keep the desktop composition longer before stacking.
   --------------------------------------------------------- */

@media (max-width:1050px){

  #homePanel.vh-home-redesign .vh-home-hero{
    grid-template-columns:44% 56% !important;
  }

  #homePanel.vh-home-redesign .vh-home-copy{
    padding:
      38px
      32px
      40px !important;
  }

  #homePanel.vh-home-redesign .vh-home-copy h1{
    font-size:clamp(27px, 3vw, 40px) !important;
  }

  #homePanel.vh-home-description{
    font-size:14px !important;
  }

  #homePanel.vh-home-features{
    column-gap:18px !important;
  }

}


/* ---------------------------------------------------------
   MOBILE

   Only stack when the viewport is genuinely narrow.
   --------------------------------------------------------- */

@media (max-width:700px){

  #homePanel.vh-home-redesign .vh-home-hero{
    display:flex !important;

    flex-direction:column !important;

    height:auto !important;
  }

  #homePanel.vh-home-redesign .vh-home-copy{
    width:100% !important;

    padding:
      34px
      26px
      34px !important;
  }

  #homePanel.vh-home-redesign .vh-home-copy h1{
    font-size:clamp(30px, 8vw, 44px) !important;
  }

  #homePanel.vh-home-copy h1 span{
    white-space:normal !important;
  }

  #homePanel.vh-home-features{
    grid-template-columns:1fr 1fr !important;
  }

  #homePanel.vh-home-visual{
    width:100% !important;
  }

  #homePanel.vh-home-concert-image{
    width:100% !important;
    height:auto !important;
  }

  #homePanel.vh-home-stats{
    grid-template-columns:1fr !important;
  }

}


/* =========================================================
   END HOME ZOOM STABLE V7
   ========================================================= */


/* HOME CONCERT FINAL IMAGE V1 */
#homePanel.vh-home-redesign .vh-home-visual{
  width:100%;
  min-width:0;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
}

#homePanel.vh-home-redesign .vh-home-concert-image{
  display:block !important;
  width:100% !important;
  height:auto !important;
  max-width:100% !important;
  max-height:none !important;
  object-fit:contain !important;
  object-position:center center !important;
  margin:0 !important;
  padding:0 !important;
}
/* =========================================================
   HOME PAGE - REMOVE OUTER CARD / USE FULL PAGE
   ========================================================= */

#dashboardView > .container:has(#homePanel.vh-home-redesign) {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

#homePanel.vh-home-redesign {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    background: transparent !important;
    overflow: visible !important;
}

/* Keep the Home artwork/layout itself unchanged */
#homePanel.vh-home-redesign .vh-home-hero {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

#homePanel.vh-home-redesign .vh-home-overview {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

/* =========================================================
   HOME OVERVIEW CARDS - ZOOM / RESPONSIVE FIX V1
   Scoped ONLY to the Home page.
   ========================================================= */

#homePanel.vh-home-redesign .vh-home-stats {
    display: grid !important;
    width: 100% !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 20px !important;
    align-items: stretch !important;
}

#homePanel.vh-home-redesign .vh-home-stat {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

#homePanel.vh-home-redesign .vh-stat-content {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

#homePanel.vh-home-redesign .vh-home-stat strong,
#homePanel.vh-home-redesign .vh-home-stat b,
#homePanel.vh-home-redesign .vh-home-stat small {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
}

#homePanel.vh-home-redesign .vh-home-stat strong {
    white-space: normal !important;
}

#homePanel.vh-home-redesign .vh-home-stat b {
    white-space: normal !important;
}

#homePanel.vh-home-redesign .vh-home-stat small {
    white-space: normal !important;
}

/* =========================================================
   RESPONSIVE / BROWSER ZOOM SUPPORT
   ========================================================= */

@media (max-width: 1200px) {
    #homePanel.vh-home-redesign .vh-home-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 800px) {
    #homePanel.vh-home-redesign .vh-home-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 520px) {
    #homePanel.vh-home-redesign .vh-home-stats {
        grid-template-columns: 1fr !important;
    }
}

/* Prevent long labels from escaping cards */
@media (min-width: 1201px) {
    #homePanel.vh-home-redesign .vh-home-stat {
        overflow: hidden !important;
    }

    #homePanel.vh-home-redesign .vh-stat-content {
        overflow: hidden !important;
    }
}


/* ============================================================
   REMOVE HOME HERO DECORATIVE TRICOLOR PATTI
   ONLY THE SLANTED ORANGE/GREEN DECORATION
   ============================================================ */

.vh-home-hero::after,
.vh-home-hero:after,
.vh2-hero::after,
.vh2-hero:after,
.vh-tricolor {
    display: none !important;
    content: none !important;
}


/* VOTE HOSHIYAR - HOUSE THRESHOLD INPUT SIZE FIX */

.verification-threshold-input {
    width: 58px !important;
    min-width: 58px !important;
    max-width: 58px !important;

    height: 30px !important;

    padding: 4px 7px !important;
    margin: 0 4px !important;

    display: inline-block !important;
    box-sizing: border-box !important;

    flex: 0 0 58px !important;

    vertical-align: middle !important;
}

.verification-item > span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.verification-item > span .verification-threshold-input {
    flex: 0 0 58px !important;
}



/* ============================================================
   VERIFICATION - VIEW SELECTED BUTTON
   ============================================================ */

.verification-view-selected-btn{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:7px !important;

    min-width:150px !important;
    height:40px !important;
    padding:0 20px !important;

    border:0 !important;
    border-radius:7px !important;

    background:#2563eb !important;
    color:#fff !important;

    font-size:13px !important;
    font-weight:700 !important;

    cursor:pointer !important;

    box-shadow:0 3px 8px rgba(37,99,235,.20) !important;

    transition:
        background .18s ease,
        transform .12s ease,
        box-shadow .18s ease !important;
}

.verification-view-selected-btn:hover{
    background:#1d4ed8 !important;
    box-shadow:0 5px 12px rgba(37,99,235,.28) !important;
    transform:translateY(-1px) !important;
}

.verification-view-selected-btn:active{
    background:#1e40af !important;
    transform:translateY(1px) scale(.98) !important;
    box-shadow:0 2px 5px rgba(37,99,235,.20) !important;
}

.verification-view-selected-btn:focus-visible{
    outline:none !important;

    box-shadow:
        0 0 0 3px rgba(37,99,235,.18),
        0 4px 10px rgba(37,99,235,.22) !important;
}

.verification-view-selected-btn.vs-clicked{
    animation:verificationViewSelectedClick .28s ease;
}

@keyframes verificationViewSelectedClick{
    0%{
        transform:scale(1);
    }

    50%{
        transform:scale(.96);
    }

    100%{
        transform:scale(1);
    }
}


/* ===== ADMIN HIDE PUBLIC NAV ===== */

/*
 * The top header is shared by public pages and Admin.
 *
 * When Admin Console is visible, hide ONLY the public
 * navigation:
 *
 *   Home
 *   Static Filter
 *   Advance Search
 *   Election History
 *
 * Keep:
 *   Logo
 *   India indicator
 *   Administrator menu
 *
 * When Admin closes, the public navigation automatically
 * becomes visible again.
 */

body:has(#adminPanel:not(.hidden)) .vh2-main-nav {
    display: none !important;
}

/* ===== END ADMIN HIDE PUBLIC NAV ===== */

/* ===== VH VERIFICATION TABLE LAYOUT CSS V2 START ===== */

.verification-table-wrap{
  width:100%;
  overflow-x:auto !important;
  overflow-y:auto;
}

.verification-table{
  width:max-content !important;
  min-width:100% !important;
  table-layout:fixed;
}

.verification-table th[data-field]{
  position:relative;
  user-select:none;
  cursor:grab;
}

.verification-table th[data-field]:active{
  cursor:grabbing;
}

.verification-table
th.verification-column-dragging{
  opacity:.55;
}

.verification-table
th.verification-column-drag-over{
  box-shadow:inset 3px 0 0 #2563eb;
}

.verification-col-resizer{
  position:absolute;
  top:0;
  right:-4px;
  width:9px;
  height:100%;
  cursor:col-resize;
  z-index:20;
}

.verification-col-resizer:hover{
  background:rgba(37,99,235,.15);
}

.verification-resizing-column{
  user-select:none !important;
}

/* ===== VH VERIFICATION TABLE LAYOUT CSS V2 END ===== */


/* ===== VH VERIFICATION COLUMN VISIBILITY CSS V4 START ===== */

.verification-column-tool{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  min-height:32px;
  padding:7px 10px;
  border:1px solid #d7e1ef;
  border-radius:5px;
  background:#fff;
  color:#1759d2;
  font-size:11px;
  font-weight:700;
  cursor:pointer;
}

.verification-column-tool:hover{
  background:#f5f8fd;
}

.verification-column-manager-menu{
  position:absolute;
  z-index:9500;
  box-sizing:border-box;
  width:300px;
  max-height:450px;
  overflow:auto;
  padding:12px;
  background:#fff;
  border:1px solid #d7e1ef;
  border-radius:8px;
  box-shadow:0 10px 30px rgba(24,47,96,.16);
}

.verification-column-manager-title{
  margin-bottom:3px;
  color:#182f60;
  font-size:13px;
  font-weight:800;
}

.verification-column-manager-note{
  margin-bottom:9px;
  color:#748198;
  font-size:10px;
}

.verification-column-manager-list{
  display:flex;
  flex-direction:column;
  gap:2px;
}

.verification-column-manager-row{
  display:flex;
  align-items:center;
  gap:8px;
  min-height:30px;
  padding:3px 5px;
  border-radius:4px;
  color:#34425b;
  font-size:11px;
  cursor:pointer;
}

.verification-column-manager-row:hover{
  background:#f5f8fd;
}

.verification-column-manager-row input{
  margin:0;
  flex:none;
}

.verification-column-manager-actions{
  display:flex;
  justify-content:flex-end;
  gap:7px;
  margin-top:10px;
  padding-top:9px;
  border-top:1px solid #edf1f6;
}

.verification-column-manager-cancel,
.verification-column-manager-apply{
  padding:7px 11px;
  border-radius:5px;
  font-size:10px;
  font-weight:700;
  cursor:pointer;
}

.verification-column-manager-cancel{
  border:1px solid #d7e1ef;
  background:#fff;
  color:#40506a;
}

.verification-column-manager-apply{
  border:1px solid #1759d2;
  background:#1759d2;
  color:#fff;
}

/* ===== VH VERIFICATION COLUMN VISIBILITY CSS V4 END ===== */

/* ===== VH VERIFICATION COLUMN VISIBILITY CSS V5 START ===== */

/*
   Verification Records - Column Visibility popup
   CSS-only polish.
   Does NOT change visibility logic, ordering, resizing,
   checkpoint logic, backend, or authentication.
*/

.verification-column-manager-menu{
  position:absolute !important;

  width:320px !important;
  min-width:320px !important;
  max-width:calc(100vw - 24px) !important;

  max-height:500px !important;

  box-sizing:border-box !important;

  overflow-x:hidden !important;
  overflow-y:auto !important;

  padding:14px !important;

  background:#ffffff !important;
  border:1px solid #d7e1ef !important;
  border-radius:9px !important;

  box-shadow:0 12px 32px rgba(24,47,96,.18) !important;

  z-index:100000 !important;
}

/* Popup heading */
.verification-column-manager-title{
  display:block !important;

  margin:0 0 4px 0 !important;

  color:#182f60 !important;
  font-size:14px !important;
  line-height:20px !important;
  font-weight:800 !important;
}

/* Popup description */
.verification-column-manager-note{
  display:block !important;

  margin:0 0 10px 0 !important;

  color:#748198 !important;
  font-size:11px !important;
  line-height:16px !important;
}

/* Column list */
.verification-column-manager-list{
  display:flex !important;
  flex-direction:column !important;

  width:100% !important;
  min-width:0 !important;

  gap:2px !important;

  box-sizing:border-box !important;
}

/* Individual column row */
.verification-column-manager-row{
  display:flex !important;
  align-items:center !important;

  width:100% !important;
  min-width:0 !important;
  min-height:34px !important;

  box-sizing:border-box !important;

  margin:0 !important;
  padding:5px 7px !important;

  gap:9px !important;

  border-radius:5px !important;

  color:#34425b !important;
  font-size:11px !important;
  line-height:18px !important;

  cursor:pointer !important;

  overflow:hidden !important;
}

.verification-column-manager-row:hover{
  background:#f5f8fd !important;
}

/*
   IMPORTANT:
   Override any global checkbox CSS.
   This is the main fix for the giant blue checkboxes.
*/
.verification-column-manager-row input[type="checkbox"]{
  display:block !important;

  width:18px !important;
  height:18px !important;

  min-width:18px !important;
  min-height:18px !important;

  max-width:18px !important;
  max-height:18px !important;

  flex:0 0 18px !important;

  margin:0 !important;
  padding:0 !important;

  box-sizing:border-box !important;

  cursor:pointer !important;

  accent-color:#2563eb !important;
}

/* Column name */
.verification-column-manager-row span{
  display:block !important;

  flex:1 1 auto !important;

  width:auto !important;
  min-width:0 !important;

  margin:0 !important;
  padding:0 !important;

  overflow:hidden !important;

  white-space:nowrap !important;
  text-overflow:ellipsis !important;

  color:#34425b !important;

  font-size:11px !important;
  line-height:18px !important;
}

/* Bottom buttons */
.verification-column-manager-actions{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;

  width:100% !important;
  min-width:0 !important;

  box-sizing:border-box !important;

  gap:7px !important;

  margin-top:10px !important;
  padding-top:10px !important;

  border-top:1px solid #edf1f6 !important;
}

/* Cancel / Apply */
.verification-column-manager-cancel,
.verification-column-manager-apply{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;

  height:32px !important;

  min-width:64px !important;

  box-sizing:border-box !important;

  padding:6px 12px !important;

  border-radius:5px !important;

  font-size:10px !important;
  font-weight:700 !important;

  cursor:pointer !important;
}

.verification-column-manager-cancel{
  border:1px solid #d7e1ef !important;
  background:#ffffff !important;
  color:#40506a !important;
}

.verification-column-manager-cancel:hover{
  background:#f5f8fd !important;
}

.verification-column-manager-apply{
  border:1px solid #1759d2 !important;
  background:#1759d2 !important;
  color:#ffffff !important;
}

.verification-column-manager-apply:hover{
  background:#124bb5 !important;
}

/* ===== VH VERIFICATION COLUMN VISIBILITY CSS V5 END ===== */



/* ===== VH VERIFICATION CONTROLS GENDER V1.1 ===== */

.verification-icon-only {
    width: 52px !important;
    min-width: 52px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    box-sizing: border-box !important;
    font-size: 17px !important;
    line-height: 1 !important;
}

.verification-icon-only > span {
    margin: 0 !important;
    padding: 0 !important;
}

.verification-gender-boxes {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    width: 100%;
    margin-top: 8px;
    box-sizing: border-box;
}

.verification-gender-box {
    height: 34px;
    min-height: 34px;
    min-width: 90px;
    padding: 0 14px;
    box-sizing: border-box;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #d7dfeb;
    border-radius: 6px;
    background: #ffffff;

    color: #29415f;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.verification-gender-box:last-child {
    min-width: 112px;
}

@media (max-width: 700px) {
    .verification-gender-boxes {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}



/* ===== VH VERIFICATION GENDER COUNTS + SVG ICONS V1 ===== */

.verification-icon-only {
    width: 52px !important;
    min-width: 52px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    gap: 0 !important;
}

.verification-icon-only svg {
    width: 18px !important;
    height: 18px !important;
    display: block !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.8 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

.verification-gender-boxes {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    width: 100%;
    margin-top: 8px;
    box-sizing: border-box;
}

.verification-gender-box {
    height: 34px;
    min-height: 34px;
    min-width: 112px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    box-sizing: border-box;
    border: 1px solid #d7dfeb;
    border-radius: 6px;
    background: #ffffff;
    color: #29415f;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.verification-gender-box strong {
    font-size: 12px;
    font-weight: 700;
    color: #173f82;
}

@media (max-width: 700px) {
    .verification-gender-boxes {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}



/* ===== VH VERIFICATION GENDER ROW V2 ===== */

.verification-table-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    flex-wrap: nowrap !important;
}

.verification-table-head > div:first-child {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.verification-download-buttons {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    margin-left: auto !important;
}

.verification-gender-boxes {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    width: auto !important;
    margin: 0 4px 0 0 !important;
    box-sizing: border-box !important;
}

.verification-gender-box {
    height: 34px !important;
    min-height: 34px !important;
    min-width: 112px !important;
    padding: 0 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
}

.verification-gender-box strong {
    font-size: 12px !important;
    font-weight: 700 !important;
}

@media (max-width: 1050px) {
    .verification-table-head {
        flex-wrap: wrap !important;
    }

    .verification-download-buttons {
        width: 100% !important;
        margin-left: 0 !important;
        justify-content: flex-end !important;
    }
}



/* VH GENDER CONTROLS ORDER V1 */

/* Desired order:
   Male / Female / Third Gender -> Columns -> Reset -> Print
*/
.verification-download-buttons .verification-gender-boxes {
    order: 1 !important;
}

.verification-download-buttons .verification-icon-only {
    order: 2 !important;
}

.verification-download-buttons .verification-print-btn {
    order: 3 !important;
}



/* ===== VH GENDER CONTROLS LAYOUT V2 ===== */
.results-head {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
}
.advance-gender-controls {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex: 0 0 auto !important;
}
.advance-gender-box {
    height: 34px !important;
    min-height: 34px !important;
    min-width: 92px !important;
    padding: 0 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    box-sizing: border-box !important;
    border: 1px solid #d7dfeb !important;
    border-radius: 6px !important;
    background: #fff !important;
    color: #29415f !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}
.advance-gender-box b {
    font-size: 12px !important;
    font-weight: 700 !important;
}
.advance-result-tools {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex: 0 0 auto !important;
}
.advance-result-tools .icon-tool {
    flex: 0 0 34px !important;
}
.results-head > .download-area {
    margin-left: auto !important;
    flex: 0 0 auto !important;
}
.search-data-header .result-print-actions {
    display: none !important;
}
.verification-download-buttons {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
}
.verification-download-buttons .verification-gender-boxes {
    order: 1 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 4px 0 0 !important;
    width: auto !important;
    flex-wrap: nowrap !important;
}
.verification-download-buttons .verification-icon-only {
    order: 2 !important;
}
.verification-download-buttons .verification-print-btn {
    order: 3 !important;
}
.verification-gender-box {
    height: 34px !important;
    min-height: 34px !important;
    min-width: 112px !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
}
@media (max-width: 1100px) {
    .results-head { flex-wrap: wrap !important; }
    .results-head > .download-area { margin-left: 0 !important; }
}

/* ===== VH VERIFICATION FILTER ARROW CLICK FIX V1 START ===== */

/*
 * Keep the filter arrow above the column-resize handle.
 * The populated table activates the resize/layout system.
 * The resize handle must not cover the clickable filter arrow.
 */

.verification-table .verification-th-content {
    position: relative;
    z-index: 25;
}

.verification-table

.verification-table .verification-col-resizer {
    z-index: 20 !important;
}

/* ===== VH VERIFICATION FILTER ARROW CLICK FIX V1 END ===== */

/* ============================================================
   VH VERIFICATION FILTER ARROW OVERLAP FIX V2
   ============================================================ */

/*
 * The resize handle previously occupied 9px and extended
 * 4px outside the column. On the normal viewport this could
 * overlap the filter arrow and intercept the mouse click.
 */

.verification-table .verification-col-resizer {
    right: -1px !important;
    width: 4px !important;
    z-index: 20 !important;
}

.verification-table .verification-th-content {
    position: relative !important;
    z-index: 25 !important;
}

.verification-table

/* ============================================================
   END VH VERIFICATION FILTER ARROW OVERLAP FIX V2
   ============================================================ */


/* =========================================================
   SIGNUP — GEOGRAPHIC ACCESS REQUEST
   ========================================================= */
.signup-access-box{
  margin:14px 0 16px;
  padding:16px;
  border:1px solid #e4e9f2;
  border-radius:14px;
  background:#f8fafc;
}
.signup-access-title{
  font-weight:800;
  font-size:15px;
  color:#172033;
  margin-bottom:4px;
}
.signup-access-help{
  font-size:12px;
  line-height:1.5;
  color:#687386;
  margin-bottom:12px;
}
.signup-multi-select{
  width:100%;
  min-height:92px;
  padding:8px;
  border:1px solid #d9dfeb;
  border-radius:10px;
  background:#fff;
  font-size:13px;
  outline:none;
}
.signup-multi-select:focus{
  border-color:#4b73d9;
  box-shadow:0 0 0 3px rgba(75,115,217,.10);
}
.signup-multi-select option{
  padding:7px 8px;
}
.signup-select-hint{
  display:block;
  margin:-4px 0 11px;
  color:#7a8495;
  font-size:10.5px;
  line-height:1.4;
}

/* =========================================================
   ADMIN — SIGNUP REQUESTS
   ========================================================= */
.signup-request-card{
  margin:0 0 18px;
  padding:14px;
  border:1px solid #e4e9f2;
  border-radius:14px;
  background:#fbfcfe;
}
.signup-request-card .admin-card-head{
  margin-bottom:10px;
}
.signup-request-row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  padding:14px 0;
  border-bottom:1px solid #edf0f5;
}
.signup-request-row:last-child{
  border-bottom:0;
}
.signup-request-scopes{
  margin-top:8px;
  padding:9px 11px;
  border-radius:9px;
  background:#f3f6fb;
  color:#4d596c;
  font-size:12px;
  line-height:1.65;
}
@media(max-width:700px){
  .signup-request-row{
    flex-direction:column;
  }
  .signup-request-row .user-actions{
    width:100%;
  }
  .signup-request-row .user-actions button{
    flex:1;
  }
}

/* =========================================================
   SIGNUP — WORKING CUSTOM MULTI-SELECT DROPDOWNS
   ========================================================= */
.signup-dropdown{position:relative;width:100%;margin-bottom:2px;}
.signup-dropdown-toggle{
  width:100%; min-height:42px; padding:10px 12px; border:1px solid #cbd5e1;
  border-radius:9px; background:#fff; color:#172033; font-size:13px;
  display:flex; align-items:center; justify-content:space-between; text-align:left;
  cursor:pointer; font-family:inherit;
}
.signup-dropdown-toggle:hover{border-color:#9eb2d8;}
.signup-dropdown.open .signup-dropdown-toggle{border-color:#4b73d9;box-shadow:0 0 0 3px rgba(75,115,217,.10);}
.signup-dropdown-arrow{font-size:14px;transition:transform .15s ease;color:#687386;}
.signup-dropdown.open .signup-dropdown-arrow{transform:rotate(180deg);}
.signup-dropdown-menu{
  display:none; position:absolute; z-index:1000; left:0; right:0; top:calc(100% + 5px);
  max-height:178px; overflow-y:auto; padding:6px; border:1px solid #d7deea;
  border-radius:10px; background:#fff; box-shadow:0 12px 28px rgba(15,23,42,.14);
}
.signup-dropdown.open .signup-dropdown-menu{display:block;}

.signup-dropdown-menu::-webkit-scrollbar{width:8px;}
.signup-dropdown-menu::-webkit-scrollbar-track{background:#f1f4f8;border-radius:8px;}
.signup-dropdown-menu::-webkit-scrollbar-thumb{background:#b8c2d1;border-radius:8px;}
.signup-dropdown-menu::-webkit-scrollbar-thumb:hover{background:#9da9ba;}
.signup-dropdown-menu{scrollbar-width:thin;scrollbar-color:#b8c2d1 #f1f4f8;}
.signup-option{display:flex;align-items:center;gap:9px;padding:8px 8px;min-height:32px;box-sizing:border-box;border-radius:7px;cursor:pointer;font-size:13px;color:#172033;margin:0;}
.signup-option:hover{background:#f1f5fb;}
.signup-option input{width:15px;height:15px;margin:0;accent-color:#1550c7;cursor:pointer;}
.signup-select-all{font-weight:700;border-bottom:1px solid #e7ebf2;border-radius:0;margin-bottom:4px;padding-bottom:10px;}
.signup-dropdown-empty{padding:12px 8px;color:#7a8495;font-size:12px;}
.signup-hidden-select{display:none !important;}


/* User Data Access editor */
.da-editor{display:grid;gap:14px;margin-top:14px}
.da-field{position:relative}
.da-field>label{display:block;font-size:13px;font-weight:700;color:#34405a;margin-bottom:6px}
.da-select-btn{width:100%;height:44px;background:#fff;border:1px solid #cbd5e1;border-radius:9px;padding:0 13px;display:flex;align-items:center;justify-content:space-between;color:#26344d;font-size:14px;cursor:pointer;text-align:left}
.da-select-btn:hover{border-color:#2d5bd1}
.da-select-btn .da-chevron{font-size:11px;color:#718096}
.da-panel{display:none;position:fixed;z-index:100500;background:#fff;border:1px solid #cbd5e1;border-radius:10px;box-shadow:0 12px 30px rgba(20,35,70,.18);padding:8px;box-sizing:border-box;max-height:min(330px,calc(100vh - 24px));overflow:hidden}
.da-panel.open{display:block}
.da-panel .da-options{max-height:180px;overflow-y:auto}
.da-search{display:flex;gap:6px;margin-bottom:7px}
.da-search input{flex:1;height:36px;border:1px solid #cbd5e1;border-radius:7px;padding:0 10px;font-size:13px;outline:none}
.da-search input:focus{border-color:#2d5bd1;box-shadow:0 0 0 2px rgba(45,91,209,.12)}
.da-search button{width:36px;border:1px solid #cbd5e1;background:#f8fafc;border-radius:7px;cursor:pointer;font-size:18px;color:#64748b}
.da-options{max-height:250px;overflow-y:auto;border-top:1px solid #edf1f7}
.da-check-row{min-height:38px;display:flex;align-items:center;gap:9px;padding:7px 9px;border-bottom:1px solid #eef2f7;cursor:pointer;font-size:13px}
.da-check-row:hover{background:#f6f8fc}
.da-check-row input{width:16px;height:16px;accent-color:#1769e8;flex:0 0 auto}
.da-check-row span{display:flex;flex-direction:column;min-width:0}
.da-check-row span b{font-size:12px;color:#1e293b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.da-check-row span small{font-size:10px;color:#718096;margin-top:2px}
.da-select-all{background:#f8fafc;border-bottom:1px solid #dbe3ef;font-weight:700}
.da-help{font-size:12px;color:#6b7280;margin-top:9px;line-height:1.45}
.data-access-current{max-height:120px;overflow:auto;background:#f8fafc;border:1px solid #e1e7f0;border-radius:9px;padding:10px 12px;margin:12px 0;font-size:12px;line-height:1.6}

/* Data Access dropdown close button */
.da-close-panel{width:36px;border:1px solid #cbd5e1;background:#f8fafc;border-radius:7px;cursor:pointer;font-size:18px;color:#64748b;line-height:1;}
.da-close-panel:hover{background:#eef3f9;color:#1e293b;}
