/* QueueMe call display — intentionally high contrast; route and bell motifs never compete with the number. */
:root {
  --primary: #62a9ff;
  --primary-dark: #1f57c3;
  --success: #7ee0bc;
  --warning: #f3c36b;
  --bg: #0d2944;
  --bg-white: #ffffff;
  --text: #f8fffc;
  --text-secondary: #b9d2df;
  --text-light: #8eabbc;
  --border: rgba(185, 228, 212, .24);
  --shadow: 0 16px 40px rgba(0, 17, 34, .32);
}

body { background: #081d32; }
.display-container { background: #0d2944; }
.display-header {
  position: relative;
  overflow: hidden;
  background: #123a68;
  box-shadow: 0 4px 18px rgba(0,17,34,.30);
}
.display-header::before {
  content: "";
  position: absolute;
  width: 230px;
  height: 92px;
  right: 10%;
  top: -62px;
  border: 14px solid rgba(185,228,212,.27);
  border-bottom: 0;
  border-radius: 130px 130px 0 0;
  transform: rotate(-9deg);
}
.display-header::after {
  content: "";
  position: absolute;
  right: 13%;
  bottom: 17px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: -28px -14px 0 -1px var(--primary), -57px 2px 0 -1px #ef8269;
}
.store-name, .current-time { position: relative; z-index: 1; color: #fff; }
.display-main {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 82%, rgba(98,169,255,.20) 0 3px, transparent 4px),
    radial-gradient(circle at calc(82% - 27px) calc(82% - 19px), rgba(126,224,188,.28) 0 5px, transparent 6px),
    linear-gradient(135deg, #0d2944 0%, #102f50 100%);
}
.display-main::before {
  content: "";
  position: absolute;
  left: -12%;
  right: 18%;
  bottom: -72%;
  height: 85%;
  border: 2px solid rgba(185,228,212,.16);
  border-top: 0;
  border-radius: 0 0 60% 45%;
  transform: rotate(-5deg);
  pointer-events: none;
}
.single-counter-display, .multi-counter-display { position: relative; z-index: 1; }
.service-label, .counter-label, .waiting-label { color: #b9d2df; }
.current-number, .counter-number {
  color: #f8fffc;
  text-shadow: 0 0 0 #fff, 0 10px 34px rgba(98,169,255,.32);
}
.counter-info { color: #e4f5ec; }
.counter-card {
  border-color: rgba(185,228,212,.18);
  border-radius: 25px 12px 25px 25px;
  background: rgba(7, 31, 54, .52);
  box-shadow: 0 12px 30px rgba(0,17,34,.24);
}
.counter-card.active {
  border-color: var(--success);
  box-shadow: 0 0 0 2px rgba(126,224,188,.20), 0 16px 36px rgba(0,17,34,.30);
}
.counter-status { color: #b9d2df; }
.waiting-section { background: rgba(7, 31, 54, .36); border-top-color: rgba(185,228,212,.20); }
.waiting-numbers { color: #f8fffc; }
.waiting-number {
  border-color: rgba(98,169,255,.48);
  border-radius: 16px 8px 16px 16px;
  background: rgba(98,169,255,.14);
  color: #fff;
}
.waiting-number:hover { box-shadow: 0 6px 16px rgba(0,17,34,.30); }
.display-footer { background: #081f36; border-top-color: rgba(185,228,212,.18); }
.powered-by, .connection-status { color: #9db6c7; }
.icon-btn { color: #d5f3e4; }
.icon-btn:hover { color: #fff; opacity: 1; }
.status-dot { background: var(--success); box-shadow: 0 0 0 4px rgba(126,224,188,.13); }
.status-dot.disconnected { background: var(--warning); }

/* Configuration remains a readable light overlay above the high-contrast board. */
.settings-panel { border: 1px solid #dce8e6; border-radius: 25px 12px 25px 25px; box-shadow: 0 26px 70px rgba(0,17,34,.44); }
.settings-header { border-bottom-color: #dce8e6; }
.settings-header h3 { color: #17324d; }
.settings-close { background: #edf7f3; color: #17324d; }
.settings-close:hover { background: #dcefe6; }
.settings-body { color: #17324d; }
.setting-item > label { color: #17324d; }
.setting-hint { color: #65788b; }
.slider-value { color: #1f57c3; }
.slider-container input[type="range"]::-webkit-slider-thumb { background: #1f57c3; }
.slider-container input[type="range"]::-moz-range-thumb { background: #1f57c3; }

@media (max-width: 720px) {
  .display-header { padding: 16px 20px; }
  .display-header::after { right: 18%; bottom: 10px; }
  .store-name { font-size: 24px; }
  .current-time { font-size: 20px; }
  .display-main { padding: 20px; }
  .waiting-section, .display-footer { padding: 16px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
