#map {
    position: fixed;
    top: var(--header-height);
    left: var(--sidebar-width);
    right: 0;
    bottom: 0;
    width: calc(100% - var(--sidebar-width));
    height: calc(100vh - var(--header-height));
    transition: left 0.3s ease, width 0.3s ease;
}

#map.sidebar-closed {
    left: 0;
    width: 100%;
}

.bus-stop-marker {
    background: transparent;
    border: none;
}

.bus-stop-marker div {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
}

.bus-stop-marker:hover div {
    transform: scale(1.3);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
}

.leaflet-popup-content-wrapper {
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

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

.leaflet-popup-content b {
    color: var(--primary-color);
    font-size: 15px;
    display: block;
    margin-bottom: 6px;
}

@media (max-width: 768px) {
    #map {
        left: 0;
        top: var(--header-height);
        width: 100%;
        bottom: 0;
        height: calc(100vh - var(--header-height));
        z-index: 1;
    }

    .locate-btn {
        position: fixed !important;
        bottom: 180px !important;
        right: 20px !important;
        width: 45px !important;
        height: 45px !important;
        z-index: 500 !important;
    }

    .locate-btn i {
        font-size: 18px;
    }

    .transport-btn {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }

    .transport-btn:hover {
        transform: none;
    }

    .transport-btn:active {
        transform: scale(0.95);
    }
}
