@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300;400;500;600;700&display=swap');

body { 
  font-family: 'Hind Siliguri', sans-serif; 
  background: #f1f5f9; 
  color: #0f172a;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

#filterPanel {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  background: #ffffff;
  z-index: 60;
}
#filterPanel.open {
  max-height: 40vh;
  opacity: 1;
  overflow-y: auto;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  padding: 16px;
  border-bottom: 3px solid #0f172a;
}

.voter-card {
  background: white;
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 10px;
  position: relative;
  border: 1px solid #e2e8f0;
}

.info-label { font-size: 9px; color: #94a3b8; font-weight: 700; text-transform: uppercase; margin-bottom: 1px; }
.info-value { font-size: 12px; color: #1e293b; font-weight: 700; line-height: 1.2; }

.serial-no {
  font-size: 34px;
  font-weight: 900;
  color: #000000;
  text-shadow: 
    0 0 15px rgba(86, 100, 255, 0.5),
    0 0 30px rgba(86, 100, 255, 0.3),
    0 0 45px rgba(86, 100, 255, 0.2);
  opacity: 0.8;
  position: absolute;
  right: 12px;
  top: 8px;
  line-height: 1;
  pointer-events: none;
  z-index: 0;
  filter: brightness(1.2);
}
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #f1f5f9;
  padding: 12px 16px;
  border-bottom: 1px solid #e2e8f0;
}

select, input {
  font-size: 13px !important;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 8px 10px;
  width: 100%;
  outline: none;
  background: #f8fafc;
}
select:focus, input:focus { border-color: #0f172a; background: white; }

.loader-overlay {
  position: fixed; inset: 0; background: rgba(255,255,255,0.95);
  z-index: 100; display: flex; flex-direction: column; align-items: center; justify-content: center;
}

#filterPanel::-webkit-scrollbar { width: 3px; }
#filterPanel::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }
