/* Variables couleurs thème Psychare */
:root {
  --psychare-brown: #a47355;     /* Couleur principale - marron chaleureux */
  --psychare-dark: #241f19;      /* Couleur foncée - presque noir */
  --psychare-grey: #7f7f7f;      /* Gris moyen */
  --psychare-beige: #deac8e;     /* Beige rosé clair */
}

/* Styles pour la carte */
.hypno-map {
    border: 1px solid var(--psychare-beige);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(164, 115, 85, 0.1);
}

/* Marqueur personnalisé */
.custom-div-icon {
    background: transparent;
    border: none;
}

.marker-pin {
    width: 20px;
    height: 20px;
    border-radius: 50% 50% 50% 0;
    background: var(--psychare-brown);
    position: absolute;
    transform: rotate(-45deg);
    left: 50%;
    top: 50%;
    margin: -15px 0 0 -10px;
    box-shadow: 0 2px 5px rgba(36, 31, 25, 0.3);
}

.marker-pin::after {
    content: '';
    width: 8px;
    height: 8px;
    margin: 6px 0 0 6px;
    background: #fff;
    position: absolute;
    border-radius: 50%;
}

/* Styles des popups */
.hypno-popup {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.4;
    max-width: 250px;
}

.hypno-popup h3 {
    margin: 0 0 12px 0;
    color: var(--psychare-dark);
    font-size: 16px;
    font-weight: 600;
    border-bottom: 2px solid var(--psychare-beige);
    padding-bottom: 6px;
}

.hypno-popup p {
    margin: 8px 0;
    font-size: 14px;
    color: var(--psychare-dark);
}

.hypno-popup strong {
    color: var(--psychare-brown);
    font-weight: 600;
}

.hypno-popup a {
    color: var(--psychare-brown);
    text-decoration: none;
    transition: color 0.2s ease;
}

.hypno-popup a:hover {
    color: var(--psychare-dark);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .hypno-map {
        border-radius: 4px;
    }
    
    .hypno-popup {
        max-width: 200px;
    }
    
    .hypno-popup h3 {
        font-size: 14px;
    }
    
    .hypno-popup p {
        font-size: 13px;
    }
}

/* Styles pour les contrôles Leaflet */
.leaflet-popup-content-wrapper {
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(164, 115, 85, 0.15) !important;
    border: 1px solid var(--psychare-beige) !important;
}

.leaflet-popup-tip {
    background: white !important;
    border: 1px solid var(--psychare-beige) !important;
}

/* Bouton de fermeture popup */
.leaflet-popup-close-button {
    color: var(--psychare-grey) !important;
}

.leaflet-popup-close-button:hover {
    color: var(--psychare-brown) !important;
}

/* Contrôles de zoom */
.leaflet-control-zoom a {
    background-color: rgba(164, 115, 85, 0.1) !important;
    border-color: var(--psychare-beige) !important;
    color: var(--psychare-brown) !important;
}

.leaflet-control-zoom a:hover {
    background-color: var(--psychare-beige) !important;
    color: var(--psychare-dark) !important;
}

/* Attribution */
.leaflet-control-attribution {
    background-color: rgba(222, 172, 142, 0.8) !important;
    color: var(--psychare-dark) !important;
}

.leaflet-control-attribution a {
    color: var(--psychare-brown) !important;
}