/* css/agromet.css - State-of-the-Art Aesthetics for Agromet Value Addition Platform */

:root {
  --primary-gradient: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  --secondary-gradient: linear-gradient(135deg, #059669 0%, #047857 100%);
  --accent-purple: #7c3aed;
  --accent-amber: #d97706;
  --bg-slate: #f8fafc;
  --card-bg: #ffffff;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --border-subtle: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
}

body.agromet-app {
  font-family: 'Inter', 'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f1f5f9;
  color: var(--text-dark);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Header Rebranding & Interactive Layout */
.agromet-header {
  background: linear-gradient(135deg, #090e1d 0%, #0f172a 50%, #090e1d 100%);
  color: #ffffff;
  padding: 10px 24px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 100;
  border-bottom: 1.5px solid rgba(56, 189, 248, 0.25);
}

.agromet-header-inner {
  max-width: 1750px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-logo-left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 100px;
}

.header-logo-left img.emblem-logo {
  height: 56px;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.header-logo-left img.emblem-logo:hover {
  transform: scale(1.08);
}

.header-logo-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 100px;
}

.header-logo-right img.imd-logo {
  height: 54px;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.header-logo-right img.imd-logo:hover {
  transform: scale(1.08);
}

.header-center-content {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
}

.header-gov-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 2px;
  transition: color 0.2s;
}

.header-gov-eyebrow:hover {
  color: #e2e8f0;
}

.header-gov-eyebrow .gov-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f97316;
  box-shadow: 0 0 6px rgba(249, 115, 22, 0.8);
}

.header-main-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin: 0;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.2s;
  cursor: default;
}

.header-main-title:hover {
  text-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
}

.header-main-title span.badge-dept {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  color: #ffffff;
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s;
}

.header-main-title span.badge-dept:hover {
  transform: scale(1.05);
  box-shadow: 0 3px 12px rgba(14, 165, 233, 0.5);
}

.header-sub-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #cbd5e1;
  margin: 2px 0 0 0;
  letter-spacing: 0.2px;
}

.header-hindi-title {
  font-size: 12.5px;
  color: #38bdf8;
  font-weight: 700;
  margin-top: 2px;
  letter-spacing: 0.2px;
  text-shadow: 0 1px 4px rgba(56, 189, 248, 0.25);
  transition: color 0.2s;
}

.header-hindi-title:hover {
  color: #7dd3fc;
}

.btn-layers-switch {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-weight: 700;
  transition: all 0.2s ease;
}

.btn-layers-switch:hover {
  background: #e2e8f0;
  color: #0284c7;
}

.btn-layers-switch.active-layers {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
  color: #ffffff !important;
  border-color: #0284c7 !important;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.35) !important;
}

.btn-layers-switch.active-layers i {
  color: #ffffff !important;
}

/* Header Actions & Quick Buttons */
.header-quick-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.btn-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  user-select: none;
  text-decoration: none;
}
.btn-action i {
  font-size: 13px;
}
.btn-upload {
  background: #3b82f6;
  color: #ffffff;
}
.btn-upload:hover {
  background: #2563eb;
  transform: translateY(-1px);
}
.btn-fetch-0830 {
  background: #0ea5e9;
  color: #ffffff;
}
.btn-fetch-0830:hover {
  background: #0284c7;
  transform: translateY(-1px);
}
.btn-fetch-fc {
  background: #8b5cf6;
  color: #ffffff;
}
.btn-fetch-fc:hover {
  background: #7c3aed;
  transform: translateY(-1px);
}
.btn-auto-all {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}
.btn-auto-all:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}
.btn-download {
  background: #f59e0b;
  color: #ffffff;
}
.btn-download:hover {
  background: #d97706;
  transform: translateY(-1px);
}
.btn-export-map {
  background: #64748b;
  color: #ffffff;
}
.btn-export-map:hover {
  background: #475569;
  transform: translateY(-1px);
}

/* Prevent any action button from rotating or distorting */
.btn-action,
.btn-action.loading,
#btnFetch0830,
#btnFetchDistrictFc {
  animation: none !important;
  border-radius: var(--radius-md) !important;
}

.btn-action:hover {
  transform: translateY(-1px) !important;
}


/* Secondary Sub-Bar / Status Ribbon */
.agromet-subbar {
  background: #1e293b;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 6px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #94a3b8;
}
.subbar-meta {
  display: flex;
  align-items: center;
  gap: 16px;
}
.subbar-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.subbar-meta span i {
  color: #38bdf8;
}

/* Main Container Layout */
.agromet-main-container {
  max-width: 1700px;
  margin: 14px auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* View Selector & Parameters Toolbar */
.agromet-control-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 12px 18px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.toolbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.toolbar-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.toolbar-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: 4px;
}

/* View Switcher */
.view-switcher-group {
  display: inline-flex;
  background: #f1f5f9;
  padding: 3px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}
.view-switch-btn {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  border: none;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.view-switch-btn.active {
  background: #ffffff;
  color: #0284c7;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  font-weight: 700;
}

/* Parameter & Day Pills */
.pill-btn {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.pill-btn:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}
.param-pill.active {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25);
}
.day-pill.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.2);
}
.day-pill .pill-date {
  font-size: 10.5px;
  opacity: 0.85;
  font-weight: 500;
}

/* Sector Filter Pills */
.sector-filter-pill {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
}
.sector-filter-pill.active {
  background: #334155;
  color: #ffffff;
  border-color: #334155;
}

/* Map Content Wrapper */
.agromet-map-wrapper {
  display: flex;
  gap: 14px;
  position: relative;
  min-height: 650px;
}
.map-canvas-card {
  flex: 1;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
}
#agrometLeafletMap {
  width: 100%;
  height: 680px;
  background: #e2e8f0;
  z-index: 10;
}

/* GIS Layer Controls Overlay */
.gis-layer-control-panel {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  border: 1px solid rgba(0,0,0,0.08);
  z-index: 500;
  font-size: 11.5px;
  max-width: 220px;
}
.gis-layer-control-panel h5 {
  margin: 0 0 8px 0;
  font-size: 12px;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 6px;
}
.gis-layer-toggle-row {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 5px;
  color: #334155;
  cursor: pointer;
}
.gis-layer-toggle-row input {
  cursor: pointer;
}

/* Floating Legend Card */
.agromet-legend-card {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 14px 16px;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
  border: 1px solid rgba(0,0,0,0.08);
  z-index: 500;
  min-width: 190px;
  max-width: 240px;
}

/* District Centered Value Badges */
.agromet-dist-badge-container {
  background: transparent;
  border: none;
  pointer-events: none;
}
.agromet-dist-badge {
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(4px);
  border: 1.5px solid #ffffff;
  color: #ffffff;
  border-radius: 6px;
  padding: 2px 5px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  white-space: nowrap;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
}
.badge-dname {
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: #f8fafc;
  line-height: 1.1;
}
.badge-val {
  font-size: 11px;
  font-weight: 900;
  color: #38bdf8;
  line-height: 1.1;
}
.badge-unit {
  font-size: 8.5px;
  font-weight: 600;
  color: #cbd5e1;
}

/* Sector Bulk Drawer */
.sector-bulk-drawer {
  position: fixed;
  top: 0;
  right: -460px;
  width: 440px;
  max-width: 95vw;
  height: 100vh;
  background: #ffffff;
  box-shadow: -5px 0 25px rgba(0,0,0,0.2);
  z-index: 2000;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.sector-bulk-drawer.open {
  right: 0;
}
.drawer-header {
  background: #0f172a;
  color: #ffffff;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.drawer-header h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.drawer-close-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
}
.drawer-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.form-group label {
  font-size: 12px;
  font-weight: 700;
  color: #334155;
}
.form-control {
  padding: 8px 12px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: #0f172a;
  outline: none;
}
.form-control:focus {
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}
.cardinal-buttons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 4px;
}
.btn-cardinal {
  padding: 5px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  font-size: 11px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-cardinal:hover {
  background: #e2e8f0;
}
.drawer-footer {
  padding: 16px 20px;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
}
.btn-apply-bulk {
  width: 100%;
  padding: 10px;
  background: #0284c7;
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-apply-bulk:hover {
  background: #0369a1;
}

/* 5-Day Multi-Map Grid */
#agromet5DayGridView {
  display: none;
}
.grid-5day-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}
.grid-map-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.grid-map-header {
  background: #0f172a;
  color: #ffffff;
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.grid-map-header .day-tag {
  font-weight: 800;
  font-size: 13px;
  color: #38bdf8;
}
.grid-map-header .date-tag {
  font-size: 11px;
  color: #cbd5e1;
}
.grid-mini-map {
  width: 100%;
  height: 340px;
  background: #e2e8f0;
}
.agromet-mini-badge {
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  font-size: 8.5px;
  font-weight: 700;
  padding: 1px 3px;
  border-radius: 3px;
  text-align: center;
  white-space: nowrap;
  border: 1px solid #fff;
  transform: translate(-50%, -50%);
}

/* District Data Matrix Table View */
#agrometDataMatrixView {
  display: none;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}
.matrix-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}
.matrix-edit-input {
  width: 52px;
  text-align: center;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-size: 11.5px;
  padding: 3px 2px;
  outline: none;
  font-weight: 600;
  color: #0f172a;
}
.matrix-edit-input:focus {
  border-color: #0284c7;
  background: #fff !important;
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.2);
}

/* Toasts */
.agromet-toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 9999;
}
.agromet-toast {
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  animation: slideUp 0.25s ease-out;
  transition: all 0.3s;
}
.toast-info { background: #0284c7; }
.toast-success { background: #059669; }
.toast-warning { background: #d97706; }
.toast-error { background: #dc2626; }

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ----------------------------------------------------
   SIDEBAR THEMES & DROPDOWN DISPLAY FIX
---------------------------------------------------- */
#themeDropdownSidebar.theme-dropdown {
  position: static !important;
  width: 100% !important;
  box-sizing: border-box !important;
  transform: none !important;
  z-index: 10 !important;
}
#themeDropdownSidebar.theme-dropdown.show-themes {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* ----------------------------------------------------
   DARK MODE & THEME INTEGRATION
---------------------------------------------------- */
body.agromet-app.dark-mode {
  --bg-slate: #0b0f19;
  --card-bg: #0f172a;
  --text-dark: #f8fafc;
  --text-muted: #94a3b8;
  --border-subtle: rgba(255, 255, 255, 0.12);
  background: #0b0f19 !important;
  color: #f8fafc !important;
}

body.agromet-app.theme-aurora {
  --bg-slate: #0d1527;
  --card-bg: rgba(15, 23, 42, 0.88);
  --text-dark: #f8fafc;
  --text-muted: #94a3b8;
  --border-subtle: rgba(56, 189, 248, 0.25);
  background: linear-gradient(135deg, #0b0f19 0%, #0f172a 40%, #1e1b4b 100%) !important;
  color: #f8fafc !important;
}

body.agromet-app.theme-blue {
  --bg-slate: #f0f9ff;
  --card-bg: #ffffff;
  --text-dark: #082f49;
  --text-muted: #0369a1;
  --border-subtle: #bae6fd;
  background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 50%, #bae6fd 100%) !important;
  color: #082f49 !important;
}

body.agromet-app.theme-dark {
  --bg-slate: #05070d;
  --card-bg: #0b0f19;
  --text-dark: #f8fafc;
  --text-muted: #94a3b8;
  --border-subtle: rgba(255, 255, 255, 0.1);
  background: #05070d !important;
  color: #f8fafc !important;
}

/* Dark Mode Components Override */
body.dark-mode .agromet-subbar,
body.theme-dark .agromet-subbar,
body.theme-aurora .agromet-subbar {
  background: #030712;
  border-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .view-switcher-group,
body.theme-dark .view-switcher-group,
body.theme-aurora .view-switcher-group {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.12);
}

body.dark-mode .view-switch-btn,
body.theme-dark .view-switch-btn,
body.theme-aurora .view-switch-btn {
  color: #94a3b8;
}

body.dark-mode .view-switch-btn.active,
body.theme-dark .view-switch-btn.active,
body.theme-aurora .view-switch-btn.active {
  background: #0284c7;
  color: #ffffff;
}

body.dark-mode .pill-btn,
body.theme-dark .pill-btn,
body.theme-aurora .pill-btn {
  background: #1e293b;
  color: #cbd5e1;
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .pill-btn:hover,
body.theme-dark .pill-btn:hover,
body.theme-aurora .pill-btn:hover {
  background: #334155;
  color: #ffffff;
}

body.dark-mode .pill-btn.active,
body.theme-dark .pill-btn.active,
body.theme-aurora .pill-btn.active {
  background: #0284c7;
  color: #ffffff;
  border-color: #38bdf8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.35);
}

body.dark-mode .pill-sector,
body.theme-dark .pill-sector,
body.theme-aurora .pill-sector {
  background: #1e293b;
  color: #94a3b8;
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .pill-sector.active,
body.theme-dark .pill-sector.active,
body.theme-aurora .pill-sector.active {
  background: #38bdf8;
  color: #0f172a;
}

body.dark-mode .gis-layer-control-panel,
body.theme-dark .gis-layer-control-panel,
body.theme-aurora .gis-layer-control-panel {
  background: rgba(15, 23, 42, 0.92);
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.15);
}

body.dark-mode .gis-layer-control-panel h5,
body.theme-dark .gis-layer-control-panel h5,
body.theme-aurora .gis-layer-control-panel h5 {
  color: #38bdf8;
}

body.dark-mode .gis-layer-toggle-row,
body.theme-dark .gis-layer-toggle-row,
body.theme-aurora .gis-layer-toggle-row {
  color: #cbd5e1;
}

body.dark-mode .agromet-legend-card,
body.theme-dark .agromet-legend-card,
body.theme-aurora .agromet-legend-card {
  background: rgba(15, 23, 42, 0.92);
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.15);
}

body.dark-mode .agromet-legend-card h5,
body.theme-dark .agromet-legend-card h5,
body.theme-aurora .agromet-legend-card h5 {
  color: #38bdf8;
}

body.dark-mode .legend-step-label,
body.theme-dark .legend-step-label,
body.theme-aurora .legend-step-label {
  color: #cbd5e1;
}

body.dark-mode #agrometDataMatrixView,
body.theme-dark #agrometDataMatrixView,
body.theme-aurora #agrometDataMatrixView {
  background: #0f172a;
  border-color: rgba(255, 255, 255, 0.1);
  color: #f8fafc;
}

body.dark-mode .matrix-table,
body.theme-dark .matrix-table,
body.theme-aurora .matrix-table {
  color: #f8fafc;
}

body.dark-mode .matrix-table th,
body.theme-dark .matrix-table th,
body.theme-aurora .matrix-table th {
  background: #1e293b;
  color: #38bdf8;
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .matrix-table td,
body.theme-dark .matrix-table td,
body.theme-aurora .matrix-table td {
  border-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .matrix-table tr:hover td,
body.theme-dark .matrix-table tr:hover td,
body.theme-aurora .matrix-table tr:hover td {
  background: rgba(56, 189, 248, 0.08);
}

body.dark-mode .matrix-edit-input,
body.theme-dark .matrix-edit-input,
body.theme-aurora .matrix-edit-input {
  background: #1e293b;
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.2);
}

body.dark-mode .matrix-edit-input:focus,
body.theme-dark .matrix-edit-input:focus,
body.theme-aurora .matrix-edit-input:focus {
  background: #0f172a !important;
  border-color: #38bdf8;
  color: #38bdf8;
}

body.dark-mode .grid-map-card,
body.theme-dark .grid-map-card,
body.theme-aurora .grid-map-card {
  background: #0f172a;
  border-color: rgba(255, 255, 255, 0.12);
}

/* Dark Mode Leaflet Map Base Inversion (tiles only, keeping polygons natural) */
body.dark-mode .leaflet-tile-pane,
body.theme-dark .leaflet-tile-pane,
body.theme-aurora .leaflet-tile-pane {
  filter: brightness(0.6) invert(1) contrast(3) hue-rotate(200deg) saturate(0.35);
}

/* Sector Bulk Drawer in Dark Mode */
body.dark-mode .sector-bulk-drawer,
body.theme-dark .sector-bulk-drawer,
body.theme-aurora .sector-bulk-drawer {
  background: #0f172a;
  color: #f8fafc;
}
body.dark-mode .drawer-body,
body.theme-dark .drawer-body,
body.theme-aurora .drawer-body {
  background: #0f172a;
}
body.dark-mode .form-control,
body.theme-dark .form-control,
body.theme-aurora .form-control {
  background: #1e293b;
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.2);
}
body.dark-mode .drawer-footer,
body.theme-dark .drawer-footer,
body.theme-aurora .drawer-footer {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.1);
}

/* ========================================================================== */
/* Region Sector Selector Bar & GeoJSON Quick Action Toolbar                   */
/* ========================================================================== */
.region-selector-bar {
  display: flex;
  gap: 8px;
  padding: 8px 12px;
  background: #e8f5e9;
  border: 2px solid #2e7d32;
  border-radius: 6px;
  margin-bottom: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.region-box {
  padding: 5px 11px;
  border-radius: 4px;
  border: 1px solid #cbd5e1;
  cursor: pointer;
  font-weight: 700;
  background: #ffffff;
  font-size: 12.5px;
  color: #1e293b;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  user-select: none;
  transition: all 0.2s ease;
}

.region-box:hover {
  border-color: #2e7d32;
  background: #f0fdf4;
}

.region-box input[type="checkbox"] {
  cursor: pointer;
  margin: 0;
  accent-color: #2e7d32;
  width: 14px;
  height: 14px;
}

.region-box.btn-layers-toggle {
  background: #e8eaf6;
  border-color: #3f51b5;
  color: #1a237e;
  margin-left: auto;
}

.region-box.btn-layers-toggle input[type="checkbox"] {
  accent-color: #3f51b5;
}

#geojsonQuickBar {
  display: flex;
  gap: 8px;
  padding: 8px 12px;
  background: #f4f6fc;
  border: 1.5px dashed #667eea;
  border-radius: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.25s ease;
  animation: slideDownGeoJson 0.22s ease-out;
}

@keyframes slideDownGeoJson {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.quickbar-label {
  font-size: 13px;
  font-weight: 800;
  color: #2c3e50;
  margin-right: 4px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.gj-icon-btn {
  background: #ffffff;
  border: 1px solid #cccccc;
  border-radius: 4px;
  padding: 6px 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 12px;
  transition: all 0.2s ease-in-out;
  white-space: nowrap;
  flex-shrink: 0;
}

.gj-icon-btn:hover {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}

.gj-icon-btn.btn-state { color: #2c3e50; }
.gj-icon-btn.btn-district-hq { color: #e74c3c; }
.gj-icon-btn.btn-subdistrict-hq { color: #e67e22; }
.gj-icon-btn.btn-subdistricts { color: #34495e; }
.gj-icon-btn.btn-fmo { color: #3498db; }
.gj-icon-btn.btn-nh { color: #e53935; }
.gj-icon-btn.btn-railway { color: #616161; }
.gj-icon-btn.btn-water-areas { color: #3498db; }
.gj-icon-btn.btn-water-lines { color: #2980b9; }

/* ========================================================================== */
/* Sector Bulk Drawer Multi-Select Checkboxes                                  */
/* ========================================================================== */
.bulk-select-all-label {
  font-size: 11.5px;
  font-weight: 600;
  color: #0284c7;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}

.bulk-select-all-label input[type="checkbox"] {
  margin: 0;
  cursor: pointer;
  accent-color: #0284c7;
}

.bulk-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.bulk-chk-card {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #f8fafc;
  cursor: pointer;
  font-size: 11.5px;
  transition: all 0.15s ease;
}

.bulk-chk-card:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.bulk-chk-card input[type="checkbox"] {
  margin: 0;
  cursor: pointer;
  accent-color: #0284c7;
}

.sector-tag {
  display: inline-block;
  padding: 2px 5px;
  border-radius: 3px;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}

.sector-desc {
  color: #475569;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bulk-days-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  width: 100%;
}

.bulk-day-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px 2px;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  text-align: center;
  position: relative;
  min-width: 0;
}

.bulk-day-card:hover {
  background: #f0f9ff;
  border-color: #38bdf8;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(56, 189, 248, 0.2);
}

.bulk-day-card:has(input[type="checkbox"]:checked) {
  background: #e0f2fe;
  border-color: #0284c7;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);
}

.bulk-day-card input[type="checkbox"] {
  width: 15px;
  height: 15px;
  margin: 0 0 3px 0;
  cursor: pointer;
  accent-color: #0284c7;
}

.bulk-day-num {
  font-size: 11px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
  white-space: nowrap;
}

.bulk-day-date {
  font-size: 8.5px;
  font-weight: 600;
  color: #64748b;
  margin-top: 2px;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* Inline form rows for Sector Bulk Updater */
.bulk-form-row-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 7px;
}

.bulk-inline-label {
  font-size: 11.5px;
  font-weight: 700;
  color: #334155;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  white-space: nowrap;
  flex-shrink: 0;
}

.bulk-inline-control {
  width: 140px;
  max-width: 50%;
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  text-align: right;
  transition: all 0.2s;
  box-sizing: border-box;
}

.bulk-inline-control:focus {
  border-color: #0284c7;
  outline: none;
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.2);
}

.bulk-sub-chk-label {
  font-size: 10.5px;
  font-weight: 600;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

.bulk-sub-chk-label input[type="checkbox"] {
  accent-color: #0284c7;
  cursor: pointer;
  margin: 0;
}

.fmo-subbasin-label {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.25);
  font-weight: 700;
  font-size: 10.5px;
  color: #1e293b;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  padding: 2px 6px;
  border-radius: 3px;
}

/* ========================================================================== */
/* Collapsible Quick Action Ribbon Bar (Value Addition Tools)                */
/* ========================================================================== */
.quick-actions-ribbon-bar {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-bottom: 2px solid #38bdf8;
  padding: 8px 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  animation: slideDownRibbon 0.25s ease-out;
}

@keyframes slideDownRibbon {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.quick-actions-ribbon-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 1600px;
  margin: 0 auto;
}

.quick-actions-ribbon-inner .btn-action {
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 8px;
}

/* ========================================================================== */
/* Sector Bulk Updater: Vertical Compact Flow & Regional Selection Map        */
/* ========================================================================== */

.bulk-drawer-layout {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bulk-drawer-left-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bulk-drawer-right-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Top Toolbar with Bihar Map Button (as in user screenshot) */
.bulk-toolbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 10px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
}

.mini-map-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border-radius: 9px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1.5px solid #cbd5e1;
  color: #1e293b;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.mini-map-trigger-btn:hover {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-color: #0284c7;
  color: #0284c7;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(2, 132, 199, 0.2);
}

.mini-map-trigger-btn.has-active {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-color: #0284c7;
  color: #0369a1;
}

.mini-map-btn-svg {
  width: 34px;
  height: 26px;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.mini-svg-outline {
  fill: none;
  stroke: #64748b;
  stroke-width: 3;
  stroke-dasharray: 2, 2;
  opacity: 0.7;
}

.mini-btn-region-path {
  stroke: #ffffff;
  stroke-width: 1.5;
  opacity: 0.65;
  transition: all 0.2s ease;
  cursor: pointer;
}

.mini-btn-region-path:hover {
  opacity: 1;
  stroke: #0f172a;
  stroke-width: 2.5;
}

.mini-btn-region-path.active {
  opacity: 1;
  stroke: #0f172a;
  stroke-width: 2.5;
  filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.5));
}

.mini-map-btn-text {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.mini-map-btn-text i {
  color: #0284c7;
  font-size: 13px;
}

.region-active-badge {
  background: #0284c7;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
  letter-spacing: 0.3px;
}

/* -------------------------------------------------------------------------- */
/* Sidebar Region Map Box Container                                           */
/* -------------------------------------------------------------------------- */
.sidebar-region-map-box {
  background: #ffffff;
  border-radius: 12px;
  border: 1.5px solid #e2e8f0;
  padding: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.sidebar-selection-mode-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding: 2px 2px 6px 2px;
  border-bottom: 1px solid #e2e8f0;
  gap: 8px;
}

.selection-mode-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  color: #0369a1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.selection-mode-title i {
  color: #f59e0b;
  font-size: 13px;
}

.sidebar-dist-count-badge {
  background: #e2e8f0;
  color: #475569;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.sidebar-dist-count-badge.has-selected {
  background: #10b981;
  color: #ffffff;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

.by-district-toggle-box {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 20px;
  padding: 3px 9px;
  cursor: pointer;
  user-select: none;
  font-size: 11.5px;
  font-weight: 700;
  color: #334155;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.by-district-toggle-box:hover {
  background: #f1f5f9;
  border-color: #0284c7;
  color: #0284c7;
}

.by-district-toggle-box input[type="checkbox"] {
  width: 14px;
  height: 14px;
  margin: 0;
  cursor: pointer;
  accent-color: #0284c7;
}

.by-district-toggle-box.active {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.12) 0%, rgba(3, 105, 161, 0.18) 100%);
  border-color: #0284c7;
  color: #0369a1;
}

/* Quick Action Chips */
.sidebar-quick-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 8px;
  padding: 6px 8px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 9px;
  border: 1.5px solid #e2e8f0;
}

.sidebar-quick-actions .popover-quick-label {
  font-size: 11.5px;
  font-weight: 800;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  margin-right: 2px;
}

.sidebar-quick-actions .popover-action-chip {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5px 3px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 7px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #1e293b;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-quick-actions .popover-action-chip:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  transform: translateY(-1px);
}

.sidebar-quick-actions .popover-action-chip.chip-active {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border-color: #0369a1;
  box-shadow: 0 0 8px rgba(2, 132, 199, 0.35);
}

.sidebar-quick-actions .popover-action-chip.chip-clear {
  flex: 1.2;
  color: #dc2626;
  border-color: #fca5a5;
  background: #fef2f2;
}

.sidebar-quick-actions .popover-action-chip.chip-clear:hover {
  background: #dc2626;
  color: #ffffff;
  border-color: #dc2626;
}

/* SVG Map Stage */
.sidebar-map-stage {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  padding: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.sidebar-interactive-svg {
  width: 100%;
  height: auto;
  max-height: 190px;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.08));
}

.popover-svg-outline {
  fill: none;
  stroke: #94a3b8;
  stroke-width: 2.5;
  stroke-dasharray: 3, 3;
  opacity: 0.6;
}

.popover-region-path {
  fill: var(--reg-color, #1976d2);
  fill-opacity: 0.4;
  stroke: #ffffff;
  stroke-width: 2;
  stroke-linejoin: round;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.popover-region-path:hover,
.popover-region-path.hovered {
  fill-opacity: 0.85;
  stroke: #0f172a;
  stroke-width: 3;
  filter: drop-shadow(0 0 6px rgba(0,0,0,0.3));
}

.popover-region-path.active {
  fill-opacity: 0.95;
  stroke: #0f172a;
  stroke-width: 3.5;
  filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.4));
}

.popover-region-label {
  font-size: 13px;
  font-weight: 800;
  fill: #1e293b;
  text-anchor: middle;
  dominant-baseline: central;
  pointer-events: all;
  cursor: pointer;
  text-shadow: 0 0 4px #ffffff, 0 0 4px #ffffff;
  user-select: none;
  transition: transform 0.2s ease;
}

.popover-region-label:hover {
  font-size: 15px;
  fill: #000000;
}

.popover-region-label.active {
  fill: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8), 0 0 6px #000000;
}

.popover-map-hint {
  font-size: 10px;
  color: #64748b;
  text-align: center;
  margin-top: 4px;
  font-weight: 500;
}

/* Tiny Details Bar */
.tiny-details-bar {
  display: flex;
  justify-content: center;
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px dashed #e2e8f0;
}

.tiny-details-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tiny-details-toggle-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
  border-color: #94a3b8;
}

/* Region Cards Column */
.popover-cards-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 220px;
  overflow-y: auto;
  padding-right: 3px;
  margin-top: 6px;
}

.popover-cards-col::-webkit-scrollbar {
  width: 4px;
}

.popover-cards-col::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.region-card-item {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-left: 4.5px solid var(--theme-color, #1976d2);
  border-radius: 8px;
  padding: 5px 8px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.region-card-item:hover,
.region-card-item.hovered {
  border-color: var(--theme-color, #1976d2);
  transform: translateX(2px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.region-card-item.active {
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
  border-color: var(--theme-color, #1976d2);
  box-shadow: 0 0 0 1.5px var(--theme-color, #1976d2);
}

.region-card-header {
  display: flex;
  align-items: center;
  gap: 6px;
}

.region-card-pill {
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 4px;
  letter-spacing: 0.3px;
  flex-shrink: 0;
}

.region-card-titles {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  line-height: 1.2;
}

.region-title-en {
  font-size: 11.5px;
  color: #0f172a;
}

.region-title-hi {
  font-size: 10.5px;
  color: #64748b;
}

.region-dist-count-badge {
  font-size: 9.5px;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
  padding: 1px 5px;
  border-radius: 8px;
}

.region-checkbox-indicator {
  width: 16px;
  height: 16px;
  border: 1.5px solid #cbd5e1;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: transparent;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.region-card-item.active .region-checkbox-indicator {
  background: var(--theme-color, #1976d2);
  border-color: var(--theme-color, #1976d2);
  color: #ffffff;
}

.region-card-districts {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-top: 4px;
  padding-top: 3px;
  border-top: 1px dashed #f1f5f9;
}

.popover-dist-badge {
  font-size: 9px;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 1px 4px;
  border-radius: 3px;
}

/* By-District Mode Styles */
.by-district-view {
  display: flex;
  flex-direction: column;
  gap: 6px;
  animation: fadeInDistView 0.2s ease-in-out;
}

@keyframes fadeInDistView {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.district-search-bar-wrap {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  padding: 0 8px;
  gap: 6px;
}

.district-search-bar-wrap:focus-within {
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.district-search-icon {
  color: #64748b;
  font-size: 11px;
}

.district-search-input {
  border: none;
  outline: none;
  width: 100%;
  padding: 6px 0;
  font-size: 11.5px;
  background: transparent;
  color: #0f172a;
}

.district-search-clear-btn {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 11px;
  padding: 3px;
}

.district-search-clear-btn:hover {
  color: #ef4444;
}

.district-grid-container {
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  padding: 5px;
}

.district-grid-container::-webkit-scrollbar {
  width: 4px;
}

.district-grid-container::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.district-grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.district-checkbox {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  font-size: 11.5px;
  cursor: pointer;
  user-select: none;
  transition: all 0.15s ease;
}

.district-checkbox:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.district-checkbox.highlighted,
.district-checkbox:has(input:checked) {
  background: rgba(2, 132, 199, 0.1);
  border-color: #0284c7;
  color: #0369a1;
  font-weight: 700;
}

.district-checkbox input[type="checkbox"] {
  accent-color: #0284c7;
  cursor: pointer;
  margin: 0;
}

.by-district-bottom-actions {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}

.btn-dist-action {
  flex: 1;
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.15s ease;
}

.btn-dist-action:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
}

.btn-dist-action.btn-dist-clear {
  color: #dc2626;
  border-color: #fca5a5;
  background: #fef2f2;
}

.btn-dist-action.btn-dist-clear:hover {
  background: #dc2626;
  color: #ffffff;
  border-color: #dc2626;
}

/* Dark Mode Extensions for Region Selection in Sector Bulk Drawer */
body.dark-mode .sidebar-region-map-box,
body.theme-dark .sidebar-region-map-box,
body.theme-aurora .sidebar-region-map-box {
  background: #1e293b;
  border-color: #334155;
}

body.dark-mode .bulk-toolbar-row,
body.theme-dark .bulk-toolbar-row,
body.theme-aurora .bulk-toolbar-row {
  background: #1e293b;
  border-color: #334155;
}

body.dark-mode .mini-map-trigger-btn,
body.theme-dark .mini-map-trigger-btn,
body.theme-aurora .mini-map-trigger-btn {
  background: #0f172a;
  border-color: #334155;
  color: #f1f5f9;
}

body.dark-mode .mini-map-trigger-btn:hover,
body.theme-dark .mini-map-trigger-btn:hover,
body.theme-aurora .mini-map-trigger-btn:hover {
  background: #1e293b;
  border-color: #38bdf8;
  color: #38bdf8;
}

body.dark-mode .sidebar-map-stage,
body.theme-dark .sidebar-map-stage,
body.theme-aurora .sidebar-map-stage {
  background: #0f172a;
  border-color: #334155;
}

body.dark-mode .region-card-item,
body.theme-dark .region-card-item,
body.theme-aurora .region-card-item {
  background: #0f172a;
  border-color: #334155;
}

body.dark-mode .region-title-en,
body.theme-dark .region-title-en,
body.theme-aurora .region-title-en {
  color: #f8fafc;
}

body.dark-mode .district-checkbox,
body.theme-dark .district-checkbox,
body.theme-aurora .district-checkbox {
  background: #0f172a;
  border-color: #334155;
  color: #f8fafc;
}

body.dark-mode .district-grid-container,
body.theme-dark .district-grid-container,
body.theme-aurora .district-grid-container {
  background: #0f172a;
  border-color: #334155;
}

body.dark-mode .district-search-bar-wrap,
body.theme-dark .district-search-bar-wrap,
body.theme-aurora .district-search-bar-wrap {
  background: #0f172a;
  border-color: #334155;
}

body.dark-mode .district-search-input,
body.theme-dark .district-search-input,
body.theme-aurora .district-search-input {
  color: #f8fafc;
}

/* ==========================================================================
   INTERACTIVE USER / ADMIN PROFILE POPUP MODAL
   ========================================================================== */
.profile-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: profileOverlayFadeIn 0.22s ease-out;
}

@keyframes profileOverlayFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.profile-modal-card {
  width: 100%;
  max-width: 420px;
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 65%, #0f172a 100%);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 20px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 40px rgba(14, 165, 233, 0.2);
  padding: 24px;
  color: #f8fafc;
  animation: profileCardPopIn 0.26s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

@keyframes profileCardPopIn {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.profile-modal-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.profile-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.profile-org-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #7dd3fc;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.profile-modal-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 14px;
}

.profile-modal-close:hover {
  background: rgba(239, 68, 68, 0.25);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.4);
  transform: rotate(90deg);
}

.profile-user-identity {
  text-align: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-avatar-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 10px;
}

.profile-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.45);
  border: 3px solid rgba(255, 255, 255, 0.15);
}

.profile-status-dot {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 16px;
  height: 16px;
  background-color: #10b981;
  border: 3px solid #0f172a;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
}

.profile-user-name {
  margin: 0 0 6px 0;
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.3px;
}

.profile-role-badge-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 6px;
}

.profile-badge-admin {
  background: linear-gradient(135deg, #059669, #10b981);
  color: #ffffff;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.profile-badge-verified {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.profile-user-designation {
  margin: 0 0 2px 0;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 600;
}

.profile-centre-text {
  font-size: 11.5px;
  color: #64748b;
  font-weight: 500;
}

.profile-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 12px;
  margin: 16px 0;
}

.profile-meta-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.meta-label {
  font-size: 11px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 5px;
}

.meta-val {
  font-size: 12.5px;
  color: #e2e8f0;
  font-weight: 600;
}

.profile-shortcuts-section {
  margin-bottom: 18px;
}

.shortcuts-title {
  font-size: 11.5px;
  color: #94a3b8;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.profile-shortcuts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.profile-sc-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s;
}

.profile-sc-btn:hover {
  background: rgba(56, 189, 248, 0.16);
  border-color: rgba(56, 189, 248, 0.4);
  color: #ffffff;
  transform: translateY(-1px);
}

.profile-modal-footer {
  display: flex;
  gap: 10px;
}

.profile-logout-btn {
  flex: 2;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #ffffff;
  border: none;
  padding: 11px 14px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35);
}

.profile-logout-btn:hover {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(239, 68, 68, 0.5);
}

.profile-close-btn {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 11px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}

.profile-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

/* ==========================================================================
   LEFT-SIDE AUTO-FLOATING ACTIONS DOCK (TOGGLED VIA TOOLS BUTTON)
   ========================================================================== */
.left-action-dock {
  position: fixed;
  left: 20px;
  top: 220px;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  gap: 7px;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 14px;
  padding: 10px 9px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55), 0 0 20px rgba(56, 189, 248, 0.15);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  transform: translateX(-20px) scale(0.96);
  pointer-events: none;
}

.left-action-dock.show {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

.dock-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 4px 6px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 3px;
}

.dock-title-text {
  font-size: 11px;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.dock-toggle-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 13px;
  padding: 2px 5px;
  border-radius: 4px;
  transition: all 0.2s;
}

.dock-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.floating-dock-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  color: #ffffff;
  transition: all 0.22s ease;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  text-align: left;
}

.floating-dock-btn i {
  font-size: 13px;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

.floating-dock-btn:hover {
  transform: translateX(3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

/* Subdued secondary tools in dock */
.btn-dock-subtle {
  background: rgba(30, 41, 59, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-size: 11px;
  padding: 7px 11px;
  font-weight: 600;
  box-shadow: none;
  opacity: 0.88;
}

.btn-dock-subtle:hover {
  background: rgba(51, 65, 85, 0.85);
  color: #ffffff;
  opacity: 1;
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transform: translateX(3px);
}

/* ==========================================================================
   TOOLS BUTTON IN FORECAST DAY ROW (LEFT OF DAY 1-5)
   ========================================================================== */
.tools-trigger-btn {
  background: #0f172a;
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: #38bdf8;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease;
}

.tools-trigger-btn:hover {
  background: #1e293b;
  color: #ffffff;
  border-color: #38bdf8;
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.35);
  transform: translateY(-1px);
}

.tools-trigger-btn.active-tools {
  background: linear-gradient(135deg, #0284c7, #0369a1) !important;
  color: #ffffff !important;
  border-color: #38bdf8 !important;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.55) !important;
}

.tools-trigger-btn.active-tools i {
  color: #ffffff !important;
}

/* ==========================================================================
   PRIMARY HERO: SECTOR BULK UPDATER (PLACED ON FAR RIGHT OF FORECAST DAY ROW)
   ========================================================================== */
.toolbar-group-right {
  margin-left: auto;
}

.daybar-sector-bulk-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 15px;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
}

.btn-sector-bulk-hero {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #06b6d4 100%);
  border: 1.5px solid rgba(125, 211, 252, 0.85);
  font-size: 12px;
  font-weight: 800;
  color: #ffffff;
  box-shadow: 0 3px 14px rgba(2, 132, 199, 0.45), 0 0 12px rgba(6, 182, 212, 0.3);
  position: relative;
  letter-spacing: 0.2px;
  transition: all 0.25s ease;
}

.btn-sector-bulk-hero .hero-icon {
  color: #fef08a;
  font-size: 14px;
  filter: drop-shadow(0 0 5px rgba(254, 240, 138, 0.7));
}

.btn-sector-bulk-hero .hero-text {
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.btn-sector-bulk-hero .hero-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  margin-left: 6px;
  animation: heroPulse 1.8s infinite ease-in-out;
  flex-shrink: 0;
}

@keyframes heroPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 5px #10b981;
  }
  50% {
    transform: scale(1.4);
    opacity: 0.75;
    box-shadow: 0 0 12px #34d399;
  }
}

.btn-sector-bulk-hero:hover {
  transform: translateY(-1px) scale(1.02);
  background: linear-gradient(135deg, #0369a1 0%, #1d4ed8 50%, #0891b2 100%);
  border-color: #ffffff;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.6), 0 0 16px rgba(6, 182, 212, 0.45);
}

.btn-sector-bulk-hero.active-drawer {
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  border-color: #fde68a;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.85);
}

.btn-sector-bulk-hero.active-drawer .hero-pulse-dot {
  background: #fef08a;
  box-shadow: 0 0 10px #fef08a;
}

/* ==========================================================================
   08:30 AM OBSERVED BULLETIN & PDF PREVIEW MODAL
   ========================================================================== */
.bulletin-preview-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: profileOverlayFadeIn 0.22s ease-out;
}

.bulletin-preview-card {
  width: 96%;
  max-width: 1120px;
  height: 90vh;
  max-height: 900px;
  background: linear-gradient(160deg, #0b1120 0%, #1e293b 70%, #0f172a 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 20px;
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.85), 0 0 50px rgba(56, 189, 248, 0.15);
  display: flex;
  flex-direction: column;
  color: #f8fafc;
  overflow: hidden;
  position: relative;
  animation: profileCardPopIn 0.26s cubic-bezier(0.16, 1, 0.3, 1);
}

.bulletin-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(15, 23, 42, 0.75);
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
  gap: 16px;
  flex-wrap: wrap;
}

.bulletin-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.bulletin-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.4);
  flex-shrink: 0;
}

.bulletin-header-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.bulletin-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.bulletin-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.2px;
}

.bulletin-badge-live {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.2);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.bulletin-badge-day1 {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.bulletin-subtitle {
  margin: 0;
  font-size: 12px;
  color: #94a3b8;
}

.bulletin-source-link {
  color: #38bdf8;
  text-decoration: none;
  transition: color 0.2s;
}

.bulletin-source-link:hover {
  color: #7dd3fc;
  text-decoration: underline;
}

.bulletin-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bulletin-nav-tabs {
  display: flex;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 3px;
  gap: 2px;
}

.bulletin-tab-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.bulletin-tab-btn.active {
  background: #0284c7;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.4);
}

.bulletin-tab-btn:hover:not(.active) {
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.06);
}

.bulletin-action-btn {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 9px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.bulletin-action-btn:hover {
  background: rgba(56, 189, 248, 0.2);
  color: #ffffff;
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-1px);
}

.bulletin-close-btn {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 15px;
  transition: all 0.2s;
}

.bulletin-close-btn:hover {
  background: #ef4444;
  color: #ffffff;
  transform: scale(1.08);
}

.bulletin-modal-body {
  flex: 1;
  overflow: hidden;
  position: relative;
  background: #090e1a;
  display: flex;
  flex-direction: column;
}

.bulletin-view-pane {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#view0830Screenshot {
  overflow-y: auto !important;
  max-height: 100%;
}

#text0830TablePaste:focus {
  border-color: #38bdf8 !important;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25) !important;
}

.pdf-frame-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  background: #1e293b;
}

.bulletin-pdf-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.pdf-loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 17, 32, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #38bdf8;
  font-size: 14px;
  font-weight: 600;
  z-index: 10;
  pointer-events: auto;
}

.pdf-loading-overlay i {
  font-size: 28px;
}

.bulletin-data-summary-bar {
  display: flex;
  gap: 16px;
  padding: 10px 18px;
  background: rgba(15, 23, 42, 0.9);
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
  flex-wrap: wrap;
}

.bulletin-summary-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #cbd5e1;
}

.bulletin-summary-item strong {
  color: #ffffff;
}

.bulletin-table-wrapper {
  flex: 1;
  overflow-y: auto;
  padding: 12px 18px;
}

.bulletin-preview-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  color: #e2e8f0;
}

.bulletin-preview-table thead th {
  position: sticky;
  top: 0;
  background: #1e293b;
  padding: 9px 12px;
  border-bottom: 2px solid rgba(56, 189, 248, 0.4);
  font-weight: 700;
  color: #38bdf8;
  text-align: left;
  z-index: 2;
}

.bulletin-preview-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.15s;
}

.bulletin-preview-table tbody tr:hover {
  background: rgba(56, 189, 248, 0.08);
}

.bulletin-preview-table td {
  padding: 8px 12px;
}

.bulletin-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(15, 23, 42, 0.85);
  border-top: 1px solid rgba(56, 189, 248, 0.2);
  gap: 14px;
  flex-wrap: wrap;
}

.bulletin-footer-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #94a3b8;
  max-width: 600px;
}

.bulletin-footer-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bulletin-btn-apply {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: #ffffff;
  padding: 9px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.4);
  transition: all 0.2s;
}

.bulletin-btn-apply:hover {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.5);
}

.bulletin-btn-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.bulletin-btn-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

/* --- Data Matrix View Modes & Highlights --- */
.matrix-toggle-btn {
  border: none;
  background: transparent;
  color: #475569;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.matrix-toggle-btn.active {
  background: #0284c7;
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.matrix-diff-pill {
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
  display: inline-flex;
  align-items: center;
}

.matrix-cell-modified {
  border-left: 3px solid #f59e0b !important;
  background-color: #fef9c3 !important;
  color: #854d0e !important;
  font-weight: 700;
  box-shadow: inset 0 0 4px rgba(245, 158, 11, 0.2);
}

.matrix-warning-select {
  width: 100%;
  max-width: 170px;
  font-size: 11px;
  padding: 3px 6px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  background: #ffffff;
  color: #1e293b;
  cursor: pointer;
  outline: none;
}

.matrix-warning-select:focus {
  border-color: #0284c7;
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.2);
}

.matrix-export-btn {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 7px;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.btn-excel-export {
  background: #10b981;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.25);
}

.btn-excel-export:hover {
  background: #059669;
  transform: translateY(-1px);
}

.btn-csv-export {
  background: #0284c7;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);
}

.btn-csv-export:hover {
  background: #0369a1;
  transform: translateY(-1px);
}

/* ════════════════════════════════════════════════════════
   BASE MAP LAYERS FLOATING BUTTON & PANEL (MATCHING INDIA_LIGHTNING)
════════════════════════════════════════════════════════ */
.floating-basemap-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #38bdf8;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 840;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transition: all 0.2s ease;
}
.floating-basemap-btn:hover {
  background: #0284c7;
  color: #ffffff;
  transform: scale(1.05);
  border-color: #38bdf8;
}

.floating-settings-btn {
  right: 58px;
  color: #38bdf8;
}

.basemap-floating-panel {
  position: absolute;
  top: 58px;
  right: 14px;
  width: 295px;
  max-height: calc(100% - 70px);
  background: #ffffff;
  color: #1e293b;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.38), 0 2px 6px rgba(0, 0, 0, 0.12);
  z-index: 1200;
  display: none;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  font-family: 'Inter', system-ui, sans-serif;
  animation: bmpFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.basemap-floating-panel.open {
  display: flex;
}
@keyframes bmpFadeIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.bmp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 10;
}
.bmp-header-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #64748b;
  text-transform: uppercase;
}
.bmp-close-btn {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
  padding: 2px 5px;
  border-radius: 4px;
  transition: all 0.15s;
}
.bmp-close-btn:hover {
  color: #0f172a;
  background: #e2e8f0;
}

/* Segmented 2-Tab Navigation Bar */
.bmp-tabs-nav {
  display: flex;
  background: #f1f5f9;
  padding: 3px;
  border-radius: 6px;
  margin: 8px 10px 4px;
  border: 1px solid #e2e8f0;
  gap: 4px;
  flex-shrink: 0;
}
.bmp-tab-btn {
  flex: 1;
  padding: 6px 8px;
  font-size: 10.5px;
  font-weight: 700;
  border: none;
  border-radius: 5px;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.15s ease;
  font-family: inherit;
  white-space: nowrap;
}
.bmp-tab-btn:hover {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.5);
}
.bmp-tab-btn.active {
  background: #ffffff;
  color: #0284c7;
  font-weight: 800;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.bmp-tab-pane {
  display: flex;
  flex-direction: column;
}
.bmp-boundary-tab-content {
  padding: 10px 12px 12px;
  background: #ffffff;
}

/* Outer Map Dimming / Transparency Spotlight Slider */
.bmp-spotlight-control {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 8px 12px 10px;
}
.bmp-spotlight-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.bmp-spotlight-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 800;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.bmp-spotlight-val {
  font-size: 11px;
  font-weight: 800;
  color: #0284c7;
  background: #e0f2fe;
  padding: 1px 6px;
  border-radius: 4px;
}
.bmp-slider-row {
  display: flex;
  align-items: center;
}
.bmp-opacity-slider {
  width: 100%;
  height: 5px;
  border-radius: 4px;
  background: #cbd5e1;
  outline: none;
  cursor: pointer;
  accent-color: #0284c7;
}
.bmp-opacity-slider:hover {
  background: #94a3b8;
}

/* Outer Glow Effect Control */
.bmp-glow-control {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 8px 12px 10px;
}

/* Boundary Settings Accordion Section */
.bmp-settings-section {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}
.bmp-settings-btn {
  width: 100%;
  padding: 8px 12px;
  background: #f1f5f9;
  border: none;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease;
}
.bmp-settings-btn:hover {
  background: #e2e8f0;
}
.bmp-settings-btn-left {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  font-weight: 800;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.bmp-chevron {
  font-size: 10px;
  color: #64748b;
  transition: transform 0.2s ease;
}
.bmp-boundary-settings-content {
  padding: 10px 12px 12px;
  background: #ffffff;
}
.bmp-custom-group {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 8px 10px;
}
.bmp-custom-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10.5px;
  font-weight: 800;
  color: #334155;
  margin-bottom: 7px;
}
.bmp-color-preview-tag {
  font-size: 9.5px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  font-family: monospace;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.bmp-color-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 8px;
}
.bmp-choose-color-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  color: #0284c7;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 4px;
  padding: 3px 7px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.15s ease;
}
.bmp-choose-color-btn:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 1px 4px rgba(2, 132, 199, 0.3);
}
.bmp-mini-swatches {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  flex: 1;
}
.bmp-mini-swatch {
  width: 19px;
  height: 19px;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  padding: 0;
  flex-shrink: 0;
}
.bmp-mini-swatch:hover {
  transform: scale(1.18);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.bmp-subslider-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: #64748b;
  font-weight: 700;
}
.bmp-subslider-label {
  flex: 0 0 54px;
}
.bmp-mini-slider {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: #cbd5e1;
  outline: none;
  cursor: pointer;
  accent-color: #0284c7;
}
.bmp-subslider-val {
  flex: 0 0 35px;
  text-align: right;
  font-size: 10.5px;
  font-weight: 800;
  color: #0284c7;
}
.bmp-reset-btn {
  background: transparent;
  border: 1px solid #cbd5e1;
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
}
.bmp-reset-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #94a3b8;
}

.bmp-body {
  display: flex;
  flex-direction: column;
}

/* Solid/Clear Special Section */
.bmp-item-solid {
  background: #333846;
  color: #ffffff;
  padding: 8px 10px;
}
.bmp-solid-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.bmp-solid-top-row .bmp-title {
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: -0.2px;
}
.bmp-mapbg-btn {
  background: #0284c7;
  border: none;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.35);
  transition: all 0.15s;
}
.bmp-mapbg-btn:hover {
  background: #0369a1;
  transform: translateY(-1px);
}
.bmp-circle-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid #ffffff;
  display: inline-block;
  flex-shrink: 0;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}

.bmp-presets-container {
  background: #f8fafc;
  margin: 8px -10px -8px -10px;
  padding: 7px 10px 8px;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}
.bmp-light-label {
  font-size: 10px;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 5px;
  display: block;
}
.bmp-swatches-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
}
.bmp-swatch {
  height: 20px;
  border-radius: 4px;
  border: 1px solid #cbd5e1;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  transition: all 0.15s ease;
  padding: 0;
}
.bmp-swatch:hover {
  transform: scale(1.12);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  border-color: #0284c7;
}

/* Standard Base Map Item */
.bmp-item {
  padding: 9px 12px;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: background 0.15s;
  user-select: none;
}
.bmp-item:last-child {
  border-bottom: none;
}
.bmp-item:hover {
  background: #f8fafc;
}
.bmp-item.active {
  background: #f0f9ff;
  border-left: 3px solid #0284c7;
}
.bmp-radio-lbl {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  width: 100%;
  margin: 0;
}
.bmp-radio-lbl input[type="radio"] {
  cursor: pointer;
  accent-color: #0284c7;
  margin: 0;
  width: 14px;
  height: 14px;
}
.bmp-item-icon {
  font-size: 12px;
  color: #64748b;
  width: 16px;
  text-align: center;
}
.bmp-item.active .bmp-item-icon {
  color: #0284c7;
}
.bmp-title {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
}
.bmp-item.active .bmp-title {
  color: #0369a1;
  font-weight: 700;
}

/* TAB 3: Advanced Meteorological Overlays & Controls */
.bmp-overlays-container {
  padding: 8px 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #ffffff;
}

.bmp-overlay-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.bmp-overlay-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.bmp-overlay-card-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.bmp-overlay-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 700;
  color: #0f172a;
}

.bmp-overlay-title i {
  font-size: 12px;
  width: 14px;
  text-align: center;
}

.bmp-overlay-desc {
  font-size: 10px;
  color: #64748b;
  line-height: 1.35;
}

/* iOS style compact toggle switch */
.bmp-toggle-switch {
  position: relative;
  display: inline-block;
  width: 32px;
  height: 18px;
  flex-shrink: 0;
  cursor: pointer;
  margin: 0;
}

.bmp-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.bmp-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cbd5e1;
  transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 18px;
}

.bmp-toggle-slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.bmp-toggle-switch input:checked + .bmp-toggle-slider {
  background-color: #0284c7;
}

.bmp-toggle-switch input:checked + .bmp-toggle-slider:before {
  transform: translateX(14px);
}

/* Graticule interval pill selector */
.bmp-grat-steps-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: 2px;
}

.bmp-grat-pills {
  display: flex;
  gap: 4px;
}

.bmp-grat-pill {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.bmp-grat-pill:hover {
  border-color: #0284c7;
  color: #0284c7;
}

.bmp-grat-pill.active {
  background: #0284c7;
  border-color: #0284c7;
  color: #ffffff;
}

/* Map Overlays Styling (Leaflet pane elements) */
.bmp-graticule-label {
  background: transparent;
  border: none;
  box-shadow: none;
}

.bmp-graticule-label span {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: #475569;
  background: rgba(255, 255, 255, 0.78);
  padding: 1px 4px;
  border-radius: 3px;
  border: 0.5px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  letter-spacing: 0.2px;
}

.bmp-radar-ring-tag {
  background: transparent;
  border: none;
  box-shadow: none;
}

.bmp-radar-ring-tag span {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  color: #0369a1;
  background: rgba(255, 255, 255, 0.85);
  padding: 1px 5px;
  border-radius: 3px;
  border: 1px solid rgba(2, 132, 199, 0.4);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}







