/**
 * Styles pour la popup d'accueil des nouveaux utilisateurs
 */

/* Masquer la section #intro dans la page (elle sera clonée dans la popup) */
#intro {
    display: none !important;
}

/* Overlay de fond */
#shakers-welcome-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
    overflow-y: auto;
}

#shakers-welcome-overlay.active {
    opacity: 1;
}

/* Container de la popup */
.shakers-welcome-popup {
    position: relative;
    background: #1A1A1A;
    border-radius: 0;
    max-width: 1200px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

#shakers-welcome-overlay.active .shakers-welcome-popup {
    transform: scale(1);
}

/* Bouton de fermeture */
.shakers-welcome-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 0;
    color: #FFFFFF;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.shakers-welcome-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: rotate(90deg);
}

/* Contenu de la popup */
.shakers-welcome-content {
    padding: 0;
}

/* Styles pour la section Divi à l'intérieur de la popup */
.shakers-welcome-content .et_pb_section {
    padding: 60px 40px !important;
    margin: 0 !important;
}

.shakers-welcome-content .et_pb_row {
    max-width: 100% !important;
}

/* Forcer tous les textes et titres en blanc dans la popup */
.shakers-welcome-content h1,
.shakers-welcome-content h2,
.shakers-welcome-content h3,
.shakers-welcome-content h4,
.shakers-welcome-content h5,
.shakers-welcome-content h6,
.shakers-welcome-content p,
.shakers-welcome-content span,
.shakers-welcome-content div,
.shakers-welcome-content li,
.shakers-welcome-content label,
.shakers-welcome-content a {
    color: #FFFFFF !important;
}

/* Titres avec un peu plus d'emphase */
.shakers-welcome-content h1,
.shakers-welcome-content h2 {
    color: #FFFFFF !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Liens en blanc avec soulignement au survol */
.shakers-welcome-content a:hover {
    color: #FFFFFF !important;
    text-decoration: underline;
}

/* Styles pour les éléments interactifs (quiz, formulaires) */
.shakers-welcome-content input[type="radio"],
.shakers-welcome-content input[type="checkbox"] {
    cursor: pointer !important;
    pointer-events: auto !important;
    width: 18px !important;
    height: 18px !important;
    margin-right: 10px !important;
}

.shakers-welcome-content label {
    cursor: pointer !important;
    pointer-events: auto !important;
}

.shakers-welcome-content button,
.shakers-welcome-content .button,
.shakers-welcome-content .btn,
.shakers-welcome-content input[type="submit"],
.shakers-welcome-content input[type="button"] {
    cursor: pointer !important;
    pointer-events: auto !important;
    transition: all 0.3s ease !important;
}

.shakers-welcome-content button:hover,
.shakers-welcome-content .button:hover,
.shakers-welcome-content .btn:hover {
    opacity: 0.9 !important;
    transform: translateY(-1px) !important;
}

/* Styles pour les options de quiz */
.shakers-welcome-content .quiz-option,
.shakers-welcome-content .et_pb_radio_button_wrapper,
.shakers-welcome-content .et_pb_contact_field {
    cursor: pointer !important;
    pointer-events: auto !important;
}

/* S'assurer que tous les éléments interactifs sont cliquables */
.shakers-welcome-content * {
    pointer-events: auto !important;
}

/* Mais pas l'overlay lui-même */
#shakers-welcome-overlay {
    pointer-events: auto !important;
}

.shakers-welcome-popup {
    pointer-events: auto !important;
}

/* Responsive */
@media (max-width: 768px) {
    #shakers-welcome-overlay {
        padding: 10px;
    }
    
    .shakers-welcome-popup {
        max-height: 95vh;
        border-radius: 0;
    }
    
    .shakers-welcome-close {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
        font-size: 24px;
    }
    
    .shakers-welcome-content .et_pb_section {
        padding: 40px 20px !important;
    }
}

/* Scrollbar personnalisée pour la popup */
.shakers-welcome-popup::-webkit-scrollbar {
    width: 8px;
}

.shakers-welcome-popup::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.shakers-welcome-popup::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.shakers-welcome-popup::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Animation pour le bouton #btn-acceder-parcours */
#shakers-welcome-overlay #btn-acceder-parcours {
    cursor: pointer;
    transition: all 0.3s ease;
}

#shakers-welcome-overlay #btn-acceder-parcours:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
