/* ─── Guided Tour ─── */
.gt-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 10000;
    transition: opacity 0.3s ease;
}

.gt-spotlight {
    display: none;
    position: absolute;
    z-index: 10001;
    border-radius: 8px;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.55);
    transition: top 0.35s ease, left 0.35s ease, width 0.35s ease, height 0.35s ease;
    pointer-events: none;
}

.gt-tooltip {
    display: none;
    position: absolute;
    z-index: 10002;
    background: var(--surface);
    border: 1px solid var(--border-2);
    border-radius: 14px;
    padding: 24px 28px 20px;
    max-width: 420px;
    width: 90vw;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    animation: gt-fade-in 0.3s ease;
}

@keyframes gt-fade-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Step dots */
.gt-dots {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
}

.gt-dot {
    width: 100%;
    height: 3px;
    border-radius: 2px;
    background: var(--border-2);
    transition: background 0.3s;
}

.gt-dot.done {
    background: var(--primary);
}

.gt-dot.active {
    background: var(--primary);
    opacity: 0.6;
}

/* Step icon */
.gt-step-icon {
    text-align: center;
    margin-bottom: 12px;
}

.gt-step-icon i {
    font-size: 2.2rem;
    color: var(--primary);
}

/* Step counter */
.gt-step-count {
    font-size: 0.75rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.gt-title {
    margin: 0 0 8px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
}

.gt-text {
    margin: 0 0 16px;
    color: var(--text-2);
    font-size: 0.92rem;
    line-height: 1.55;
}

/* Action link */
.gt-action-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    color: var(--primary) !important;
    font-weight: 500;
    margin-bottom: 16px;
    text-decoration: none !important;
}

.gt-action-link:hover {
    text-decoration: underline !important;
}

/* Button row */
.gt-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gt-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: background 0.15s, color 0.15s;
    font-family: inherit;
}

.gt-btn-ghost {
    background: transparent;
    color: var(--text-2);
}

.gt-btn-ghost:hover {
    background: var(--btn-bg-hover);
    color: var(--text);
}

.gt-btn-primary {
    background: var(--primary);
    color: #fff;
}

.gt-btn-primary:hover {
    filter: brightness(1.1);
}

/* Skip tour link */
.gt-skip-all {
    text-align: center;
    margin-top: 12px;
}

.gt-skip-all button {
    background: none;
    border: none;
    color: var(--muted);
    font-size: 0.8rem;
    cursor: pointer;
    text-decoration: underline;
    font-family: inherit;
}

.gt-skip-all button:hover {
    color: var(--text-2);
}

/* ─── Enhanced Empty States ─── */
.empty-state-enhanced {
    padding: 60px 24px;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.empty-state-illustration {
    margin: 0 auto 24px;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: 50%;
}

.empty-state-illustration i {
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.85;
}

.empty-state-enhanced h3 {
    margin: 0 0 8px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
}

.empty-state-enhanced p {
    margin: 0 0 8px;
    color: var(--text-2);
    font-size: 0.95rem;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.55;
}

.empty-state-enhanced .empty-state-tips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 20px auto 24px;
    max-width: 520px;
}

.empty-state-tip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--bg-2);
    border-radius: 20px;
    font-size: 0.82rem;
    color: var(--text-2);
}

.empty-state-tip i {
    color: var(--primary);
    font-size: 0.9rem;
}

.empty-state-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.empty-state-help {
    margin-top: 16px;
}

.empty-state-help a {
    font-size: 0.85rem;
    color: var(--muted) !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.empty-state-help a:hover {
    color: var(--text-2) !important;
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .gt-tooltip {
        max-width: 95vw;
        padding: 18px 16px 14px;
    }

    .gt-title {
        font-size: 1.05rem;
    }

    .gt-actions {
        flex-wrap: wrap;
    }

    .empty-state-enhanced {
        padding: 40px 16px;
    }

    .empty-state-illustration {
        width: 90px;
        height: 90px;
    }

    .empty-state-illustration i {
        font-size: 2.2rem;
    }

    .empty-state-tips {
        flex-direction: column;
        align-items: center;
    }
}
