/* TUTORIAL BUBBLE */
#tutorial-bubble {
    position: absolute;
    background: #fff;
    color: #111;
    padding: 15px 20px;
    border-radius: 16px;
    width: 260px;
    max-width: 85vw;
    z-index: 2147483647;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 0 4px rgba(255, 255, 255, 0.35);
    display: none;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease, top 0.4s ease, left 0.4s ease;
    pointer-events: auto;
}

#tutorial-bubble.show {
    opacity: 1;
    transform: translateY(0);
}

.tb-title {
    font-weight: 900;
    font-size: 14px;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tb-step-badge {
    background: var(--turf);
    color: #000;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 6px;
}

.tb-text {
    font-size: 13px;
    line-height: 1.4;
    color: #475569;
}

.tb-action {
    display: flex;
    justify-content: flex-end;
    margin-top: 5px;
}

.tb-btn {
    background: var(--turf);
    color: #000;
    border: none;
    border-radius: 6px;
    padding: 8px 14px;
    font-weight: 900;
    font-size: 11px;
    cursor: pointer;
    letter-spacing: 0.5px;
}

/* Arrow pointing */
.tb-arrow {
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    transition: 0.4s ease;
}

.tb-arrow.top {
    border-width: 0 12px 14px 12px;
    border-color: transparent transparent #fff transparent;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce-top 1s infinite alternate;
}

.tb-arrow.bottom {
    border-width: 14px 12px 0 12px;
    border-color: #fff transparent transparent transparent;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce-bottom 1s infinite alternate;
}

@keyframes bounce-top {
    0% {
        margin-top: 0;
    }

    100% {
        margin-top: -6px;
    }
}

@keyframes bounce-bottom {
    0% {
        margin-bottom: 0;
    }

    100% {
        margin-bottom: -6px;
    }
}