body {
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.iarc-map-widget {
    position: relative;
    width: 100%;
    max-width: 1000px;
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 9; /* রেস্পন্সিভের জন্য পারফেক্ট রেশিও */
}

.iarc-map-widget svg {
    width: 100%;
    height: 100%;
    display: block;
}

.country-path {
    fill: #1A365D;
    stroke: #021024;
    stroke-width: 0.5px;
    transition: fill 0.3s ease;
}

.active-country {
    fill: #FFD700;
    stroke: #FFA500;
    stroke-width: 1px;
    cursor: pointer;
    /* জুম অবস্থায় লাইট ইফেক্ট */
    animation: goldenPulse 2s infinite alternate;
}

@keyframes goldenPulse {
    0% { filter: drop-shadow(0 0 1px rgba(255, 215, 0, 0.3)); fill: #FFD700; }
    100% { filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.8)); fill: #FFC000; }
}

/* লোকেশন মার্কার (সেন্টার পজিশন) */
.map-marker {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 24px;
    height: 24px;
    pointer-events: none;
    opacity: 0;
    z-index: 9;
    transform: translate(-50%, -100%);
    transition: opacity 0.3s ease;
}

.map-marker.visible {
    opacity: 1;
    animation: markerBounce 0.5s ease-in-out alternate infinite;
}

@keyframes markerBounce {
    from { transform: translate(-50%, -100%); }
    to { transform: translate(-50%, -140%); }
}

/* টুলটিপ (সেন্টার পজিশন) */
.map-tooltip {
    position: absolute;
    left: 50%;
    top: 50%;
    background: rgba(2, 16, 36, 0.95);
    border: 1px solid #FFD700;
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
    z-index: 10;
    min-width: 120px;
    box-sizing: border-box;
    /* মার্কারের ঠিক উপরে থাকার জন্য */
    transform: translate(-50%, calc(-100% - 35px));
}

.map-tooltip.visible {
    opacity: 1;
}

.tooltip-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
    padding-bottom: 4px;
}

.flag-icon {
    width: 18px;
    height: 12px;
    display: flex;
}

.flag-icon svg {
    width: 100%;
    height: 100%;
    border-radius: 2px;
}

.tooltip-header h4 {
    margin: 0;
    color: #FFD700;
    font-size: 13px;
    white-space: nowrap;
}

.map-tooltip p {
    margin: 2px 0;
    font-size: 11px;
    color: #E2E8F0;
}

.map-tooltip .highlight {
    color: #FFD700;
    font-weight: bold;
}
