/* First-login guided tour: spotlight overlay + coach-mark tooltip (see tour.js).
   The spotlight is one fixed element whose huge box-shadow dims everything around the
   highlighted rectangle; the tooltip is positioned next to it. Theme-aware via Bootstrap vars. */

.dd-tour-block { /* swallows clicks while the tour is on, so state can't change mid-tour */
    position: fixed;
    inset: 0;
    z-index: 1999;
}

.dd-tour-spot {
    position: fixed;
    z-index: 2000;
    border-radius: 10px;
    box-shadow: 0 0 0 4000px rgba(8, 18, 14, .62);
    pointer-events: none;
    transition: top .28s ease, left .28s ease, width .28s ease, height .28s ease;
}

.dd-tour-tip {
    position: fixed;
    z-index: 2001;
    width: min(330px, calc(100vw - 24px));
    background: var(--bs-body-bg, #fff);
    color: var(--bs-body-color, #1c2a24);
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 12px;
    padding: 16px 18px 14px;
    box-shadow: 0 18px 50px -12px rgba(0, 0, 0, .45);
    transition: top .28s ease, left .28s ease;
}

.dd-tour-title {
    font-weight: 700;
    font-size: 1rem;
    margin: 0 0 6px;
    padding-inline-end: 22px; /* room for the ✕ */
}

.dd-tour-body {
    font-size: .9rem;
    color: var(--bs-secondary-color, #5c6f65);
    margin: 0;
}

.dd-tour-close {
    position: absolute;
    top: 6px;
    inset-inline-end: 8px;
    border: 0;
    background: none;
    font-size: 1.1rem;
    line-height: 1;
    color: var(--bs-secondary-color, #888);
    cursor: pointer;
    padding: 4px;
}

.dd-tour-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
}

.dd-tour-progress {
    font-size: .78rem;
    color: var(--bs-secondary-color, #888);
    white-space: nowrap;
}

.dd-tour-btns {
    display: flex;
    gap: 8px;
}

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