:root {
  --bg-color: #121212;
  --text-color: #e0e0e0;
  --text-title: #ffffff;
  --text-muted: #90a4ae;
  --card-bg: rgba(30, 30, 30, 0.4);
  --card-solid-bg: #1e1e1e;
  --card-border: rgba(255, 255, 255, 0.06);
  --card-shadow: rgba(0, 0, 0, 0.4);
  --input-border: #444;
  --select-bg: #252525;
  --table-header: #26a69a;
  --table-border: #222;
  --region-bg: rgba(22, 22, 22, 0.4);
  --empty-bed-bg: rgba(0, 0, 0, 0.15);
  --empty-bed-border: rgba(255, 255, 255, 0.12);
  --empty-bed-left: rgba(255, 255, 255, 0.04);
  --bed-header-border: rgba(255, 255, 255, 0.06);
  --badge-dark-bg: rgba(255,255,255,0.06);
  --badge-dark-border: rgba(255,255,255,0.1);
  --nav-bg: #004d40;
  --nav-border: #1a237e;
  --nav-link: #b0bec5;
  --nav-link-active: #ffffff;
  --nav-link-active-bg: rgba(255,255,255,0.05);
  --grid-item-bg: rgba(255, 255, 255, 0.015);
  --border-hover: rgba(255, 255, 255, 0.15);
  --btn-secondary-bg: #37474f;
  --btn-secondary-text: #b0bec5;
  --btn-secondary-border: #455a64;
}

body.theme-light {
  --bg-color: #f4f6f9;
  --text-color: #37474f;
  --text-title: #1a237e;
  --text-muted: #546e7a;
  --card-bg: #ffffff; /* pure white for cards under light theme so they are lighter than body bg */
  --card-solid-bg: #ffffff;
  --card-border: rgba(0, 0, 0, 0.08);
  --card-shadow: rgba(0, 0, 0, 0.08);
  --input-border: #b0bec5;
  --select-bg: #ffffff;
  --table-header: #00796b;
  --table-border: #cfd8dc;
  --region-bg: rgba(255, 255, 255, 0.65);
  --empty-bed-bg: rgba(255, 255, 255, 0.4); /* light dashed empty cards */
  --empty-bed-border: rgba(0, 0, 0, 0.1);
  --empty-bed-left: rgba(0, 0, 0, 0.08);
  --bed-header-border: rgba(0, 0, 0, 0.08);
  --badge-dark-bg: rgba(0,0,0,0.04);
  --badge-dark-border: rgba(0,0,0,0.08);
  --nav-bg: #004d40;
  --nav-border: rgba(0, 0, 0, 0.1);
  --nav-link: #b2dfdb;
  --nav-link-active: #ffffff;
  --grid-item-bg: rgba(0, 0, 0, 0.02);
  --border-hover: rgba(26, 35, 126, 0.15);
  --btn-secondary-bg: #eceff1;
  --btn-secondary-text: #37474f;
  --btn-secondary-border: #b0bec5;
}

/* Core Layout Settings */
body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0;
  transition: background-color 0.4s ease, color 0.4s ease;
}

.theme-label-text {
  color: var(--text-muted) !important;
  font-weight: 600;
  transition: color 0.4s ease;
}

/* Navigation Overrides */
nav {
  background-color: var(--nav-bg) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
  border-bottom: 1px solid var(--nav-border);
}
nav ul li a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--nav-link) !important;
  transition: all 0.2s ease;
}
nav ul li.active-tab a {
  color: var(--nav-link-active) !important;
  background-color: var(--nav-link-active-bg);
  border-bottom: 3px solid #26a69a;
}

/* Dark Mode Card Components */
.card-dark {
  background-color: var(--card-solid-bg) !important;
  border: 1px solid var(--card-border) !important;
  border-radius: 6px !important;
  color: var(--text-title) !important;
  box-shadow: 0 4px 20px var(--card-shadow) !important;
  transition: background-color 0.4s ease, border-color 0.4s ease;
}

/* Materialize Input Field Overrides for Dark Theme */
.input-field label {
  color: var(--text-muted) !important;
}
.input-field input[type=email]:focus + label,
.input-field input[type=password]:focus + label {
  color: #26a69a !important;
}
.input-field input[type=email]:focus,
.input-field input[type=password]:focus {
  border-bottom: 1px solid #26a69a !important;
  box-shadow: 0 1px 0 0 #26a69a !important;
}
.input-field input {
  border-bottom: 1px solid var(--input-border) !important;
  color: var(--text-title) !important;
  transition: border-bottom-color 0.4s ease, color 0.4s ease;
}

/* Custom Dropdown Styling Override */
.custom-select {
  background-color: var(--select-bg) !important;
  color: var(--text-title) !important;
  border: 1px solid var(--input-border) !important;
  border-radius: 4px !important;
  height: 45px !important;
  padding: 5px 10px !important;
  outline: none !important;
  transition: all 0.4s ease;
}
.custom-select:focus {
  border: 1px solid #26a69a !important;
}

/* Modal Window Layout Overrides */
.custom-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.65);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.custom-modal-content {
  width: 90%;
  max-width: 440px;
  padding: 24px;
  border-radius: 8px;
  background-color: var(--card-solid-bg);
  border: 1px solid var(--card-border);
  box-shadow: 0 10px 40px var(--card-shadow);
  animation: modalSlide 0.2s ease-out forwards;
  transition: background-color 0.4s ease, border-color 0.4s ease;
}
@keyframes modalSlide {
  from { transform: translateY(15px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Horizontal Row Constraints */
.board-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 15px !important;
  width: 100% !important;
  margin-bottom: 4px !important;
  box-sizing: border-box;
}

.row-resus .bed-card {
  flex: 1 1 calc(50% - 8px) !important;
  width: 50% !important;
}
.row-beds .bed-card {
  flex: 1 1 calc(33.33% - 10px) !important;
  width: 33.33% !important;
}
.row-waiting .bed-card {
  flex: 0 0 calc(33.33% - 10px) !important;
  width: calc(33.33% - 10px) !important;
  max-width: calc(33.33% - 10px) !important;
}

/* Region Group Cards and visual separations */
.region-group-card {
  background-color: var(--region-bg) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--card-border) !important;
  border-radius: 10px !important;
  padding: 12px 16px !important;
  margin-bottom: 12px !important;
  box-shadow: 0 6px 20px var(--card-shadow) !important;
  box-sizing: border-box;
  transition: all 0.4s ease;
}
.region-resus { border-top: 3px solid #d32f2f !important; }
.region-beds { border-top: 3px solid #1976d2 !important; }
.region-waiting { border-top: 3px solid #388e3c !important; }

.region-group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--bed-header-border);
  padding-bottom: 6px;
}

.region-group-title {
  color: var(--text-title);
  font-size: 0.95rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.4s ease;
}

.region-group-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  background-color: var(--badge-dark-bg);
  border: 1px solid var(--badge-dark-border);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.4s ease;
}

/* Core Tile Styles */
.bed-card {
  background-color: var(--card-bg) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--card-border) !important;
  border-radius: 8px !important;
  min-height: 165px;
  padding: 14px !important;
  box-shadow: 0 4px 10px var(--card-shadow);
  box-sizing: border-box;
  border-left: 5px solid var(--empty-bed-left) !important;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), 
              box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
              border-color 0.3s ease,
              background-color 0.3s ease;
}

.bed-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px var(--card-shadow), 0 0 15px var(--tile-glow-color, rgba(255, 255, 255, 0.04));
  border-color: var(--border-hover) !important;
  background-color: var(--card-solid-bg) !important;
}

/* Empty Bed card aesthetics */
.bed-card-empty {
  background-color: var(--empty-bed-bg) !important;
  border: 1px dashed var(--empty-bed-border) !important;
  border-left: 5px solid var(--empty-bed-left) !important;
  box-shadow: none;
}

.bed-card-empty:hover {
  background-color: rgba(38, 166, 154, 0.03) !important;
  border: 1px dashed rgba(38, 166, 154, 0.3) !important;
  border-left: 5px solid #26a69a !important;
  box-shadow: 0 4px 15px rgba(38, 166, 154, 0.08);
}

.bed-header {
  font-size: 1.15rem;
  font-weight: 700;
  border-bottom: 1px solid var(--bed-header-border);
  padding-bottom: 6px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-title);
  transition: color 0.4s ease, border-color 0.4s ease;
}

/* Dynamic Triage-Driven Left Borders */
.triage-border-red { border-left: 6px solid #d32f2f !important; }
.triage-border-orange { border-left: 6px solid #f57c00 !important; }
.triage-border-yellow { border-left: 6px solid #fbc02d !important; }
.triage-border-green { border-left: 6px solid #388e3c !important; }
.triage-border-blue { border-left: 6px solid #1976d2 !important; }

.empty-text {
  color: #444444;
  font-style: italic;
  text-align: center;
  line-height: 80px;
  font-size: 0.95rem;
}

/* Patient Component Blocks */
.patient-entry {
  border-bottom: 1px dashed var(--bed-header-border);
  padding-bottom: 8px;
  margin-bottom: 8px;
}
.patient-entry:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}
.patient-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-title);
}
.meta-line {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 2px 0;
}
.time-highlight {
  color: #00897b;
  font-weight: 600;
}
body.theme-light .time-highlight {
  color: #00796b;
}

/* Action Control Split Row Grid Links */
.action-split-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.btn-notes, .btn-move-action, .btn-consult, .btn-admit, .btn-discharge, .btn-ward {
  flex: 1;
  text-transform: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.8rem;
  height: 28px !important;
  line-height: 28px !important;
  padding: 0 4px !important;
}
.btn-notes { background-color: #00695c !important; }
.btn-consult { background-color: #1976d2 !important; color: #fff !important; border: none !important; }
.btn-admit { background-color: #2e7d32 !important; color: #fff !important; border: none !important; }
.btn-discharge { background-color: #c62828 !important; color: #fff !important; border: none !important; }
.btn-ward { background-color: #6a1b9a !important; color: #fff !important; border: none !important; }
.btn-consult[disabled], .btn-admit[disabled], .btn-discharge[disabled], .btn-ward[disabled] {
  background-color: rgba(255, 255, 255, 0.05) !important;
  color: var(--text-muted) !important;
  border: 1px solid var(--card-border) !important;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none !important;
}
body.theme-light .btn-consult[disabled], body.theme-light .btn-admit[disabled], body.theme-light .btn-discharge[disabled], body.theme-light .btn-ward[disabled] {
  background-color: #eceff1 !important;
  color: #b0bec5 !important;
  border: 1px solid #cfd8dc !important;
}
.btn-move-action {
  background-color: var(--btn-secondary-bg) !important;
  color: var(--btn-secondary-text) !important;
  border: 1px solid var(--btn-secondary-border) !important;
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

/* Status Badges */
.status-badge {
  display: inline-block;
  padding: 2px 6px;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}
.status-consult { background-color: #ef6c00; color: #ffffff; }
.status-review { background-color: #6a1b9a; color: #ffffff; }
.status-ward { background-color: #2e7d32; color: #ffffff; }
.status-unknown { background-color: #424242; color: #ffffff; }

/* Table Configurations */
.custom-table { color: var(--text-color); }
.custom-table th { color: var(--table-header); font-weight: 600; border-bottom: 2px solid var(--table-border); }
.custom-table td { border-bottom: 1px solid var(--table-border); padding: 15px 10px; }
.table-badge { padding: 4px 8px; border-radius: 4px; font-weight: 600; font-size: 0.8rem; }

.dashboard-view { animation: fadeIn 0.25s ease-out forwards; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media only screen and (max-width: 992px) {
  .board-row { grid-template-columns: 1fr !important; flex-direction: column !important; }
}

/* Redesigned Clinical Resource Monitor Components */
.resource-monitor-card {
  background-color: var(--card-bg) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--card-border) !important;
  border-radius: 8px !important;
  border-top: 4px solid var(--gauge-color, #26a69a) !important;
  padding: 24px !important;
  margin-bottom: 10px;
  box-shadow: 0 10px 30px 0 var(--card-shadow) !important;
  transition: border-top-color 0.6s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.gauge-wrapper {
  max-width: 160px;
  margin: 0 auto;
  position: relative;
}

.thermometer-fluid {
  stroke: var(--gauge-color, #26a69a);
  filter: drop-shadow(0 0 4px var(--gauge-color, #26a69a));
  transition: stroke-dashoffset 0.8s cubic-bezier(0.4, 0, 0.2, 1), stroke 0.8s ease, filter 0.8s ease;
}

#thermo-fluid-bulb {
  fill: var(--gauge-color, #26a69a);
  filter: drop-shadow(0 0 5px var(--gauge-color, #26a69a));
  transition: fill 0.8s ease, filter 0.8s ease;
}

.gauge-score-value {
  font-size: 20px;
  font-weight: 800;
  fill: var(--text-title);
  transition: fill 0.4s ease;
}

.gauge-score-max {
  font-size: 7.5px;
  font-weight: 700;
  fill: var(--text-muted);
  letter-spacing: 0.8px;
  transition: fill 0.4s ease;
}

.status-badge-glass {
  display: inline-block;
  padding: 5px 14px;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  background-color: var(--badge-bg, rgba(38, 166, 154, 0.08));
  color: var(--gauge-color, #26a69a);
  border: 1px solid var(--badge-border, rgba(38, 166, 154, 0.15));
  box-shadow: 0 0 12px var(--badge-glow, rgba(38, 166, 154, 0.02));
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.triage-breakdown-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 15px;
}

@media only screen and (max-width: 600px) {
  .triage-breakdown-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.triage-grid-item {
  background-color: var(--grid-item-bg, rgba(255, 255, 255, 0.015));
  border: 1px solid var(--card-border);
  border-radius: 6px;
  padding: 8px 12px;
  box-sizing: border-box;
  transition: background-color 0.4s ease, border-color 0.4s ease;
}

.triage-bar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
  font-size: 0.78rem;
}

.triage-bar-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
}

.triage-bar-name {
  color: var(--text-muted);
  font-weight: 500;
  flex-grow: 1;
  transition: color 0.4s ease;
}

.triage-bar-val {
  color: var(--text-title);
  font-weight: 700;
  transition: color 0.4s ease;
}

.triage-bar-track {
  background-color: var(--badge-dark-bg);
  height: 5px;
  border-radius: 3px;
  overflow: hidden;
}

.triage-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.triage-dot-red, .fill-red { background-color: #d32f2f !important; }
.triage-dot-orange, .fill-orange { background-color: #ef6c00 !important; }
.triage-dot-yellow, .fill-yellow { background-color: #fbc02d !important; }
.triage-dot-green, .fill-green { background-color: #388e3c !important; }

/* Pulse Red Glow Warning for Critical burden state */
.pulse-warning {
  animation: pulse-glow-red 2.5s infinite ease-in-out;
}

@keyframes pulse-glow-red {
  0% {
    box-shadow: 0 10px 30px 0 var(--card-shadow), 0 0 0 0px rgba(211, 47, 47, 0.3) !important;
    border-color: rgba(211, 47, 47, 0.8) !important;
  }
  50% {
    box-shadow: 0 10px 30px 0 var(--card-shadow), 0 0 0 10px rgba(211, 47, 47, 0) !important;
    border-color: rgba(211, 47, 47, 0.4) !important;
  }
  100% {
    box-shadow: 0 10px 30px 0 var(--card-shadow), 0 0 0 0px rgba(211, 47, 47, 0) !important;
    border-color: rgba(211, 47, 47, 0.8) !important;
  }
}

/* Dynamic High-Contrast Theme Text Helper Utilities */
.theme-text-primary {
  color: var(--text-color) !important;
  transition: color 0.4s ease;
}
.theme-text-muted {
  color: var(--text-muted) !important;
  transition: color 0.4s ease;
}
.theme-text-title {
  color: var(--text-title) !important;
  transition: color 0.4s ease;
}
.theme-text-blue {
  color: #64b5f6 !important;
  transition: color 0.4s ease;
}
body.theme-light .theme-text-blue {
  color: #1a237e !important;
}
.theme-text-orange {
  color: #ffb74d !important;
  transition: color 0.4s ease;
}
body.theme-light .theme-text-orange {
  color: #e65100 !important;
}
.theme-text-green {
  color: #81c784 !important;
  transition: color 0.4s ease;
}
body.theme-light .theme-text-green {
  color: #2e7d32 !important;
}
.theme-text-red {
  color: #e57373 !important;
  transition: color 0.4s ease;
}
body.theme-light .theme-text-red {
  color: #c62828 !important;
}

/* Custom Login Modal styling */
.custom-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  transition: all 0.3s ease;
}

.custom-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10;
}

.custom-modal-content {
  position: relative;
  width: 90%;
  max-width: 400px;
  background-color: var(--card-solid-bg) !important;
  border: 1px solid var(--card-border) !important;
  border-radius: 8px !important;
  animation: modalSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  z-index: 20 !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5) !important;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Discovery Codes Color Mapping (7060-7064) */
.dc-7060 { color: #a5d6a7 !important; transition: color 0.4s ease; } /* Pale Green */
body.theme-light .dc-7060 { color: #388e3c !important; }

.dc-7061 { color: #81c784 !important; transition: color 0.4s ease; } /* Green */
body.theme-light .dc-7061 { color: #2e7d32 !important; }

.dc-7062 { color: #ffd54f !important; transition: color 0.4s ease; } /* Yellow */
body.theme-light .dc-7062 { color: #f57f17 !important; } /* Gold/Dark Yellow for light theme contrast */

.dc-7063 { color: #ffb74d !important; transition: color 0.4s ease; } /* Orange */
body.theme-light .dc-7063 { color: #e65100 !important; }

.dc-7064 { color: #ef5350 !important; transition: color 0.4s ease; } /* Red */
body.theme-light .dc-7064 { color: #c62828 !important; }

/* Interactive Tag Selector Components */
.selection-tag {
  display: inline-block;
  padding: 6px 14px;
  margin: 4px;
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  color: var(--text-color);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.82rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}
.selection-tag:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: var(--border-hover);
}
body.theme-light .selection-tag {
  background-color: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.08);
}
body.theme-light .selection-tag:hover {
  background-color: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.15);
}
.selection-tag.active {
  background-color: #26a69a !important;
  color: #ffffff !important;
  border-color: #26a69a !important;
  box-shadow: 0 0 10px rgba(38, 166, 154, 0.4);
}

/* Warning and Alert Banners */
.warning-banner-amber {
  margin-bottom: 20px;
  background-color: rgba(239, 108, 0, 0.08);
  border: 1px solid rgba(239, 108, 0, 0.2);
  border-radius: 4px;
  padding: 12px;
  font-size: 0.85rem;
  color: #ffb74d;
  line-height: 1.4;
}
body.theme-light .warning-banner-amber {
  background-color: #fff3e0;
  border-color: #ffe0b2;
  color: #e65100;
}

.warning-banner-red {
  background-color: rgba(211, 47, 47, 0.08);
  border: 1px solid rgba(211, 47, 47, 0.2);
  border-radius: 4px;
  padding: 12px;
  font-size: 0.85rem;
  color: #ff8a80;
  line-height: 1.5;
}
body.theme-light .warning-banner-red {
  background-color: #ffebee;
  border-color: #ffcdd2;
  color: #c62828;
}

/* Autocomplete searchable dropdown styles */
.autocomplete-results {
  position: absolute;
  left: 12px;
  right: 12px;
  background-color: #1c1c1e;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-top: none;
  border-radius: 0 0 4px 4px;
  max-height: 200px;
  overflow-y: auto;
  z-index: 999;
  box-shadow: 0 8px 16px rgba(0,0,0,0.5);
}

body.theme-light .autocomplete-results {
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.autocomplete-item {
  padding: 10px 12px;
  cursor: pointer;
  color: var(--text-color);
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background-color 0.2s ease;
}

body.theme-light .autocomplete-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.autocomplete-item:hover {
  background-color: rgba(0, 150, 136, 0.15);
}

body.theme-light .autocomplete-item:hover {
  background-color: rgba(0, 150, 136, 0.08);
}