/* Interactive Map Widget Styles */
.elementor-widget-interactive_map {
    height: 100%;
    min-height: 100%;
    width: 100%;
}

.interactive-map {
    position: relative;
    display: block;
    overflow: hidden;
}

.interactive-map__image {
    width: 100%;
    line-height: 0;
}

.interactive-map__image img {
    width: 100%;
    height: auto;
    display: block;
}

.interactive-map__inner {
    position: relative;
}

/* Logo */
.interactive-map__logo {
    position: absolute;
    transform: translate(-50%, -50%) scale(var(--map-scale, 1));
    z-index: 10;
    line-height: 0;
}

.interactive-map__logo img {
    display: block;
    height: auto;
}

/* Markers Container */
.interactive-map__markers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Single Marker */
.interactive-map__marker {
    position: absolute;
    transform: translate(-50%, -50%) scale(var(--map-scale, 1));
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: auto;
    z-index: 5;
    will-change: transform;
}

.interactive-map__marker-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
}

.interactive-map__marker-icon img {
    display: block;
}

.interactive-map__marker-icon i,
.interactive-map__marker-icon svg {
    display: block;
    width: var(--icon-size, 40px) !important;
    height: var(--icon-size, 40px) !important;
}

.interactive-map__marker-icon img {
    width: var(--icon-size, 40px) !important;
    height: auto !important;
}

/* Info container (label + travel time) */
.interactive-map__marker-info {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: max-content;
}

/* Label (always visible) */
.interactive-map__marker-label {
    direction: ltr;
    text-align: center;
    margin-top: 5px;
}

/* Travel Time (visible on hover) */
.interactive-map__marker-title {
    white-space: nowrap;
    direction: ltr;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    margin-top: 3px;
}

.interactive-map__marker:hover .interactive-map__marker-title {
    opacity: 1;
    visibility: visible;
}

/* Hover effects */
.interactive-map__marker:hover {
    z-index: 15;
}