/* کادر اصلی — حرفه ای، مدرن، واضح */
.iran-cooperative-map-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    align-items: flex-start;
    font-family: "Vazir", "IRANSans", "Tahoma", Arial, sans-serif;
    direction: rtl;
    background: #ffffff;
    padding: 32px;
    border-radius: 18px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.14);
    margin: 35px auto;
    max-width: 1500px;
    border: 1px solid #e0e0e6;
    background: linear-gradient(135deg, #fafbff 0%, #ffffff 100%);
}

/* نقشه */
.map-container {
    flex: 1;
    min-width: 360px;
    max-width: 720px;
    background: #ffffff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.09);
    border: 1px solid #eaeff5;
}

.map-container svg {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

/* Tooltip سفارشی با بک‌گراند زرد */
.custom-tooltip {
    position: fixed;
    background: #fff9c4; /* زرد روشن */
    color: #5d4037;      /* قهوه‌ای تیره برای متن */
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 9999;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    border: 1px solid #ffecb3;
}

/* لیست تعاونی ها */
.cooperative-list {
    flex: 1;
    min-width: 320px;
    padding: 26px;
    background: #f8fbff;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
    border: 1px solid #dde7f8;
}

.cooperative-list h3 {
    margin-top: 0;
    color: #0d47a1;
    font-size: 22px;
    font-weight: 600;
    border-bottom: 2px solid #bbdefb;
    padding-bottom: 12px;
    margin-bottom: 18px;
}

/* جدول */
.cooperative-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 14.5px;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.cooperative-table th,
.cooperative-table td {
    padding: 13px 12px;
    text-align: right;
    border-bottom: 1px solid #f0f4fc;
}

.cooperative-table th {
    background: linear-gradient(to bottom, #e3f2fd, #bbdefb);
    color: #0d47a1;
    font-weight: 600;
    font-size: 14.5px;
}

.cooperative-table tbody tr:last-child td {
    border-bottom: none;
}

.cooperative-table tbody tr:hover {
    background-color: #f5f9ff;
}

/* فونت فارسی */
@font-face {
    font-family: 'Vazir';
    src: url('https://cdn.jsdelivr.net/gh/rastikerdar/vazir-font@v30.1.0/dist/Vazir-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .iran-cooperative-map-wrapper {
        padding: 22px;
        margin: 20px 12px;
        flex-direction: column;
    }
    .map-container,
    .cooperative-list {
        min-width: 100%;
    }
}