.imap108-map-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
    margin: 20px 0;
}

.imap108-map-container svg {
    width: 100%;
    max-width: 800px;
    height: auto;
}

/* Default country style */
.imap108-map-container path {
    fill: #cccccc; /* Default color for countries */
    stroke: #ffffff; /* Border color */
    stroke-width: 1px;
    transition: fill 0.3s ease;
}

/* Hover effect for countries */
.imap108-map-container path:hover {
    fill: #ffcc00; /* Highlight color on hover */
    cursor: pointer;
}

.imap108-country-details {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 20px;
    margin-top: 20px;
    font-family: Arial, sans-serif;
    font-size: 16px;
    color: #333;
}

.imap108-country-details h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

#europe-map {
    width: 100%; /* Scale map to container */
    height: auto;
}

.country {
    pointer-events: all; /* Ensure SVG elements are interactive */
    transition: fill 0.3s ease; /* Smooth hover effect */
}

.country:hover {
    fill: #ffcc00; /* Highlight on hover */
}


#hover-popup {
    position: fixed; /* Relative to the viewport */
    background-color: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    pointer-events: none; /* Prevent interference with hover/touch */
    transform: translate(-50%, -100%); /* Center horizontally above cursor */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: none; /* Default hidden */
}

