
/* Tutorial button */
.tutorial-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.tutorial-button:hover {
    background-color: #005177;
}

.tutorial-button .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* Custom welcome popup */
#custom-welcome-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
}

#custom-welcome-popup {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: popup-fade-in 0.3s ease-out;
}

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

#custom-welcome-popup h3 {
    margin-top: 0;
    color: #0073aa;
    font-size: 20px;
}

#custom-welcome-popup p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.5;
}

#custom-welcome-popup .button-container {
    display: flex;
    justify-content: center;
    gap: 15px;
}

#custom-welcome-popup button {
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s ease;
}

#custom-welcome-popup button.start-button {
    background-color: #0073aa;
    color: white;
}

#custom-welcome-popup button.start-button:hover {
    background-color: #005177;
}

#custom-welcome-popup button.dismiss-button {
    background-color: #f1f1f1;
    color: #333;
}

#custom-welcome-popup button.dismiss-button:hover {
    background-color: #e1e1e1;
}
.driver-active .driver-highlighted-element {
    opacity: 1 !important;
    background-color: transparent !important;
    z-index: 10000 !important;
}

/* Fix for the overlay to not affect the highlighted element */
.driver-overlay {
    pointer-events: auto !important;
}

/* Ensure the highlighted element is interactive */
.driver-highlighted-element {
    pointer-events: auto !important;
}

.driver-close-btn{
    background-color: rgb(255, 106, 106) !important;
    text-shadow: none !important;
    color: white !important;
    font:inherit !important;
    font-size:12px !important;
}
.driver-next-btn{
    background-color: rgb(0, 0, 0) !important;
    text-shadow: none !important;
    color: white !important;
    font:inherit !important;
    font-size:12px !important;
}
.driver-prev-btn{
    background-color: rgb(255, 255, 255) !important;
    text-shadow: none !important;
    color: rgb(0, 0, 0) !important;
    font:inherit !important;
    font-size:12px !important;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .tutorial-button {
        bottom: 10px;
        right: 10px;
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .tutorial-button .dashicons {
        font-size: 16px;
        width: 16px;
        height: 16px;
    }
    
    #custom-welcome-popup {
        padding: 20px;
        max-width: 320px;
    }
    
    #custom-welcome-popup h3 {
        font-size: 18px;
    }
    
    #custom-welcome-popup p {
        font-size: 14px;
    }
    
    #custom-welcome-popup button {
        padding: 8px 16px;
        font-size: 14px;
    }
}
