/* Transport controls — aligned with the professional EventMap modes interface. */
.tr-panel {border-top:1px solid #334253;padding:20px 19px 22px;color:#dce6ec;font:400 12px/1.5 Inter,system-ui,sans-serif}
.tr-panel-heading {display:flex;justify-content:space-between;gap:8px;font-size:9px;letter-spacing:1.3px;font-weight:700;color:#88a4b6}
.tr-version {font-weight:500;color:#758da0;letter-spacing:.6px}
.tr-panel-title {display:flex;justify-content:space-between;align-items:center;margin:9px 0 4px;font-size:15px;letter-spacing:-.2px;font-weight:650;color:#f0f6fa}
#tr-feed-status {font-size:10px;font-weight:600;color:#98d2c6;background:#18352f;border-radius:4px;padding:4px 7px;white-space:nowrap}
#tr-feed-status[data-warning="true"] {color:#e1ba8c;background:#3c3027}
.tr-panel-caption {color:#8c9ba9;margin:0 0 14px;font-size:11px;line-height:1.6}
.tr-layer-row {display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #273544;padding:10px 0;font-size:12px;font-weight:600;color:#e5edf2;cursor:pointer}
.tr-layer-row small {display:block;font-size:10px;color:#8498a8;font-weight:450;margin-top:2px}
.tr-layer-row input {flex:none;accent-color:#4b95ba;width:16px;height:16px}
.tr-modes {display:flex;gap:7px;flex-wrap:wrap;margin:3px 0 13px}
.tr-modes label {display:inline-flex;gap:6px;align-items:center;border:1px solid #344555;background:#1d2b38;color:#c6d5df;border-radius:5px;padding:5px 7px;font-size:10px;cursor:pointer}
.tr-modes input {accent-color:#4990b0;margin:0}
.tr-scale {display:flex;gap:12px;flex-wrap:wrap;padding:9px 0 13px;color:#8c9da9;font-size:10px}
.tr-scale span {display:inline-flex;gap:5px;align-items:center}
.tr-mode-dot {width:8px;height:8px;display:inline-block;border-radius:50%}
.tr-bus {background:#2c83ba}.tr-tram {background:#c77c39}.tr-trolleybus {background:#588c7b}
.tr-source-note {border-top:1px solid #2e3b48;padding-top:12px;color:#8194a2;font-size:9px;line-height:1.9;letter-spacing:.1px}
#tr-info-popup {z-index:15;position:absolute;bottom:65px;left:60px;max-width:min(340px,calc(100% - 85px));background:#182633;border:1px solid #3b5163;border-radius:8px;box-shadow:0 12px 32px #0008;color:#eef3f7}
#tr-info-popup[hidden] {display:none}
.tr-detail {position:relative;padding:15px 16px;font:400 11px/1.5 Inter,system-ui,sans-serif}
.tr-detail>strong {display:block;padding-right:24px;font-size:15px;margin-bottom:10px}
.tr-detail>div {display:flex;justify-content:space-between;gap:14px;padding:5px 0;border-bottom:1px solid #ffffff11}
.tr-detail>div span {color:#96a9b8}
.tr-detail>div b {font-weight:550;color:#ecf3f7;text-align:right}
.tr-detail>small {display:block;margin-top:12px;color:#96a9b8;line-height:1.5}
.tr-info-close {position:absolute;right:8px;top:7px;background:none;color:#b9c9d4;border:0;font-size:22px;cursor:pointer}
@media(max-width:730px){.tr-panel{padding:14px 13px}#tr-info-popup {left:12px;bottom:15px;max-width:calc(100% - 24px)}}

/* EVENTMAP_TRAFFIC_AUTOMATIC_SOFIA_V1 */
#map-options .em-tm-transport-section,
#map-options #tr-panel {display:none!important;}
.tr-route-status {margin:12px 0 8px;color:#8bccec;font-size:11px;line-height:1.5}
.tr-route-clear {border:1px solid #396c90;background:#123c56;color:#d6efff;
  border-radius:7px;padding:7px 12px;font-weight:650;font-size:11px;cursor:pointer}
.tr-route-clear:hover {background:#1a587b}

/* EVENTMAP_DESKTOP_TRAFFIC_SEARCH_FIX_V2 */
/* Desktop transport selection lives on the map, not in a covering popup. */
@media (min-width:900px) {
  #tr-info-popup, #em-search-transit-banner {display:none!important;}
}
