/* 引导系统主样式 */
.tutorial-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: none;
}

.tutorial-step {
    position: absolute;
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    z-index: 10001;
    animation: tutorialSlideIn 0.3s ease-out;
}

@keyframes tutorialSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.tutorial-highlight {
    position: relative;
    z-index: 10002 !important;
    box-shadow: 0 0 0 4px #3b82f6, 0 0 20px rgba(59, 130, 246, 0.5) !important;
    border-radius: 8px;
    transform: scale(1.02);
    transition: all 0.3s ease;
}

.tutorial-content h3 {
    color: #1f2937;
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
}

.tutorial-content p {
    color: #6b7280;
    margin: 0 0 1.5rem 0;
    line-height: 1.5;
}

.tutorial-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.tutorial-progress {
    font-size: 0.875rem;
    color: #9ca3af;
}

.tutorial-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

.tutorial-btn-primary {
    background: #3b82f6;
    color: white;
}

.tutorial-btn-primary:hover {
    background: #2563eb;
}

.tutorial-btn-secondary {
    background: #f3f4f6;
    color: #374151;
}

.tutorial-btn-secondary:hover {
    background: #e5e7eb;
}

.tutorial-skip {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    font-size: 0.875rem;
}

.tutorial-skip:hover {
    color: #374151;
}

/* 强化高亮效果 */
.tutorial-highlight {
    position: relative;
    z-index: 10002 !important;
    box-shadow:
        0 0 0 4px #3b82f6,
        0 0 0 8px rgba(59, 130, 246, 0.3),
        0 0 30px rgba(59, 130, 246, 0.5) !important;
    border-radius: 8px;
    transform: scale(1.03);
    transition: all 0.3s ease;
    animation: highlight-pulse 2s infinite;
}

/* 特别强调的高亮效果 */
.tutorial-highlight-important {
    box-shadow:
        0 0 0 4px #f59e0b,
        0 0 0 8px rgba(245, 158, 11, 0.3),
        0 0 40px rgba(245, 158, 11, 0.6) !important;
    animation: highlight-pulse-important 1.5s infinite;
}

@keyframes highlight-pulse {
    0%, 100% {
        box-shadow:
            0 0 0 4px #3b82f6,
            0 0 0 8px rgba(59, 130, 246, 0.3),
            0 0 30px rgba(59, 130, 246, 0.5);
    }
    50% {
        box-shadow:
            0 0 0 4px #3b82f6,
            0 0 0 12px rgba(59, 130, 246, 0.4),
            0 0 40px rgba(59, 130, 246, 0.7);
    }
}

@keyframes highlight-pulse-important {
    0%, 100% {
        box-shadow:
            0 0 0 4px #f59e0b,
            0 0 0 8px rgba(245, 158, 11, 0.3),
            0 0 40px rgba(245, 158, 11, 0.6);
    }
    50% {
        box-shadow:
            0 0 0 4px #f59e0b,
            0 0 0 16px rgba(245, 158, 11, 0.5),
            0 0 60px rgba(245, 158, 11, 0.8);
    }
}

/* 引导步骤中的重点标记 */
.tutorial-step-important .tutorial-content h3::before {
    content: "🌟 ";
}

.tutorial-step-important .tutorial-content {
    border-left: 4px solid #f59e0b;
    padding-left: 1rem;
    margin-left: -1rem;
}