/* Reset du modal */
.cookiealert {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999999;
}

/* Container du modal */
.css-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    max-height: 90vh;
    overflow-y: auto;
}

/* État d'affichage */
.cookiealert.show {
    display: block !important;
}

/* Masquer le checkbox */
.css-modal-check {
    display: none;
}

/* Style de base */
.text-green {
    color: #34a839;
    font-weight: bold;
}

.css-modal-btn {
    margin-top: 15px;
    text-align: right;
}

/* Sections */
#configureSection,
#configurePartenaire,
#notrechartecookie {
    display: none;
}

/* Boutons */
.btn {
    margin: 0 5px;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-vertbni {
    background-color: #34a839;
    color: white;
}

.btn-orangebni {
    background-color: #ff6b6b;
    color: white;
}

.btn-grisbni {
    background-color: #6c757d;
    color: white;
}

/* Liens */
.chartecookie,
.chartecookie2 {
    background: none;
    border: none;
    color: #34a839;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
}

/* Suppression de l'overlay séparé car intégré au modal */
#overlay {
    display: none;
}