/* Workout Walkthrough Overlay
 * Spotlight overlay + tooltips for the first-time workout walkthrough.
 */
/* ============================
   Workout Walkthrough Overlay
   ============================ */
.walkthrough-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10010;
    pointer-events: none;
}

.walkthrough-spotlight {
    position: absolute;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.7);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
    cursor: pointer;
}

.walkthrough-spotlight.round {
    border-radius: 50%;
}

.walkthrough-tooltip {
    position: absolute;
    background: var(--bg-primary, #1a1a2e);
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
    border-radius: 14px;
    padding: 18px 20px 14px;
    max-width: 320px;
    pointer-events: auto;
    opacity: 0;
    transform: translateY(8px);
    animation: walkthroughFadeIn 0.35s ease forwards;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

@keyframes walkthroughFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.walkthrough-tooltip-arrow {
    position: absolute;
    width: 14px;
    height: 14px;
    background: var(--bg-primary, #1a1a2e);
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
    transform: rotate(45deg);
}

.walkthrough-tooltip-arrow.arrow-bottom {
    bottom: -8px;
    left: 50%;
    margin-left: -7px;
    border-top: none;
    border-left: none;
}

.walkthrough-tooltip-arrow.arrow-top {
    top: -8px;
    left: 50%;
    margin-left: -7px;
    border-bottom: none;
    border-right: none;
}

.walkthrough-tooltip-arrow.arrow-left {
    left: -8px;
    top: 50%;
    margin-top: -7px;
    border-top: none;
    border-right: none;
}

.walkthrough-tooltip-arrow.arrow-right {
    right: -8px;
    top: 50%;
    margin-top: -7px;
    border-bottom: none;
    border-left: none;
}

.walkthrough-tooltip-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary, #fff);
    margin-bottom: 6px;
}

.walkthrough-tooltip-text {
    font-size: 0.9rem;
    color: var(--text-secondary, rgba(255, 255, 255, 0.7));
    line-height: 1.45;
    margin-bottom: 14px;
}

.walkthrough-tooltip-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.walkthrough-progress {
    font-size: 0.8rem;
    color: var(--text-muted, rgba(255, 255, 255, 0.45));
}

.walkthrough-buttons {
    display: flex;
    gap: 8px;
}

.walkthrough-skip {
    background: transparent;
    color: var(--text-secondary, rgba(255, 255, 255, 0.7));
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.15));
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.82rem;
    cursor: pointer;
}

.walkthrough-skip:hover {
    background: rgba(255, 255, 255, 0.05);
}

.walkthrough-next {
    padding: 6px 18px !important;
    border-radius: 8px !important;
    font-size: 0.82rem !important;
}

@media (max-width: 480px) {
    .walkthrough-tooltip {
        max-width: calc(100vw - 2rem);
    }
}

