/* Skymil in-app walkthrough / guided tours — spotlight + guidance card.
   Theme-aware via the app's CSS variables (works in dark and light). */

.wt-blocker {
    position: fixed;
    inset: 0;
    z-index: 4000;
    cursor: default;
    /* transparent — the dimming comes from the spotlight hole's box-shadow */
}

.wt-hole {
    position: fixed;
    z-index: 4001;
    border-radius: 14px;
    box-shadow: 0 0 0 9999px rgba(2, 6, 23, 0.66);
    border: 2px solid var(--accent, #22c55e);
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.wt-card {
    position: fixed;
    z-index: 4002;
    width: min(360px, calc(100vw - 32px));
    background: var(--card-solid, #0f172a);
    color: var(--text, #e5e7eb);
    border: 1px solid var(--card-border, rgba(30, 41, 59, 0.6));
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    padding: 18px 18px 14px;
    font-family: var(--font, 'Inter', sans-serif);
    animation: wt-pop 0.18s ease-out;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
}
@keyframes wt-pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.wt-card-kicker {
    display: flex; align-items: center; gap: 6px;
    font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--accent, #22c55e); margin-bottom: 8px;
}
.wt-card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; line-height: 1.3; }
.wt-card p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--text-dim, #94a3b8); }

.wt-card-close {
    position: absolute; top: 12px; right: 12px;
    background: none; border: none; color: var(--text-dim, #94a3b8);
    font-size: 20px; line-height: 1; cursor: pointer; padding: 2px 6px; border-radius: 8px;
}
.wt-card-close:hover { background: var(--bg-hover, rgba(255,255,255,0.06)); color: var(--text, #e5e7eb); }

.wt-card-footer {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px;
}
.wt-dots { display: flex; gap: 6px; flex-wrap: wrap; }
.wt-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--card-border, rgba(148,163,184,0.4)); transition: background 0.2s, width 0.2s; }
.wt-dot.active { background: var(--accent, #22c55e); width: 18px; border-radius: 999px; }

.wt-actions { display: flex; align-items: center; gap: 8px; }
.wt-btn {
    font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
    padding: 8px 16px; border-radius: 10px; border: 1px solid transparent; transition: all 0.15s;
}
.wt-btn-primary { background: var(--accent, #22c55e); color: #04140a; }
.wt-btn-primary:hover { filter: brightness(1.08); }
.wt-btn-ghost { background: transparent; color: var(--text-dim, #94a3b8); }
.wt-btn-ghost:hover { color: var(--text, #e5e7eb); background: var(--bg-hover, rgba(255,255,255,0.06)); }

.wt-skip {
    background: none; border: none; color: var(--text-dim, #94a3b8);
    font: inherit; font-size: 12px; cursor: pointer; text-decoration: underline; padding: 0;
}
.wt-skip:hover { color: var(--text, #e5e7eb); }
.wt-step-count { font-size: 12px; color: var(--text-dim, #94a3b8); }

/* Help launcher button (topbar) */
.wt-help-btn {
    position: relative;
}

/* On small screens, dock the card to the bottom for reliable placement */
@media (max-width: 640px) {
    .wt-card {
        left: 16px !important; right: 16px !important; bottom: 16px !important;
        top: auto !important; width: auto !important;
    }
}
