.multi-hover-panel {
    position: absolute;
    background: white;
    border: 2px solid #333;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    min-width: 250px;
    max-width: 400px;
    pointer-events: auto;
    /* Ensure clicks work inside the panel */
}

.hover-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ddd;
}

.hover-arrow-btn {
    cursor: pointer;
    font-size: 18px;
    padding: 4px 8px;
    background: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 4px;
    user-select: none;
}

.hover-arrow-btn:hover {
    background: #e0e0e0;
}

.hover-arrow-btn:active {
    background: #ccc;
}

.hover-counter {
    font-weight: bold;
    color: #333;
    font-size: 14px;
}

.hover-close-btn {
    cursor: pointer;
    color: #999;
    font-weight: bold;
    margin-left: 10px;
}

.hover-close-btn:hover {
    color: var(--primary-color);
}

.hover-content {
    font-size: 14px;
    line-height: 1.4;
}