/* ══════════════════════════════════════════════════════════════════
   QMyTurn Clinic Dashboard — Dark Theme + Staff UX
   Loaded after admin_dark.css; clinic-specific overrides only.
   Design: deep navy glassmorphism, color-coded doctor cards (A–F),
   3D ticket spheres, bubble queues, large "Next Ticket" action.
══════════════════════════════════════════════════════════════════ */

/* ── 0. Sidebar logo (icon + wordmark, replaces clipped square logo image) ── */
.main-sidebar .logo {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  width: 100% !important;
}
.main-sidebar .logo img.qmt-logo-icon {
  width: 32px !important;
  height: 32px !important;
  padding: 0 !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
}
.main-sidebar .logo .qmt-logo-text {
  font-size: 1.2rem !important;
  font-weight: 800 !important;
  color: rgba(255,255,255,0.92) !important;
  letter-spacing: -0.3px !important;
  white-space: nowrap !important;
  font-family: -apple-system, 'Segoe UI', Roboto, sans-serif !important;
}

/* ── 1. Three-column queue grid ── */
@media (min-width: 768px) {
  #queue-div .col-md-6 {
    -webkit-flex: 0 0 33.333%;
    flex: 0 0 33.333%;
    max-width: 33.333%;
    padding: 0 7px;
    margin-bottom: 14px;
  }
}

/* ── 2. Quick action bar ── */
.clinic-quick-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 0;
  flex-wrap: wrap;
  padding: 4px 0 8px;
}
.clinic-quick-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 12px !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  padding: 12px 22px !important;
  transition: all .18s !important;
  border: none !important;
  white-space: nowrap;
  text-decoration: none !important;
  cursor: pointer;
  flex: 1;
  justify-content: center;
}
.clinic-quick-btn .material-icons { font-size: 18px; }
.clinic-btn-walkin {
  background: linear-gradient(135deg, #00a77c, #00695c) !important;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(0,167,124,0.35) !important;
}
.clinic-btn-walkin:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 7px 24px rgba(0,167,124,0.52) !important;
  color: #fff !important;
}
.clinic-btn-appt {
  background: linear-gradient(135deg, #1565c0, #0d47a1) !important;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(21,101,192,0.35) !important;
}
.clinic-btn-appt:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 7px 24px rgba(21,101,192,0.52) !important;
  color: #fff !important;
}
.clinic-btn-remind-today {
  background: rgba(255,152,0,0.12) !important;
  border: 1px solid rgba(255,152,0,0.30) !important;
  color: #ffcc80 !important;
}
.clinic-btn-remind-today:hover {
  background: rgba(255,152,0,0.22) !important;
  color: #ffe082 !important;
}
.clinic-btn-remind-tmrw {
  background: rgba(100,181,246,0.10) !important;
  border: 1px solid rgba(100,181,246,0.26) !important;
  color: #90caf9 !important;
}
.clinic-btn-remind-tmrw:hover {
  background: rgba(100,181,246,0.20) !important;
  color: #bbdefb !important;
}

/* ── 3. Unhold queue button ── */
#unhold_queue,
.clinic-unhold-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  padding: 10px 28px !important;
  background: rgba(239,83,80,0.09) !important;
  border: 1px solid rgba(239,83,80,0.30) !important;
  color: #ff8a80 !important;
  transition: all .18s !important;
}
#unhold_queue:hover,
.clinic-unhold-btn:hover {
  background: rgba(239,83,80,0.18) !important;
  border-color: rgba(239,83,80,0.52) !important;
}

/* ── 4. Doctor card base ── */
.clinic-doc-card {
  display: flex !important;
  flex-direction: column !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  min-height: 380px;
  height: 100%;
  transition: transform .2s, box-shadow .2s !important;
}
.clinic-doc-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 16px 48px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.1) !important;
}

/* ── 5. Card header ── */
.clinic-card-header {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 15px 11px;
  border-bottom: 1px solid rgba(255,255,255,0.07) !important;
  background: transparent !important;
  color: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  letter-spacing: inherit !important;
  text-transform: none !important;
}
.clinic-doc-info { flex: 1; min-width: 0; }
.clinic-doc-name {
  font-size: 13.5px;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.clinic-doc-category {
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: .8px;
  font-weight: 600;
  margin-top: 2px;
}

/* ── 6. Doctor avatar (3D sphere per slot) ── */
.clinic-doc-avatar {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 900; color: #fff;
  flex-shrink: 0;
  letter-spacing: -0.5px;
}
.doc-slot-a .clinic-doc-avatar {
  background: radial-gradient(circle at 35% 30%, #82b1ff 0%, #1565c0 50%, #0d47a1 100%);
  box-shadow: 0 5px 16px rgba(21,101,192,0.52), inset 0 -3px 6px rgba(0,0,0,0.2), inset 0 3px 5px rgba(255,255,255,0.22);
}
.doc-slot-b .clinic-doc-avatar {
  background: radial-gradient(circle at 35% 30%, #69f0ae 0%, #00a77c 50%, #00695c 100%);
  box-shadow: 0 5px 16px rgba(0,167,124,0.52), inset 0 -3px 6px rgba(0,0,0,0.2), inset 0 3px 5px rgba(255,255,255,0.22);
}
.doc-slot-c .clinic-doc-avatar {
  background: radial-gradient(circle at 35% 30%, #ce93d8 0%, #8e24aa 50%, #6a1b9a 100%);
  box-shadow: 0 5px 16px rgba(142,36,170,0.52), inset 0 -3px 6px rgba(0,0,0,0.2), inset 0 3px 5px rgba(255,255,255,0.22);
}
.doc-slot-d .clinic-doc-avatar {
  background: radial-gradient(circle at 35% 30%, #ffcc80 0%, #ff9800 50%, #e65100 100%);
  box-shadow: 0 5px 16px rgba(255,152,0,0.52), inset 0 -3px 6px rgba(0,0,0,0.2), inset 0 3px 5px rgba(255,255,255,0.22);
}
.doc-slot-e .clinic-doc-avatar {
  background: radial-gradient(circle at 35% 30%, #ff8a80 0%, #e53935 50%, #c62828 100%);
  box-shadow: 0 5px 16px rgba(229,57,53,0.52), inset 0 -3px 6px rgba(0,0,0,0.2), inset 0 3px 5px rgba(255,255,255,0.22);
}
.doc-slot-f .clinic-doc-avatar {
  background: radial-gradient(circle at 35% 30%, #a5d6a7 0%, #2e7d32 50%, #1b5e20 100%);
  box-shadow: 0 5px 16px rgba(46,125,50,0.52), inset 0 -3px 6px rgba(0,0,0,0.2), inset 0 3px 5px rgba(255,255,255,0.22);
}

/* ── 7. Status chip ── */
.clinic-status-chip {
  font-size: 9.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  letter-spacing: .3px;
  white-space: nowrap;
  flex-shrink: 0;
  border: 1px solid;
}
.chip-available { background: rgba(0,200,83,0.13);  color: #69f0ae; border-color: rgba(0,200,83,0.26); }
.chip-lunch     { background: rgba(255,152,0,0.13);  color: #ffcc80; border-color: rgba(255,152,0,0.26); }
.chip-away      { background: rgba(239,83,80,0.13);  color: #ff8a80; border-color: rgba(239,83,80,0.26); }
.chip-custom    { background: rgba(100,181,246,0.13); color: #90caf9; border-color: rgba(100,181,246,0.26); }

.clinic-ticketing-badge {
  font-size: 9.5px;
  font-weight: 700;
  text-align: center;
  padding: 4px 8px;
  margin: 0 12px 6px;
  border-radius: 6px;
  background: rgba(120,130,145,0.16);
  color: #b0bac9;
  border: 1px solid rgba(120,130,145,0.3);
}

/* ── 8. Serving area ── */
.clinic-serving-area {
  padding: 13px 14px 9px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.clinic-serving-label {
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255,255,255,0.32);
  margin-bottom: 8px;
}
.clinic-serving-bubble {
  display: flex;
  align-items: center;
  gap: 11px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 13px;
  padding: 10px 13px;
}
.clinic-ticket-sphere {
  width: 52px; height: 52px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
/* Ticket sphere colors per slot */
.doc-slot-a .clinic-ticket-sphere {
  background: radial-gradient(circle at 35% 30%, #82b1ff 0%, #1565c0 50%, #0d47a1 100%);
  box-shadow: 0 6px 20px rgba(21,101,192,0.5), inset 0 -4px 8px rgba(0,0,0,0.2), inset 0 3px 6px rgba(255,255,255,0.24);
}
.doc-slot-b .clinic-ticket-sphere {
  background: radial-gradient(circle at 35% 30%, #69f0ae 0%, #00a77c 50%, #00695c 100%);
  box-shadow: 0 6px 20px rgba(0,167,124,0.5), inset 0 -4px 8px rgba(0,0,0,0.2), inset 0 3px 6px rgba(255,255,255,0.24);
}
.doc-slot-c .clinic-ticket-sphere {
  background: radial-gradient(circle at 35% 30%, #ce93d8 0%, #8e24aa 50%, #6a1b9a 100%);
  box-shadow: 0 6px 20px rgba(142,36,170,0.5), inset 0 -4px 8px rgba(0,0,0,0.2), inset 0 3px 6px rgba(255,255,255,0.24);
}
.doc-slot-d .clinic-ticket-sphere {
  background: radial-gradient(circle at 35% 30%, #ffcc80 0%, #ff9800 50%, #e65100 100%);
  box-shadow: 0 6px 20px rgba(255,152,0,0.5), inset 0 -4px 8px rgba(0,0,0,0.2), inset 0 3px 6px rgba(255,255,255,0.24);
}
.doc-slot-e .clinic-ticket-sphere {
  background: radial-gradient(circle at 35% 30%, #ff8a80 0%, #e53935 50%, #c62828 100%);
  box-shadow: 0 6px 20px rgba(229,57,53,0.5), inset 0 -4px 8px rgba(0,0,0,0.2), inset 0 3px 6px rgba(255,255,255,0.24);
}
.doc-slot-f .clinic-ticket-sphere {
  background: radial-gradient(circle at 35% 30%, #a5d6a7 0%, #2e7d32 50%, #1b5e20 100%);
  box-shadow: 0 6px 20px rgba(46,125,50,0.5), inset 0 -4px 8px rgba(0,0,0,0.2), inset 0 3px 6px rgba(255,255,255,0.24);
}
.clinic-ticket-code {
  font-size: 11px; font-weight: 800; color: #fff;
  line-height: 1; letter-spacing: -0.5px;
}
.clinic-ticket-num {
  font-size: 15px; font-weight: 900; color: #fff;
  line-height: 1; letter-spacing: -1px;
}
.clinic-serving-info { flex: 1; min-width: 0; }
.clinic-serving-name {
  font-size: 15px; font-weight: 700; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.clinic-serving-status {
  font-size: 10.5px; color: rgba(255,255,255,0.42);
  margin-top: 3px; display: flex; align-items: center; gap: 5px;
}
.clinic-serving-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #00e676;
  box-shadow: 0 0 7px rgba(0,230,118,0.85);
  display: inline-block; flex-shrink: 0;
}
.clinic-serving-empty {
  display: flex; align-items: center; gap: 8px;
  justify-content: center;
  padding: 14px 0;
  color: rgba(255,255,255,0.3);
  font-size: 13px; font-weight: 500;
}
.clinic-serving-empty .material-icons { font-size: 20px; opacity: .55; }

/* ── 9. Queue bubbles ── */
.clinic-queue-section { padding: 9px 13px 8px; flex: 1; }
.clinic-queue-label {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 9.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.2px; color: rgba(255,255,255,0.3);
  margin-bottom: 7px;
}
.clinic-queue-count {
  font-size: 10px; font-weight: 700;
  padding: 2px 8px; border-radius: 20px;
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.42);
}
.clinic-queue-bubbles { display: flex; flex-direction: column; gap: 5px; }
.clinic-queue-bubble {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px; padding: 7px 10px;
  transition: background .15s;
}
.clinic-queue-bubble:hover { background: rgba(255,255,255,0.08); }
.clinic-bubble-pos {
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.45);
  flex-shrink: 0;
}
.clinic-bubble-ticket {
  font-size: 11px; font-weight: 800;
  color: rgba(255,255,255,0.72);
  min-width: 36px; padding: 2px 7px;
  border-radius: 6px;
  background: rgba(255,255,255,0.06);
  text-align: center; flex-shrink: 0;
}
.clinic-ticket-priority {
  background: rgba(255,152,0,0.14) !important;
  color: #ffcc80 !important;
}
.clinic-bubble-name {
  flex: 1; font-size: 12.5px;
  color: rgba(255,255,255,0.7); font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.clinic-bubble-phone {
  font-size: 11px; color: rgba(255,255,255,0.3);
  flex-shrink: 0; white-space: nowrap;
}
.clinic-bubble-time {
  font-size: 10.5px; color: rgba(255,255,255,0.38);
  flex-shrink: 0; min-width: 34px; text-align: right;
}
.clinic-queue-empty {
  font-size: 11.5px; color: rgba(255,255,255,0.2);
  padding: 10px 0; text-align: center;
}
.clinic-status-filler { flex: 1; }

/* ── 10. Card action buttons ── */
.clinic-card-actions {
  display: flex;
  gap: 8px;
  padding: 11px 13px 13px;
  margin-top: auto;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* Big green "Next Ticket" button — most critical action */
.clinic-btn-next {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  border: none; border-radius: 12px; cursor: pointer;
  font-family: inherit; font-weight: 800; font-size: 14px; color: #fff !important;
  background: linear-gradient(135deg, #00c853, #00a040) !important;
  box-shadow: 0 5px 18px rgba(0,200,83,0.42) !important;
  padding: 13px 16px;
  transition: all .18s;
  text-decoration: none !important;
  -webkit-animation: clinic-next-pulse 2.6s ease infinite;
  animation: clinic-next-pulse 2.6s ease infinite;
}
@-webkit-keyframes clinic-next-pulse {
  0%   { box-shadow: 0 5px 18px rgba(0,200,83,0.42), 0 0 0 0 rgba(0,200,83,0.38); }
  70%  { box-shadow: 0 5px 18px rgba(0,200,83,0.42), 0 0 0 9px rgba(0,200,83,0); }
  100% { box-shadow: 0 5px 18px rgba(0,200,83,0.42), 0 0 0 0 rgba(0,200,83,0); }
}
@keyframes clinic-next-pulse {
  0%   { box-shadow: 0 5px 18px rgba(0,200,83,0.42), 0 0 0 0 rgba(0,200,83,0.38); }
  70%  { box-shadow: 0 5px 18px rgba(0,200,83,0.42), 0 0 0 9px rgba(0,200,83,0); }
  100% { box-shadow: 0 5px 18px rgba(0,200,83,0.42), 0 0 0 0 rgba(0,200,83,0); }
}
.clinic-btn-next:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 26px rgba(0,200,83,0.58) !important;
  background: linear-gradient(135deg, #00e676, #00c853) !important;
  -webkit-animation: none; animation: none;
}
.clinic-btn-next:active { transform: translateY(0) !important; }
.clinic-btn-next .material-icons { font-size: 20px; }

/* Small "Prev" button */
.clinic-btn-prev {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  border: 1px solid rgba(255,255,255,0.13) !important;
  border-radius: 12px !important; cursor: pointer;
  font-family: inherit; font-weight: 600; font-size: 12px;
  color: rgba(255,255,255,0.52) !important;
  background: rgba(255,255,255,0.05) !important;
  padding: 13px 14px;
  transition: all .18s;
  text-decoration: none !important;
  white-space: nowrap;
}
.clinic-btn-prev:hover {
  background: rgba(255,255,255,0.1) !important;
  color: rgba(255,255,255,0.82) !important;
  border-color: rgba(255,255,255,0.22) !important;
}
.clinic-btn-prev .material-icons { font-size: 16px; }

/* "Change Status" button for unavailable doctors */
.clinic-btn-status {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  border: 1px solid rgba(255,255,255,0.11) !important;
  border-radius: 12px !important; cursor: pointer;
  font-family: inherit; font-weight: 600; font-size: 12.5px;
  color: rgba(255,255,255,0.45) !important;
  background: rgba(255,255,255,0.04) !important;
  padding: 13px 16px;
  transition: all .18s;
  text-decoration: none !important;
}
.clinic-btn-status:hover {
  background: rgba(255,255,255,0.09) !important;
  color: rgba(255,255,255,0.78) !important;
  border-color: rgba(255,255,255,0.2) !important;
}
.clinic-btn-status .material-icons { font-size: 16px; }

/* ── 11. Page-level layout fixes ── */
.clinic-quick-row {
  padding: 0 15px 0;
}
#queue-div {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
#queue-div .page-header { padding: 0 !important; }
.unholdque-row { justify-content: center; }

/* ── 12. Other clinic pages — form improvements ── */
.ticket-num {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 14px !important;
  padding: 18px 20px !important;
  margin-bottom: 18px !important;
}
.ticket-num .ava {
  font-size: 10px !important; font-weight: 700 !important;
  text-transform: uppercase !important; letter-spacing: 1px !important;
  color: rgba(255,255,255,0.38) !important; margin-bottom: 6px !important;
}
#ticket_no {
  font-size: 2.4rem !important; font-weight: 900 !important;
  color: #fff !important; letter-spacing: -1px !important;
  text-shadow: 0 0 24px rgba(100,181,246,0.35) !important;
}
#ticket_no .small { font-size: 13px !important; font-weight: 400 !important; color: rgba(255,255,255,0.38) !important; text-shadow: none !important; }

/* Availability time rows (add-ticket.php) */
.availability-row { border-bottom: 1px solid rgba(255,255,255,0.05) !important; padding: 8px 0 !important; }

/* Notification update chips */
.notif-chip {
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: 10px; padding: 10px 18px; cursor: pointer;
  font-weight: 600; font-size: 13px; margin: 4px;
  border: 1px solid; transition: all .18s;
}
.notif-available { background: rgba(0,200,83,0.1);  color: #69f0ae; border-color: rgba(0,200,83,0.26); }
.notif-lunch     { background: rgba(255,152,0,0.1);  color: #ffcc80; border-color: rgba(255,152,0,0.26); }
.notif-away      { background: rgba(239,83,80,0.1);  color: #ff8a80; border-color: rgba(239,83,80,0.26); }
.notif-custom    { background: rgba(100,181,246,0.1); color: #90caf9; border-color: rgba(100,181,246,0.26); }

/* ── 13. Main navbar — clinic clinic name display ── */
.doc-clinic h2 {
  font-size: 13.5px !important; font-weight: 600 !important;
  color: rgba(255,255,255,0.78) !important;
}
.doc-clinic .timezone { color: rgba(255,255,255,0.42) !important; font-weight: 400 !important; }

/* ── 14. Responsive: 2-column on tablets ── */
@media (max-width: 991px) and (min-width: 768px) {
  #queue-div .col-md-6 {
    -webkit-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
}
@media (max-width: 767px) {
  #queue-div .col-md-6 {
    -webkit-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
  .clinic-quick-actions { flex-direction: column; }
}

/* ── 15. Clinic Reports — readability ── */
.nav-tabs { border-bottom-color: rgba(255,255,255,0.1) !important; }
.nav-tabs .nav-item { background: rgba(0,170,177,0.18) !important; }
.nav-tabs .nav-item.active {
  background: rgba(255,255,255,0.08) !important;
  border-color: rgba(0,170,177,0.5) !important;
}
.nav-tabs .nav-item.active .nav-link { color: #4dd0e1 !important; }
.nav-tabs .nav-link:hover { background: rgba(255,255,255,0.1) !important; color: #fff !important; }

/* Date-range picker trigger boxes (#demo / #demo2) were hardcoded white,
   making the "Select Date Range" label invisible on the dark theme */
.input-daterange div[id^="demo"] {
  background: rgba(255,255,255,0.07) !important;
  border: 1px solid rgba(255,255,255,0.16) !important;
  border-radius: 10px !important;
}
.input-daterange div[id^="demo"] span {
  color: rgba(255,255,255,0.85) !important;
}

/* Report tables — brighter header text than the generic admin table dimming */
.clinic-card .table thead th {
  color: rgba(255,255,255,0.65) !important;
  font-size: 11.5px !important;
}
.clinic-card .table td {
  color: rgba(255,255,255,0.8) !important;
}

/* ── 7. Configure Clinic page — grouped sections replacing one long flat form ── */
.clinic-config-section {
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 18px !important;
  margin-bottom: 22px !important;
  overflow: hidden;
}
.clinic-config-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.02);
}
.clinic-config-header .material-icons {
  font-size: 20px;
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(100,181,246,0.14);
  color: #64b5f6;
}
.clinic-config-section.accent-address .clinic-config-header .material-icons {
  background: rgba(0,200,150,0.14); color: #26d0a8;
}
.clinic-config-section.accent-settings .clinic-config-header .material-icons {
  background: rgba(255,152,0,0.14); color: #ffb74d;
}
.clinic-config-section.accent-smoothflow .clinic-config-header .material-icons {
  background: rgba(156,120,255,0.16); color: #b39cff;
}
.clinic-config-section.accent-public .clinic-config-header .material-icons {
  background: rgba(38,208,168,0.14); color: #26d0a8;
}
.clinic-config-header h6 {
  margin: 0;
  font-size: 14.5px;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
}
.clinic-config-header .clinic-config-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.42);
  margin-top: 1px;
}
.clinic-config-body {
  padding: 20px 22px 6px;
}
.clinic-config-body .form-row:last-child { margin-bottom: 0; }

/* ── 16. Pref. Language multi-select (bootstrap-multiselect) ──
   The stock widget rendered as a near-invisible light button + light dropdown
   on the dark theme (used on add/update doctor pages). Restyled to read as a
   proper dark form-control with a legible, high-contrast option list. */
.multiselect.dropdown-toggle,
button.multiselect {
  width: 100% !important;
  text-align: left !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  height: calc(2.09375rem + 8px) !important;
  padding: 0 14px !important;
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  border-radius: 8px !important;
  color: rgba(255,255,255,0.9) !important;
  font-size: 14px !important;
  box-shadow: none !important;
}
.multiselect.dropdown-toggle:hover,
.multiselect.dropdown-toggle:focus,
button.multiselect:hover,
button.multiselect:focus {
  background: rgba(255,255,255,0.1) !important;
  border-color: #1e88e5 !important;
  color: #fff !important;
  box-shadow: 0 0 0 2px rgba(30,136,229,0.25) !important;
}
.multiselect .caret {
  border-top-color: rgba(255,255,255,0.75) !important;
  margin-left: auto !important;
}
.multiselect-container.dropdown-menu {
  width: 100% !important;
  background: #0e2140 !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  border-radius: 8px !important;
  box-shadow: 0 12px 32px rgba(0,0,0,0.55) !important;
  padding: 6px !important;
  max-height: 320px;
  overflow-y: auto;
}
.multiselect-container.dropdown-menu > li > a {
  color: rgba(255,255,255,0.88) !important;
  padding: 8px 12px !important;
  border-radius: 6px !important;
}
.multiselect-container.dropdown-menu > li > a:hover,
.multiselect-container.dropdown-menu > li.active > a {
  background: rgba(30,136,229,0.28) !important;
  color: #fff !important;
}
.multiselect-container.dropdown-menu > li > a > label {
  color: inherit !important;
  font-weight: 500 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  padding: 0 !important;
}
.multiselect-container.dropdown-menu > li > a > label > input[type="checkbox"],
.multiselect-container.dropdown-menu > li > a > label > input[type="radio"] {
  width: 16px !important;
  height: 16px !important;
  accent-color: #1e88e5;
  margin: 0 !important;
}
.multiselect-container li.multiselect-item.filter { padding: 4px 4px 8px !important; }
.multiselect-container li.multiselect-item.filter input {
  background: rgba(255,255,255,0.08) !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  color: #fff !important;
  border-radius: 6px !important;
}
.multiselect-container li.multiselect-item.filter .input-group-btn .btn {
  background: rgba(255,255,255,0.08) !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  color: rgba(255,255,255,0.75) !important;
}
.multiselect-container > li.divider { background: rgba(255,255,255,0.1) !important; }
