.ii-fb5738d1-container {
    position: relative;
    display: inline-block;
    max-width: 100%;
    width: 100%;
}

.ii-fb5738d1-image {
    display: block;
    width: 100%;
    height: auto;
}

.ii-fb5738d1-hotspot {
    position: absolute;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    overflow: hidden;
    transition: transform 0.2s ease; /* Added transition for hover effect */
}

/* Added hover effect for ALL hotspots */
.ii-fb5738d1-hotspot:hover {
    transform: scale(1.05); /* slightly scale up on hover */
}

.ii-fb5738d1-hotspot.shape-icon {
    overflow: visible;
}

.ii-fb5738d1-hotspot.shape-invisible {
    background-color: transparent !important;
    border: none !important;
}

.ii-fb5738d1-hotspot-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}

.ii-fb5738d1-hotspot-text {
    text-align: center;
    pointer-events: none;
    display: block;
    width: 100%;
    padding: 2px;
    word-break: break-word;
}

.ii-fb5738d1-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.ii-fb5738d1-hotspot:hover .ii-fb5738d1-icon-wrapper {
    transform: scale(1.1); /* Kept slightly more prominent scale for icons inside the wrapper */
}

/* Modal Overlay - Hidden by default */
.ii-fb5738d1-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ii-fb5738d1-modal-open {
    opacity: 1;
    visibility: visible;
}

.ii-fb5738d1-modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    width: 600px;
}

.ii-fb5738d1-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    z-index: 10;
}

.ii-fb5738d1-modal-close:hover {
    color: #d32f2f;
}

.ii-fb5738d1-modal-body {
    margin-top: 10px;
}