#calculateur-distance {
    font-family: Arial, sans-serif;
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

#form-ecoles {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

#form-ecoles label {
    font-weight: bold;
    margin-right: 10px;
}

#form-ecoles select {
    flex: 1;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#form-ecoles button {
    padding: 8px 15px;
    background-color: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#form-ecoles button:hover {
    background-color: #005d87;
}

#resultats {
    padding: 10px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#btn-pdf {
    padding: 8px 15px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#btn-pdf:hover {
    background-color: #218838;
}

/* Style pour les popups des écoles */
.school-popup.leaflet-popup-content-wrapper {
    padding: 2px 5px;
    font-size: 10px;
    max-width: 150px;
    background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent */
    border: 1px solid #0073aa;
}

.school-popup .leaflet-popup-content {
    margin: 3px;
    line-height: 1.1;
    font-weight: bold;
}

.school-popup .leaflet-popup-tip {
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid #0073aa;
    width: 15px;
    height: 8px;
}

/* Style pour le conteneur de la carte */
#map {
    width: 100%;
    height: 400px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Rendre le trajet plus visible */
.leaflet-interactive {
    stroke-width: 4px !important;
}
