#sidebar {
    height: 90vh;
    overflow-y: auto;
    padding: 10px;
    box-sizing: border-box;
    width: 320px;
    float: left;
    border-right: 1px solid #ccc;
    background-color: #f7f6f2;
    border-radius: 8px;
}

#map-container {
    margin-left: 320px;
    height: 90vh;
    position: relative;
}

label {
    display: block;
    margin-bottom: 6px;
    cursor: pointer;
    padding-left: 4px;
    font-weight: 600;
    color: #4B7447;
}

h4.category-title {
    margin-top: 20px;
    margin-bottom: 6px;
    border-bottom: 1px solid #666;
    padding-bottom: 4px;
    font-weight: bold;
    font-size: 1.1em;
    color: #333;
}

#map {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-itineraire {
    display: inline-block;
    margin-top: 6px;
    padding: 5px 10px;
    background: #4B7447;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
}

.btn-itineraire:hover {
    background: #8FA98F;
}

.info-window-content {
    font-family: Arial, sans-serif;
    background: white;
    padding: 10px;
    border-radius: 8px;
    max-width: 250px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.3);
    color: #333;
}

.controls {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1100;
    background: rgba(255,255,255,0.95);
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    font-size: 14px;
    user-select: none;
}

.controls button, .controls select {
    margin: 4px 6px 4px 0;
    padding: 5px 10px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 4px;
    border: 1px solid #4B7447;
    background: white;
    color: #4B7447;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.controls button:hover, .controls select:hover {
    background-color: #4B7447;
    color: white;
    border: none;
}

/* Responsive */
@media (max-width: 900px) {
    #sidebar {
        width: 100%;
        height: auto;
        float: none;
        border-right: none;
        border-bottom: 1px solid #ccc;
        border-radius: 0;
    }
    #map-container {
        margin-left: 0;
        height: 400px;
    }
}