/* wp-location-maps/assets/frontend.css */
/* استایل‌های عمومی نقشه و پاپ‌آپ‌ها */

/* --- استایل کانتینر نقشه --- */
.wplm-map-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: #f8f9fa;
}

/* --- استایل پاپ‌آپ --- */
.leaflet-popup-content-wrapper {
    border-radius: 8px !important;
    box-shadow: 0 3px 14px rgba(0,0,0,0.2) !important;
    padding: 1px !important;
}

.leaflet-popup-content {
    margin: 12px 16px !important;
    line-height: 1.5 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

.leaflet-popup-content b {
    display: block;
    font-size: 15px;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.leaflet-popup-content a {
    display: inline-block;
    margin-top: 6px;
    padding: 4px 10px;
    background: #0073aa;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.2s;
}

.leaflet-popup-content a:hover {
    background: #005a87;
}

/* --- استایل آیکون پیش‌فرض --- */
.wplm-default-marker {
    filter: hue-rotate(200deg) saturate(1.3);
}

/* --- واکنش‌گرا --- */
@media (max-width: 768px) {
    .wplm-map-container {
        height: 350px !important;
    }
}

/* --- انیمیشن ورود پاپ‌آپ --- */
.leaflet-popup {
    animation: wplm-popup-fade 0.3s ease-out;
}

@keyframes wplm-popup-fade {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}