.map-container {
    overflow: hidden
}
.map-container #map {
    max-width: 100%;
    height: 100%;
}

.map-container #map .tooltip-pv {
    width: 400px;
    border-radius: 20px;
}

/* Modal solaire pour Leaflet */
.map-container #map .tooltip-pv .solar-modal {
    padding: 0;
    width: 100%;
    min-height: 200px;
    border-radius: 12px;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    position: relative;
}

/* Pattern d'arrière-plan subtil */
.map-container #map .tooltip-pv .solar-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="30" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="60" cy="70" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="30" cy="80" r="1" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    pointer-events: none;
}

/* Header */
.map-container #map .tooltip-pv .solar-modal-header {
    padding: 20px 20px 10px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.map-container #map .tooltip-pv .solar-modal-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Contenu principal */
.map-container #map .tooltip-pv .solar-modal-content {
    padding: 10px 20px 20px;
    position: relative;
    z-index: 1;
}

/* Icône solaire principale */
.map-container #map .tooltip-pv .solar-icon {
    width: 24px;
    height: 24px;
    fill: #ffd700;
    filter: drop-shadow(0 2px 4px rgba(255, 215, 0, 0.3));
}

/* Métriques */
.map-container #map .tooltip-pv .solar-metric {
    margin-bottom: 10px;
}

.map-container #map .tooltip-pv .solar-metric:last-child {
    margin-bottom: 0;
}

/* Header des métriques */
.map-container #map .tooltip-pv .metric-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.map-container #map .tooltip-pv .metric-label {
    font-size: 15px;
    opacity: 0.9;
    font-weight: 500;
}

.map-container #map .tooltip-pv .metric-icon {
    width: 16px;
    height: 16px;
    opacity: 0.8;
    vertical-align: text-top;
}

/* Valeurs des métriques */
.map-container #map .tooltip-pv .metric-value {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.map-container #map .tooltip-pv .metric-unit {
    font-size: 14px;
    font-weight: 400;
    opacity: 0.8;
    margin-left: 4px;
}

/* Barre de progression */
.map-container #map .tooltip-pv .progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(200, 200, 200, 0.4);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 8px;
}

.map-container #map .tooltip-pv .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffd700, #ffed4a);
    border-radius: 3px;
    transition: width 0.8s ease;
}

/* Classes d'exposition */
.map-container #map .tooltip-pv .exposition-20 .progress-fill { width: 20%; }
.map-container #map .tooltip-pv .exposition-21 .progress-fill { width: 21%; }
.map-container #map .tooltip-pv .exposition-22 .progress-fill { width: 22%; }
.map-container #map .tooltip-pv .exposition-23 .progress-fill { width: 23%; }
.map-container #map .tooltip-pv .exposition-24 .progress-fill { width: 24%; }
.map-container #map .tooltip-pv .exposition-25 .progress-fill { width: 25%; }
.map-container #map .tooltip-pv .exposition-26 .progress-fill { width: 26%; }
.map-container #map .tooltip-pv .exposition-27 .progress-fill { width: 27%; }
.map-container #map .tooltip-pv .exposition-28 .progress-fill { width: 28%; }
.map-container #map .tooltip-pv .exposition-29 .progress-fill { width: 29%; }
.map-container #map .tooltip-pv .exposition-30 .progress-fill { width: 30%; }
.map-container #map .tooltip-pv .exposition-31 .progress-fill { width: 31%; }
.map-container #map .tooltip-pv .exposition-32 .progress-fill { width: 32%; }
.map-container #map .tooltip-pv .exposition-33 .progress-fill { width: 33%; }
.map-container #map .tooltip-pv .exposition-34 .progress-fill { width: 34%; }
.map-container #map .tooltip-pv .exposition-35 .progress-fill { width: 35%; }
.map-container #map .tooltip-pv .exposition-36 .progress-fill { width: 36%; }
.map-container #map .tooltip-pv .exposition-37 .progress-fill { width: 37%; }
.map-container #map .tooltip-pv .exposition-38 .progress-fill { width: 38%; }
.map-container #map .tooltip-pv .exposition-39 .progress-fill { width: 39%; }
.map-container #map .tooltip-pv .exposition-40 .progress-fill { width: 40%; }
.map-container #map .tooltip-pv .exposition-41 .progress-fill { width: 41%; }
.map-container #map .tooltip-pv .exposition-42 .progress-fill { width: 42%; }
.map-container #map .tooltip-pv .exposition-43 .progress-fill { width: 43%; }
.map-container #map .tooltip-pv .exposition-44 .progress-fill { width: 44%; }
.map-container #map .tooltip-pv .exposition-45 .progress-fill { width: 45%; }
.map-container #map .tooltip-pv .exposition-46 .progress-fill { width: 46%; }
.map-container #map .tooltip-pv .exposition-47 .progress-fill { width: 47%; }
.map-container #map .tooltip-pv .exposition-48 .progress-fill { width: 48%; }
.map-container #map .tooltip-pv .exposition-49 .progress-fill { width: 49%; }
.map-container #map .tooltip-pv .exposition-50 .progress-fill { width: 50%; }
.map-container #map .tooltip-pv .exposition-51 .progress-fill { width: 51%; }
.map-container #map .tooltip-pv .exposition-52 .progress-fill { width: 52%; }
.map-container #map .tooltip-pv .exposition-53 .progress-fill { width: 53%; }
.map-container #map .tooltip-pv .exposition-54 .progress-fill { width: 54%; }
.map-container #map .tooltip-pv .exposition-55 .progress-fill { width: 55%; }
.map-container #map .tooltip-pv .exposition-56 .progress-fill { width: 56%; }
.map-container #map .tooltip-pv .exposition-57 .progress-fill { width: 57%; }
.map-container #map .tooltip-pv .exposition-58 .progress-fill { width: 58%; }
.map-container #map .tooltip-pv .exposition-59 .progress-fill { width: 59%; }
.map-container #map .tooltip-pv .exposition-60 .progress-fill { width: 60%; }
.map-container #map .tooltip-pv .exposition-61 .progress-fill { width: 61%; }
.map-container #map .tooltip-pv .exposition-62 .progress-fill { width: 62%; }
.map-container #map .tooltip-pv .exposition-63 .progress-fill { width: 63%; }
.map-container #map .tooltip-pv .exposition-64 .progress-fill { width: 64%; }
.map-container #map .tooltip-pv .exposition-65 .progress-fill { width: 65%; }
.map-container #map .tooltip-pv .exposition-66 .progress-fill { width: 66%; }
.map-container #map .tooltip-pv .exposition-67 .progress-fill { width: 67%; }
.map-container #map .tooltip-pv .exposition-68 .progress-fill { width: 68%; }
.map-container #map .tooltip-pv .exposition-69 .progress-fill { width: 69%; }
.map-container #map .tooltip-pv .exposition-70 .progress-fill { width: 70%; }
.map-container #map .tooltip-pv .exposition-71 .progress-fill { width: 71%; }
.map-container #map .tooltip-pv .exposition-72 .progress-fill { width: 72%; }
.map-container #map .tooltip-pv .exposition-73 .progress-fill { width: 73%; }
.map-container #map .tooltip-pv .exposition-74 .progress-fill { width: 74%; }
.map-container #map .tooltip-pv .exposition-75 .progress-fill { width: 75%; }
.map-container #map .tooltip-pv .exposition-76 .progress-fill { width: 76%; }
.map-container #map .tooltip-pv .exposition-77 .progress-fill { width: 77%; }
.map-container #map .tooltip-pv .exposition-78 .progress-fill { width: 78%; }
.map-container #map .tooltip-pv .exposition-79 .progress-fill { width: 79%; }
.map-container #map .tooltip-pv .exposition-80 .progress-fill { width: 80%; }