/* ==========================================================================
   TOOLTIPS
   ========================================================================== */
.hoverable-tooltip {
    opacity: 0;
    position: absolute;
    z-index: 9999;
    pointer-events: none;
    transition: opacity 0.2s;
    border-radius: 5px;
}

.hoverable-tooltip.visible {
    opacity: .93;
    pointer-events: auto;
}

.primary-soft-tooltip {
    background: var(--primary-soft);
    border-radius: 5px;
    color: var(--white);
    font-size: 14px;
    padding: 5px 15px;
    text-align: center;
    min-width: 50px;
    max-width: 200px;
}

.gray-tooltip {
    background: var(--gray-medium-400);
    border-radius: 5px;
    color: var(--white);
    font-size: 12px;
    padding: 3px 10px;
    text-align: center;
    min-width: 50px;
    max-width: 200px;
}

.chart-dark-tooltip {
    background: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    text-align: left;
    width: auto;
    border-radius: 3px;
}

.chart-dark-tooltip.tooltip-above::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.8) transparent transparent transparent;
}

.chart-dark-tooltip.tooltip-below::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent rgba(0, 0, 0, 0.8) transparent;
}

.chart-dark-tooltip.tooltip-left::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 100%;
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent rgba(0, 0, 0, 0.8) transparent transparent;
}

.chart-dark-tooltip.tooltip-right::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent rgba(0, 0, 0, 0.8);
}

.chart-dark-tooltip table {
    margin: 0;
}

