#map { height: 500px !important; width: 100%; display: block; }
.psk-map-wrapper { position: relative; min-height: 500px; }
/* Kill de witte Leaflet popup styling */
.leaflet-bootstrap-popup .leaflet-popup-content-wrapper,
.leaflet-bootstrap-popup .leaflet-popup-tip {
    background-color: var(--bs-body-bg) !important;
    color: var(--bs-body-color) !important;
    box-shadow: 0 3px 14px rgba(0,0,0,0.4);
    border: 1px solid var(--bs-border-color);
}

.leaflet-bootstrap-popup .leaflet-popup-content {
    margin: 0; /* Bootstrap padding in de div doet de rest */
}

#map {
    height: 600px;
    width: 100%;
    z-index: 1;
}

.map-overlay-info {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.85);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 4px;
    font-family: 'Segoe UI', Arial, sans-serif;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    pointer-events: none;
    min-width: 180px;
}

#map-stat-count { color: #ffc107; font-weight: bold; }
#map-last-update { font-size: 0.85em; opacity: 0.8; margin-top: 4px; }
.map-filter-card { border: none; }

/* Verwijder de witte Leaflet ballon en gebruik Bootstrap thema variabelen */
.leaflet-popup-content-wrapper, 
.leaflet-popup-tip {
    background-color: var(--bs-body-bg) !important;
    color: var(--bs-body-color) !important;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.1); /* Subtiele rand voor dark mode */
}

/* Zorg dat de content de hele breedte vult zonder witte marges */
.leaflet-popup-content {
    margin: 12px !important; 
    line-height: 1.2 !important;
    width: auto !important;
}

/* Fix voor het sluitkruisje */
.leaflet-popup-close-button {
    color: var(--bs-body-color) !important;
    padding: 10px 10px 0 0 !important;
}

.pskmapwrapper { height: 700px; width:100%; z-index: 1;}
.mapcontainer { top: 10px; right: 10px; z-index: 1000; min-width: 150px; }

/* Turbo progress bar styling */
.turbo-progress-bar {
  height: 3px;
  background-color: #207BE4; /* Of je eigen themakleur */
  z-index: 2000;
}

/* Claim de class zodat Turbo stopt met injecteren */
.turbo-progress-bar {
    height: 2px;
    background-color: #207BE4;
    display: none; /* Of laat het staan als je de bar wel wilt zien */
}

.flagfmt { width:16px;height:11px;}

.swarl-sort-btn {
    cursor: pointer !important;
}

.swarl-sort-btn:hover {
    background-color: #343a40 !important;
}

body { padding-top: 2.5rem; padding-bottom: 3.5rem; }

.breadcrumb-item + .breadcrumb-item::before {
    padding: 0 !important;
    margin: 0 !important;
    content: "/" !important;
    color: #0d6efd;
}

.breadcrumb-item:first-child::before {
    content: "pa11674@swl:~" !important;
    color: #28a745;
    padding: 0 !important;
    margin: 0 !important;
    font-family: 'Courier New', monospace;
}

.breadcrumb-item {
    padding-left: 0 !important;
}

.breadcrumb-item.active {
    color: inherit;
}
.nound { text-decoration: none!important; }

.ticker-bar {
  min-height: 30px;
  display: flex;
  align-items: center;
}

.ticker-container {
  height: 30px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.ticker-content {
  opacity: 1;
  transition: opacity 0.6s ease-in-out;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ticker-faded {
  opacity: 0 !important;
}

/* PSK Reporter Band Kleuren */
.badge-band-160m { background-color: #ff9999 !important; color: #000 !important; }
.badge-band-80m  { background-color: #99ff99 !important; color: #000 !important; }
.badge-band-60m  { background-color: #ffff99 !important; color: #000 !important; }
.badge-band-40m  { background-color: #99ccff !important; color: #000 !important; }
.badge-band-30m  { background-color: #ffcc99 !important; color: #000 !important; }
.badge-band-20m  { background-color: #cc99ff !important; color: #000 !important; }
.badge-band-17m  { background-color: #99ffff !important; color: #000 !important; }
.badge-band-15m  { background-color: #ff99ff !important; color: #000 !important; }
.badge-band-12m  { background-color: #ccff99 !important; color: #000 !important; }
.badge-band-10m  { background-color: #ffffff !important; color: #000 !important; border: 1px solid #ccc; }
.badge-band-6m   { background-color: #99ffd1 !important; color: #000 !important; }
.badge-band-2m   { background-color: #d1d1d1 !important; color: #000 !important; }

/* NIEUW: Toegevoegd voor de popup tabel structuur (CSP-proof) */
.psk-popup-container { padding: 4px; min-width: 260px; }
.psk-popup-header { text-align: center; margin-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 4px; }
.psk-popup-title { margin: 0; color: #0d6efd; font-weight: bold; }
.psk-active-title { font-weight: bold; margin-bottom: 4px; font-size: 0.85rem; color: #ffc107; }
.psk-popup-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.psk-popup-row { border-bottom: 1px solid rgba(255,255,255,0.1); }
.psk-call-cell { font-weight: bold; padding: 4px 0; }
.psk-call-link { color: #0dcaf0 !important; text-decoration: none; }
.psk-time-cell { color: #adb5bd; white-space: nowrap; padding: 4px; opacity: 0.75; }
.psk-mode-cell { font-size: 0.75rem; padding: 4px; opacity: 0.75; }
.psk-band-cell { text-align: right; padding: 4px 0; }
.psk-band-badge { min-width: 42px; display: inline-block; font-weight: bold; text-align: center; border-radius: 3px; }