﻿/* استایل popup فرودگاه */
.maplibregl-popup-content {
    padding: 0 !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
    max-width: 280px !important;
}

/* کلاس مخصوص popup فرودگاه */
.airport-popup {
    direction: rtl;
    text-align: right;
    padding: 10px;
    min-width: 220px;
    font-family: 'iransansxv', Tahoma, sans-serif;
    background: white;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.4;
}

.airport-popup-header {
    border-bottom: 1.5px solid #3b82f6;
    padding-bottom: 6px;
    margin-bottom: 8px;
}

.airport-popup-title {
    font-size: 13px;
    color: #1e40af;
    font-weight: 700;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.airport-popup-code {
    display: inline-block;
    background: #dbeafe;
    padding: 1px 6px;
    border-radius: 3px;
    font-weight: 700;
    font-size: 11px;
    color: #1e40af;
    margin-left: 6px;
}

.airport-popup-city {
    font-size: 11px;
    color: #6b7280;
    font-weight: 400;
}

.airport-popup-row {
    margin: 4px 0;
    display: flex;
    align-items: center;
    font-size: 11px;
    line-height: 1.3;
}

.airport-popup-icon {
    margin-left: 6px;
    font-size: 12px;
    flex-shrink: 0;
}

.airport-popup-link {
    color: #059669;
    text-decoration: none;
    direction: ltr;
    font-family: 'iransansxv', monospace;
    font-size: 11px;
    font-weight: 500;
}

    .airport-popup-link:hover {
        text-decoration: underline;
    }

.airport-popup-website {
    color: #2563eb;
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
}

    .airport-popup-website:hover {
        text-decoration: underline;
    }

.airport-popup-timezone {
    font-size: 10px;
    color: #6b7280;
    font-weight: 400;
}

.airport-popup-facilities {
    margin: 6px 0 0 0;
    padding: 6px;
    background: #f0fdf4;
    border-radius: 4px;
    border: 1px solid #86efac;
}

.airport-popup-facilities-title {
    font-size: 10px;
    color: #166534;
    margin-bottom: 4px;
    font-weight: 700;
    line-height: 1.2;
}

.airport-popup-facilities-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.airport-popup-facility {
    font-size: 11px;
    color: #166534;
    font-weight: 500;
}

/* لینک‌های داخل popup */
.maplibregl-popup-content a {
    transition: opacity 0.2s;
}

    .maplibregl-popup-content a:hover {
        opacity: 0.8;
    }

/* دکمه بستن popup */
.maplibregl-popup-close-button {
    font-size: 18px !important;
    color: #6b7280 !important;
    padding: 4px 8px !important;
    z-index: 1000;
    font-weight: 300;
}

    .maplibregl-popup-close-button:hover {
        background: #f3f4f6 !important;
        color: #1f2937 !important;
    }
