.swipe-tooltip {
    position: absolute;
    top: 8px;
    z-index: 10;

    padding: 4px 10px;
    border-radius: 8px;

    background: rgb(108 117 125 / 12%);
    color: var(--bs-secondary-color);
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;

    pointer-events: none;
    backdrop-filter: blur(4px);

    transition: background-color 0.15s, color 0.15s;
}

.swipe-tooltip--left {
    left: 12px;
    right: auto;
}

.swipe-tooltip--right {
    right: 12px;
    left: auto;
}

.swipe-tooltip--ready.swipe-tooltip--danger {
    color: var(--bs-danger);
}

.swipe-tooltip--ready.swipe-tooltip--success {
    color: var(--bs-success);
}

.swipe-tooltip--ready.swipe-tooltip--secondary {
    color: var(--bs-secondary);
}

.swipe-tooltip--ready.swipe-tooltip--primary {
    color: var(--bs-primary);
}

.swipe-tooltip--ready {
    background: color-mix(in srgb, currentColor 18%, transparent);
}

