/* Style pour la popup de vérification d'âge */

.avp-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.avp-popup {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 40px;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease-out;
}

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

.avp-content {
    text-align: center;
}

.avp-content h2 {
    color: #333333;
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 600;
}

.avp-content p {
    color: #666666;
    font-size: 18px;
    margin-bottom: 30px;
}

.avp-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.avp-btn {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

.avp-btn-yes {
    background-color: #27ae60;
    color: white;
}

.avp-btn-yes:hover {
    background-color: #229954;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(39, 174, 96, 0.3);
}

.avp-btn-no {
    background-color: #e74c3c;
    color: white;
}

.avp-btn-no:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(231, 76, 60, 0.3);
}

/* Empêcher le scroll du body quand la popup est ouverte */
body.avp-no-scroll {
    overflow: hidden;
}

/* Responsive */
@media (max-width: 480px) {
    .avp-popup {
        padding: 30px 20px;
        width: 95%;
    }
    
    .avp-content h2 {
        font-size: 24px;
    }
    
    .avp-content p {
        font-size: 16px;
    }
    
    .avp-buttons {
        flex-direction: column;
    }
    
    .avp-btn {
        width: 100%;
    }
}