body {
    margin: 0;
    font-family: Arial, sans-serif;
}

#map {
    height: 100vh;
    width: 100%;
    position: relative;
    z-index: 0;
}

#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 20px;
    z-index: 2;
}

#panel {
    position: fixed;
    top: 65px;
    left: 10px;
    z-index: 3;
    background: rgba(255, 255, 255, 0.95);
    padding: 12px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
}

#panel input {
    margin-bottom: 6px;
    width: 240px;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
}

#panel button {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding: 8px;
    font-size: 14px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

#panel button:hover {
    background-color: #0056b3;
}

#dkvUpdateBtn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    padding: 10px 16px;
    background-color: #000;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

#filterButtons button {
    display: block;
    margin-bottom: 5px;
    padding: 6px 10px;
    width: 100px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

#filterButtons button:hover {
    background-color: #ddd;
}

#panel .filter-btn {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 8px;
    font-size: 14px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

#panel .filter-btn:hover {
    background-color: #0056b3;
}

#panel .filter-btn.active {
    background-color: #28a745 !important;
}

#notification-container {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 9999;
}

.notification {
    background-color: #d4edda;
    color: #155724;
    font-size: 2rem;             /* Increased font size */
    padding: 36px 60px;          /* Increased padding */
    margin-bottom: 30px;
    border: 3px solid #c3e6cb;   /* Thicker border */
    border-radius: 18px;         /* Larger radius */
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    animation: fadein 0.5s, fadeout 0.5s 4.5s;
}

@keyframes fadein {
    from { opacity: 0; transform: translateY(-30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeout {
    from { opacity: 1; transform: translateY(0); }
    to   { opacity: 0; transform: translateY(-30px); }
}

/* Styles for price labels under station icons */
.price-label {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 2px 4px;
    border-radius: 3px;
    margin-top: 30px; /* Position below the icon */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

#stations-table th, #stations-table td {
    border: 1px solid #ccc;
    padding: 6px 8px;
    text-align: left;
}

#stations-table th {
    background: #f1f1f1;
}

.glow-marker {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #001a66; /* very dark blue core */
    box-shadow: 0 0 25px rgba(0, 26, 102, 1),
    0 0 75px rgba(0, 26, 102, 0.95),
    0 0 120px rgba(0, 26, 102, 0.9);
    border: 2px solid white;
}

/* Animated glowing effect */
.glow-marker.animate {
    animation: pulseGlow 20s infinite alternate;
}

@keyframes pulseGlow {
    from {
        box-shadow: 0 0 50px rgba(0, 26, 102, 1),
        0 0 150px rgba(0, 26, 102, 0.95),
        0 0 300px rgba(0, 26, 102, 0.9);
    }
    to {
        box-shadow: 0 0 100px rgba(0, 26, 102, 1),
        0 0 240px rgba(0, 26, 102, 1),
        0 0 360px rgba(0, 26, 102, 0.95);
    }
}


/* Stations without price toggle */
/* Basic CSS for a simple toggle switch visual */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/* Hide default HTML checkbox */
.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc; /* Default (False) color */
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

/* When checked (True) */
input:checked + .slider {
    background-color: #2196F3; /* On (True) color */
}

input:checked + .slider:before {
    transform: translateX(26px);
}

