/* ===========================
   POPUP INFORMATIONS LÉGALES
   =========================== */

.legal-info-popup-link {
    text-decoration: none;
}

.legal-info-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

.legal-info-popup-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.3s ease, visibility 0s;
}

.legal-info-popup-content {
    background: #FFF;
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    padding: 60px 50px;
    transform: scale(0.8) translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.legal-info-popup-overlay.active .legal-info-popup-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.legal-info-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    margin-bottom:40px;
}

.legal-info-popup-header h3 {
    margin: 0;
    color: #000;
    font-size: 24px;
    font-weight: bold;
}

.legal-info-popup-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    background-image: url("../assets/icons/black-burger-close-icon.svg");
    background-size: 40px 40px;
    background-repeat: no-repeat;
    background-position: center right;
}

.legal-info-popup-close:hover {
    background-color: #FFF;
    transform: scale(0.9);
}

.legal-info-popup-body {
   
}

.legal-info-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.legal-info-links li {
    margin-bottom: 30px;
    padding-left:30px;
}

.legal-info-links li:hover {
    background-image: url("../assets/icons/arrow-right.svg");
    background-size: 30px 30px;
    background-repeat: no-repeat;
    background-position: center left;
    background-size: 20px 20px;
}


.legal-info-links a {
    color: #000;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-decoration: none;
}


/* ===========================
   Responsive
=========================== */

@media (max-width: 768px) {
    .legal-info-popup-content {
        padding: 40px 25px;
    }
    .legal-info-popup-header {
        padding: 0 10px;
    }
    .legal-info-popup-body {
        padding: 20px 10px;
    }
}

