/* Classic / Modern style toggle — shared by both themes */
.wx-theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.12);
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 11px;
  line-height: 1;
  vertical-align: middle;
}
.wx-theme-toggle .wx-theme-label {
  padding: 0 6px 0 8px;
  color: #555;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 9px;
}
.wx-theme-toggle .wx-theme-opt {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  text-decoration: none;
  color: #333;
  font-weight: bold;
}
.wx-theme-toggle .wx-theme-opt:hover {
  background: rgba(255,255,255,0.55);
  color: #000;
}
.wx-theme-toggle .wx-theme-opt.active {
  background: #3173B1;
  color: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
.wx-theme-toggle-mobile {
  margin: 8px 0 0 0;
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.25);
}
.wx-theme-toggle-mobile .wx-theme-label { color: rgba(255,255,255,0.85); }
.wx-theme-toggle-mobile .wx-theme-opt { color: #fff; }
.wx-theme-toggle-mobile .wx-theme-opt:hover { background: rgba(255,255,255,0.2); color: #fff; }
.wx-theme-toggle-mobile .wx-theme-opt.active {
  background: #fff;
  color: #1a3a52;
}

/* Desktop classic: park toggle in header */
#header .wx-theme-toggle {
  position: absolute;
  top: 8px;
  right: 10px;
  z-index: 20;
}
#header { position: relative; }

/* Keep classic header title clear of the toggle */
.theme-classic #header,
body:not(.theme-modern) #header {
  /* toggle is position:absolute top-right */
}
#header .headerTitle {
  padding-right: 160px;
  max-width: calc(100% - 170px);
}


/* Live data feed toggle (About page) — mirrors style toggle look */
.wx-feed-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.12);
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 11px;
  line-height: 1;
  vertical-align: middle;
  margin: 0.4em 0 0.8em 0;
}
.wx-feed-toggle .wx-feed-label {
  padding: 0 6px 0 8px;
  color: #555;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 9px;
}
.wx-feed-toggle .wx-feed-opt {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  text-decoration: none;
  color: #333;
  font-weight: bold;
}
.wx-feed-toggle .wx-feed-opt:hover {
  background: rgba(255,255,255,0.55);
  color: #000;
}
.wx-feed-toggle .wx-feed-opt.active {
  background: #3173B1;
  color: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
.wx-feed-toggle-mobile {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.25);
}
.wx-feed-toggle-mobile .wx-feed-label { color: rgba(255,255,255,0.85); }
.wx-feed-toggle-mobile .wx-feed-opt { color: #fff; }
.wx-feed-toggle-mobile .wx-feed-opt:hover { background: rgba(255,255,255,0.2); color: #fff; }
.wx-feed-toggle-mobile .wx-feed-opt.active {
  background: #fff;
  color: #1a3a52;
}
.wx-feed-panel {
  margin: 0.75em 0 1.25em 0;
}
.wx-feed-status {
  margin: 0.5em 0 0 0;
  padding-left: 1.2em;
  font-size: 0.95em;
}
.wx-feed-note {
  font-size: 0.9em;
  color: #555;
}
.theme-modern .wx-feed-toggle .wx-feed-opt.active {
  background: #1a5f7a;
}


/* Active live-data feed indicator (sidebar + mobile footer) */
.wx-feed-indicator {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 8px 5px 10px 5px;
  padding: 6px 8px;
  border-radius: 6px;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 11px;
  line-height: 1.3;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(0,0,0,0.04);
}
.wx-feed-indicator-label {
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 9px;
  color: #666;
}
.wx-feed-indicator-value {
  font-weight: bold;
  color: #1a3a52;
}
.wx-feed-indicator.feed-api .wx-feed-indicator-value { color: #0d6e4f; }
.wx-feed-indicator.feed-mb .wx-feed-indicator-value { color: #3173B1; }
.wx-feed-indicator a {
  color: #3173B1;
  text-decoration: none;
  font-weight: bold;
}
.wx-feed-indicator a:hover { text-decoration: underline; }
.wx-feed-indicator-sidebar {
  margin-left: 5px;
  margin-right: 5px;
}
.wx-feed-indicator-mobile {
  margin: 10px 0 0 0;
  justify-content: center;
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
}
.wx-feed-indicator-mobile .wx-feed-indicator-label,
.wx-feed-indicator-mobile .wx-feed-indicator-value,
.wx-feed-indicator-mobile a {
  color: #fff;
}
.theme-modern .wx-feed-indicator.feed-api .wx-feed-indicator-value { color: #1a7a5c; }
.theme-modern .wx-feed-indicator.feed-mb .wx-feed-indicator-value { color: #1a5f7a; }

.wx-feed-indicator .wx-feed-opt {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  text-decoration: none;
  color: #333;
  font-weight: bold;
}
.wx-feed-indicator .wx-feed-opt:hover {
  background: rgba(255,255,255,0.55);
}
.wx-feed-indicator .wx-feed-opt.active {
  background: #3173B1;
  color: #fff;
}
.wx-feed-indicator.feed-api .wx-feed-opt.active {
  background: #0d6e4f;
}
.wx-feed-indicator-mobile .wx-feed-opt { color: #fff; }
.wx-feed-indicator-mobile .wx-feed-opt:hover { background: rgba(255,255,255,0.2); }
.wx-feed-indicator-mobile .wx-feed-opt.active {
  background: #fff;
  color: #1a3a52;
}


/* Third feed: Local Radio */
.wx-feed-indicator.feed-radio .wx-feed-indicator-value { color: #8a5a00; }
.wx-feed-indicator.feed-radio .wx-feed-opt.active {
  background: #c48a1a;
  color: #fff;
}
.theme-modern .wx-feed-indicator.feed-radio .wx-feed-indicator-value { color: #b87a10; }
.wx-feed-toggle-3 .wx-feed-opt,
.wx-feed-indicator-3 .wx-feed-opt {
  padding: 5px 8px;
  font-size: 10px;
}
