/* wxtrack.css - orbital tracking page, matched to the black template (gold #CC9933 accents) */
#wxt { color: #e6e6e6; text-align: left; }
#wxt p, #wxt td, #wxt .wxt-legend { text-align: left; word-spacing: normal; }
#wxt h1 { margin: 0 0 10px; }
#wxt .wxt-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px;
  background: #1c1c1c; border: 1px solid #333; border-bottom: none; border-radius: 6px 6px 0 0; padding: 8px 12px; }
#wxt .wxt-bar label { color: #CC9933; font-weight: bold; }
#wxt select {
  margin-left: 6px; padding: 4px 8px; font-size: 1em;
  background: #1c1c1c; color: #fff; border: 1px solid #CC9933; border-radius: 4px;
}
#wxt .wxt-bar label.wxt-all { color: #ccc; font-weight: normal; cursor: pointer; }
#wxt .wxt-all input { vertical-align: middle; margin-right: 4px; }
#wxt-clock { color: #bbb; font-variant-numeric: tabular-nums; }
#wxt-map { height: 380px; background: #0d1620; border: 1px solid #333; border-radius: 0; }
#wxt .wxt-legend { font-size: 0.85em; color: #bbb; background: #1c1c1c; border: 1px solid #333; border-top: none;
  border-radius: 0 0 6px 6px; padding: 6px 12px; margin: 0; }
#wxt .wxt-legend span { margin-right: 14px; white-space: nowrap; display: inline-block; }
#wxt-status { color: #b00020; font-weight: bold; }
#wxt-status:empty { display: none; }

#wxt .wxt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
#wxt .wxt-card { background: #1c1c1c; border: 1px solid #333; border-radius: 6px; padding: 10px 14px; margin-top: 12px; }
#wxt .wxt-grid .wxt-card { margin-top: 0; }
#wxt .wxt-card h3 { color: #CC9933; margin: 0 0 8px; font-size: 1.05em; }
#wxt .wxt-card p { margin: 0; line-height: 1.45; }
#wxt dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0; }
#wxt dt { color: #999; }
#wxt dd { margin: 0; color: #fff; font-variant-numeric: tabular-nums; }
#wxt .wxt-lit { color: #ffd84d; }
#wxt .wxt-dark { color: #8fa8ff; }
#wxt .wxt-up { color: #7dff9a; }

#wxt .wxt-cardhead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 8px; }
#wxt .wxt-cardhead h3 { margin: 0; }
#wxt .wxt-cardhead label { color: #bbb; font-size: 0.9em; }
#wxt .wxt-cardhead select { font-size: 0.95em; padding: 2px 6px; }
#wxt .wxt-bright { color: #ffd84d; }
#wxt .wxt-peak { color: #9fd3ff; margin-left: 6px; display: none; }
#wxt td.wxt-hi b { color: #9fd3ff; font-weight: 600; }
@media (max-width: 760px) {           /* narrow: fold the peak height into Start */
  #wxt .wxt-hi { display: none; }
  #wxt .wxt-peak { display: inline; }
}
#wxt-passes { width: 100%; border-collapse: collapse; font-size: 0.92em; }
#wxt-passes th { color: #CC9933; text-align: left; padding: 4px 6px; border-bottom: 1px solid #444; }
#wxt-passes td { padding: 4px 6px; border-bottom: 1px solid #2a2a2a; white-space: nowrap; font-variant-numeric: tabular-nums; }
#wxt-passes td.wxt-none { white-space: normal; color: #bbb; }
#wxt .wxt-sw { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; }
#wxt .wxt-note { font-size: 0.85em; color: #aaa; margin-top: 6px; }
#wxt .wxt-credit { font-size: 0.85em; color: #333; margin-top: 8px; }
#wxt .wxt-credit a { color: #6b4e12; }
#wxt a { color: #CC9933; }

/* Leaflet tweaks for the dark map */
#wxt .leaflet-container { font: inherit; font-size: 0.85em; }
#wxt .leaflet-tooltip { background: #1c1c1c; color: #fff; border: 1px solid #555; box-shadow: none; }
#wxt .leaflet-tooltip.wxt-tip-sel { border-color: #CC9933; color: #CC9933; font-weight: bold; }
#wxt .leaflet-tooltip-right:before { border-right-color: #555; }
#wxt .leaflet-control-attribution { background: rgba(0,0,0,0.6); color: #aaa; }
#wxt .leaflet-control-attribution a { color: #ccc; }

@media (max-width: 620px) {
  #wxt .wxt-grid { grid-template-columns: 1fr; }
  #wxt-map { height: 280px; }
  #wxt-passes { font-size: 0.8em; }
}
