/* cookies */
.sw-cookies {
    text-align: justify;
    color: white;
    position: relative;
    overflow: hidden !important;
    max-width: 500px;
    max-height: 600px;
    padding: 4% 4% 0 4%;
    background-color: #0C8D32;
}

* {
    box-sizing: border-box;
}

.sw-cookies p,
.sw-cookies h3 {
    padding: 0 10px 0 0;
}
.sw-cookies p{
    font-size: 0.99rem;
    line-height: 1;
}

.cookies-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    justify-content: center;
    align-items: center;
    z-index: 100000;
}

.cookies-container.active {
    display: flex;
}


.flou-background {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    /* Safari support */
    background-color: rgba(255, 255, 255, 0.1);
    /* Couleur semi-transparente */
    padding: 20px;
    border-radius: 10px;
}


.cookies-text.sw-save {
    max-height: 300px !important;
}

.cookies-text {
    max-height: 200px;
    overflow: auto;
}

.cookies-text a {
    color: #00FF00;
    text-decoration: none;
}

.cookies-text .sw-c-btn {
    padding: 10px 15px;
    width: min-content;
    border: 1px solid #00FF00;
    margin: 30px 0;
}

.cookies-actions {
    padding: 4% 0;
}

.cookies-actions a {
    padding: 8px 18px;
    background-color: white;
    color: #0C8D32;
    box-shadow: none;
    width: 190px;
    text-align: center !important;
    border: 1px solid white;
    transition: all .2s ease-in-out;
    cursor: pointer;
}

.cookies-actions a.sw-save {
    width: max-content !important;
}

.cookies-actions a:hover {
    background-color: #0C8D32;
    color: white;
    border: 1px solid white;
}

.sw-actions {
    display: flex;
    flex-direction: row;
    padding: 10px 0;
    flex-direction: row;
}

.sw-actions.sw-save {
    justify-content: left;
}

.sw-yes-no {
    justify-content: space-between;
}

.sw-edith {
    justify-content: center;
}

.cookies-logo {
    display: flex;
    justify-content: center;

}

.sw-cookies-custom {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 10000;
    background-color: #0C8D32;
    padding: 4% 4% 0 4%;
    transform: translateX(-100%);
    transition: all .2s ease-in-out;
}

.sw-cookies-custom.active {
    transform: translateX(0);
}

.sw-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: sans-serif;
    font-size: 16px;
    cursor: pointer;
    color: white !important;
}

/* Style optionnel pour la case */
.sw-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #00FF00;
    /* Change la couleur de la case cochée (supporté sur Chrome/Edge) */
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    .cookies-actions a {
        width: 100%;
        margin: 10px 0;
    }

    .sw-actions {
        flex-direction: column;
    }
}