.interactive-map-container {
    position: relative; /* Required for absolute children */
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    z-index: 1;
}

.map-wrapper {
    position: relative;
}

.map-image {
    width: 100%;
    display: block;
}

/* Wrap each point and label */
.map-point-wrapper {
    position: absolute;
    transform: translate(-50%, -50%);
    text-align: center;
    font-family: 'Segoe UI', sans-serif;
}

/* Smaller point */
.map-point {
    width: 12px;
    height: 12px;
    background: #00aeef;
    border-radius: 50%;
    cursor: pointer;
    margin: 0 auto;
    transition: transform 0.3s;
    border: 2px solid #fff;
}

.map-point.active {
    background: #0074a2;
    transform: scale(1.3);
}

/* Country name label under each point */
.map-label {
    margin-top: 4px;
    font-size: 11px;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    font-weight: 500;
}

.map-buttons {
position: absolute;
  bottom: 12px;
  left: 330px;
  transform: translateX(-100%);
  display: flex;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.map-btn {
    padding: 10px 24px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f7f7f7;
    font-family: 'Segoe UI', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.map-btn:hover {
    background-color: #00aeef;
    color: #fff;
    border-color: #00aeef;
    box-shadow: 0 4px 10px rgba(0, 174, 239, 0.2);
}

.map-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 174, 239, 0.3);
}

/* Popup styles */
.popup-box {
    position: absolute;
    z-index: 9999;
    background: #fff;
    border: 1px solid #ddd;
    padding: 10px 14px;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    font-family: 'Segoe UI', sans-serif;
    font-size: 13px;
    display: none;
    width: 260px;
    white-space: normal;
    text-align: left;
    color: #333;
    line-height: 1.4;
}

/* Optional styling if using <strong> inside popup */
.popup-box strong {
    display: block;
    font-size: 16px;
    margin-bottom: 8px;
    color: #222;
}

/* Arrow pointing to the point */
.popup-box::after {
    content: "";
    position: absolute;
    top: 10px;
    right: -8px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 8px solid white;
    filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.1));
}

.popup-content {
    font-size: 13px;
    color: #333;
}

.popup-title {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 4px;
    color: #000;
}



.popup-actions {
    margin-top: 10px;
}

.popup-direction-btn {
    display: inline-block;
    background-color: #00aeef;
    color: white;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s;
}

.popup-direction-btn:hover {
    background-color: #008dc2;
}




@media (max-width: 480px) {
    .popup-mobile-container {
        width: 100%;
        margin-top: 16px;
    }
    #popup-box {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        position: static !important;
        left: 0 !important;
        top: 0 !important;
        margin: 0 auto;
    }
}