/* =========================================================
   BRAP Portal – Common Stylesheet
   Shared by all pages: header, footer, nav, cards, tables
   No third-party frameworks. Pure CSS.
   ========================================================= */

:root{
  --navy:            #0b2a6b;
  --navy-dark:       #081d4d;
  --navy-light:      #123a8f;
  --saffron:         #f28c1c;
  --saffron-dark:    #e07800;
  --green:           #1e9e56;
  --blue-accent:     #2563c9;
  --purple-accent:   #7b4fd6;
  --bg-page:         #f2f4f9;
  --bg-card:         #ffffff;
  --border:          #e1e6f0;
  --text-main:       #1b2540;
  --text-muted:      #5b6784;
  --text-light:      #8a93ab;
  --radius:          10px;
  --shadow:          0 2px 10px rgba(11,42,107,0.07);
  --shadow-sm:       0 1px 3px rgba(11,42,107,0.08);
  --font-main: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: var(--font-main);
  background: var(--bg-page);
  color: var(--text-main);
  font-size: 15px;
  line-height: 1.5;
}

a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
img{ max-width: 100%; display: block; }
button{ font-family: inherit; cursor: pointer; }

.skip-link:focus{
  position: fixed; top: 8px; left: 8px; z-index: 999;
  background: #fff; padding: 8px 14px; border-radius: 6px;
}

/* =========================
   Utility bar (top strip)
   ========================= */
.utility-bar{
  background: #eef1f8;
  border-bottom: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--text-muted);
}
.utility-bar .wrap{
  max-width: 1440px;
  margin: 0 auto;
  padding: 6px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.utility-bar .left a{ color: var(--navy); font-weight: 600; }
.utility-bar .right{ display:flex; align-items:center; gap: 16px; }
.utility-bar .text-size span{
  display:inline-block; padding: 0 4px; cursor: pointer; color: var(--text-muted);
}
.utility-bar .text-size span:hover{ color: var(--navy); }
.utility-bar select{
  border: none; background: transparent; color: var(--navy); font-weight: 600;
  font-size: 12.5px; cursor: pointer;
}

/* =========================
   Header
   ========================= */
.site-header{
  background: var(--navy);
  color: #fff;
}
.header-inner{
  max-width: 1440px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand{
  display: flex;
  align-items: center;
  gap: 16px;
}
.emblem{
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}
.brand-text .hindi{
  font-size: 15px;
  opacity: 0.9;
  margin: 0 0 2px;
}
.brand-text h1{
  font-size: 21px;
  margin: 0;
  letter-spacing: 0.3px;
  font-weight: 700;
  line-height: 1.25;
}
.brand-text .ministry{
  font-size: 12px;
  opacity: 0.85;
  margin: 3px 0 0;
}

.header-actions{
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.lang-select{
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-login{
  background: #fff;
  color: var(--navy);
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: none;
}
.btn-login .ic{ width: 16px; height: 16px; }

.admin-chip{
  background: #fff;
  color: var(--navy);
  border-radius: 8px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 150px;
}
.admin-chip .avatar{
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--navy); color:#fff;
  display:flex; align-items:center; justify-content:center;
  flex-shrink: 0;
}
.admin-chip .info{ line-height: 1.3; }
.admin-chip .info .name{ font-weight: 700; font-size: 14px; display:flex; align-items:center; gap:4px;}
.admin-chip .info .date{ font-size: 11.5px; color: var(--text-muted); }

/* =========================
   Primary nav
   ========================= */
.primary-nav{
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.primary-nav .wrap{
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-list{
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
}
.nav-list > li{
  position: relative;
}
.nav-list > li > a, .nav-list > li > .nav-top{
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 15px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}
.nav-list > li > a .ic, .nav-list > li > .nav-top .ic{ width: 16px; height:16px; opacity:.75; }
.nav-list > li.active > a{
  color: var(--navy);
  border-bottom-color: var(--saffron);
}
.nav-list > li:hover > a, .nav-list > li:hover > .nav-top{
  color: var(--navy);
  background: #f5f7fc;
}
.nav-list .caret{ font-size: 10px; margin-left: 2px; opacity: .6; }

.nav-right-links{
  display:flex; align-items:center; gap: 4px;
}
.nav-right-links a{
  display:flex; flex-direction:column; align-items:center; gap:4px;
  padding: 10px 14px; font-size: 12.5px; font-weight: 600; color: var(--navy);
}
.nav-right-links .ic{ width: 20px; height: 20px; }

/* dropdown (CSS only, hover-based) */
.has-dropdown{ position: relative; }
.dropdown{
  position: absolute;
  top: 100%; left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0 0 8px 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all .15s ease;
  z-index: 50;
}
.has-dropdown:hover .dropdown{
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a{
  display: block;
  padding: 10px 16px;
  font-size: 13.5px;
  color: var(--text-main);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.dropdown a:last-child{ border-bottom: none; }
.dropdown a:hover{ background: #f5f7fc; color: var(--navy); }

/* =========================
   Footer
   ========================= */
.site-footer{
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  margin-top: 40px;
}
.footer-grid{
  max-width: 1440px;
  margin: 0 auto;
  padding: 36px 24px 20px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
}
.footer-col h3{
  color: #fff;
  font-size: 15px;
  margin: 0 0 12px;
}
.footer-col p{
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  margin: 0;
}
.footer-col.about-col{
  display: flex;
  gap: 14px;
}
.footer-col.about-col .emblem{
  width: 46px; height: 46px; flex-shrink: 0; filter: brightness(0) invert(1);
}
.footer-links li{ margin-bottom: 9px; }
.footer-links a{
  font-size: 13.5px;
  color: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-links a:hover{ color: #fff; text-decoration: underline; }

.visitor-box{
  background: var(--saffron);
  color: #fff;
  border-radius: 8px;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.updated-box{
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.social-row{ display: flex; align-items: center; gap: 10px; }
.social-row .ic-btn{
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display:flex; align-items:center; justify-content:center;
}
.copyright-strip{
  border-top: 1px solid rgba(255,255,255,0.15);
  text-align: center;
  font-size: 12.5px;
  padding: 14px 20px;
  color: rgba(255,255,255,0.7);
}

/* =========================
   Sidebar (used on admin pages with side navigation)
   ========================= */
.app-shell{
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
}
.sidebar{
  width: 230px;
  flex-shrink: 0;
  background: #fff;
  border-right: 1px solid var(--border);
  min-height: calc(100vh - 190px);
  padding: 18px 0;
}
.sidebar-section{
  padding: 0 10px 14px;
  margin-bottom: 6px;
}
.sidebar-label{
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-light);
  padding: 8px 12px 6px;
  font-weight: 700;
}
.sidebar a.side-link{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.sidebar a.side-link .ic{ width: 17px; height: 17px; opacity: .7; }
.sidebar a.side-link:hover{ background: #f2f4fb; color: var(--navy); }
.sidebar a.side-link.active{
  background: #e9edfb; color: var(--navy);
}
.sidebar a.side-link.active .ic{ opacity: 1; }
.main-content{
  flex: 1;
  min-width: 0;
  padding: 24px;
}

/* =========================
   Page heading row
   ========================= */
.page-heading-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}
.page-title{
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 8px;
}
.title-underline{
  height: 4px;
  width: 220px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--saffron) 55%, #ffd36b 100%);
}
.select-state{
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; color: var(--text-main);
}
.select-state select{
  padding: 9px 14px;
  border-radius: 7px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  min-width: 160px;
}

/* =========================
   Stat cards
   ========================= */
.stat-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 22px;
}
.stat-card{
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--border);
}
.stat-card.tint-blue{ background: #eaf1ff; border-color: #d6e4ff; }
.stat-card.tint-orange{ background: #fff3e2; border-color: #ffe3bd; }
.stat-card.tint-green{ background: #e9f9ef; border-color: #c9f0d7; }
.stat-card.tint-purple{ background: #f3ecfd; border-color: #e2d1f9; }
.stat-num{
  font-size: 30px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 4px;
}
.stat-label{
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
}
.stat-icon{
  width: 44px; height: 44px; border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  flex-shrink: 0;
}
.stat-icon.blue{ background:#cfe0ff; color: var(--blue-accent); }
.stat-icon.orange{ background:#ffdead; color: var(--saffron-dark); }
.stat-icon.green{ background:#bdeecd; color: var(--green); }
.stat-icon.purple{ background:#dcc7f7; color: var(--purple-accent); }
.stat-icon svg{ width: 22px; height: 22px; }

/* =========================
   Card / panel
   ========================= */
.panel{
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
  overflow: hidden;
}
.panel-header{
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff;
  padding: 13px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14.5px;
}
.panel-header .ic-circle{
  width: 26px; height:26px; border-radius:50%;
  background: rgba(255,255,255,0.18);
  display:flex; align-items:center; justify-content:center;
}
.panel-body{ padding: 18px; }

/* =========================
   Table
   ========================= */
.table-wrap{ overflow-x: auto; }
table.data-table{
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
table.data-table thead th{
  background: var(--navy);
  color: #fff;
  text-align: left;
  padding: 12px 16px;
  font-weight: 700;
  white-space: nowrap;
}
table.data-table thead th .sort{
  opacity: .6; font-size: 11px; margin-left: 5px;
}
table.data-table tbody td{
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-main);
}
table.data-table tbody tr:nth-child(even){ background: #f7f9fd; }
table.data-table tbody tr:hover{ background: #eef2fc; }

.badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  padding: 3px 8px;
  border-radius: 5px;
  font-weight: 700;
  font-size: 12px;
  color: #fff;
  background: var(--saffron);
}
.pill{
  display: inline-block;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
}
.pill.review{ background: var(--blue-accent); }
.pill.completed{ background: var(--green); }
.pill-pct{
  display: inline-block;
  margin-left: 6px;
  background: #eef1f8;
  color: var(--text-main);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 12.5px;
  font-weight: 700;
}

.table-footer{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 10px;
}
.pagination{ display: flex; align-items: center; gap: 6px; }
.pagination a{
  width: 30px; height: 30px;
  display:flex; align-items:center; justify-content:center;
  border-radius: 6px;
  border: 1px solid var(--border);
  font-weight: 600;
  color: var(--text-main);
  font-size: 13px;
}
.pagination a.active{ background: var(--navy); color:#fff; border-color: var(--navy); }
.pagination a:hover:not(.active){ background: #f2f4fb; }
.pagination .dots{ padding: 0 4px; color: var(--text-light); }

/* =========================
   Announcements / quick access (homepage)
   ========================= */
.hero-section{
  max-width: 1440px;
  margin: 0 auto;
  padding: 44px 24px 10px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}
.hero-text .eyebrow{ font-size: 16px; color: var(--text-muted); margin: 0 0 6px; }
.hero-text h2{
  font-size: 38px;
  color: var(--navy);
  margin: 0 0 14px;
  font-weight: 800;
  line-height: 1.2;
}
.hero-text p{
  font-size: 15px;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.7;
}
.hero-illustration{ display: flex; justify-content: center; }
.hero-illustration svg{ width: 100%; max-width: 380px; }

.content-grid{
  max-width: 1440px;
  margin: 30px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}
.announce-list{ max-height: 240px; overflow-y: auto; }
.announce-list li{
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
}
.announce-list li:last-child{ border-bottom: none; }
.announce-list .dot{
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--saffron); margin-top: 6px; flex-shrink: 0;
}
.announce-list .txt{ flex: 1; font-size: 13.5px; color: var(--text-main); line-height: 1.5; }
.announce-list .date{ font-size: 12.5px; color: var(--blue-accent); font-weight: 700; white-space: nowrap; }

.btn-block{
  display: block;
  text-align: center;
  background: var(--saffron);
  color: #fff;
  font-weight: 700;
  padding: 12px;
  border-radius: 7px;
  margin: 16px 18px 18px;
  font-size: 14px;
}
.btn-block:hover{ background: var(--saffron-dark); }

.quick-access-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.quick-tile{
  border-radius: 9px;
  padding: 20px 12px;
  text-align: center;
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
}
.quick-tile .ic{ width: 26px; height: 26px;margin-right: 2px;}
.quick-tile.blue{ background: #e9f0ff; }
.quick-tile.green{ background: #e8f9ef; }
.quick-tile.orange{ background: #fff3e2; }
.quick-tile.purple{ background: #f2ecfd; }
.quick-tile.violet{ background: #ede9fd; }
.quick-tile.pink{ background: #fde9f0; }

.btn-login-portal{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  padding: 14px;
  border-radius: 8px;
  font-size: 14.5px;
  margin-top: .8rem;
}

.video-band{
  max-width: 1440px;
  margin: 0px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}
.video-card{
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: #05123a;
  aspect-ratio: 16/8;
  display: flex;
  align-items: center;
  padding: 30px;
}
.video-card .yt-badge{
  position: absolute; top: 16px; left: 16px;
  display:flex; align-items:center; gap:8px;
  color: #fff; font-size: 12.5px; font-weight: 700;
}
.video-card .yt-badge .dot{ width:8px; height:8px; border-radius:50%; background:#fff; }
.video-card h3{
  color: #ffcf5c; font-size: 26px; margin: 0; line-height: 1.35; font-weight: 800;
}
.video-card .play-btn{
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 60px; height: 60px; border-radius: 12px;
  background: #ff2d2d;
  display:flex; align-items:center; justify-content:center;
}
.video-card .watch-yt{
  position: absolute; bottom: 14px; right: 18px;
  color: #fff; font-size: 12px; font-weight: 700;
  display:flex; align-items:center; gap:6px;
}
.video-info h3{ color: var(--navy); font-size: 19px; margin: 0 0 6px; }
.video-info p.small-label{ font-size: 13px; color: var(--text-muted); margin: 0 0 4px; font-weight: 700; }
.video-info p{ font-size: 13.5px; color: var(--text-muted); line-height: 1.6; }
.btn-outline-navy{
  display: inline-flex; align-items:center; gap:8px;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 7px;
  font-size: 13.5px;
  margin-top: 10px;
}

/* =========================
   National dashboard specific
   ========================= */
.days-left-chip{
  background: var(--saffron);
  color: #fff;
  border-radius: 8px;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 13px;
  text-align: center;
  line-height: 1.3;
}
.admin-details-btn{
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 700;
  font-size: 13px;
  border: none;
}
.heading-right{ display:flex; align-items:center; gap: 12px; }

.tab-row{ display:flex; gap: 8px; margin-bottom: 18px; }
.tab-btn{
  padding: 10px 20px;
  border-radius: 7px;
  font-weight: 700;
  font-size: 13.5px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-muted);
}
.tab-btn.active{ background: var(--navy); color: #fff; border-color: var(--navy); }

.timeline-panel{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 20px;
  margin-bottom: 22px;
}
.timeline-title{
  display:flex; align-items:center; gap: 10px;
  font-weight: 700; font-size: 15px; color: var(--navy);
  margin-bottom: 22px;
}
.timeline-track{
  position: relative;
  height: 4px;
  background: linear-gradient(90deg,#e02424,#e02424);
  border-radius: 4px;
  margin: 0 6px;
}
.timeline-track::before, .timeline-track::after{
  content:"";
  position:absolute; top:50%; transform:translateY(-50%);
  width: 12px; height: 12px; border-radius: 50%;
  background: #e02424; border: 3px solid #fff; box-shadow: 0 0 0 1px #e02424;
}
.timeline-track::before{ left: -6px; }
.timeline-track::after{ right: -6px; }
.timeline-labels{
  display:flex; justify-content: space-between; margin-top: 10px;
}
.timeline-labels .lbl{ font-size: 12.5px; color: var(--text-muted); }
.timeline-labels .lbl b{ display:block; color: var(--text-main); font-size: 13px; }
.timeline-labels .lbl.end{ text-align: right; }
.timeline-meta{
  display:flex; justify-content: space-between; margin-top: 6px;
  font-size: 13px; font-weight: 700;
}
.timeline-meta .ok{ color: var(--green); }
.timeline-meta .pending{ color: #e02424; }

.two-col-panels{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 22px;
}
.three-col-panels{
  display: grid;
  grid-template-columns: 1fr 4fr 3fr;
  gap: 20px;
  margin-bottom: 22px;
}
.mini-table{ width: 100%; border-collapse: collapse; font-size: 13.5px; }
.mini-table th{
  text-align:left; padding: 10px 12px; color: #fff; border: 1px solid #fff;align-content: center;
  border-bottom: 1px solid #fff; font-size: 12.5px; text-transform: uppercase; letter-spacing: .03em;
}
.mini-table td{ padding: 12px; border-bottom: 1px solid var(--border); font-weight: 600; }
.mini-table tr:last-child td{ border-bottom: none; }
.mini-table td.category-cell{ color: var(--navy); font-weight: 700; }

.legend-list{ display: flex; flex-direction: column; gap: 12px; margin-top: 10px; }
.legend-list .legend-row{ display:flex; align-items:center; gap: 10px; font-size: 13.5px; color: var(--text-main); font-weight: 600;}
.legend-list .swatch{ width: 14px; height: 14px; border-radius: 3px; flex-shrink: 0; }

.map-area{
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  align-items: start;
}
.map-controls{
  display:flex; flex-direction: column; align-items:center; gap: 6px; margin-top: 10px;
}
.map-controls button{
  width: 30px; height: 30px; border-radius: 6px;
  border: 1px solid var(--border); background:#fff; font-weight: 700; font-size: 16px;
  color: var(--navy);
}
.map-controls .slider-track{
  width: 4px; height: 90px; background: var(--border); border-radius: 4px; margin-top: 6px; position: relative;
}
.map-controls .slider-track::before{
  content:""; position:absolute; top: -3px; left: 50%; transform: translateX(-50%);
  width: 12px; height: 12px; border-radius: 50%; background: var(--navy);
}
.map-legend{ display:flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.map-legend .row{ display:flex; align-items:center; gap: 8px; font-size: 13px; font-weight: 600; }
.map-legend .sw{ width: 14px; height: 14px; border-radius: 3px; }
.map-toggle-row{ display:flex; gap: 10px; margin-top: 16px; }
.map-toggle-row button{
  flex:1; padding: 12px; border-radius: 7px; border: none; font-weight: 700; font-size: 13.5px; color: #fff;
}
.map-toggle-row .submitted{ background: var(--green); }
.map-toggle-row .evaluated{ background: #2fb6a3; }
.map-note{ font-size: 12px; color: var(--text-light); margin-top: 10px; }
.select-reform-area{
  padding: 9px 14px; border-radius: 7px; border: 1px solid var(--border);
  font-size: 13.5px; font-weight: 600; color: var(--text-main); width: 260px; max-width: 100%;
}

/* Reform area wise analysis legend list */
.legend-grid-2col{
  display:grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; margin-top: 30px;
}

/* Back-to-top FAB & chat FAB */
.fab-stack{
  position: fixed; right: 22px; bottom: 22px;
  display:flex; flex-direction: column; gap: 12px; z-index: 60;
}
.fab{
  width: 46px; height: 46px; border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  color: #fff;
}
.fab.top{ background: var(--navy); }
.fab.chat{ background: var(--saffron); }

/* =========================
   Responsive
   ========================= */
@media (max-width: 1100px){
  .stat-grid{ grid-template-columns: repeat(2,1fr); }
  .hero-section, .content-grid, .video-band, .two-col-panels, .footer-grid{ grid-template-columns: 1fr; }
  .map-area{ grid-template-columns: 1fr; }
  .sidebar{ display: none; }
}
@media (max-width: 640px){
  .stat-grid{ grid-template-columns: 1fr; }
  .quick-access-grid{ grid-template-columns: repeat(2,1fr); }
  .header-inner{ flex-direction: column; align-items: flex-start; gap: 12px; }
}
