.tour-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    transition: opacity 0.3s ease;
}

.tour-highlight {
    position: relative;
    z-index: 10001 !important;
    box-shadow: 0 0 0 4px #3498db, 0 0 0 8px rgba(52, 152, 219, 0.3);
    border-radius: 6px;
    transition: box-shadow 0.3s ease;
}

.tour-tooltip {
    position: fixed;
    z-index: 10002;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    max-width: 380px;
    min-width: 300px;
    animation: tour-fade-in 0.3s ease;
}

@keyframes tour-fade-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.tour-tooltip-header {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: #fff;
    padding: 14px 18px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tour-tooltip-header h6 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.tour-step-badge {
    background: rgba(255, 255, 255, 0.25);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
}

.tour-tooltip-body {
    padding: 16px 18px;
    color: #333;
    font-size: 0.92rem;
    line-height: 1.6;
}

.tour-tooltip-footer {
    padding: 10px 18px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
}

.tour-btn {
    padding: 6px 16px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.2s;
}

.tour-btn-skip {
    background: transparent;
    color: #999;
}

.tour-btn-skip:hover {
    color: #666;
}

.tour-btn-prev {
    background: #f0f0f0;
    color: #555;
}

.tour-btn-prev:hover {
    background: #e0e0e0;
}

.tour-btn-next {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: #fff;
}

.tour-btn-next:hover {
    background: linear-gradient(135deg, #2980b9, #1f6fa5);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.4);
}

.tour-btn-finish {
    background: linear-gradient(135deg, #27ae60, #219a52);
    color: #fff;
}

.tour-btn-finish:hover {
    background: linear-gradient(135deg, #219a52, #1a8042);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.4);
}

.tour-progress {
    display: flex;
    gap: 4px;
    align-items: center;
}

.tour-progress-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    transition: all 0.3s;
}

.tour-progress-dot.active {
    background: #3498db;
    transform: scale(1.3);
}

.tour-progress-dot.completed {
    background: #27ae60;
}

.tour-welcome-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10002;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3);
    max-width: 440px;
    width: 90%;
    text-align: center;
    animation: tour-fade-in 0.4s ease;
}

.tour-welcome-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 30px 24px 20px;
    border-radius: 16px 16px 0 0;
}

.tour-welcome-header h4 {
    margin: 12px 0 0;
    font-size: 1.4rem;
}

.tour-welcome-header .tour-welcome-icon {
    font-size: 2.5rem;
}

.tour-welcome-body {
    padding: 20px 24px;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
}

.tour-welcome-footer {
    padding: 0 24px 24px;
    display: flex;
    gap: 10px;
    justify-content: center;
}

@media (max-width: 768px) {
    .tour-tooltip {
        max-width: 300px;
        min-width: 260px;
    }
    .tour-welcome-modal {
        max-width: 340px;
    }
}
