
.pbai-tour-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1000000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    animation: tourFadeIn 0.5s ease;
}

@keyframes tourFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* کانتینر تور */
.pbai-tour-container {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: tourSlideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes tourSlideUp {
    from { transform: translateY(50px) scale(0.95); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

/* اسلایدها */
.pbai-tour-slides {
    padding: 2px;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pbai-tour-slide {
    display: none;
    text-align: center;
    animation: slideFade 0.5s ease;
}

@keyframes slideFade {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.pbai-tour-slide.active {
    display: block;
}

.tour-icon {
    font-size: 60px;
    margin-bottom: 20px;
    animation: iconBounce 2s infinite;
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.pbai-tour-slide h3 {
    color: #333;
    font-size: 24px;
    margin: 0 0 15px;
    font-weight: 700;
}

.pbai-tour-slide p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 20px;
}

/* نکات ویژه */
.tour-hint {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    padding: 15px;
    margin: 20px 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-right: 4px solid #dc3545;
}

.tour-hint .dashicons {
    color: #dc3545;
    font-size: 24px;
    width: 24px;
    height: 24px;
}

.tour-hint span {
    font-weight: 600;
    color: #495057;
}

/* ویژگی‌ها */
.tour-features {
    text-align: right;
    margin: 20px 0;
    padding: 0;
    list-style: none;
}

.tour-features li {
    margin: 10px 0;
    padding: 8px 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    color: #495057;
}

.tour-features .dashicons {
    color: #28a745;
    font-size: 20px;
    width: 20px;
    height: 20px;
}

/* دکمه‌های اکشن */
.tour-action {
    margin-top: 30px;
}

.tour-button {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.tour-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4);
}

.tour-button.start-installing {
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.tour-button.start-installing:hover {
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

/* ناوبری */
.pbai-tour-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    border-top: 1px solid #eee;
    background: #f8f9fa;
}

.tour-nav-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.tour-nav-btn:hover:not(:disabled) {
    background: #5a6268;
    opacity: 1;
    transform: translateY(-1px);
}

.tour-nav-btn:disabled {
    cursor: not-allowed;
    opacity: 0.4;
}

.tour-nav-btn.next-btn {
    background: #007bff;
}

.tour-nav-btn.next-btn:hover:not(:disabled) {
    background: #0056b3;
}

/* پیشرفت */
.tour-progress {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.progress-dots {
    display: flex;
    gap: 10px;
}

.progress-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #dee2e6;
    transition: all 0.3s ease;
    cursor: pointer;
}

.progress-dot.active {
    background: #dc3545;
    transform: scale(1.2);
}

.progress-text {
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
}

/* پاورقی */
.pbai-tour-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 4px;
    border-top: 1px solid #eee;
    background: white;
}

.tour-dont-show {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #6c757d;
}

.tour-dont-show input {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.tour-close-btn {
    background: none;
    border: 1px solid #dc3545;
    color: #dc3545;
    padding: 8px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tour-close-btn:hover {
    background: #dc3545;
    color: white;
}

/* واکنشگرایی */
@media (max-width: 768px) {
    .pbai-tour-container {
        width: 95%;
        border-radius: 15px;
    }
    
    .pbai-tour-slides {
        padding: 30px 25px;
        min-height: 300px;
    }
    
    .pbai-tour-slide h3 {
        font-size: 20px;
    }
    
    .pbai-tour-slide p {
        font-size: 15px;
    }
    
    .tour-icon {
        font-size: 50px;
    }
    
    .pbai-tour-navigation,
    .pbai-tour-footer {
        padding: 10px 15px;
        flex-direction: row-reverse;
        gap: 15px;
    }
    
    .tour-button {
        padding: 12px 24px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .pbai-tour-slides {
        padding: 25px 20px;
    }
    
    .pbai-tour-slide h3 {
        font-size: 18px;
    }
    
    .tour-icon {
        font-size: 45px;
    }
    
    .tour-button {
        width: 100%;
        justify-content: center;
    }
}