/* ==========================================================
   SPARE DRIVERS™ — UNIFORM THEME CONTROL
   Large, high-contrast, senior-friendly control shared by
   Public / Customer / Driver / Admin.
========================================================== */
.sd-theme-control {
  min-width: 76px !important;
  min-height: 44px !important;
  height: 44px !important;
  padding: 6px 11px !important;
  border: 1px solid rgba(212,175,55,.38) !important;
  border-radius: 22px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  cursor: pointer !important;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  font-family: Inter, system-ui, sans-serif !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: .3px !important;
  color: var(--text-primary, #f5f5f5) !important;
  background: rgba(255,255,255,.06) !important;
  box-shadow: 0 2px 10px rgba(0,0,0,.12) !important;
  transition: transform .18s ease, background .18s ease, border-color .18s ease !important;
}
.sd-theme-control:hover { background: rgba(212,175,55,.12) !important; }
.sd-theme-control:active { transform: scale(.96) !important; }
.sd-theme-symbol {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  font-weight: 800;
  color: #d4af37;
  flex: 0 0 24px;
}
.sd-theme-label {
  min-width: 34px;
  text-align: center;
  font-size: 12px;
  font-weight: 900;
}
[data-theme="light"] .sd-theme-control {
  color: #172033 !important;
  background: #ffffff !important;
  border-color: rgba(180,145,30,.52) !important;
  box-shadow: 0 2px 12px rgba(0,0,0,.10) !important;
}
[data-theme="dark"] .sd-theme-control {
  color: #f5f5f5 !important;
  background: #111111 !important;
  border-color: rgba(212,175,55,.48) !important;
}
@media (max-width: 430px) {
  .sd-theme-control { min-width: 72px !important; padding-left: 9px !important; padding-right: 9px !important; }
  .sd-theme-symbol { font-size: 20px; }
  .sd-theme-label { font-size: 11px; }
}

/* Final accessibility polish */
.sd-theme-control:focus-visible{
  outline:3px solid rgba(212,175,55,.42)!important;
  outline-offset:2px!important;
}
[data-theme="light"] .sd-theme-control{
  background:linear-gradient(180deg,#ffffff 0%,#fffaf0 100%)!important;
  color:#171717!important;
  border-color:#c59b27!important;
  box-shadow:0 4px 14px rgba(15,23,42,.10),0 2px 8px rgba(180,145,30,.10)!important;
}
[data-theme="dark"] .sd-theme-control{
  background:linear-gradient(180deg,#151515 0%,#0d0d0d 100%)!important;
  border-color:rgba(212,175,55,.55)!important;
  box-shadow:0 4px 14px rgba(0,0,0,.28)!important;
}
.sd-theme-label{font-size:12px!important;font-weight:900!important;letter-spacing:.35px!important}
.sd-theme-symbol{font-size:21px!important;font-weight:900!important}
