.resourceDetail[data-type="hotspot"] {
    background-color: transparent;
    padding: 0;
    box-sizing: border-box;
    overflow: visible;
}

.resourceDetail[data-type="hotspot"] .resourceContent {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.hotspot-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.hotspot-square-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    flex-shrink: 1;
    min-width: 0;
    min-height: 0;
    box-sizing: border-box;
    overflow: visible;
}

.hotspot-element {
    width: 100%;
    height: 100%;
    /* border-radius is set dynamically based on shape attribute (0% to 50%) */
    /* border-width is set dynamically based on borderWidth attribute */
    background-color: transparent;
    border-style: solid;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    box-shadow: 0 0 10px rgba(0, 150, 255, 0.5);
    box-sizing: border-box;
    transition: border-radius 0.2s ease, border-width 0.2s ease, background-color 0.2s ease;
}

.hotspot-element:hover {
    cursor: pointer; /* Pointer cursor on hover */
}

/* When hotspot-element is an <a> tag, ensure proper link styling */
a.hotspot-element {
    text-decoration: none;
    color: inherit;
    display: block;
}

.hotspot-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background-color: transparent;
    z-index: 3;
}

.hotspot-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    /* border-radius is set dynamically based on shape attribute */
    border: 2px solid #0096ff;
    animation: hotspotPulse 2s infinite;
    z-index: 1;
    top: 0;
    left: 0;
    transform-origin: center center;
    pointer-events: none; /* Don't interfere with hover/click on the circle */
    box-sizing: border-box; /* Include border in width/height calculation to prevent offset */
    transition: border-radius 0.2s ease;
}

@keyframes hotspotPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(3);
        opacity: 0;
    }
}

.resourceThumb[data-type="hotspot"] {
    float: left;
    height: 80px;
    margin: 6px;
    position: relative;
    width: 120px;
}

.resourceThumb[data-type="hotspot"] .resourceOverlay {
    background: transparent;
}

.resourceThumb[data-type="hotspot"] .resourceTitle {
    display: none;
}


.editPropertiesContainer .propertiesTypeIcon[data-type="hotspot"] [class^="icon-"]::before, .editPropertiesContainer .propertiesTypeIcon[data-type="hotspot"] [class*=" icon-"]::before {
    content: "\e819"; /* icon-link */
}

.hotspotEditorContainer input[type="number"] {
    width: calc(100% - 30px);
    padding: 4px 0 4px 6px;
    margin: 0px;
}

.hotspotEditorContainer .innerSizeWrapper {
    display: flex;
    align-items: center;
    gap: 5px;
}

.hotspotEditorContainer .innerSizeWrapper span {
    font-weight: normal;
}
