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

html, body {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

body {
    position: relative;
}

#map {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* Custom gradient circle styles */
.gradient-circle {
    pointer-events: none;
}

.leaflet-overlay-pane {
    opacity: 0.5;
}

.leaflet-overlay-pane svg path {
    pointer-events: none;
    vector-effect: non-scaling-stroke;
}

/* Station switch styles */
.station-switch {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 4px;
    display: flex;
    gap: 4px;
}

.switch-btn {
    border: none;
    background: transparent;
    padding: 8px;
    border-radius: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    width: 36px;
    height: 36px;
}

.switch-btn i {
    font-size: 18px;
    color: #666;
    transition: all 0.2s ease;
}

.switch-btn:hover {
    background: #f0f0f0;
}

.switch-btn.active {
    background: #0066ff;
}

.switch-btn.active i {
    color: white;
}

/* Loading indicator styles */
.loader-container {
    display: none;
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.loader-container.active {
    display: block;
}

.loader {
    width: 24px;
    height: 24px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #0066ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Zoom message styles */
.zoom-message {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    z-index: 1000;
}

.zoom-message.active {
    display: block;
}
