/* guided-tour.css - coachmark overlay (appended to <body>) + page replay button */

.fl-tour-overlay {
    position: fixed;
    inset: 0;
    z-index: 20000;
    background: transparent;
}

.fl-tour-spot {
    position: fixed;
    z-index: 20001;
    border-radius: 10px;
    box-shadow:
        0 0 0 9999px rgba(var(--phoenix-dark-rgb, 20, 30, 40), 0.55),
        0 0 0 2px var(--phoenix-primary, #0077b6);
    pointer-events: none;
    transition: top 0.25s ease, left 0.25s ease, width 0.25s ease, height 0.25s ease;
}

.fl-tour-pop {
    position: fixed;
    z-index: 20002;
    width: 290px;
    max-width: calc(100vw - 24px);
    background: var(--phoenix-card-bg, #fff);
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(var(--phoenix-dark-rgb, 0, 0, 0), 0.2);
    padding: 14px 16px;
    font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.fl-tour-pop-step {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--phoenix-primary, #0077b6);
}

.fl-tour-pop-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--phoenix-text-color, #1e3a5f);
    margin: 2px 0 4px;
}

.fl-tour-pop-body {
    font-size: 12.5px;
    line-height: 1.5;
    color: color-mix(in srgb, var(--phoenix-text-color, #1e3a5f) 65%, transparent);
}

.fl-tour-pop-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 12px;
}

.fl-tour-pop-nav {
    display: inline-flex;
    gap: 8px;
}

.fl-tour-skip,
.fl-tour-back {
    border: none;
    background: transparent;
    color: color-mix(in srgb, var(--phoenix-text-color, #1e3a5f) 65%, transparent);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 6px;
}

.fl-tour-skip:hover,
.fl-tour-back:hover {
    color: var(--phoenix-text-color, #1e3a5f);
    background: var(--phoenix-body-bg, #f3f6f9);
}

.fl-tour-next {
    padding: 6px 16px;
    cursor: pointer;
    border: none;
    border-radius: 6px;
    background: var(--phoenix-primary, #0077b6);
    color: #fff;
    font-size: 12.5px;
    font-weight: 700;
}

.fl-tour-next:hover {
    filter: brightness(1.08);
}

@media (prefers-reduced-motion: reduce) {
    .fl-tour-spot {
        transition: none;
    }
}

/* Replay button - injected next to the page title, distinct from the
   generic user-guide "?" help-icon (see css/help-link.css). */
.fl-tour-help-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: none;
    background: color-mix(in srgb, var(--phoenix-success, #38b000) 14%, #e9ecef);
    color: var(--phoenix-success, #38b000);
    font-size: 11px;
    cursor: pointer;
    margin-left: 8px;
    vertical-align: super;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.fl-tour-help-btn:hover {
    background: var(--phoenix-success, #38b000);
    color: #fff;
}
