:root {
    --mimap-primary: #CD1821;
    --mimap-gradient: linear-gradient(135deg, #CD1821 0%, #E31E24 100%);
}

/* InfoWindow Premium Styles */
.mimap-infowindow {
    max-width: 250px;
    padding: 10px;
}

.mimap-infowindow h4 {
    margin: 0 0 5px;
    font-size: 1.1rem;
    font-weight: 700;
}

.mimap-infowindow p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

/* Theme: Modern */
.mimap-iw-modern h4 { color: var(--mimap-primary); }

/* Theme: Premium */
.mimap-iw-premium {
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
    border-radius: 12px;
}
.mimap-iw-premium h4 {
    background: var(--mimap-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Theme: Dark */
.mimap-iw-dark {
    color: #fff;
}
.mimap-iw-dark p { color: #ccc; }
.mimap-iw-dark h4 { color: #fff; }

/* Overriding Leaflet defaults */
.leaflet-popup-content-wrapper {
    border-radius: 12px !important;
    padding: 0 !important;
    overflow: hidden;
}

/* Dark theme for Leaflet popup specifically */
.mimap-iw-dark-popup .leaflet-popup-content-wrapper {
    background: #2d2d2d !important;
    color: #fff !important;
}
.mimap-iw-dark-popup .leaflet-popup-tip {
    background: #2d2d2d !important;
}
