﻿.map-control-button {
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    margin: 10px 10px 0 10px;
    padding: 10px;
    width: 40px; /* Ajustez la largeur selon l'image */
    height: 40px; /* Ajustez la hauteur selon l'image */
    background-size: 20px 20px; /* Taille de l'image */
    background-repeat: no-repeat;
    background-position: center;
}

    .map-control-button:hover {
        background-color: #f0f0f0; /* Couleur de fond au survol */
    }

body.dark-mode .map-control-button {
    background-color: #444;
    border-color: #555;
}

    body.dark-mode .map-control-button:hover {
        background-color: #666;
    }

.fullscreen-map {
    position: fixed !important;
    top: 40px !important;
    left: 0 !important;
    /* width: calc(100vw - 10px) !important; */ /* Pas de scrollbar sur une tablette */
    width: 100vw !important;
    height: calc(100vh - 50px) !important;
    margin: 0 !important;
    z-index: 9999 !important;
}

#mapLoadingOverlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.map-loading-text {
    font-size: 16px;
    font-weight: 600;
    color: #555;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 12px 18px;
    border-radius: 6px;
}

body.dark-mode #mapLoadingOverlay {
    background: rgba(30, 30, 30, 0.85);
}

body.dark-mode .map-loading-text {
    background: rgba(50, 50, 50, 0.9);
    color: #ddd;
}

