* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: #1a1a2e;
    color: #eee;
    min-height: 100vh;
}

/* Header */
.header {
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
    gap: 20px;
}

.header-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.header h1 {
    font-size: 1.3rem;
    color: #4cc9f0;
}

.last-update {
    font-size: 0.75rem;
    color: #666;
}

.header-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header .status {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff4444;
}

.status-indicator.connected {
    background: #00ff88;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Propagation Index */
.propagation-index {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 20px;
    border-radius: 8px;
    background: #1a1a2e;
    border: 2px solid #333;
    min-width: 140px;
    transition: all 0.3s ease;
}

.propagation-index .index-label {
    font-size: 0.6rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.propagation-index .index-value {
    font-size: 1.8rem;
    font-weight: bold;
    color: #888;
}

.propagation-index .index-status {
    font-size: 0.75rem;
    font-weight: bold;
    color: #888;
}

.propagation-index .index-trend {
    font-size: 0.65rem;
    margin-top: 2px;
}

.propagation-index.normal {
    border-color: #444;
}
.propagation-index.normal .index-value,
.propagation-index.normal .index-status {
    color: #888;
}

.propagation-index.fair {
    border-color: #ffd700;
}
.propagation-index.fair .index-value,
.propagation-index.fair .index-status {
    color: #ffd700;
}

.propagation-index.good {
    border-color: #ff6b35;
    background: rgba(255, 107, 53, 0.1);
}
.propagation-index.good .index-value,
.propagation-index.good .index-status {
    color: #ff6b35;
}

.propagation-index.excellent {
    border-color: #00ff88;
    background: rgba(0, 255, 136, 0.15);
    animation: pulseGlow 1.5s ease-in-out infinite;
}
.propagation-index.excellent .index-value,
.propagation-index.excellent .index-status {
    color: #00ff88;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(0, 255, 136, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 255, 136, 0.6);
    }
}

.index-trend.improving { color: #00ff88; }
.index-trend.declining { color: #ff4444; }
.index-trend.stable { color: #888; }

/* Refresh button */
.refresh-icon {
    display: inline-block;
    transition: transform 0.3s;
}

#refresh-btn:hover .refresh-icon {
    transform: rotate(180deg);
}

/* Main Layout */
.main-container {
    display: grid;
    grid-template-columns: 1fr 380px;
    height: calc(100vh - 60px);
}

/* Map */
#map {
    width: 100%;
    height: 100%;
    background: #0d1117;
}

/* Home marker */
.home-marker-container {
    background: transparent !important;
    border: none !important;
}

.home-marker {
    font-size: 24px;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8), 0 2px 4px rgba(0, 0, 0, 0.5);
    animation: homeMarkerPulse 2s ease-in-out infinite;
}

@keyframes homeMarkerPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Sidebar */
.sidebar {
    background: #16213e;
    overflow-y: auto;
    border-left: 1px solid #333;
}

.sidebar-section {
    padding: 15px;
    border-bottom: 1px solid #333;
}

.sidebar-section h2 {
    font-size: 1rem;
    color: #4cc9f0;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.stat-card {
    background: #1a1a2e;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
}

.stat-card .value {
    font-size: 1.8rem;
    font-weight: bold;
    color: #4cc9f0;
}

.stat-card .label {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
}

.stat-card.enhanced .value {
    color: #ff6b35;
}

.stat-card.extreme .value {
    color: #ff0844;
}

/* Filter Controls */
.filter-controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.search-input {
    width: 100%;
    padding: 8px 12px;
    background: #1a1a2e;
    border: 1px solid #333;
    border-radius: 4px;
    color: #eee;
    font-size: 0.9rem;
}

.search-input:focus {
    outline: none;
    border-color: #4cc9f0;
}

.filter-buttons {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.filter-btn {
    background: #1a1a2e;
    color: #888;
    border: 1px solid #333;
    padding: 4px 10px;
    font-size: 0.75rem;
}

.filter-btn:hover {
    background: #2a2a4e;
    color: #fff;
}

.filter-btn.active {
    background: #4cc9f0;
    color: #1a1a2e;
    border-color: #4cc9f0;
}

/* Connections List */
.connections-list {
    max-height: 200px;
    overflow-y: auto;
}

.connection-item {
    display: flex;
    justify-content: space-between;
    padding: 8px;
    background: #1a1a2e;
    margin-bottom: 5px;
    border-radius: 4px;
    font-size: 0.85rem;
    transition: background 0.2s;
}

.connection-item:hover {
    background: #2a2a4e;
}

.connection-item.enhanced {
    border-left: 3px solid #ff6b35;
}

.connection-item.extreme {
    border-left: 3px solid #ff0844;
    background: #2a1a2e;
}

.connection-item.watched {
    border: 1px solid #ffd700;
    background: rgba(255, 215, 0, 0.1);
}

.connection-distance {
    font-weight: bold;
    color: #4cc9f0;
}

/* History Chart */
.history-chart-container {
    height: 150px;
    background: #1a1a2e;
    border-radius: 8px;
    padding: 10px;
}

/* Tabs */
.tabs {
    display: flex;
    border-bottom: 1px solid #333;
}

.tab {
    flex: 1;
    padding: 10px;
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 0.9rem;
}

.tab.active {
    color: #4cc9f0;
    border-bottom: 2px solid #4cc9f0;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Forms */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.85rem;
    color: #aaa;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    background: #1a1a2e;
    border: 1px solid #333;
    border-radius: 4px;
    color: #eee;
    font-size: 0.9rem;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #4cc9f0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.form-row .form-group {
    margin-bottom: 10px;
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.btn-primary {
    background: #4cc9f0;
    color: #1a1a2e;
}

.btn-primary:hover {
    background: #3db8df;
}

.btn-danger {
    background: #ff4444;
    color: white;
}

.btn-small {
    padding: 5px 10px;
    font-size: 0.8rem;
}

.btn-group {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.btn-group-vertical {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.range-btn {
    background: #1a1a2e;
    color: #888;
    border: 1px solid #333;
}

.range-btn:hover {
    background: #2a2a4e;
    color: #fff;
}

.range-btn.active {
    background: #4cc9f0;
    color: #1a1a2e;
    border-color: #4cc9f0;
}

/* Alert List */
.alert-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: #1a1a2e;
    margin-bottom: 5px;
    border-radius: 4px;
}

.alert-item .alert-info {
    flex: 1;
}

.alert-item .alert-name {
    font-weight: bold;
}

.alert-item .alert-email {
    font-size: 0.8rem;
    color: #888;
}

/* Email Log */
.email-log {
    max-height: 150px;
    overflow-y: auto;
}

.email-log-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    background: #1a1a2e;
    margin-bottom: 5px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.email-log-item.sent {
    border-left: 3px solid #00ff88;
}

.email-log-item.failed {
    border-left: 3px solid #ff4444;
}

.email-log-info {
    flex: 1;
}

.email-log-to {
    color: #eee;
}

.email-log-time {
    color: #666;
    font-size: 0.7rem;
}

.email-log-status {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    text-transform: uppercase;
}

.email-log-status.sent {
    background: rgba(0, 255, 136, 0.2);
    color: #00ff88;
}

.email-log-status.failed {
    background: rgba(255, 68, 68, 0.2);
    color: #ff4444;
}

/* Watchlist */
.watchlist-input {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.watchlist-input input {
    flex: 1;
    padding: 8px;
    background: #1a1a2e;
    border: 1px solid #333;
    border-radius: 4px;
    color: #eee;
    text-transform: uppercase;
}

.watchlist {
    max-height: 120px;
    overflow-y: auto;
}

.watchlist-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid #ffd700;
    margin-bottom: 5px;
    border-radius: 4px;
    font-size: 0.85rem;
    color: #ffd700;
}

.watchlist-item button {
    padding: 2px 6px;
    font-size: 0.7rem;
}

/* Tropo Forecast */
.tropo-slider {
    position: relative;
}

.tropo-image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

.tropo-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tropo-time {
    font-size: 1rem;
    color: #4cc9f0;
}

/* Legend */
.legend {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
}

.legend-color {
    width: 16px;
    height: 4px;
    border-radius: 2px;
}

.legend-title {
    width: 100%;
    font-size: 0.7rem;
    color: #666;
    margin-bottom: 2px;
}

.legend-color.normal { background: #22c55e; }
.legend-color.enhanced { background: #ff6b35; }
.legend-color.extreme { background: #ff0844; }

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid #fff;
}

.legend-dot.nearby { background: #00ff88; }
.legend-dot.reachable { background: #4cc9f0; }
.legend-dot.distant { background: #6688aa; opacity: 0.5; }

.filter-nearby {
    background: #1a2e1a !important;
    border-color: #00ff88 !important;
    color: #00ff88 !important;
}

.filter-nearby.active {
    background: #00ff88 !important;
    color: #1a1a2e !important;
}

/* View Mode Section */
.view-mode-section {
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px solid #333;
}

.view-mode-section h3 {
    font-size: 0.85rem;
    color: #aaa;
    margin-bottom: 8px;
}

.view-mode-buttons {
    display: flex;
    gap: 5px;
}

.view-mode-btn {
    flex: 1;
    background: #1a1a2e;
    color: #888;
    border: 1px solid #333;
    padding: 6px 10px;
    font-size: 0.75rem;
}

.view-mode-btn:hover {
    background: #2a2a4e;
    color: #fff;
}

.view-mode-btn.active {
    background: #4cc9f0;
    color: #1a1a2e;
    border-color: #4cc9f0;
}

.view-mode-help {
    margin-top: 8px;
    padding: 8px;
    background: #1a1a2e;
    border-radius: 4px;
    font-size: 0.75rem;
    color: #888;
    line-height: 1.4;
}

.view-mode-help strong {
    color: #4cc9f0;
}

/* QTH Circles Section */
.qth-circles-section {
    margin-top: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #aaa;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #4cc9f0;
}

/* QTH Distance Circle Labels */
.qth-circle-label {
    background: rgba(22, 33, 62, 0.9);
    border: 1px solid #4cc9f0;
    border-radius: 3px;
    padding: 2px 6px;
    font-size: 10px;
    color: #4cc9f0;
    white-space: nowrap;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.toast {
    background: #16213e;
    border-left: 4px solid #4cc9f0;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    animation: slideIn 0.3s ease;
}

.toast.enhanced {
    border-left-color: #ff6b35;
}

.toast.extreme {
    border-left-color: #ff0844;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 46, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #333;
    border-top-color: #4cc9f0;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    margin-top: 15px;
    color: #4cc9f0;
    font-size: 1rem;
}

/* Mobile */
@media (max-width: 768px) {
    .header {
        flex-wrap: wrap;
        padding: 10px;
    }

    .header-center {
        order: 3;
        width: 100%;
        margin-top: 10px;
    }

    .propagation-index {
        width: 100%;
    }

    .main-container {
        grid-template-columns: 1fr;
        grid-template-rows: 50vh auto;
    }

    .sidebar {
        border-left: none;
        border-top: 1px solid #333;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a2e;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #444;
}

/* System Log */
.log-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.log-container {
    height: calc(100vh - 200px);
    overflow-y: auto;
    background: #0d1117;
    border-radius: 4px;
    padding: 8px;
    font-family: 'Cascadia Code', 'Fira Code', 'JetBrains Mono', 'Consolas', monospace;
    font-size: 0.72rem;
    line-height: 1.5;
}

.log-entry {
    padding: 2px 4px;
    border-bottom: 1px solid #1a1a2e;
    word-break: break-all;
}

.log-entry.error {
    color: #ff4444;
    background: rgba(255, 68, 68, 0.05);
}

.log-entry.warning {
    color: #ffd700;
}

.log-entry.info {
    color: #aaa;
}

.log-entry.debug {
    color: #666;
}

.log-time {
    color: #555;
}

.log-level {
    font-weight: bold;
    min-width: 45px;
    display: inline-block;
}

.log-source {
    color: #4cc9f0;
}

.log-msg {
    color: #ccc;
}

.log-entry.error .log-msg {
    color: #ff6666;
}

/* Help Content */
.help-content {
    font-size: 0.85rem;
    color: #bbb;
    line-height: 1.6;
}

.help-content p {
    margin-bottom: 10px;
}

.help-content h3 {
    color: #4cc9f0;
    font-size: 0.9rem;
    margin-top: 15px;
    margin-bottom: 5px;
}

.help-content ul, .help-content ol {
    margin-left: 20px;
    margin-bottom: 10px;
}

.help-content li {
    margin-bottom: 4px;
}

.help-content code {
    background: #1a1a2e;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.8rem;
    color: #ff6b35;
}

.help-content a {
    color: #4cc9f0;
}

.term-list {
    margin: 0;
}

.term-list dt {
    color: #4cc9f0;
    font-weight: bold;
    margin-top: 8px;
    font-size: 0.85rem;
}

.term-list dd {
    color: #aaa;
    margin-left: 15px;
    font-size: 0.8rem;
    margin-bottom: 4px;
}

/* ==================== Simple Tab ==================== */

/* Big Status Box */
.simple-status-box {
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.simple-status-box.status-normal {
    background: linear-gradient(135deg, #2a2a4e 0%, #1a1a2e 100%);
    border: 2px solid #444;
}

.simple-status-box.status-good {
    background: linear-gradient(135deg, #1a3a2e 0%, #1a2a1e 100%);
    border: 2px solid #22c55e;
}

.simple-status-box.status-very-good {
    background: linear-gradient(135deg, #1a4a3e 0%, #1a3a2e 100%);
    border: 2px solid #00ff88;
    animation: statusGlow 2s ease-in-out infinite;
}

.simple-status-box.status-fair {
    background: linear-gradient(135deg, #2a2a1e 0%, #3a3a1e 100%);
    border: 2px solid #a8e6cf;
}

.status-fair .simple-status-text { color: #a8e6cf; }

.simple-status-box.status-excellent {
    background: linear-gradient(135deg, #2a3a1e 0%, #3a4a1e 100%);
    border: 2px solid #ffd700;
    animation: statusGlowGold 1.5s ease-in-out infinite;
}

@keyframes statusGlow {
    0%, 100% { box-shadow: 0 0 10px rgba(0, 255, 136, 0.3); }
    50% { box-shadow: 0 0 25px rgba(0, 255, 136, 0.5); }
}

@keyframes statusGlowGold {
    0%, 100% { box-shadow: 0 0 10px rgba(255, 215, 0, 0.3); }
    50% { box-shadow: 0 0 30px rgba(255, 215, 0, 0.6); }
}

.simple-status-icon {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.simple-status-text {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.status-normal .simple-status-text { color: #888; }
.status-good .simple-status-text { color: #22c55e; }
.status-very-good .simple-status-text { color: #00ff88; }
.status-excellent .simple-status-text { color: #ffd700; }

.simple-status-desc {
    font-size: 0.85rem;
    color: #888;
}

/* Propagation Legend (like Screenshot_2) */
.propagation-legend {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: #1a1a2e;
    padding: 12px;
    border-radius: 8px;
}

.prop-legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 0.85rem;
}

.prop-legend-color {
    width: 24px;
    height: 16px;
    border-radius: 3px;
    flex-shrink: 0;
}

.prop-legend-item span:nth-child(2) {
    flex: 1;
    color: #ccc;
}

.prop-legend-status {
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 10px;
    background: #333;
    color: #888;
}

.prop-legend-status.active {
    background: #22c55e;
    color: #000;
}

.prop-legend-status.possible {
    background: #ffd93d;
    color: #000;
}

/* Current Propagation Info */
.current-prop-info {
    background: #1a1a2e;
    border-radius: 8px;
    padding: 12px;
}

.current-prop-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #333;
    font-size: 0.85rem;
}

.current-prop-row:last-child {
    border-bottom: none;
}

.current-prop-row span {
    color: #888;
}

.current-prop-row strong {
    color: #4cc9f0;
}

/* Simple QTH Box */
.simple-qth-box {
    background: #1a1a2e;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
}

.simple-qth-box .qth-set {
    color: #22c55e;
}

.simple-qth-box .qth-not-set {
    color: #888;
    font-style: italic;
}

/* Toggle Switches */
.simple-toggle-group {
    margin-bottom: 12px;
}

.simple-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.simple-toggle input {
    display: none;
}

.toggle-slider {
    width: 44px;
    height: 24px;
    background: #333;
    border-radius: 12px;
    position: relative;
    transition: all 0.3s;
}

.toggle-slider::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background: #666;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: all 0.3s;
}

.simple-toggle input:checked + .toggle-slider {
    background: #4cc9f0;
}

.simple-toggle input:checked + .toggle-slider::after {
    background: #fff;
    left: 23px;
}

.toggle-label {
    color: #eee;
    font-size: 0.9rem;
}

.toggle-help {
    margin-top: 5px;
    margin-left: 54px;
    font-size: 0.75rem;
    color: #666;
}

/* Section Help Text */
.section-help {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 12px;
    line-height: 1.4;
}

/* Nearest Station Box */
.nearest-station-box {
    background: #1a1a2e;
    border-radius: 8px;
    padding: 15px;
    min-height: 80px;
}

.nearest-station-loading {
    color: #666;
    font-size: 0.85rem;
    text-align: center;
    padding: 15px 0;
}

.nearest-station-result {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nearest-station-call {
    font-size: 1.3rem;
    font-weight: bold;
    color: #4cc9f0;
}

.nearest-station-info {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #aaa;
}

.nearest-station-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nearest-station-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: bold;
}

.nearest-station-status.active {
    background: rgba(0, 255, 136, 0.2);
    color: #00ff88;
}

.nearest-station-status.inactive {
    background: rgba(255, 107, 53, 0.2);
    color: #ff6b35;
}

/* Simple Stats */
.simple-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.simple-stat {
    background: #1a1a2e;
    padding: 15px 10px;
    border-radius: 8px;
    text-align: center;
}

.simple-stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4cc9f0;
}

.simple-stat-label {
    font-size: 0.7rem;
    color: #888;
    text-transform: uppercase;
}

/* Simple Explanation */
.simple-explanation {
    font-size: 0.85rem;
    color: #aaa;
    line-height: 1.5;
}

.simple-explanation p {
    margin-bottom: 10px;
}

.simple-explanation strong {
    color: #4cc9f0;
}

/* Coverage Zone Markers on Map */
.coverage-zone-label {
    background: rgba(22, 33, 62, 0.95);
    border: 1px solid #4cc9f0;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 11px;
    color: #fff;
    white-space: nowrap;
    font-weight: bold;
}

.coverage-zone-label.enhanced {
    border-color: #00ff88;
    color: #00ff88;
}

/* Simple Range Labels */
.simple-range-label {
    background: rgba(22, 33, 62, 0.85);
    border: 1px solid #666;
    border-radius: 3px;
    padding: 2px 6px;
    font-size: 10px;
    color: #ccc;
    white-space: nowrap;
    text-align: center;
}

/* Leaflet popup override for dark theme */
.leaflet-popup-content-wrapper {
    background: #16213e;
    color: #eee;
    border-radius: 8px;
}

.leaflet-popup-tip {
    background: #16213e;
}

.leaflet-popup-content {
    margin: 10px 12px;
    line-height: 1.5;
}

.leaflet-popup-content a {
    color: #4cc9f0;
}
