/* Universal Box Sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* =========================================
  COLOR THEME VARIABLES
  ========================================= */
/* :root {
  --primary-100: #1F3A5F;
  --primary-200: #4d648d;
  --primary-300: #acc2ef;
  --accent-100: #3D5A80;
  --accent-200: #cee8ff;
  --text-100: #FFFFFF;
  --text-200: #e0e0e0;
  --bg-100:   #0F1C2E;
  --bg-200:   #1f2b3e;
  --bg-300:   #374357;
} */

/* :root[data-theme="light"] {
  --primary-100: #7ea79e;  
  --primary-200: #a9c1b8;
  --primary-300: #3e5b58; 

  --accent-100: #d9bfa9;  
  --accent-200: #cbb3a3;

  --text-100: #2f2f2f;   
  --text-200: #6f6f6f;  

  --bg-100: #f2f4ef;   
  --bg-200: #FFFFFD;    
  --bg-300: #c6d9d3;     
} */

:root {
  --andy-card-bg: #FFF;
}

:root[data-bs-theme="dark"] {
  --andy-card-bg: #2a2a2a;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  background-color: var(--bs-body-bg);
  color: var(--text-100);
  /* font-family: "Ubuntu", sans-serif; */
  font-family: Inter, sans-serif;
  font-weight: 400;
  letter-spacing: 0.015em;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.footer {
  transition: background-color 0.3s ease, color 0.3s ease;
}

[data-theme="dark"] .footer {
  background-color: #1f1f1f !important;
  color: #aaa !important;
}

footer.footer {
  position: relative;
  z-index: 1;
}

/* --- Shared Spinner Style (Used by both preload + filter overlay) --- */
.filter-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
}

.filter-spinner {
  width: 60px;
  height: 60px;
  position: relative;
}

.filter-spinner .dot1,
.filter-spinner .dot2 {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #114871;
  /* DHL Red */
  opacity: 0.6;
  position: absolute;
  top: 0;
  left: 0;
  animation: filter-bounce 2s infinite ease-in-out;
}

.filter-spinner .dot2 {
  animation-delay: -1s;
}

@keyframes filter-bounce {

  0%,
  100% {
    transform: scale(0);
  }

  50% {
    transform: scale(1);
  }
}

.page-title-box {
  padding: 0px !important;
}

#filterOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2000;
}

.spinner-border {
  width: 3rem;
  height: 3rem;
}

/* fallback preloader visible until JS removes it */
/* #preloader {
position: fixed;
inset: 0;
z-index: 9999;
display: flex;
align-items: center;
justify-content: center;
background: var(--bs-body-bg, #fff);
}
#preloader::before {
content: "";
width: 3rem;
height: 3rem;
border: 4px solid rgba(0,0,0,.1);
border-top-color: #d40511;
border-radius: 50%;
animation: spin 0.9s linear infinite;
}
@keyframes spin {
100% { transform: rotate(360deg); }
} */


/* SIDEBAR STYLE */

/* =========================================
  FULL HEIGHT FLEX CONTAINER
  ========================================= */
/* .dashboard-container {
  display: flex;
  min-height: 100vh;
  height: 100vh;
  overflow: hidden; 
} */

.dashboard-container {
  display: flex;
  height: 100vh;
  /* ensures full vertical height */
  overflow: hidden;
}

#sidebarCollapse {
  width: 240px;
  transition: all 0.3s;
}

body.sidebar-hidden #sidebarCollapse {
  display: none;
}

.main-content {
  flex-grow: 1;
  overflow-y: auto;
  /* padding: 1rem; */
  transition: all 0.3s;
  min-height: calc(100vh - 70px);
}

.title-headline {
  margin-bottom: 2rem;
  margin-top: 1rem;
}

.navbar-brand-box {
  width: 250px !important;
}

@media (max-width: 767.98px) {
  .navbar-brand-box {
    display: none !important;
  }
}

.logo-tagline {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-top: -2px;
  line-height: 1;
}

#side-menu .menu-title:first-child {
  margin-top: 12px;
}

/* =============================================
  FLOATING CHAT WIDGET — MODERN REDESIGN
  ============================================= */
.floating-chat-card {
  position: fixed;
  z-index: 1040;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 0.3s ease,
              box-shadow 0.3s ease;
  border-radius: 20px;
  border: none;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15),
              0 0 0 1px rgba(0, 0, 0, 0.04);
}

.floating-chat-card.minimized + .chat-fab-btn {
  display: flex;
}

.floating-chat-card.minimized {
  display: none;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
}

.floating-chat-card:not(.minimized) {
  animation: chatSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes chatSlideUp {
  from { transform: translateY(24px) scale(0.96); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}

/* ─── Chat Header ─── */
.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  flex-shrink: 0;
  border-radius: 20px 20px 0 0;
}

.chat-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.chat-header-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  object-fit: cover;
}

.chat-status-dot {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 10px;
  height: 10px;
  background: #4ade80;
  border-radius: 50%;
  border: 2px solid rgba(102, 126, 234, 1);
  animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4); }
  50%      { box-shadow: 0 0 0 4px rgba(74, 222, 128, 0); }
}

.chat-header-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.chat-header-name {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.chat-header-status {
  font-size: 0.7rem;
  opacity: 0.8;
  font-weight: 400;
}

.chat-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.chat-header-btn {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  font-size: 1.1rem;
  line-height: 1;
  padding: 0;
}

.chat-header-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ─── Chat Window ─── */
.chat-window {
  flex: 1;
  min-height: 0;
  max-height: 68vh;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 16px;
  background: var(--bg-300, #f5f6f8);
  display: flex;
  flex-direction: column;
  gap: 4px;
  scroll-behavior: smooth;
}

/* Custom scrollbar */
.chat-window::-webkit-scrollbar {
  width: 5px;
}
.chat-window::-webkit-scrollbar-track {
  background: transparent;
}
.chat-window::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.12);
  border-radius: 10px;
}
.chat-window::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.2);
}

/* ─── Chat Intro ─── */
.chat-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 8px 8px;
}

.chat-intro-avatar-wrap {
  margin-bottom: 12px;
}

.chat-intro-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.25);
  border: 3px solid rgba(102, 126, 234, 0.15);
}

.chat-intro-title {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--primary-300, #333);
  margin: 0 0 4px;
}

.chat-intro-subtitle {
  font-size: 0.85rem;
  color: var(--text-200, #888);
  margin: 0 0 16px;
  text-align: center;
  line-height: 1.4;
}

/* ─── Preset Prompt Grid ─── */
.chat-preset-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
}

.chat-preset-card {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  background: var(--andy-card-bg, #fff);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  font-size: 0.8rem;
  color: var(--text-100, #444);
  line-height: 1.35;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.chat-preset-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.12);
  border-color: rgba(102, 126, 234, 0.2);
  background: rgba(102, 126, 234, 0.03);
}

.chat-preset-card:active {
  transform: translateY(0);
}

.chat-preset-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.chat-preset-text {
  flex: 1;
  font-weight: 500;
}

/* ─── Chat Bubbles ─── */
.chat-bubble-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 2px;
}

.chat-bubble-row.user-row {
  justify-content: flex-end;
}

.chat-bubble-row.bot-row {
  justify-content: flex-start;
}

.chat-msg-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  margin-bottom: 2px;
}

.chat-bubble {
  position: relative;
  border-radius: 18px;
  padding: 10px 14px;
  max-width: 80%;
  width: fit-content;
  word-wrap: break-word;
  font-size: 0.9rem;
  line-height: 1.5;
}

.chat-bubble-content {
  word-break: break-word;
}

.chat-bubble-content p { margin: 0 0 6px; }
.chat-bubble-content p:last-child { margin-bottom: 0; }
.chat-bubble-content ul, .chat-bubble-content ol { margin: 4px 0; padding-left: 18px; }
.chat-bubble-content li { margin-bottom: 2px; }
.chat-bubble-content table { font-size: 0.82rem; margin: 6px 0; width: 100%; }
.chat-bubble-content th, .chat-bubble-content td { padding: 4px 8px; }
.chat-bubble-content pre, .chat-bubble-content code { font-size: 0.82rem; }

.chat-timestamp {
  font-size: 0.65rem;
  color: inherit;
  margin-top: 4px;
  text-align: right;
  opacity: 0.45;
}

/* User message — gradient */
.user-msg {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  border-radius: 18px 18px 4px 18px;
}

.user-msg .chat-timestamp {
  color: rgba(255, 255, 255, 0.6);
}

/* Bot message — light with accent bar */
.bot-msg {
  background: var(--andy-card-bg, #fff);
  color: var(--text-100, #333);
  border-radius: 18px 18px 18px 4px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

/* ─── Filter Mismatch Notice ─── */
.chat-filter-notice {
  background: rgba(255, 193, 7, 0.10);
  border-left: 3px solid #ffc107;
  border-radius: 6px;
  padding: 8px 12px;
  margin-bottom: 10px;
  font-size: 12px;
  line-height: 1.55;
  color: inherit;
  opacity: 0.92;
}

/* ─── Bubble Entrance Animation ─── */
.bubble-enter {
  opacity: 0;
  transform: translateY(12px);
}

.bubble-enter-active {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ─── Typing Indicator ─── */
.typing-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
}

.typing-dots {
  display: flex;
  gap: 3px;
  align-items: center;
}

.typing-dots span {
  width: 7px;
  height: 7px;
  background: var(--text-200, #aaa);
  border-radius: 50%;
  animation: typingPulse 1.4s ease-in-out infinite;
}

.typing-dots span:nth-child(2) {
  animation-delay: 0.15s;
}

.typing-dots span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes typingPulse {
  0%, 60%, 100% { opacity: 0.3; transform: scale(0.85); }
  30%           { opacity: 1; transform: scale(1.1); }
}

.typing-label {
  font-size: 0.75rem;
  color: var(--text-200, #999);
  font-style: italic;
}

.thinking {
  background: var(--andy-card-bg, #fff) !important;
}

/* ─── Chat Footer ─── */
.chat-footer {
  padding: 10px 14px 8px;
  background: var(--andy-card-bg, #fff);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
  border-radius: 0 0 20px 20px;
}

.chat-input-wrap {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  background: var(--bg-300, #f5f6f8);
  border-radius: 16px;
  padding: 6px 6px 6px 14px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.chat-input-wrap:focus-within {
  border-color: rgba(102, 126, 234, 0.4);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.08);
}

.chat-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 0.88rem;
  color: var(--text-100, #333);
  resize: none;
  outline: none;
  line-height: 1.4;
  max-height: 120px;
  padding: 4px 0;
  font-family: inherit;
}

.chat-input::placeholder {
  color: var(--text-200, #aaa);
}

.chat-send-btn {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  font-size: 1.1rem;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.chat-send-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.35);
}

.chat-send-btn:active {
  transform: scale(0.95);
}

.chat-footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 4px 0;
}

.chat-reset-link {
  font-size: 0.7rem;
  color: var(--text-200, #999) !important;
  text-decoration: none !important;
  opacity: 0.7;
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
  gap: 3px;
}

.chat-reset-link:hover {
  opacity: 1;
}

.chat-powered {
  font-size: 0.65rem;
  color: var(--text-200, #bbb);
  opacity: 0.5;
}

/* ─── Collapsed / Minimized ─── */
.floating-chat-card.minimized .chat-header,
.floating-chat-card.minimized .chat-window,
.floating-chat-card.minimized .chat-footer {
  display: none !important;
}

.floating-chat-card.minimized {
  height: auto;
}

/* ─── FAB Button ─── */
.chat-fab-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: transparent;
  border: none;
  border-radius: 50%;
  padding: 0;
  z-index: 1055;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  will-change: transform;
}

.chat-fab-btn.dragging {
  cursor: grabbing;
  transition: none !important;
}

.chat-fab-btn.dragging img {
  transform: scale(1.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.chat-fab-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.chat-fab-btn:hover img {
  transform: scale(1.08);
}

.chat-fab-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(102, 126, 234, 0.4);
  animation: fabRing 2.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes fabRing {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50%      { transform: scale(1.15); opacity: 0; }
}

/* ─── Responsiveness ─── */
@media (min-width: 768px) {
  .floating-chat-card {
    bottom: 20px;
    right: 20px;
    width: 420px;
    border-radius: 20px;
  }
}

@media (max-width: 767.98px) {
  .chat-fab-btn {
    left: calc(90% - 28px);
    right: auto;
  }

  .floating-chat-card {
    bottom: 0;
    left: 0;
    width: 100%;
    border-radius: 20px 20px 0 0;
    max-height: 90vh;
  }

  .chat-window {
    max-height: 55vh;
  }

  .chat-header {
    border-radius: 20px 20px 0 0;
  }

  .chat-footer {
    border-radius: 0;
    padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  }

  .chat-bubble {
    max-width: 88%;
  }

  .chat-preset-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-height: 700px) {
  .chat-window {
    max-height: 50vh;
  }
}

/* ─── Fade In (general utility) ─── */
.fade-in {
  animation: fadeIn 0.4s ease-in-out;
}

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

/* ─── Chat Chart Container ─── */
.chat-chart-wrap {
  background: var(--andy-card-bg, #fff);
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  max-width: 95%;
  min-width: 240px;
}

.chat-chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 6px;
}

.chat-chart-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-100, #333);
  letter-spacing: 0.01em;
}

.chat-chart-download {
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--text-200, #888);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
  transition: all 0.2s ease;
}

.chat-chart-download:hover {
  opacity: 1;
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
}

.chat-chart-wrap canvas {
  padding: 4px 10px 10px;
  width: 100% !important;
  height: auto !important;
}

/* Dark theme: chart container */
[data-bs-theme="dark"] .chat-chart-wrap {
  background: var(--bg-200, #2a2a3e);
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

[data-bs-theme="dark"] .chat-chart-title {
  color: #e0e4f0;
}

[data-bs-theme="dark"] .chat-chart-download:hover {
  background: rgba(102, 126, 234, 0.2);
}



.accordion-button .caret-icon {
  transition: transform 0.2s ease;
  font-size: 0.9rem;
  color: #EEE;
}

/* =========================================
  SIDEBAR
  ========================================= */
/* Small screen: sidebar hidden by default */
@media (max-width: 768px) {

  #sidebarCollapse.show {
    position: absolute;
    z-index: 1050;
    width: 240px;
    left: 0;
    top: 0;
    height: 100vh;
    background-color: var(--bg-200);
    transition: transform 0.3s ease-in-out;
    transform: translateX(0);
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
  }

  #sidebarCollapse.collapsing {
    height: 0 !important;
    transition: none;
  }

  .main-content {
    padding-left: 0;
  }

  #sidebarCollapse {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 240px;
    z-index: 1050;
    transform: translateX(-100%);
  }

  #sidebarCollapse.show {
    transform: translateX(0);
  }

  .sidebar-overlay.active {
    display: block;
    opacity: 1;
  }

}

/* Removed conflicting max-width:1200px sidebar override — now handled
   by the unified tablet/mobile breakpoint below (max-width: 1199.98px) */

/* Sidebar overlay for mobile */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1040;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}


#sidebarCollapse {
  /* Collapsible sidebar on small screens */
  transition: transform 0.3s ease;
}

.sidebar {

  background-color: var(--bg-200);
  min-height: 100vh;
  height: 100vh;
  width: 240px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}

.sidebar .brand-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.sidebar .brand-logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--text-100);
}

.sidebar .brand-name {
  font-size: 1rem;
  font-weight: 600;
}

.sidebar .nav-link {
  color: var(--text-100);
  padding: 0.5rem 1rem;
  margin: 0.25rem 0;
  border-radius: 0.25rem;
  text-decoration: none;
  display: block;
}

.sidebar .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.sidebar .logout-link {
  color: var(--accent-200);
  margin-top: 1rem;
  text-decoration: none;
}

.form-check-input:checked {
  /* background-color: var(--accent-200);
  border-color: var(--accent-200); */

}

.form-check {
  /* padding-left: 3.5rem !important; */
}

.form-check-label {
  font-size: 0.9rem;
  color: var(--primary-300);
}

a:hover {
  text-decoration: none;
  opacity: 0.8;
}

/* .main-content {
  flex-grow: 1;
  background-color: var(--bg-100);
  padding: 20px;
  height: 100vh;
  overflow-y: auto;
} */
.top-bar {
  display: flex;
  align-items: center;
  /* margin-bottom: 1rem; */
  /* border-bottom: 1px solid var(--text-100); */
  /* padding-bottom: 1rem; */
}

.toggle-sidebar-btn {
  border: none;
  background: none;
  font-size: 1rem;
  color: var(--text-100);
}

.top-banner {
  /* background-color: var(--bg-200); */
  /* border-radius: 0.5rem; */
  padding: 1rem 0rem;
  /* margin-bottom: 1rem; */
  color: var(--text-100);
  font-size: 1rem;
  flex-grow: 1;

}

/* =========================================
   KPI STAT CARDS
   ========================================= */
.dashboard-card.kpi-card {
  padding: 0;
  overflow: visible;
  display: flex;
  flex-direction: column;
  border-left-width: 4px !important;
  border-left-style: solid !important;
  border-left-color: var(--kpi-accent, #6366f1) !important;
}

.kpi-accent-bar {
  display: none;
}

.kpi-body {
  padding: 1.5rem 1rem 1.25rem;
  flex: 1;
}

.kpi-card h6 {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kpi-card .card-desc {
  display: none;
}

.kpi-card .balance-info {
  font-size: clamp(1.25rem, 2.2vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.kpi-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0.35rem 0.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 0.68rem;
  white-space: nowrap;
}

.kpi-prior-label {
  color: #9ca3af;
  font-weight: 400;
  font-size: 0.62rem;
}

.kpi-prior-value {
  font-weight: 600;
  opacity: 0.8;
}

[data-bs-theme="dark"] .kpi-footer {
  border-top-color: rgba(255, 255, 255, 0.06);
}

[data-bs-theme="dark"] .kpi-prior-label {
  color: #6b7280;
}

[data-theme="glass"] .kpi-footer {
  border-top-color: rgba(255, 255, 255, 0.08);
}

[data-theme="glass"] .kpi-prior-label {
  color: rgba(255, 255, 255, 0.45);
}


/* =========================================
   DASHBOARD CARDS (Left Column)
   ========================================= */
.dashboard-card {
  background-color: var(--andy-card-bg);
  border: none;
  border-radius: 0.5rem;
  padding: 1rem;
  color: var(--text-100);
  margin-bottom: 0rem;
  box-shadow: 0 0 13px 0 rgba(236, 236, 241, .44);
  transition: box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Chart expand icon */
.chart-expand-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.06);
  color: var(--text-100, #666);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease;
  z-index: 5;
  padding: 0;
  line-height: 1;
}

.dashboard-card:hover .chart-expand-btn {
  opacity: 0.7;
}

.chart-expand-btn:hover {
  opacity: 1 !important;
  background: rgba(0, 0, 0, 0.12);
}

[data-bs-theme="dark"] .chart-expand-btn,
[data-theme="glass"] .chart-expand-btn {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
}

[data-bs-theme="dark"] .chart-expand-btn:hover,
[data-theme="glass"] .chart-expand-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* Chart add-to-report icon */
.chart-report-btn {
  position: absolute;
  top: 8px;
  right: 40px;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.06);
  color: var(--text-100, #666);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease, color 0.2s ease;
  z-index: 5;
  padding: 0;
  line-height: 1;
}

.dashboard-card:hover .chart-report-btn {
  opacity: 0.7;
}

.chart-report-btn:hover {
  opacity: 1 !important;
  background: rgba(0, 0, 0, 0.12);
}

.chart-report-btn.added {
  opacity: 0.9;
  color: #2bc4a8;
}

.chart-report-btn.added:hover {
  color: #e74c3c;
}

[data-bs-theme="dark"] .chart-report-btn,
[data-theme="glass"] .chart-report-btn {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
}

[data-bs-theme="dark"] .chart-report-btn:hover,
[data-theme="glass"] .chart-report-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

[data-bs-theme="dark"] .chart-report-btn.added,
[data-theme="glass"] .chart-report-btn.added {
  color: #2bc4a8;
}

[data-bs-theme="dark"] .chart-report-btn.added:hover,
[data-theme="glass"] .chart-report-btn.added:hover {
  color: #e74c3c;
}

.dashboard-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08),
    0 6px 20px rgba(0, 0, 0, 0.12);
}

.dashboard-card h5 {
  margin-bottom: 0.5rem;
}

/* Info-tip icon tooltip — replaces visible card-desc */
.card-desc {
  display: none;
}

.info-tip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #cbd5e1;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  font-style: italic;
  cursor: help;
  position: relative;
  vertical-align: middle;
  margin-left: 5px;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1;
  transition: background 0.2s;
  flex-shrink: 0;
}

.info-tip:hover {
  background: #94a3b8;
}

.info-tip::after {
  content: attr(data-tip);
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #1e293b;
  color: #f1f5f9;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.65rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.4;
  white-space: normal;
  min-width: 120px;
  max-width: 220px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  z-index: 100;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.info-tip:hover::after,
.info-tip:focus::after {
  opacity: 1;
  visibility: visible;
}

/* Dark / Glass info-tip */
[data-bs-theme="dark"] .info-tip,
[data-theme="glass"] .info-tip {
  background: rgba(255, 255, 255, 0.2);
}

[data-bs-theme="dark"] .info-tip:hover,
[data-theme="glass"] .info-tip:hover {
  background: rgba(255, 255, 255, 0.35);
}

[data-bs-theme="dark"] .info-tip::after,
[data-theme="glass"] .info-tip::after {
  background: #0f172a;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.big-balance-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

.balance-info {
  white-space: nowrap;
  font-size: clamp(1rem, 1.8vw, 2rem);
  font-weight: 600;
}

.balance-info span {
  font-size: 1rem;
  color: var(--text-200);
}

.chart-placeholder {
  flex-grow: 1;
  background-color: var(--bg-300);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-200);
}

.small-card-list {
  background-color: var(--bg-200);
  border-radius: 0.5rem;
  padding: 1rem;
  height: 100%;
}

.small-card-list .list-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--bg-300);
  font-size: 0.9rem;
}

.small-card-list .list-item:last-child {
  border-bottom: none;
}

.positive {
  color: #4caf50;
}

.negative {
  color: #f44336;
}

.neutral {
  color: var(--text-100);
}




/* .chart-wrapper {
  
  aspect-ratio: 1 / 1; 
  position: relative;
  width: 100%;
}

.chart-wrapper canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
} */

canvas {
  width: 100% !important;
  height: auto !important;
  display: block;
  margin: 0 auto;
}

.chart-loading-spinner {
  position: relative;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

/* Prevent canvas from stretching tall before Chart.js initializes */
.dashboard-card canvas {
  width: 100% !important;
}

.dashboard-card .flex-grow-1 {
  min-height: 200px;
  max-height: 500px;
  overflow: visible;
}

.transparent-bg {
  background: transparent !important;
}

@media (min-width: 2560px) {
  /* html {
  transform: scale(1.5);
  transform-origin: top left;
  width: 66.6666%; prevent horizontal scroll
  } */

  canvas {
    width: 100% !important;
    height: 480px !important;

  }
}

.child-link {
  font-size: 0.9rem;
  padding: 0px 0px 0px 20px !important;
}

.form-label {
  font-size: 1.125rem;
  font-family: "Ubuntu", sans-serif;
  font-weight: 500;

}

/* REFACTOR */
.nav-link a:hover {
  background-color: var(--primary-200);
  font-weight: 600;
  border-radius: 4px;
}

.nav-link.active {
  background-color: var(--accent-200);
  font-weight: 600;
  border-radius: 4px;
}

.sidebar .nav-link {
  font-size: 0.8rem;
  /* font-weight: 500; */
}

.sidebar .child-link {
  font-size: 0.8rem;
}

.sidebar .nav-link i {
  font-size: 1rem;
}

/* Tablets */
@media (max-width: 991.98px) {
  .sidebar .nav-link {
    font-size: 0.95rem;
  }

  .sidebar .child-link {
    font-size: 0.85rem;
  }

  .sidebar .nav-link i {
    font-size: 1.2rem;
  }
}

/* Mobile */
@media (max-width: 767.98px) {
  .sidebar .nav-link {
    font-size: 0.9rem;
  }

  .sidebar .child-link {
    font-size: 0.8rem;
  }

  .sidebar .nav-link i {
    font-size: 1.1rem;
  }
}

/* Fix border/border-radius weirdness */
.accordion-button {
  box-shadow: none;
  border: none;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  font-weight: 500;
  color: var(--text-100);
}

.accordion-button:not(.collapsed) {
  background-color: transparent;
  color: var(--text-100);
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-item {
  background-color: transparent;
  border: none !important;
  border-radius: 0 !important;
  margin-bottom: 0;
}

/* Remove border-radius visual glitch */
.sidebar .accordion-button {
  border-radius: 0 !important;
}

/* Light theme: default (dark icon) */

/* @media (max-width: 767.98px) {
#navbarFilters .form-label {
  font-size: 0.9rem;
}

#navbarFilters {
  padding-top: 0.6rem;
}

#navbarFilters input,
#navbarFilters select {
  font-size: 0.9rem;
}
}

.filter-box {
position: relative;
display: flex;
align-items: center;
background-color: #f5f6f3;
border-radius: 10px;
padding: 0.4rem 1rem;
border: 1px solid #ddd;
min-width: 200px;
flex: 1 1 200px;
}

.filter-inner {
flex-grow: 1;
display: flex;
flex-direction: column;
line-height: 1.2;
}

.filter-label {
font-size: 0.75rem;
font-weight: 500;
color: #555;
margin-bottom: 0.15rem;
}

.filter-input {
border: none;
background: transparent;
outline: none;
font-size: 0.95rem;
padding: 0;
color: #000;
}

.icon-end {
font-size: 1.2rem;
color: #333;
margin-left: 10px;
}


@media (max-width: 767.98px) {
.filter-box {
  flex-basis: 100%;
}
}

#propertyFilter{
  background-color: transparent;
  border: 0;
  font-size:0.9rem;
  font-weight: 500;
}


.form-select {
padding-left: 0 !important;
}


.form-select option {
padding-left: 1rem;
} 

*/

.filter-box {
  position: relative;
  display: flex;
  align-items: center;
  padding-right: 0.5rem;
  padding-bottom: 0.5rem;
  margin-top: 0;
}

.filter-inner {
  display: flex;
  flex-direction: column;
}

.filter-label {
  font-size: 0.75rem;
  color: var(--bs-secondary);
  margin-bottom: 0.15rem;
}

.filter-input,
.custom-select {
  padding-left: 0.75rem;
  padding-right: 2rem;
  border-radius: 0.375rem;
  height: 30px;
  font-size: 0.875rem;
  background-color: var(--bs-body-bg);
}

.icon-end {
  position: absolute;
  right: 10px;
  bottom: 8px;
  font-size: 0.9rem;
  pointer-events: none;
  color: var(--bs-secondary-color);
}



/* Generic sidebar toggle */
@media (min-width: 768px) {
  body.sidebar-hidden #sidebarCollapse {
    display: none !important;
  }

  body.sidebar-hidden .main-content {
    padding-left: 1rem;
    /* optional tweak */
  }
}

.sidebar {
  transition: transform 0.3s ease-in-out;
}

.sidebar {
  width: 240px;
  transition: transform 0.3s ease;
  will-change: transform;
}

body.sidebar-hidden .sidebar {
  transform: translateX(-100%);
}

.sidebar-overlay {
  transition: opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

body.sidebar-open .sidebar-overlay {
  opacity: 1;
  pointer-events: auto;
}

/* Ensure filter controls stack on mobile and float right on desktop */
/* Mobile filter styling: full width and spacing */
@media (max-width: 767.98px) {
  .navbar-header {
    position: relative;
  }

  #navbarFilters {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 1rem !important;
  }

  #navbarFilters .filter-box {
    width: 100% !important;
    margin-top: 8px;
  }

  #navbarFilters .form-select,
  #navbarFilters .filter-input {
    width: 100% !important;
  }

  #navbarFilters {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100%;
    gap: 0.75rem;
    margin-top: 0;
    background: #fff;
    padding: 12px 16px;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1050;
  }

  .filter-box {
    width: 100%;
  }

  .filter-inner label {
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
    color: #1a1a1a !important;
  }

  #applyFilterBtn {
    width: 100%;
    margin-top: 12px;
  }

  .custom-button-filters {
    margin-left: auto;
  }
}

/* Optional: give default min-width on desktop */
@media (min-width: 768px) {

  .filter-box select,
  .filter-box input {
    min-width: 160px;
  }
}

.custom-button-filters {
  border-color: var(--text-100);
}

.custom-filters {
  color: var(--text-100);
}

@media (max-width: 767.98px) {
  .filter-box {
    width: 100% !important;
    min-width: 0 !important;
    flex: 1 1 100% !important;
  }

  .filter-inner {
    width: 100%;
  }

  .filter-input,
  .custom-select {
    width: 100% !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }
}

.litepicker {
  border-radius: 8px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
}

.litepicker .container__main {
  padding: 12px;
}

.litepicker button {
  border-radius: 4px;
  transition: background 0.3s;
}

.litepicker button:hover {
  background-color: rgba(0, 123, 255, 0.1);
}

.litepicker .container__predefined-ranges {
  padding: 8px;
  border-bottom: 1px solid #e5e7eb;
  background-color: #f9fafb;
  border-radius: 6px;
}

/* === SIDEBAR FIX === */

/* #sidebarCollapse {
width: 250px;
background-color: var(--bs-dark, #1e1e1e);
position: fixed;
top: 0;
left: 0;
bottom: 0;
z-index: 1045;
transform: translateX(0);
transition: transform 0.3s ease;
} */

/* HIDE on tablets/mobiles by default */
@media (max-width: 1024px) {
  #sidebarCollapse {
    transform: translateX(-100%);
  }

  body.sidebar-open #sidebarCollapse {
    transform: translateX(0);
  }

  #sidebarOverlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1040;
  }

  body.sidebar-open #sidebarOverlay {
    display: block;
  }

  .main-content {
    margin-left: 0 !important;
  }
}

#dateRangeInput,
#propertyFilter {
  border: 0px;
}

/* Side-by-side legend and pie */
.pie-chart-flex {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

/* .pie-chart-flex {
max-height: 400px;
height: 100%;
width: 100%;
} */

.pie-chart-flex canvas {
  max-width: 300px;
  width: 100%;
  aspect-ratio: 1 / 1;
}

@media (max-width: 576px) {
  .pie-chart-flex {
    flex-direction: column;
    align-items: center;
  }

  .pie-chart-flex canvas {
    max-width: 100%;
  }
}

/* =========================================
  CHART MODAL STYLES
========================================= */

.modal-chart-wrapper {
  width: 100%;
  height: 65vh;
  min-height: 320px;
  max-height: 80vh;
  padding: 8px;
}

@media (max-width: 768px) {
  .modal-chart-wrapper {
    height: 70vh;
    min-height: 280px;
    padding: 4px;
  }
}

#modalChartCanvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  margin: 0 auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  #modalChartCanvas {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: auto;
  }

  #chartModal .modal-header {
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 12px;
  }

  #chartModal .modal-header .ms-auto {
    order: 3;
    width: 100%;
    justify-content: flex-end;
  }

  #chartModal .modal-title {
    font-size: 1rem;
  }
}

/* CHART WRAPPER (for general canvas responsiveness) */
/* .chart-wrapper {
width: 100%;
position: relative;
aspect-ratio: 2 / 1;
} */

.chart-wrapper canvas,
canvas.chart-canvas {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-width: 100%;
}

/* PIE / DOUGHNUT charts */
canvas[data-chart-type="pie"],
canvas[data-chart-type="doughnut"] {
  aspect-ratio: 1 / 1;
  max-height: 400px;
}

/* Side-by-side layout for pie chart legends */
.pie-chart-flex {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.pie-chart-flex canvas {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto !important;
  max-width: 100%;
  flex: 1 1 auto;
}

@media (max-width: 576px) {
  .pie-chart-flex {
    flex-direction: column;
    align-items: center;
  }

  .pie-chart-flex canvas {
    max-width: 100%;
  }
}

.chart-wrapper {
  width: 100%;
  max-height: 440px;
  aspect-ratio: 1 / 1;
  position: relative;
}

.chart-wrapper canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
}

@media (max-width: 768px) {
  .chart-wrapper {
    aspect-ratio: auto;
    height: 420px;
    max-height: none;
  }
}

/* DATA TABLE */
.custom-datatable {
  font-size: 12px;
  /* Or 13px, 12px, etc. */
}

.custom-datatable thead th {
  font-weight: 600;
  font-size: 13px;
}

.custom-datatable tbody td {
  font-size: 12px;
}

.paginate_button {
  margin: 4px;

}

.disabled {
  color: #aaaaaa;
}

/* =========================================
 1. LEFT SIDEBAR (VERTICAL MENU) FIX
 ========================================= */
.vertical-menu {
  width: 250px;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  padding-top: 70px;
  /* Space for header */
  background: var(--bg-200);
  z-index: 1001;
  transition: all 0.2s;
  box-shadow: 0 0.75rem 1.5rem rgba(18, 38, 63, 0.03);
}

/* --- Desktop Mode (>= 1024px, includes iPad landscape) --- */
@media (min-width: 1024px) {

  /* When collapsed on Desktop — fully hide sidebar */
  body.vertical-collpsed .vertical-menu {
    transform: translateX(-100%);
    visibility: hidden;
  }

  /* Adjust Main Content margin */
  .main-content {
    margin-left: 250px;
    transition: all 0.2s;
  }

  body.vertical-collpsed .main-content {
    margin-left: 0;
  }
}

/* --- Tablet + Mobile Mode (< 1024px) --- */
@media (max-width: 1023.98px) {
  .vertical-menu {
    left: -260px;
    /* Hide off-screen by default */
  }

  .main-content {
    margin-left: 0 !important;
  }

  /* Slide in when active */
  body.sidebar-enable .vertical-menu {
    left: 0;
  }

  /* Sidebar Overlay for Tablet + Mobile */
  .sidebar-overlay {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    transition: all 0.2s;
  }

  body.sidebar-enable .sidebar-overlay {
    display: block;
  }
}


/* 
   STRATEGIC PRIORITIES PANEL
    */
.sp-dashboard-row {
  align-items: stretch;
}

.sp-dashboard-row>.col-lg-4 {
  display: flex;
  flex-direction: column;
}

.strategic-priorities-panel {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 1.25rem !important;
  scrollbar-width: thin;
  display: flex;
  flex-direction: column;
}

.strategic-priorities-panel::-webkit-scrollbar {
  width: 4px;
}

.strategic-priorities-panel::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 4px;
}

/* Header */
.sp-header {
  margin-bottom: 1rem;
}

.sp-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sp-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sp-title i {
  font-size: 1.2rem;
  color: #f59e0b;
}

.sp-subtitle {
  font-size: 0.78rem;
  color: #888;
  margin: 4px 0 0;
  font-style: italic;
}

.sp-week-badge {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 10px;
  background: linear-gradient(135deg, #4361ee22, #7209b722);
  color: #4361ee;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 20px;
  letter-spacing: 0.02em;
}

[data-bs-theme="dark"] .sp-week-badge {
  background: linear-gradient(135deg, #4361ee33, #7209b733);
  color: #93b5ff;
}

/* Refresh button */
.sp-refresh-btn {
  background: none;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  padding: 4px 8px;
  cursor: pointer;
  color: #888;
  font-size: 1rem;
  transition: all 0.2s;
}

.sp-refresh-btn:hover {
  background: #f0f1f3;
  color: #333;
  border-color: #adb5bd;
}

[data-bs-theme="dark"] .sp-refresh-btn {
  border-color: #444;
}

[data-bs-theme="dark"] .sp-refresh-btn:hover {
  background: #333;
  color: #fff;
}

/* Category Cards */
.sp-category-card {
  border: 1px solid #e9ecef;
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: box-shadow 0.25s;
  border-left: 3px solid var(--sp-accent, #4361ee);
}

.sp-category-card:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

[data-bs-theme="dark"] .sp-category-card {
  border-color: #333;
}

.sp-card-header {
  display: flex;
  align-items: center;
  width: 100%;
  background: transparent;
  border: none;
  padding: 10px 14px;
  cursor: pointer;
  gap: 10px;
  font-family: inherit;
  text-align: left;
}

.sp-card-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--sp-accent) 15%, transparent);
  color: var(--sp-accent);
  font-size: 1rem;
  flex-shrink: 0;
}

.sp-card-title {
  flex: 1;
  font-size: 0.82rem;
  font-weight: 600;
  color: inherit;
}

.sp-chevron {
  transition: transform 0.3s ease;
  font-size: 1.1rem;
  color: #aaa;
}

.sp-expanded .sp-chevron {
  transform: rotate(180deg);
}

/* Card Body  Collapsed by default */
.sp-card-body {
  max-height: 0;
  overflow: hidden;
  padding: 0 14px;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.sp-expanded .sp-card-body {
  max-height: 600px;
  padding: 0 14px 14px;
}

/* Sections */
.sp-section {
  margin-bottom: 10px;
}

.sp-section:last-child {
  margin-bottom: 0;
}

.sp-section p {
  margin: 4px 0 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #555;
}

[data-bs-theme="dark"] .sp-section p {
  color: #bbb;
}

/* Tags */
.sp-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 4px;
}

.sp-tag-observe {
  background: #e0f2fe;
  color: #0369a1;
}

.sp-tag-why {
  background: #fef3c7;
  color: #92400e;
}

.sp-tag-action {
  background: #d1fae5;
  color: #065f46;
}

[data-bs-theme="dark"] .sp-tag-observe {
  background: #0c4a6e44;
  color: #7dd3fc;
}

[data-bs-theme="dark"] .sp-tag-why {
  background: #78350f44;
  color: #fbbf24;
}

[data-bs-theme="dark"] .sp-tag-action {
  background: #064e3b44;
  color: #34d399;
}

/* Skeleton Loader */
.sp-skeleton {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sp-skeleton-card {
  padding: 14px;
  border-radius: 10px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
}

[data-bs-theme="dark"] .sp-skeleton-card {
  background: #2a2d31;
  border-color: #333;
}

.skeleton-line {
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, #e9ecef 25%, #f8f9fa 37%, #e9ecef 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
  margin-bottom: 8px;
}

.skeleton-line.skeleton-title {
  width: 55%;
  height: 14px;
  margin-bottom: 14px;
}

.skeleton-line.skeleton-text {
  width: 90%;
}

.skeleton-line.skeleton-text.short {
  width: 65%;
}

[data-bs-theme="dark"] .skeleton-line {
  background: linear-gradient(90deg, #333 25%, #3a3d41 37%, #333 63%);
  background-size: 400% 100%;
}

@keyframes shimmer {
  0% {
    background-position: 100% 0;
  }

  100% {
    background-position: -100% 0;
  }
}

/* Error State */
.sp-error {
  text-align: center;
  padding: 2rem 1rem;
  color: #aaa;
}

.sp-error i {
  font-size: 2rem;
  margin-bottom: 8px;
  display: block;
  color: #f59e0b;
}

.sp-error p {
  font-size: 0.82rem;
  margin: 0;
}

/* Responsive */
@media (max-width: 991.98px) {
  .strategic-priorities-panel {
    max-height: none;
    overflow-y: visible;
  }

  /* Better dashboard spacing on mobile */
  .sp-dashboard-row {
    padding: 0 4px;
  }

  .sp-dashboard-row .dashboard-card {
    margin-bottom: 8px;
  }

  /* KPI cards: ensure 2-column on mobile */
  .sp-dashboard-row .col-6 {
    padding-left: 6px;
    padding-right: 6px;
  }
}

@media (max-width: 576px) {
  .sp-header {
    margin-bottom: 0.75rem;
  }

  .sp-title {
    font-size: 0.88rem;
  }

  .sp-card-header {
    padding: 8px 10px;
  }

  .sp-card-title {
    font-size: 0.78rem;
  }

  .sp-section p {
    font-size: 0.76rem;
  }
}

/* =========================================
   COMPREHENSIVE DARK MODE OVERRIDES
   Ensures all elements properly flip when
   switching between Light ↔ Dark mode
   ========================================= */

/* Smooth transitions for theme switching */
.card,
.card-body,
.card-header,
.card-footer,
.sidebar,
.form-control,
.form-select,
.table,
.accordion-button,
.page-title-box,
.modal-content {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Dark mode: Bootstrap cards, custom cards, form elements */
[data-bs-theme="dark"] .card,
[data-bs-theme="dark"] .card-body {
  background-color: var(--andy-card-bg) !important;
  color: var(--text-100);
}

[data-bs-theme="dark"] .card-header {
  color: var(--text-100);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .dashboard-card {
  box-shadow: 0 0 13px 0 rgba(0, 0, 0, 0.25);
}

/* Form inputs & selects */
[data-bs-theme="dark"] .form-control,
[data-bs-theme="dark"] .form-select {
  background-color: #1e1e1e;
  color: #f1f1f1;
  border-color: #444;
}

[data-bs-theme="dark"] .form-control::placeholder {
  color: #888;
}

/* Tables */
[data-bs-theme="dark"] .table {
  color: var(--text-100);
}

[data-bs-theme="dark"] .table th,
[data-bs-theme="dark"] .table td {
  border-color: rgba(255, 255, 255, 0.1);
}

/* Filter overlay */
[data-bs-theme="dark"] .filter-overlay {
  background: rgba(0, 0, 0, 0.85);
}

/* Chat card */
[data-bs-theme="dark"] .chat-card {
  background-color: var(--andy-card-bg);
}

[data-bs-theme="dark"] .bot-msg {
  background-color: #333;
  color: #f1f1f1;
}

[data-bs-theme="dark"] .bot-msg::before {
  border-right-color: #333;
}

/* Modal content */
[data-bs-theme="dark"] .modal-content {
  background-color: #1e1e1e;
  color: #f1f1f1;
}

/* General text elements that might stay white */
[data-bs-theme="dark"] h1,
[data-bs-theme="dark"] h2,
[data-bs-theme="dark"] h3,
[data-bs-theme="dark"] h4,
[data-bs-theme="dark"] h5,
[data-bs-theme="dark"] h6,
[data-bs-theme="dark"] p,
[data-bs-theme="dark"] span,
[data-bs-theme="dark"] label {
  color: inherit;
}

/* Right sidebar */
[data-bs-theme="dark"] .right-bar {
  background-color: #1e1e1e;
  color: #f1f1f1;
}

/* Dropdown menus */
[data-bs-theme="dark"] .dropdown-menu {
  background-color: #2a2a2a;
  border-color: #444;
}

[data-bs-theme="dark"] .dropdown-item {
  color: #f1f1f1;
}

[data-bs-theme="dark"] .dropdown-item:hover {
  background-color: #333;
}

/* DataTables styling */
[data-bs-theme="dark"] .dataTables_wrapper .dataTables_length,
[data-bs-theme="dark"] .dataTables_wrapper .dataTables_filter,
[data-bs-theme="dark"] .dataTables_wrapper .dataTables_info,
[data-bs-theme="dark"] .dataTables_wrapper .dataTables_paginate {
  color: #bdbdbd;
}

[data-bs-theme="dark"] .dataTables_wrapper .dataTables_filter input {
  background-color: #1e1e1e;
  color: #f1f1f1;
  border-color: #444;
}

/* ========================================
   HII SCORE CARD
   ======================================== */
.hii-card {
  padding: 1.2rem 1.5rem;
  height: auto;
}

.hii-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.hii-header h6 {
  margin: 0;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hii-date-range {
  display: block;
  font-size: 0.75rem;
  opacity: 0.55;
  margin-top: 2px;
}

.hii-badge {
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hii-badge--optimised {
  background: rgba(27, 122, 61, .15);
  color: #1B7A3D;
}

.hii-badge--healthy {
  background: rgba(76, 175, 80, .15);
  color: #4CAF50;
}

.hii-badge--unstable {
  background: rgba(245, 124, 0, .15);
  color: #F57C00;
}

.hii-badge--at-risk {
  background: rgba(211, 47, 47, .15);
  color: #D32F2F;
}

.hii-body {
  display: flex;
  gap: 2rem;
  align-items: center;
}

/* Gauge */
.hii-gauge-section {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hii-gauge {
  position: relative;
  width: 130px;
  height: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hii-gauge-svg {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}

.hii-gauge-bg {
  fill: none;
  stroke: var(--bg-200, #e5e7eb);
  stroke-width: 8;
  opacity: 0.3;
}

.hii-gauge-fill {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 326.73;
  stroke-dashoffset: 326.73;
  transition: stroke-dashoffset 1.2s ease, stroke 0.5s ease;
}

.hii-gauge-value {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  z-index: 1;
}

.hii-gauge-label {
  font-size: 0.75rem;
  opacity: 0.5;
  z-index: 1;
  margin-top: 2px;
}

/* Categories */
.hii-categories {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.hii-cat {
  cursor: pointer;
  border-radius: 8px;
  padding: 8px 12px;
  background: var(--bg-200, #f3f4f6);
  transition: background 0.2s;
}

.hii-cat:hover {
  background: var(--bg-300, #e5e7eb);
}

.hii-cat-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hii-cat-icon {
  font-size: 1rem;
  width: 20px;
  text-align: center;
  opacity: 0.6;
}

.hii-cat-name {
  font-size: 0.82rem;
  font-weight: 600;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hii-cat-score {
  font-size: 0.82rem;
  font-weight: 700;
  min-width: 32px;
  text-align: right;
}

.hii-cat-bar {
  height: 6px;
  border-radius: 3px;
  background: var(--bg-100, #e2e8f0);
  margin-top: 5px;
  overflow: hidden;
}

.hii-cat-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 1s ease;
}

/* Drivers (expandable) */
.hii-drivers {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.hii-cat.expanded .hii-drivers {
  max-height: 300px;
}

.hii-driver {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0 4px 30px;
  font-size: 0.75rem;
  opacity: 0.8;
}

.hii-driver-name {
  flex: 1;
}

.hii-driver-score {
  font-weight: 600;
  min-width: 32px;
  text-align: right;
}

.hii-cat-placeholder {
  text-align: center;
  padding: 1rem;
  opacity: 0.4;
  font-size: 0.85rem;
}

/* Responsive — stack vertically on tablet and mobile */
@media (max-width: 1399px) {
  .hii-body {
    flex-direction: column;
    gap: 1rem;
  }

  .hii-gauge {
    width: 100px;
    height: 100px;
  }

  .hii-gauge-value {
    font-size: 1.5rem;
  }

  .hii-card {
    padding: 1rem;
  }
}

/* =========================================
   GLASSMORPHISM THEME
   ========================================= */

/* --- Glass: Background Gradient --- */
[data-theme="glass"] body {
  background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%) !important;
  background-attachment: fixed !important;
  min-height: 100vh;
}

/* --- Glass: CSS Variable Overrides --- */
[data-theme="glass"] {
  --andy-card-bg: rgba(255, 255, 255, 0.06);
  --bs-body-bg: transparent;
}

/* --- Glass: Top Navbar --- */
[data-theme="glass"] #page-topbar {
  background: rgba(15, 12, 41, 0.55) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

/* --- Glass: Main Content Area --- */
[data-theme="glass"] .main-content {
  background: transparent !important;
}

[data-theme="glass"] .page-content {
  background: transparent !important;
}

/* --- Glass: Dashboard Cards --- */
[data-theme="glass"] .dashboard-card,
[data-theme="glass"] .card {
  background: rgba(255, 255, 255, 0.06) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

[data-theme="glass"] .dashboard-card:hover,
[data-theme="glass"] .card:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 8px 40px rgba(100, 80, 220, 0.15),
    0 12px 32px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

[data-theme="glass"] .dashboard-card.kpi-card {
  border-left-width: 4px !important;
  border-left-style: solid !important;
  border-left-color: var(--kpi-accent, #6366f1) !important;
}

[data-theme="glass"] .dashboard-card:not(.kpi-card),
[data-theme="glass"] .card:not(.kpi-card) {
  border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* --- Glass: Sidebar --- */
[data-theme="glass"] .vertical-menu {
  background: rgba(20, 18, 50, 0.85) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 4px 0 30px rgba(0, 0, 0, 0.2);
}

/* --- Glass: Navbar Brand Box --- */
[data-theme="glass"] .navbar-brand-box {
  background: rgba(20, 18, 50, 0.85) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* --- Glass: Right Sidebar --- */
[data-theme="glass"] .right-bar {
  background: rgba(20, 18, 50, 0.92) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* --- Glass: Footer --- */
[data-theme="glass"] .footer {
  background: rgba(15, 12, 41, 0.5) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* --- Glass: Text Colors --- */
[data-theme="glass"] body,
[data-theme="glass"] .text-muted {
  color: #c8cce0 !important;
}

[data-theme="glass"] h1,
[data-theme="glass"] h2,
[data-theme="glass"] h3,
[data-theme="glass"] h4,
[data-theme="glass"] h5,
[data-theme="glass"] h6 {
  color: #e8ecf4;
}

/* --- Glass: KPI Stat Cards --- */
[data-theme="glass"] .mini-stat {
  background: rgba(255, 255, 255, 0.06) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* --- Glass: Tables --- */
[data-theme="glass"] .table {
  --bs-table-bg: transparent;
  --bs-table-striped-bg: rgba(255, 255, 255, 0.03);
  --bs-table-hover-bg: rgba(255, 255, 255, 0.06);
  --bs-table-color: #d0d8e4;
  --bs-table-border-color: rgba(255, 255, 255, 0.08);
  color: #d0d8e4;
}

[data-theme="glass"] .table thead th {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: #e0e8f4 !important;
}

[data-theme="glass"] .table td,
[data-theme="glass"] .table th {
  border-color: rgba(255, 255, 255, 0.06);
  color: #d0d8e4;
}

[data-theme="glass"] .table-striped>tbody>tr:nth-of-type(odd)>* {
  --bs-table-color-type: #d0d8e4;
  --bs-table-bg-type: rgba(255, 255, 255, 0.03);
}

[data-theme="glass"] .table-bordered {
  border-color: rgba(255, 255, 255, 0.08);
}

/* Glass: DataTables Search Input */
[data-theme="glass"] .dataTables_filter input {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #e0e4f0 !important;
  border-radius: 6px;
}

[data-theme="glass"] .dataTables_filter input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* Glass: DataTables Pagination */
[data-theme="glass"] .dataTables_paginate .paginate_button {
  color: #b0b8c4 !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 6px !important;
}

[data-theme="glass"] .dataTables_paginate .paginate_button:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #e0e8f4 !important;
  border-color: rgba(120, 200, 180, 0.2) !important;
}

[data-theme="glass"] .dataTables_paginate .paginate_button.current {
  background: rgba(120, 200, 180, 0.2) !important;
  color: #e0f8f0 !important;
  border-color: rgba(120, 200, 180, 0.3) !important;
}

[data-theme="glass"] .dataTables_paginate .paginate_button.disabled {
  color: rgba(255, 255, 255, 0.25) !important;
  background: rgba(255, 255, 255, 0.02) !important;
}

/* Glass: DataTables Info & Empty */
[data-theme="glass"] .dataTables_info,
[data-theme="glass"] .dataTables_empty {
  color: rgba(255, 255, 255, 0.5) !important;
}

/* Glass: DataTables Sorting Icons */
[data-theme="glass"] table.dataTable thead .sorting::before,
[data-theme="glass"] table.dataTable thead .sorting::after,
[data-theme="glass"] table.dataTable thead .sorting_asc::before,
[data-theme="glass"] table.dataTable thead .sorting_asc::after,
[data-theme="glass"] table.dataTable thead .sorting_desc::before,
[data-theme="glass"] table.dataTable thead .sorting_desc::after {
  opacity: 0.5;
}

/* --- Glass: Form Inputs --- */
[data-theme="glass"] .form-control,
[data-theme="glass"] .form-select {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #e0e4f0 !important;
}

[data-theme="glass"] .form-control:focus,
[data-theme="glass"] .form-select:focus {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(140, 120, 255, 0.4) !important;
  box-shadow: 0 0 0 0.2rem rgba(140, 120, 255, 0.15) !important;
}

/* --- Glass: Mobile Filter Panel --- */
@media (max-width: 767.98px) {
  [data-theme="glass"] #navbarFilters {
    background: rgba(20, 18, 50, 0.92) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border-radius: 0 0 12px 12px !important;
  }

  [data-theme="glass"] #navbarFilters .form-label,
  [data-theme="glass"] #navbarFilters label {
    color: rgba(255, 255, 255, 0.7) !important;
  }

  [data-theme="glass"] #navbarFilters .btn-success {
    background: rgba(120, 200, 180, 0.3) !important;
    border-color: rgba(120, 200, 180, 0.4) !important;
    color: #e0f8f0 !important;
  }
}

/* --- Glass: Buttons --- */
[data-theme="glass"] .btn-success {
  background: rgba(40, 167, 69, 0.7) !important;
  border-color: rgba(40, 167, 69, 0.5) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

[data-theme="glass"] .btn-success:hover {
  background: rgba(40, 167, 69, 0.9) !important;
}

/* --- Glass: Filter Box --- */
[data-theme="glass"] .filter-box {
  background: transparent !important;
  border-color: transparent !important;
}

[data-theme="glass"] .filter-input,
[data-theme="glass"] .custom-select {
  background-color: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #e0e4f0 !important;
}

/* --- Glass: Dropdown Menus --- */
[data-theme="glass"] .dropdown-menu {
  background: rgba(30, 25, 70, 0.92) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

[data-theme="glass"] .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.08) !important;
}

/* --- Glass: Chart Wrappers --- */
[data-theme="glass"] .chart-wrapper {
  background: transparent !important;
}

/* --- Glass: HII Card --- */
[data-theme="glass"] .hii-card {
  background: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* Glass: HII Header */
[data-theme="glass"] .hii-header h6 {
  color: #e0e8f4;
}

[data-theme="glass"] .hii-date-range {
  color: rgba(255, 255, 255, 0.45);
}

/* Glass: HII Badge */
[data-theme="glass"] .hii-badge {
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Glass: HII Gauge Section */
[data-theme="glass"] .hii-gauge-section {
  background: radial-gradient(circle at center, rgba(120, 200, 180, 0.06) 0%, transparent 70%);
}

[data-theme="glass"] .hii-gauge-bg {
  stroke: rgba(255, 255, 255, 0.08);
}

[data-theme="glass"] .hii-gauge-value {
  color: #e8ecf4;
}

[data-theme="glass"] .hii-gauge-label {
  color: rgba(255, 255, 255, 0.5);
}

/* Glass: HII Category Rows */
[data-theme="glass"] .hii-cat {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 10px;
  transition: all 0.25s ease;
}

[data-theme="glass"] .hii-cat:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(120, 200, 180, 0.15);
  box-shadow: 0 4px 16px rgba(120, 200, 180, 0.08);
}

[data-theme="glass"] .hii-cat-name {
  color: #d0d8e4;
}

[data-theme="glass"] .hii-cat-icon {
  opacity: 0.7;
  color: rgba(200, 220, 240, 0.7);
}

[data-theme="glass"] .hii-cat-score {
  color: #e0e8f4;
}

/* Glass: HII Score Bar */
[data-theme="glass"] .hii-cat-bar {
  background: rgba(255, 255, 255, 0.08) !important;
  border-radius: 4px;
}

/* Glass: HII Drivers (expanded section) */
[data-theme="glass"] .hii-driver {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(200, 210, 225, 0.8);
}

[data-theme="glass"] .hii-driver-score {
  color: rgba(220, 230, 240, 0.9);
}

/* --- Glass: Scrollbar --- */
[data-theme="glass"] ::-webkit-scrollbar {
  width: 6px;
}

[data-theme="glass"] ::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
}

[data-theme="glass"] ::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}

[data-theme="glass"] ::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* --- Glass: Modals --- */
[data-theme="glass"] .modal-content {
  background: rgba(25, 22, 60, 0.85) !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 16px 64px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  border-radius: 16px !important;
}

[data-theme="glass"] .modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #e8ecf4;
}

[data-theme="glass"] .modal-header .modal-title,
[data-theme="glass"] .modal-header h5 {
  color: #e8ecf4;
}

[data-theme="glass"] .modal-body {
  color: #d0d8e4;
}

[data-theme="glass"] .modal-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="glass"] .modal-header .btn-close {
  filter: invert(1) brightness(0.8);
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

[data-theme="glass"] .modal-header .btn-close:hover {
  opacity: 1;
}

[data-theme="glass"] .modal-backdrop.show {
  background: rgba(10, 8, 30, 0.6) !important;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* --- Glass: Logo Tagline --- */
[data-theme="glass"] .logo-tagline {
  color: rgba(255, 255, 255, 0.7);
}

/* --- Glass: Chat Widget (Modern) --- */
[data-theme="glass"] .floating-chat-card {
  background: linear-gradient(145deg, rgba(60, 60, 80, 0.7), rgba(40, 40, 55, 0.8)) !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3);
  border-radius: 20px !important;
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

[data-theme="glass"] .floating-chat-card.chat-focused {
  background: linear-gradient(145deg, rgba(20, 80, 100, 0.75), rgba(30, 25, 70, 0.85)) !important;
  border-color: rgba(120, 200, 180, 0.2);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.35),
    0 0 20px rgba(120, 200, 180, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Glass: Chat Header */
[data-theme="glass"] .chat-header {
  background: rgba(255, 255, 255, 0.06) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.4s ease;
}

[data-theme="glass"] .chat-focused .chat-header {
  background: rgba(255, 255, 255, 0.1) !important;
  border-bottom-color: rgba(120, 200, 180, 0.12);
}

[data-theme="glass"] .chat-header-name {
  color: #b0b8c4 !important;
  transition: color 0.4s ease;
}

[data-theme="glass"] .chat-focused .chat-header-name {
  color: #e0f4f0 !important;
}

[data-theme="glass"] .chat-header-status {
  color: rgba(255, 255, 255, 0.5);
}

[data-theme="glass"] .chat-status-dot {
  border-color: rgba(60, 60, 80, 0.7);
}

/* Glass: Chat Window */
[data-theme="glass"] .chat-window {
  background: transparent !important;
}

/* Glass: Chat Intro */
[data-theme="glass"] .chat-intro-title {
  color: #9aa4b0 !important;
  transition: color 0.4s ease;
}

[data-theme="glass"] .chat-focused .chat-intro-title {
  color: #7ed8c9 !important;
}

[data-theme="glass"] .chat-intro-subtitle {
  color: rgba(255, 255, 255, 0.5) !important;
  transition: color 0.4s ease;
}

[data-theme="glass"] .chat-focused .chat-intro-subtitle {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* Glass: Preset Cards */
[data-theme="glass"] .chat-preset-card {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #9aa4b0 !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

[data-theme="glass"] .chat-focused .chat-preset-card {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #d0e8e4 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-theme="glass"] .chat-preset-card:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Glass: User Message */
[data-theme="glass"] .user-msg {
  background: rgba(102, 126, 234, 0.25) !important;
  border: 1px solid rgba(102, 126, 234, 0.3);
  color: #e0f0f8 !important;
}

[data-theme="glass"] .chat-focused .user-msg {
  background: rgba(102, 126, 234, 0.35) !important;
  border-color: rgba(102, 126, 234, 0.4);
}

/* Glass: Bot Message */
[data-theme="glass"] .bot-msg {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: #b0b8c4 !important;
  box-shadow: none;
}

[data-theme="glass"] .chat-focused .bot-msg {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.1);
  color: #e4e8f0 !important;
}

/* Glass: Chat Footer */
[data-theme="glass"] .chat-footer {
  background: rgba(255, 255, 255, 0.03) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.4s ease;
}

[data-theme="glass"] .chat-focused .chat-footer {
  background: rgba(255, 255, 255, 0.05) !important;
  border-top-color: rgba(120, 200, 180, 0.1);
}

/* Glass: Chat Input */
[data-theme="glass"] .chat-input-wrap {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-theme="glass"] .chat-input-wrap:focus-within {
  border-color: rgba(120, 200, 180, 0.4) !important;
  box-shadow: 0 0 0 3px rgba(120, 200, 180, 0.12) !important;
}

[data-theme="glass"] .chat-input {
  color: #b0b8c4 !important;
}

[data-theme="glass"] .chat-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

/* Glass: Send Button */
[data-theme="glass"] .chat-send-btn {
  background: rgba(120, 200, 180, 0.25) !important;
  transition: all 0.3s ease;
}

[data-theme="glass"] .chat-focused .chat-send-btn {
  background: rgba(120, 200, 180, 0.4) !important;
}

[data-theme="glass"] .chat-send-btn:hover {
  background: rgba(120, 200, 180, 0.55) !important;
}

/* Glass: Footer Meta */
[data-theme="glass"] .chat-reset-link {
  color: rgba(160, 170, 185, 0.6) !important;
}

[data-theme="glass"] .chat-focused .chat-reset-link {
  color: rgba(120, 200, 180, 0.7) !important;
}

[data-theme="glass"] .chat-powered {
  color: rgba(200, 210, 225, 0.3) !important;
}

/* Glass: FAB */
[data-theme="glass"] .chat-fab-btn {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3),
    0 0 15px rgba(120, 200, 180, 0.15);
}

[data-theme="glass"] .chat-fab-ring {
  border-color: rgba(120, 200, 180, 0.4);
}

/* Glass: Typing */
[data-theme="glass"] .typing-dots span {
  background: rgba(200, 210, 225, 0.5);
}

[data-theme="glass"] .typing-label {
  color: rgba(200, 210, 225, 0.5);
}

  background: linear-gradient(145deg, rgba(60, 60, 80, 0.7), rgba(40, 40, 55, 0.8)) !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3);
  border-radius: 16px !important;
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

/* Glass: Chat Focused = teal glow */
[data-theme="glass"] .floating-chat-card.chat-focused {
  background: linear-gradient(145deg, rgba(20, 80, 100, 0.75), rgba(30, 25, 70, 0.85)) !important;
  border-color: rgba(120, 200, 180, 0.2);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.35),
    0 0 20px rgba(120, 200, 180, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Glass: Chat Header (default = gray) */
[data-theme="glass"] .chat-card .card-header {
  background: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #fff !important;
  transition: background 0.4s ease;
}

[data-theme="glass"] .chat-focused .card-header {
  background: rgba(255, 255, 255, 0.1) !important;
  border-bottom-color: rgba(120, 200, 180, 0.12);
}

[data-theme="glass"] .chat-card .card-header h3 {
  color: #b0b8c4 !important;
  transition: color 0.4s ease;
}

[data-theme="glass"] .chat-focused .card-header h3 {
  color: #e0f4f0 !important;
}

/* Glass: Chat Window */
[data-theme="glass"] .chat-window {
  background: transparent !important;
}

/* Glass: Chat Intro Text */
[data-theme="glass"] #chatIntro h5 {
  color: #9aa4b0 !important;
  transition: color 0.4s ease;
}

[data-theme="glass"] .chat-focused #chatIntro h5 {
  color: #7ed8c9 !important;
}

[data-theme="glass"] #chatIntro p {
  color: rgba(255, 255, 255, 0.5) !important;
  transition: color 0.4s ease;
}

[data-theme="glass"] .chat-focused #chatIntro p {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* Glass: Preset Prompt Buttons */
[data-theme="glass"] #chatIntro .btn-light {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #9aa4b0 !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 10px !important;
  transition: all 0.3s ease;
}

[data-theme="glass"] .chat-focused #chatIntro .btn-light {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #d0e8e4 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-theme="glass"] #chatIntro .btn-light:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Glass: User Message Bubble */
[data-theme="glass"] .user-msg {
  background: rgba(150, 160, 180, 0.15) !important;
  border: 1px solid rgba(150, 160, 180, 0.2);
  color: #c8ccd4 !important;
  transition: all 0.4s ease;
}

[data-theme="glass"] .chat-focused .user-msg {
  background: rgba(100, 180, 220, 0.2) !important;
  border-color: rgba(100, 180, 220, 0.25);
  color: #e0f0f8 !important;
}

[data-theme="glass"] .user-msg::after {
  border-left-color: rgba(150, 160, 180, 0.15) !important;
  transition: border-color 0.4s ease;
}

[data-theme="glass"] .chat-focused .user-msg::after {
  border-left-color: rgba(100, 180, 220, 0.2) !important;
}

/* Glass: Bot Message Bubble */
[data-theme="glass"] .bot-msg {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: #b0b8c4 !important;
  transition: all 0.4s ease;
}

[data-theme="glass"] .chat-focused .bot-msg {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.1);
  color: #e4e8f0 !important;
}

[data-theme="glass"] .bot-msg::before {
  border-right-color: rgba(255, 255, 255, 0.05) !important;
  transition: border-color 0.4s ease;
}

[data-theme="glass"] .chat-focused .bot-msg::before {
  border-right-color: rgba(255, 255, 255, 0.08) !important;
}

/* Glass: Chat Footer */
[data-theme="glass"] .chat-card .card-footer {
  background: rgba(255, 255, 255, 0.03) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.4s ease;
}

[data-theme="glass"] .chat-focused .card-footer {
  background: rgba(255, 255, 255, 0.05) !important;
  border-top-color: rgba(120, 200, 180, 0.1);
}

/* Glass: Chat Input */
[data-theme="glass"] .chat-card .card-footer .form-control {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #b0b8c4 !important;
  transition: all 0.3s ease;
}

[data-theme="glass"] .chat-focused .card-footer .form-control {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #e0e4f0 !important;
}

[data-theme="glass"] .chat-card .card-footer .form-control::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

[data-theme="glass"] .chat-card .card-footer .form-control:focus {
  border-color: rgba(120, 200, 180, 0.4) !important;
  box-shadow: 0 0 0 0.15rem rgba(120, 200, 180, 0.15) !important;
}

/* Glass: Send Button */
[data-theme="glass"] .chat-card .card-footer .btn-primary {
  background: rgba(150, 160, 180, 0.2) !important;
  border-color: rgba(150, 160, 180, 0.3) !important;
  color: #b0b8c4 !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.4s ease;
}

[data-theme="glass"] .chat-focused .card-footer .btn-primary {
  background: rgba(120, 200, 180, 0.3) !important;
  border-color: rgba(120, 200, 180, 0.4) !important;
  color: #e0f8f0 !important;
}

[data-theme="glass"] .chat-card .card-footer .btn-primary:hover {
  background: rgba(120, 200, 180, 0.5) !important;
}

/* Glass: Reset Link */
[data-theme="glass"] .chat-card .card-footer a {
  color: rgba(160, 170, 185, 0.6) !important;
  transition: color 0.4s ease;
}

[data-theme="glass"] .chat-focused .card-footer a {
  color: rgba(120, 200, 180, 0.7) !important;
}

/* Glass: Chat FAB Button */
[data-theme="glass"] .chat-fab-btn {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3),
    0 0 15px rgba(120, 200, 180, 0.15);
}

/* --- Glass: Preloader Overlay --- */
[data-theme="glass"] .filter-overlay {
  background: rgba(15, 12, 41, 0.75) !important;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Fix header icons alignment with Apply button */
#page-topbar .dropdown.align-self-end .header-item {
  height: 34px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.5rem;
}



/* ========================================= */
/* LIGHT GLASS THEME (Overwriting default Light) */
/* ========================================= */

/* Override Bootstrap's CSS variables so .card, .form-control, etc. become translucent */
[data-theme="light"] {
  --andy-card-bg: rgba(255, 255, 255, 0.55);
  --bs-body-bg: transparent;
  --bs-secondary-bg: rgba(255, 255, 255, 0.4);
  --bs-card-bg: rgba(255, 255, 255, 0.55);
  --bs-tertiary-bg: rgba(255, 255, 255, 0.3);
}

/* Body gradient background */
[data-theme="light"] body {
  background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%) !important;
  background-attachment: fixed !important;
  background-color: transparent !important;
}

/* Topbar */
[data-theme="light"] #page-topbar {
  background: rgba(255, 255, 255, 0.45) !important;
  background-color: rgba(255, 255, 255, 0.45) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

/* Remove solid backgrounds from content containers */
[data-theme="light"] .main-content,
[data-theme="light"] .page-content {
  background: transparent !important;
  background-color: transparent !important;
}

/* Glass Cards */
[data-theme="light"] .dashboard-card,
[data-theme="light"] .card {
  background: rgba(255, 255, 255, 0.55) !important;
  background-color: rgba(255, 255, 255, 0.55) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.08);
  border-radius: 16px;
}

/* Footer */
[data-theme="light"] .footer {
  background: rgba(255, 255, 255, 0.3) !important;
  background-color: rgba(255, 255, 255, 0.3) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.6);
}

/* Card Headers and Footers */
[data-theme="light"] .card-header,
[data-theme="light"] .card-footer {
  background-color: transparent !important;
}

/* Tables */
[data-theme="light"] .table {
  color: #333;
  --bs-table-bg: transparent;
}

[data-theme="light"] .table thead th {
  background-color: rgba(255, 255, 255, 0.4) !important;
  color: #333;
  border-bottom-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .table td,
[data-theme="light"] .table th {
  border-color: rgba(0, 0, 0, 0.05);
}

/* Inputs & Selects */
[data-theme="light"] .form-control,
[data-theme="light"] .form-select {
  background-color: rgba(255, 255, 255, 0.5) !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  color: #333 !important;
}

[data-theme="light"] .form-control:focus,
[data-theme="light"] .form-select:focus {
  background-color: rgba(255, 255, 255, 0.7) !important;
  border-color: rgba(100, 150, 255, 0.5) !important;
  box-shadow: 0 0 0 0.2rem rgba(100, 150, 255, 0.25) !important;
}

/* Filter Box – transparent wrapper, no background */
[data-theme="light"] .filter-box {
  background-color: transparent !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

[data-theme="light"] .filter-label {
  color: #555 !important;
}

/* Property filter – ensure it's clickable */
[data-theme="light"] #propertyFilter {
  position: relative;
  z-index: 2;
  pointer-events: auto !important;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.5) !important;
}

/* Light Glass: Chatbot */
[data-theme="light"] .floating-chat-card {
  background: rgba(255, 255, 255, 0.55) !important;
  backdrop-filter: blur(25px) !important;
  -webkit-backdrop-filter: blur(25px) !important;
  border: 1px solid rgba(255, 255, 255, 0.7) !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12) !important;
}

[data-theme="light"] .chat-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  border-bottom: none !important;
}

[data-theme="light"] .chat-header-name,
[data-theme="light"] .chat-header-status,
[data-theme="light"] .chat-header-btn {
  color: #fff !important;
}

[data-theme="light"] .chat-window {
  background: transparent !important;
}

[data-theme="light"] .chat-footer {
  background: rgba(255, 255, 255, 0.4) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.5) !important;
}

[data-theme="light"] .floating-chat-card.chat-focused {
  background: rgba(255, 255, 255, 0.65) !important;
  box-shadow: 0 0 0 3px rgba(100, 150, 255, 0.35), 0 10px 40px rgba(0, 0, 0, 0.12) !important;
}

[data-theme="light"] .chat-preset-card {
  background: rgba(255, 255, 255, 0.6) !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .chat-input-wrap {
  background: rgba(255, 255, 255, 0.5) !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .bot-msg {
  background: rgba(255, 255, 255, 0.6) !important;
  border-color: rgba(0, 0, 0, 0.06) !important;
}


/* Mini-stat cards transparent background */
[data-theme="light"] .mini-stat {
  background-color: rgba(255, 255, 255, 0.45) !important;
}