h1.panelTitle {
    margin: 0 0 1em 0;
    font-size: 1.5em;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    color: var(--neon-blue);
    text-shadow: 0 0 5px var(--neon-blue);
}

h1#stats-callsign {
    margin: 0;
    font-size: 1.5em;
    font-family: 'Orbitron', sans-serif;
    text-align: center;
    color: var(--neon-pink);
    text-shadow: 0 0 5px var(--neon-pink);
}

p.stats-qth {
    margin-top: 0;
    font-size: 0.8em;
    text-align: center;
}

div.panel {
    background-color: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    /* Softer corners for light theme */
    color: var(--text);
    box-shadow: var(--glass-shadow);
    transition: all 0.3s ease;
}

/* Scrollbar styling for panels */
div.panel::-webkit-scrollbar {
    width: 6px;
}

div.panel::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

div.panel::-webkit-scrollbar-thumb {
    background: var(--neon-blue);
    border-radius: 3px;
}

div.menuButton {
    background-color: var(--glass-bg);
    border: 1px solid rgba(0, 123, 255, 0.2);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85em;
    letter-spacing: 1px;
    color: var(--neon-blue);
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

div.menuButton a {
    color: var(--text);
}

div.menuButtonActive {
    background-color: var(--neon-blue);
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
    text-shadow: none;
    color: white;
}

div.menuButton:hover {
    background-color: rgba(0, 123, 255, 0.1);
    transform: translateY(-1px);
}

label.configLabel {
    display: inline-block;
    white-space: nowrap;
}

input#fixedMarkerColour {
    padding: 0;
    border: none;
    height: 1.5em;
    width: 2em;
    position: relative;
    top: 3px;
}

/* Style for small info indicators */
div#loadingStatus {
    margin-bottom: 2em;
}

div#qsoFilterMessage {
    margin-top: 0.1em;
    margin-bottom: 0;
    font-size: 0.8em;
}

/* Style for small info indicators */
div#qsoFilterMessage {
    margin-bottom: 0.3em;
}

table.statsTable th {
    background-color: var(--faded);
}

div.dialog {
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    color: var(--text);
}

.leaflet-popup {
    font-size: 14px;
}

.leaflet-popup-content {
    min-width: 310px;
}

/* Marker and popup styles */
.leaflet-tooltip {
    border: none;
    background-color: transparent;
    line-height: 1em;
    font-size: 0.8em;
    font-weight: bold;
    box-shadow: none;
}

.leaflet-tooltip-bottom::before {
    display: none;
}

.leaflet-div-icon {
    background-color: transparent;
    border: none;
}

.gridSquareLabel {
    position: relative;
    top: -50%;
    left: -100%;
    text-align: center;
    color: blue;
    font-weight: bold;
}

i.markerPopupIcon {
    display: inline-block;
    vertical-align: top;
    margin-top: 0.1em;
    width: 1.2em;
}

span.popupBlock {
    display: inline-block;
    white-space: normal;
    margin-right: 1em;
}

/* Text/link styles */
a,
.leaflet-container a {
    color: var(--link-color);
    text-decoration: none;
}

a.closeButton {
    font-size: 0.8em;
}

/* Marker outlines */
.leaflet-map-pane div.outlinedmarker svg path:nth-child(2) {
    fill: black !important;
    opacity: 1.0 !important;
}

/* Leaflet.js mods */
/*noinspection CssUnusedSymbol*/
.leaflet-container .leaflet-control-attribution {
    background: none;
    color: var(--text);
}

#footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    padding: 4px 8px;
    font-size: 0.75em;
    color: #555;
    background: rgba(255,255,255,0.85);
    z-index: 1000;
    pointer-events: none;
}
#footer a {
    pointer-events: auto;
    color: #1a73e8;
    text-decoration: none;
}