/* Styles pour les cartes gographiques SYNIQ */
.map-container {
    width: 100%;
    max-width: 650px; /* Devient le maximum au lieu d'une largeur fixe */
    height: 400px;
    background: #f8f9fa;
    border-radius: 12px;
    margin: 15px auto;
    position: relative;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Optimisation mobile pour les cartes */
@media (max-width: 1024px) {
    .map-container {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        aspect-ratio: 4 / 3 !important; /* Format plus compact pour mobile */
        margin: 10px 0 !important;
    }
}

.map-svg {
    width: 100%;
    height: 100%;
}

.country {
    fill: #e5e7eb;
    stroke: #ffffff;
    stroke-width: 0.5;
    transition: fill 0.2s;
}

.country:hover {
    fill: #d1d5db;
}

.map-marker {
    fill: #251605; /* Couleur SYNIQ principale */
    fill-opacity: 0.8;
    stroke: #ffffff;
    stroke-width: 0.5;
    cursor: pointer;
    /* La transition transform est gérée par JS pour éviter les clignotements */
}

.map-tooltip {
    position: absolute;
    padding: 10px 14px;
    background: #251605; /* Couleur SYNIQ unie pour contraste maximal */
    color: #ffffff !important;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.4;
    pointer-events: none;
    z-index: 1000;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: opacity 0.15s ease;
    display: none;
}

.map-tooltip strong {
    color: #ffffff !important;
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
}