/* =========================================================
   VB-G RAM-G :: MASTER UI THEME
   Modern Government Dashboard Design System
   Version : Final Standardized Build
========================================================= */
@import url('fonts/noto-sans.css');
/* =========================================================
   ROOT DESIGN TOKENS
========================================================= */ :root {
  /* =========================================
     BRAND COLORS
  ========================================= */
  --vbg-blue: #004282;
  --vbg-blue-dark: #00386f;
  --vbg-blue-light: #30649d;
  --vbg-green: #164f2e;
  --vbg-saffron: #e99242;
  /* =========================================
     SURFACE COLORS
  ========================================= */
  --vbg-white: #ffffff;
  --vbg-bg: #f5f8ff;
  --vbg-soft: #f8fbff;
  --vbg-soft-blue: #edf4ff;
  /* =========================================
     TEXT COLORS
  ========================================= */
  --vbg-text: #1b1b1b;
  --vbg-muted: #5f6b7a;
  /* =========================================
     BORDER COLORS
  ========================================= */
  --vbg-border: #dfe7f1;
  /* =========================================
     EFFECTS
  ========================================= */
  --vbg-gradient:
    linear-gradient(135deg, var(--vbg-blue-light), var(--vbg-blue-dark));
  --vbg-shadow:
    0 4px 14px rgba(0, 0, 0, .06);
  --vbg-shadow-lg:
    0 12px 30px rgba(0, 66, 130, .10);
  --vbg-radius: 14px;
  --vbg-radius-sm: 8px;
  --vbg-transition: .22s ease;
  /* =========================================
     TYPOGRAPHY
  ========================================= */
  --vbg-font:
    'Noto Sans', system-ui, sans-serif;
  --vbg-font-sm: 13px;
  --vbg-font-md: 14px;
  --vbg-font-lg: 15px;
  /* =========================================
     Z INDEX
  ========================================= */
  --vbg-z-header: 1000;
}
/* =========================================================
   RESET & GLOBAL BASE
========================================================= */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  padding: 0;
  font:
    400 15px/1.6 var(--vbg-font);
  background: var(--vbg-bg);
  color: var(--vbg-text);
}
a {
  text-decoration: none;
  transition: var(--vbg-transition);
}
img {
  max-width: 100%;
  display: block;
}
ul {
  margin: 0;
  padding: 0;
}
p {
  margin-bottom: 8px;
}
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 10px;
  font-weight: 700;
}
section {
  position: relative;
}
/* =========================================================
   COMMON UTILITIES
========================================================= */
.bg-grad-blue {
  background:
    linear-gradient(180deg, #eef4ff, #ffffff);
}
.bg-grad-soft {
  background:
    linear-gradient(135deg, #f5f8ff, #ffffff);
}
.text-muted {
  color: var(--vbg-muted);
}
.vb-page-wrap {
  padding: 14px;
}
/* =========================================================
   COMMON CARD SYSTEM
========================================================= */
.vb-card, .hero-card, .stat-card, .news-card, .press-quote, .section-card, .info-card, .vb-filter-card, .vb-table-wrap, .vb-iframe-card, .login-card, .custom-card {
  background: var(--vbg-white);
  border:
    1px solid var(--vbg-border);
  border-radius:
    var(--vbg-radius);
  box-shadow:
    var(--vbg-shadow);
  transition:
    var(--vbg-transition);
  margin-bottom: 0.5rem;
}
.vb-card:hover, .login-card:hover, .custom-card:hover, .stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--vbg-shadow-lg);
}
.hero-card, .news-card, .press-quote, .section-card, .info-card {
  padding: 12px;
}
/* =========================================================
   CARD HEADERS
========================================================= */
.vb-card-header, .login-card .card-header, .custom-card .card-header {
  background: var(--vbg-gradient);
  color: var(--vbg-white);
  padding: 10px 14px;
  border-radius:
    var(--vbg-radius) var(--vbg-radius) 0 0;
  font-size:
    var(--vbg-font-lg);
  font-weight: 600;
  letter-spacing: .3px;
}
/* =========================================================
   GOVERNMENT HEADER / FOOTER
========================================================= */
.govt-strip, .primary-nav, .dashboard-header, .govt-footer {
  background: var(--vbg-gradient);
  color: var(--vbg-white);
}
.govt-strip {
  font-size: 13px;
}
.govt-utils {
  display: flex;
  gap: 12px;
  list-style: none;
}
.govt-utils a, .govt-utils button, .primary-nav a {
  color: var(--vbg-white);
  font-weight: 600;
  background: none;
  border: none;
}
.govt-utils a:hover, .primary-nav a:hover {
  opacity: .92;
}
.govt-footer {
  font-size: 14px;
}
.govt-footer a {
  color: #cfe0ff;
}
.govt-footer a:hover {
  color: #ffffff;
}
/* =========================================================
   PROGRAM HEADER
========================================================= */
.program-header {
  background: var(--vbg-white);
  border-top:
    4px solid var(--vbg-saffron);
  border-bottom:
    4px solid var(--vbg-green);
}
.emblem {
  height: 95px;
}
.program-title {
  color: var(--vbg-blue-dark);
  font-weight: 900;
}
.program-subtitle {
  color: var(--vbg-muted);
}
/* =========================================================
   PRIMARY NAVIGATION
========================================================= */
.primary-nav {
  position: relative;
  box-shadow: var(--vbg-shadow);
  z-index: var(--vbg-z-header);
  padding: 0;
}
.primary-nav ul {
  display: flex;
  gap: 4px;
  list-style: none;
}
.primary-nav li {
  position: relative;
}
/* =========================================
   TOP LEVEL MENU
========================================= */
.primary-nav > .container-xxl > .collapse > ul > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius:
    var(--vbg-radius-sm);
  color:
    rgba(255, 255, 255, .92);
  font-weight: 600;
}
.primary-nav > .container-xxl > .collapse > ul > li:hover > a, .primary-nav > .container-xxl > .collapse > ul > li > a.active {
  background:
    rgba(255, 255, 255, .12);
  color: var(--vbg-white);
}
/* =========================================================
   DROPDOWN / MEGA MENU
========================================================= */
.primary-nav li.dropdown > ul {
  position: absolute;
  top: 100%;
  left: 0;
  display: grid;
  grid-template-columns:
    repeat(2, minmax(220px, 1fr));
  gap: 10px;
  min-width: 460px;
  padding: 14px;
  margin-top: 8px;
  background: var(--vbg-white);
  border:
    1px solid var(--vbg-border);
  border-radius:
    var(--vbg-radius);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, .12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--vbg-transition);
  z-index: 999;
}
.primary-nav li.dropdown:hover > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
/* =========================================
   MENU SECTION
========================================= */
.menu-section, .primary-nav li.dropdown > ul > li > a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--vbg-radius-sm);
  background: var(--vbg-soft);
  color: var(--vbg-blue-dark) !important;
  font-size: 14px;
  font-weight: 700;
  white-space: pre-wrap;
  line-height: 1;
}
.menu-section:hover, .primary-nav li.dropdown > ul > li > a:hover {
  background: var(--vbg-gradient);
  color: var(--vbg-white) !important;
}
/* =========================================
   SUB MENU
========================================= */
.primary-nav li.dropdown ul ul {
  display: block;
  padding-top: 6px;
}
.primary-nav li.dropdown ul ul li {
  list-style: none;
}
.primary-nav li.dropdown ul ul li a {
  display: block;
  padding: 7px 10px;
  border-radius: 8px;
  color:
    var(--vbg-text) !important;
  font-size: 13px;
  font-weight: 500;
}
.primary-nav li.dropdown ul ul li a:hover {
  background:
    rgba(48, 100, 157, .08);
  color:
    var(--vbg-blue-dark) !important;
  padding-left: 14px;
}
/* =========================================================
   HERO SECTION
========================================================= */
.hero-section, .hero-enhanced {
  background:
    linear-gradient(135deg, #eef4ff, #dce9ff);
}
.hero-header {
  position: relative;
  overflow: hidden;
  padding: 12px;
  border-radius:
    var(--vbg-radius);
  background: var(--vbg-gradient);
  color: var(--vbg-white);
  box-shadow: var(--vbg-shadow-lg);
}
.hero-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, .22), transparent 60%);
}
.hero-title {
  /*font-size: clamp(30px, 4vw, 52px);*/
  font-weight: 900;
  letter-spacing: -.4px;
}
.hero-subtitle, .hero-text {
  color: rgba(255, 255, 255, .92);
}
/* =========================================================
   SECTION TITLES
========================================================= */
.section-title {
  position: relative;
  margin-bottom: 24px;
  text-align: center;
  font-size:
    clamp(24px, 3vw, 36px);
  font-weight: 800;
}
.section-title::after {
  content: "";
  width: 70px;
  height: 4px;
  display: block;
  margin: 10px auto 0;
  border-radius: 4px;
  background: var(--vbg-gradient);
}
/* =========================================================
   TOP BAR
========================================================= */
.top-bar {
  background:
    linear-gradient(135deg, var(--vbg-blue), var(--vbg-blue-dark));
  border-radius: var(--vbg-radius);
  padding: 8px 12px;
  margin-bottom: 10px;
  box-shadow: var(--vbg-shadow);
}
.top-bar .vb-page-title {
  color: var(--vbg-white);
  font-size:
    clamp(16px, 2vw, 20px);
  font-weight: 700;
  line-height: 1;
}
.top-bar a, .top-bar input[type="submit"] {
  background: var(--vbg-white);
  color: var(--vbg-blue-dark);
  padding: 6px 10px;
  margin-top: 4px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
}
.top-bar a:hover, .top-bar input[type="submit"]:hover {
  background: #eaf2ff;
}
/* =========================================================
   STAT CARDS
========================================================= */
.stat-card {
  padding: 22px;
  height: 100%;
}
.stat-value {
  font-size: 30px;
  font-weight: 900;
}
.stat-label {
  font-size: 13px;
  color: var(--vbg-muted);
}
.icon-badge {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--vbg-soft);
  color: var(--vbg-blue);
  font-size: 24px;
}
/* =========================================================
   FORM SYSTEM
========================================================= */
.form-grid {
  display: grid;
  grid-template-columns:
    repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.form-group label, .vb-label {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--vbg-muted);
}
.form-group select, .form-group input, .form-select-sm, .dataTables_wrapper select, .dataTables_wrapper input {
  width: 100%;
  padding: 8px 12px;
  border:
    1px solid var(--vbg-border);
  border-radius:
    var(--vbg-radius-sm);
  background: var(--vbg-white);
  font-size: 13px;
  transition: var(--vbg-transition);
}
.form-group select:focus, .form-group input:focus, .form-select-sm:focus {
  outline: none;
  border-color:
    var(--vbg-blue-light);
  box-shadow:
    0 0 0 3px rgba(41, 113, 233, .15);
}
/* =========================================================
   BUTTON SYSTEM
========================================================= */
.vb-btn, .vb-btn-primary, .btn-orange, .btn-vb-primary {
  border: none;
  background: var(--vbg-gradient);
  color: var(--vbg-white);
  border-radius:
    var(--vbg-radius-sm);
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  transition: var(--vbg-transition);
  box-shadow:
    0 4px 12px rgba(0, 66, 130, .16);
}
.vb-btn:hover, .vb-btn-primary:hover, .btn-orange:hover, .btn-vb-primary:hover {
  color: var(--vbg-white);
  transform: translateY(-1px);
  filter: brightness(.96);
}
.btn-vb-outline {
  border:
    1px solid var(--vbg-blue);
  color: var(--vbg-blue);
  background: transparent;
  border-radius:
    var(--vbg-radius-sm);
  padding: 8px 18px;
  font-weight: 600;
}
.btn-vb-outline:hover {
  background: var(--vbg-soft);
  color: var(--vbg-blue-dark);
}
/* =========================================================
   TABLE SYSTEM
========================================================= */
.vb-table-wrap {
  overflow: auto;
  background: var(--vbg-white);
}
.vb-data-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--vbg-text);
  font-size: 13px;
}
.vb-data-table th {
  /*background: var(--vbg-gradient);*/
  background:
    linear-gradient(0deg, var(--vbg-blue-dark), var(--vbg-blue), var(--vbg-blue-light));
  color: var(--vbg-white);
  padding: 10px;
  text-align: center;
  font-weight: 600;
}
.vb-data-table td {
  padding: 4px 10px;
  border-bottom:
    1px solid var(--vbg-border);
  vertical-align: middle;
}
.vb-data-table tbody tr:nth-child(even) {
  background: var(--vbg-soft);
}
.vb-data-table tbody tr:hover {
  background: #e5efff;
}
.vb-data-table td[align="right"] {
  text-align: right;
  font-weight: 600;
}
.vb-data-table td[align="center"] {
  text-align: center;
}
/* =========================================================
   INFO / NOTES
========================================================= */
.info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}
/*.info-item {
  font-size: 13px;
}*/
.note-section {
  margin-top: 16px;
  padding: 14px;
  background: #fffaf3;
  border-left:
    4px solid var(--vbg-saffron);
  border-radius: 10px;
}
/* =========================================================
   IFRAME SYSTEM
========================================================= */
.vb-iframe {
  width: 100%;
  height:
    calc(100vh - 360px);
  border:
    1px solid var(--vbg-border);
  border-radius:
    var(--vbg-radius);
  background: var(--vbg-white);
  box-shadow: var(--vbg-shadow);
}
/* =========================================================
   LOGIN / AUTH PAGES
========================================================= */
.login-section {
  padding: 60px 0;
  background:
    linear-gradient(to bottom, #fff8f1, #ffe8d6);
}
.custom-btn {
  border-radius: 30px;
}
/* =========================================================
   MAP / ANALYTICS SECTION
========================================================= */
.map_statistics_sec {
  padding: 20px 0;
  background:
    linear-gradient(180deg, #f8fbff 0%, #edf4ff 100%);
}
/* =========================================================
   DISTRICT / LIST PANELS
========================================================= */
.district-list {
  max-height: 70vh;
  overflow: auto;
  list-style: none;
}
.district-list li {
  border-bottom:
    1px dashed var(--vbg-border);
}
.district-list li:last-child {
  border-bottom: none;
}
.district-list li a {
  display: block;
  padding: 5px 8px;
  border-radius:
    var(--vbg-radius-sm);
  color: var(--vbg-text);
  font-size:
    var(--vbg-font-md);
}
.district-list li a:hover {
  background:
    rgba(0, 66, 130, .06);
  color: var(--vbg-blue);
  padding-left: 12px;
}
/* =========================================================
   MIS SECTION
========================================================= */
.mis-section h6 {
  padding: 6px 10px;
  margin-bottom: 10px;
  border-left:
    4px solid var(--vbg-blue);
  border-radius:
    var(--vbg-radius-sm);
  background:
    linear-gradient(90deg, rgba(0, 66, 130, .06), rgba(48, 100, 157, .03));
  color: var(--vbg-blue-dark);
  font-weight: 600;
}
.mis-section ol {
  padding-left: 18px;
}
.mis-section li {
  margin-bottom: 6px;
}
.mis-section a {
  color: var(--vbg-text);
}
.mis-section a:hover {
  color: var(--vbg-blue);
}
/* =========================================================
   LIVE STATUS
========================================================= */
.live-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse 1.5s infinite;
}
/* =========================================================
   UAT MARQUEE
========================================================= */
.uat-marquee {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, var(--vbg-blue-dark), var(--vbg-blue), var(--vbg-blue-light));
  /*z-index: var(--vbg-z-header);*/
}
.uat-marquee marquee {
  color: var(--vbg-white);
  font-size:
    var(--vbg-font-md);
  font-weight: 600;
  letter-spacing: .3px;
}
/* =========================================================
   CUSTOM SCROLLBAR
========================================================= */
.district-list::-webkit-scrollbar {
  width: 8px;
}
.district-list::-webkit-scrollbar-thumb {
  background:
    rgba(0, 66, 130, .22);
  border-radius: 20px;
}
.district-list::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, .03);
}
/* =========================================================
   ANIMATION
========================================================= */
@keyframes pulse {
  0% {
    box-shadow:
      0 0 0 0 rgba(34, 197, 94, .5);
  }
  70% {
    box-shadow:
      0 0 0 10px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow:
      0 0 0 0 rgba(34, 197, 94, 0);
  }
}
/* =========================================================
   RESPONSIVE
========================================================= */
@media(max-width:991px) {
  .primary-nav ul {
    display: block;
  }
  .primary-nav li.dropdown > ul {
    position: static;
    display: block;
    min-width: 100%;
    margin-top: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
  }
  .district-list {
    max-height: 300px;
  }
}
@media(max-width:768px) {
  .vb-page-wrap {
    padding: 10px;
  }
  .hero-card, .section-card, .info-card {
    padding: 14px;
  }
  .vb-data-table {
    font-size: 12px;
  }
  .vb-data-table th, .vb-data-table td {
    padding: 4px 10px;
  }
  .vb-iframe {
    height:
      calc(100vh - 300px);
  }
  .hero-header {
    padding: 20px;
  }
}
/* =========================================================
   PRINT SAFE
========================================================= */
@media print {
  body {
    background: #ffffff;
    color: #000000;
    font-size: 12pt;
    overflow: visible !important;
  }
  header, .govt-strip, .program-header, .primary-nav, .govt-footer, .top-bar, .no-print, a {
    display: none !important;
  }
  .vb-card, .section-card, .info-card, .vb-table-wrap {
    box-shadow: none;
    border:
      1px solid #000;
  }
  .vb-data-table {
    font-size: 12px;
  }
  .vb-data-table th, .vb-data-table td {
    padding: 2px 4px;
    line-height: 1;
  }
  .vb-iframe {
    width: 100%;
    height: calc(100vh - 80px);
    overflow: visible !important;
    border: none !important;
    box-shadow: none !important;
  }
  iframe {
    overflow: visible !important;
  }
}