body {
    text-transform: uppercase;
}
/* HIDE SIDEBAR NAV BUTTONS ON TABLET/MOBILE */
.mobile {
  display: none;
}
/* Show only when viewport is 1344px or smaller */
@media screen and (max-width: 1200px) {
  .mobile {
    display: block;
  }
}
.tc h4 {
    color: #fba;
}
.line {
  height: 20px;
  width: 12px;
  background: linear-gradient(#56f, #89f, #56f);
}
.footer {
    font-size: 12px;
    text-decoration: none;
    margin-left: 0px;
}
.footer a {
    font-size: 12px;
    text-decoration: none;
    margin-left: 0px;
}
a {
    text-decoration: none;
    color: #89f;
}
.time-large {
    font-size: 8.9vw;
}
.display-none {
    display: none;
}
/*.time-index {
    font-size: clamp(8rem, 9.5vw + 6rem, 10rem);
    color: #89f;
    margin-top: none;
}*/
.time-index {
    font-size: clamp(8rem, 9.5vw + 6rem, 10rem);
    margin-top: none;
}
.date-index {
    font-size: clamp(5rem, 6.5vw + 3rem, 7rem);
    color: #fba;
}
.stardate-index {
    font-size: clamp(8rem, 9.5vw + 6rem, 10rem);
}
/* DTG WEATHER PAGE */
.dtgwx-time {
    font-size: clamp(8rem, 9.5vw + 6rem, 10rem);
    margin-top: none;
}
.dtgwx-date {
    font-size: clamp(3rem, 4.5vw + 1rem, 5rem);
    color: #fba;
    margin-top: none;
}
.dtgwx-temp {
    font-size: clamp(8rem, 9.5vw + 6rem, 10rem);
    margin-top: none;
}
.dtgwx-wxcode {
    font-size: clamp(3rem, 4.5vw + 1rem, 5rem);
    color: #fba;
    margin-top: none;
}
/* WEATHER PAGE */
.wx-temp {
    font-size: clamp(1rem, 9.5vw + 6rem, 10rem);
}
.wx-feel {
    font-size: clamp(1rem, 5.5vw, 5rem);
}
.wx-code {
    font-size: clamp(1rem, 5.5vw, 5rem);
}
/* RADAR MAP */
#map, 
#map .leaflet-container {
  background: #000;
  height: 58vh;  /* or 100vh if you want fullscreen */
  width: 100%;
  border-radius: 25px;
}
/* Invert only the raster tiles of layers tagged with className: 'invert-map' */
.leaflet-pane .invert-map .leaflet-tile {
  filter: invert(1) hue-rotate(180deg) brightness(0.95) contrast(1.05);
}
.leaflet-popup-content-wrapper{
    background-color: black;
}
.leaflet-popup-tip {
    background-color: black;
}
.leaflet-popup-content {
    color: #c9f;
    font-family: Antonio;
}
/* --- Leaflet controls --- */
.leaflet-control {
  background: #000 !important;   /* black background */
  color: #c9f !important;        /* font + icon color */
  border: 1px solid #333;        /* subtle border */
  border-radius: 6px;            /* rounded edges */
  font-family: Antonio, sans-serif;
}
/* Zoom buttons (+ / -) */
.leaflet-control-zoom a {
  background: #000 !important;
  color: #c9f !important;
  border: 1px solid #333;
}
/* Hover effect for controls */
.leaflet-control a:hover {
  background: #111 !important;
  color: #fff !important;   /* brighten on hover */
}
/* Layer switcher (OpenStreetMap / OpenTopoMap) */
.leaflet-control-layers {
  background: #000 !important;
  color: #c9f !important;
}
.leaflet-control-layers label {
  color: #c9f !important;
}
/* Attribution (bottom-right text) */
.leaflet-control-attribution {
  background: #000 !important;
  color: #c9f !important;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 6px;
}
/* --- Layer Control Checkboxes --- */
.leaflet-control-layers input[type="checkbox"] {
  /* Remove default OS/browser checkbox */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border: 2px solid #c9f;
  border-radius: 3px;
  background: #000;
  cursor: pointer;
  vertical-align: middle;
  margin-right: 6px;
  position: relative;
}
/* Checked state */
.leaflet-control-layers input[type="checkbox"]:checked {
  background-color: #c9f;
}
/* Optional: add a "checkmark" using ::after */
.leaflet-control-layers input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 0px;
  width: 4px;
  height: 8px;
  border: solid #000;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
/* GOOGLE HOME COMMANDS */
.ghc-title {
    color: #fba;
}
.on {
    color: #993;
}
.off {
    color: #c44;
}
.difference {
    color: #89f;
}
/* TRAFFIC PAGE */
.eta {
    font-size: clamp(5rem, 7.5vw + 4rem, 8rem);
    margin-top: none;
}
.eta-nowrap {
    flex-wrap: nowrap;
}
.nowrap {
    flex-wrap: nowrap;
}
/* COUNTDOWN TIMER */
.countdown {
    font-size: clamp(8rem, 9.5vw + 6rem, 10rem);
    margin-top: none;
}
/* FORM INPUTS */
/* Base input style (shared) */
.lcars-input {
  width: 12ch;                 /* sized to 4 digits comfortably, adjustable */
  font: inherit;
  font-weight: 700;
  font-variant-numeric: tabular-nums; /* mono-like numerals */
  letter-spacing: 0.08em;
  color: #c9f;                 /* your LCARS violet you've been using */
  background: transparent;
  border: none;
  outline: none;
  caret-color: #c9f;
  padding: .25rem .25rem .5rem .25rem;  /* a touch of bottom space for the bar */
  transition: filter .2s ease, opacity .2s ease, transform .1s ease;
}

/* Placeholder */
.lcars-input::placeholder {
  color: rgba(201, 153, 255, .35); /* #c9f, soft */
  letter-spacing: 0.08em;
}

/* Remove iOS zoom bump on focus (optional) */
@supports (-webkit-touch-callout: none) {
  .lcars-input { font-size: 20px; }
}

/* Underline variant: subtle idle line + animated accent on focus */
.lcars-input--underline {
  position: relative;
  border-bottom: 3px solid rgba(201, 153, 255, .25);
}

.lcars-input--underline:focus {
  border-bottom-color: rgba(201, 153, 255, .55);
}

/* Focus accent bar “grows” in like an LCARS scanline */
.lcars-input--underline::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -3px;               /* sits on top of the border */
  height: 3px;
  background: var(--button-color, #f6a); /* reuse your button color as accent */
  transition: right .22s ease;
}

.lcars-input--underline:focus::after {
  right: 0;                    /* animates to full width */
}

/* Invalid (e.g., not 4 digits) */
.lcars-input:invalid:not(:placeholder-shown) {
  border-bottom-color: rgba(255, 102, 102, .75);
}

.lcars-input--underline:invalid:not(:placeholder-shown)::after {
  background: #ff6666;
  right: 0;
}

/* Disabled (when timer is running) */
.lcars-input:disabled {
  opacity: .5;
  filter: saturate(.8);
  cursor: not-allowed;
}
