﻿

.show-cookie-wall #cookieWall {
    display: flex; /* ou block selon ton layout */
}


/* Overlay principal */
#cookieWall {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

/* Box principale */
.cookie-box {
    background: #ffffff;
    color: #333;
    padding: 30px;
    width: 100%;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    text-align: center;
}

    /* Titre */
    .cookie-box h3 {
        margin-top: 0;
        margin-bottom: 15px;
        font-size: 20px;
    }

    /* Texte */
    .cookie-box p {
        font-size: 14px;
        line-height: 1.5;
    }

    /* Boutons */
    .cookie-box button {
        margin-top: 15px;
        margin-right: 10px;
        padding: 10px 18px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 14px;
    }

        /* Bouton principal */
        .cookie-box button:last-child {
            background-color: #0078D4;
            color: white;
        }

        /* Bouton secondaire */
        .cookie-box button:first-child {
            background-color: #eee;
        }

/* -------- MODALE -------- */

.hidden-cookies {
    display: none !important;
}

.modal-cookies {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.modal-cookies-content {
    display: flex;
    flex-direction: column;
    max-height: 80vh;
    background: #ffffff;
    padding: 25px;
    width: 100%;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    text-align: left;
}


.modal-cookies-body {
    overflow-y: auto;
    margin: 15px 0;
    padding-right: 15px;
}

    .modal-cookies-body p {
        text-align: justify;
    }


.modal-content li {
    margin-bottom: 8px;
}

/* Responsive mobile */
@media (max-width: 500px) {

    .cookie-box {
        padding: 20px;
    }

    .modal-cookies-content {
        padding: 20px;
    }

    .cookie-box h3 {
        font-size: 18px;
    }

    .cookie-box button {
        width: 100%;
        margin-right: 0;
    }
}
