/* Popup RGPD - Overlay */
.rgpd-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(2px);
}

.rgpd-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Popup Container */
.rgpd-popup {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 40px 35px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    position: relative;
}

/* Drapeau européen */
.rgpd-flag {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 60px;
    height: auto;
    opacity: 0.8;
}

.rgpd-flag svg {
    width: 100%;
    height: 100%;
    display: block;
}

.rgpd-overlay.show .rgpd-popup {
    transform: scale(1);
}

/* Icône Cookie (optionnelle) */
.rgpd-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: block;
}

.rgpd-icon svg {
    width: 100%;
    height: 100%;
    fill: #333;
}

/* Titre */
.rgpd-title {
    font-size: 18px;
    font-weight: 600;
    color: #333333;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

/* Texte */
.rgpd-text {
    font-size: 13px;
    color: #555555;
    line-height: 1.6;
    margin: 0 0 25px 0;
}

/* Bouton */
.rgpd-button {
    background-color: #333333;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 12px 40px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0.5px;
}

.rgpd-button:hover {
    background-color: #555555;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.rgpd-button:active {
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 767px) {
    .rgpd-popup {
        padding: 30px 25px;
        width: 95%;
    }
    
    .rgpd-title {
        font-size: 16px;
    }
    
    .rgpd-text {
        font-size: 12px;
    }
    
    .rgpd-button {
        padding: 10px 30px;
        font-size: 13px;
    }
}

