/* Hotspot Tooltip - appears near the hotspot */
.hotspot-tooltip {
    position: absolute;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border: 2px solid #06b6d4;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    max-width: 400px;
    display: none;
    pointer-events: all;
}

/* Enhanced Tooltip Shadow */
.hotspot-tooltip.show {
    display: block;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(6, 182, 212, 0.5),
                0 0 20px rgba(6, 182, 212, 0.2);
}

.tooltip-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.tooltip-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    color: white;
    flex-shrink: 0;
}

.tooltip-title {
    font-size: 18px;
    font-weight: 600;
    color: white;
    flex: 1;
}

.tooltip-close {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
}

.tooltip-close:hover {
    background: #475569;
    color: white;
}

.tooltip-description {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 16px;
}

.tooltip-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Tooltip Button Improved */
.tooltip-button {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 12px 18px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.tooltip-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.5);
}

.tooltip-button:active {
    transform: translateY(-1px);
}

.tooltip-button.secondary {
    background: #334155;
}

.tooltip-button.secondary:hover {
    background: #475569;
    box-shadow: none;
}

/* Arrow pointing to hotspot */
.hotspot-tooltip::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border: 12px solid transparent;
}

.hotspot-tooltip.arrow-left::before {
    left: -24px;
    top: 30px;
    border-right-color: #06b6d4;
}

.hotspot-tooltip.arrow-right::before {
    right: -24px;
    top: 30px;
    border-left-color: #06b6d4;
}

.hotspot-tooltip.arrow-top::before {
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    border-bottom-color: #06b6d4;
}

.hotspot-tooltip.arrow-bottom::before {
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    border-top-color: #06b6d4;
}