/* Patient Dashboard First-Time Walkthrough */

/* Launch button */
#wt-launch {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    background: transparent;
    border: 1.5px solid var(--color-primary, hsl(150,25%,25%));
    color: var(--color-primary, hsl(150,25%,25%));
    border-radius: var(--radius-round, 32px);
    font-size: var(--font-size-sm, 0.8rem);
    font-weight: 700;
    font-family: var(--font-family-sans, sans-serif);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    background: white;
}

#wt-launch:hover {
    background: var(--color-primary, hsl(150,25%,25%));
    color: white;
}

#wt-launch-wrap {
    display: flex;
    justify-content: flex-end;
    padding: 0 0.25rem 0.25rem;
    /* sits in the grid between greeting and hero */
}

/* Click-blocking backdrop */
#wt-blocker {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9988;
    cursor: default;
}

/* Spotlight ring — uses box-shadow to darken everything around it */
#wt-spotlight {
    display: none;
    position: fixed;
    z-index: 9989;
    border-radius: var(--radius-md, 8px);
    pointer-events: none;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.58);
    outline: 2px solid rgba(255, 255, 255, 0.35);
    outline-offset: 0px;
    transition: top 0.28s ease, left 0.28s ease, width 0.28s ease, height 0.28s ease;
}

/* Tooltip card */
#wt-tooltip {
    display: none;
    position: fixed;
    z-index: 9995;
    background: #fff;
    border-radius: var(--radius-lg, 16px);
    padding: 1.25rem 1.375rem 1rem;
    max-width: 360px;
    width: calc(100vw - 32px);
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.2);
    font-family: var(--font-family-sans, sans-serif);
}

.wt-tooltip-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.wt-step-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted, hsl(150,10%,55%));
}

.wt-dots {
    display: flex;
    gap: 5px;
    align-items: center;
}

.wt-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-border, hsl(150,15%,80%));
    transition: background 0.2s, width 0.2s, border-radius 0.2s;
}

.wt-dot.active {
    background: var(--color-primary, hsl(150,25%,25%));
    width: 18px;
    border-radius: 3px;
}

#wt-title {
    margin: 0 0 0.4rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-heading, hsl(150,25%,20%));
    line-height: var(--line-height-snug, 1.25);
}

#wt-desc {
    margin: 0 0 1.1rem;
    font-size: 0.875rem;
    color: var(--color-text-body, hsl(150,15%,35%));
    line-height: var(--line-height-relaxed, 1.6);
}

.wt-tooltip-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

#wt-skip {
    background: none;
    border: none;
    color: var(--color-text-muted, hsl(150,10%,55%));
    font-size: 0.8rem;
    font-family: inherit;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 2px;
}

#wt-skip:hover {
    color: var(--color-text-body, hsl(150,15%,35%));
}

.wt-nav {
    display: flex;
    gap: 0.5rem;
}

.wt-btn {
    padding: 0.4rem 1rem;
    border-radius: var(--radius-md, 8px);
    font-size: 0.85rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    border: none;
    transition: background 0.15s, color 0.15s;
    line-height: 1;
}

#wt-prev {
    background: var(--color-surface, hsl(150,25%,97%));
    color: var(--color-text-body, hsl(150,15%,35%));
    border: 1px solid var(--color-border, hsl(150,15%,80%));
}

#wt-prev:hover {
    background: var(--color-border-decorative, hsl(150,20%,92%));
}

#wt-next {
    background: var(--color-primary, hsl(150,25%,25%));
    color: #fff;
}

#wt-next:hover {
    background: var(--color-heading, hsl(150,25%,20%));
}
