#iranmap-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin: 20px auto;
    padding: 25px 25px 35px;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(20, 40, 70, 0.08);
    border: 1px solid #eef1f5;
}

#iranmap-head { text-align: center; margin-bottom: 25px; }
#iranmap-title { font-size: 27px; font-weight: 700; color: #1a2b45; }
#iranmap-subtitle { font-size: 15px; color: #8a93a3; }

#iranmap-main {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

#iranmap-container {
    flex: 0 0 42%;
    max-width: 42%;
    background: #f8fafd;
    border-radius: 14px;
    padding: 15px;
}
#iranmap-container svg { 
    width: 100% !important; 
    height: auto; 
    max-height: 553px; 
}

#iranmap-info-box {
    flex: 1;
    padding: 30px;
    background: #f9fbfd;
    border-radius: 16px;
    border: 1px solid #e5ecf4;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    min-height: 520px;
    position: sticky;
    top: 20px;
}

#iranmap-info-header { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
#iranmap-info-pin { font-size: 24px; }
#iranmap-province-title { margin: 0; font-size: 23px; font-weight: 700; color: #1a2b45; line-height: 1.3; }

#iranmap-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 3px solid #e7ecf2;
    margin-bottom: 28px;
    padding-bottom: 4px;
    flex-wrap: wrap;
}

.iranmap-tab {
    appearance: none;
    border: none;
    background: #f1f5f9;
    font-family: inherit;
    font-size: 13.4px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    border-radius: 10px 10px 0 0;
    transition: all 0.25s ease;
    white-space: nowrap;
    text-align: center;
    min-width: 145px;
    position: relative;

}

.iranmap-tab:hover {
    background: #e2e8f0;
    color: #334155;
    transform: translateY(-2px);
}

.iranmap-tab.active {
    background: #ffffff;
    color: #1e40af;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    position: relative;
    top: 3px;
}

.iranmap-tab.active::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 4px;
    background: #3b82f6;
    border-radius: 3px;
}

#iranmap-empty-state {
    color: #9aa4b2;
    font-size: 15px;
    text-align: center;
    padding: 80px 20px;
}

.iranmap-org-card {
    display: flex;
    align-items: center;
    gap: 26px;
    background: #ffffff;
    border: 1px solid #eef1f5;
    border-radius: 14px;
    padding: 22px;
    animation: iranmapFadeIn 0.25s ease;
}

@keyframes iranmapFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.iranmap-org-photo {
    flex-shrink: 0;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #f3f8fd;
    box-shadow: 0 4px 14px rgba(20,40,70,0.12);
}
.iranmap-org-photo img { width: 100%; height: 100% !important; object-fit: cover; }

.iranmap-org-details { flex: 1; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.iranmap-org-org-name { font-size: 14px; font-weight: 700; color: #2b6cb0; margin: 0 0 2px; }
.iranmap-org-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    color: #33404f;
    line-height: 1.7;
}
.iranmap-org-row .iranmap-org-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #eef4fb;
    color: #2b6cb0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

#iranmap-container svg #provinces path {
    fill: #cfe0f2;
    stroke: #ffffff;
    stroke-width: 1.4;
    cursor: pointer;
    transition: fill 0.25s ease, filter 0.25s ease;
}
#iranmap-container svg #provinces path:hover {
    fill: #8fb8e0 !important;
    filter: drop-shadow(0 0 4px rgba(43, 108, 176, 0.35));
}
#iranmap-container svg #provinces path.iranmap-active {
    fill: #f6a723 !important;
    filter: drop-shadow(0 0 6px rgba(246, 167, 35, 0.55));
}
#iranmap-container svg .iranmap-label {
    font-weight: 700;
    fill: #16233a;
    text-anchor: middle;
    pointer-events: none;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    paint-order: stroke;
    stroke: #ffffff;
    stroke-width: 3px;
    stroke-linejoin: round;
}

.iranmap-bottom-banner {
    width: 100%;
    margin-top: 20px;
    text-align: center;
}
.iranmap-bottom-banner img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: auto;
}

@media (max-width: 992px) {
    #iranmap-main { flex-direction: column; }
    #iranmap-container { flex: none; max-width: 100%; }
    #iranmap-info-box { position: static; min-height: auto; }
}

@media (max-width: 600px) {
    #iranmap-wrapper { padding: 20px 12px; }
    #iranmap-title { font-size: 22px; }
    .iranmap-org-card { flex-direction: column; text-align: center; }
    .iranmap-org-row { flex-direction: column; align-items: center; text-align: center; }
    .iranmap-tab { min-width: auto; padding: 12px 18px; font-size: 14.5px; }
}