/* COOKIE BANNER – BASE */

#acb-banner {
    position: fixed !important;
    left: 0;
    right: 0;
    margin: 0 auto;
    max-width: 960px;
    padding: 20px 20px 16px;
    background-color: #eeeeee !important;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    z-index: 2147483647 !important;
    opacity: 1 !important;
}

/* Position */
#acb-banner.acb-position-bottom {
    bottom: 24px;
}

#acb-banner h1 {
    margin-bottom: 8px; 
}


#acb-banner.acb-position-top {
    top: 24px;
}

body {
    overflow-x: visible !important;
}

/* LAYOUT INTERNE */

#acb-banner.acb-gdpr {
    flex-direction: column;
}

#acb-content {
    margin-bottom: 16px;
    padding-right: 140px; /* espace réservé pour Refuser */
}

/* ACTIONS (BOUTONS) */

#acb-action {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* Boutons principaux */
#acb-banner .acb-button {
    padding: 0 1.5rem;
    height: 2.5em;
}

/* LIENS SECONDAIRES (Refuser / Fermer) */

#acb-deny-all-button,
#acb-close-button {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #000000 !important;
    font-size: 0.875rem;
    padding: 0 !important;
    height: auto !important;
    cursor: pointer;
    text-decoration: underline;
}

/* Hover / focus */
#acb-deny-all-button:hover,
#acb-deny-all-button:focus,
#acb-close-button:hover,
#acb-close-button:focus {
    outline: none !important;
    opacity: 0.85;
}

/* POSITION : REFUSER EN HAUT À DROITE */

#acb-deny-all-button {
    position: absolute !important;
    top: 14px;
    right: 16px;
    white-space: nowrap;
    opacity: 0.7;
}

#acb-deny-all-button:hover {
    opacity: 1;
}

/* RESPONSIVE MOBILE */

@media screen and (max-width: 767px) {
    #acb-banner {
        width: calc(100% - 32px);
        max-width: none;
        left: 16px;
        right: 16px;
        bottom: 16px;
    }

    #acb-content {
        padding-right: 0;
    }

    #acb-action {
        flex-direction: column;
        gap: 8px;
    }

    #acb-banner .acb-button {
        width: 100%;
    }

    #acb-deny-all-button {
        position: static !important;
        align-self: flex-end;
        margin-bottom: 8px;
    }
}


#acb-banner p {
    font-size : 15px !important;
}

#acb-banner h1{
    font-size: 1rem !important;
}

.acbConsentLabel {
    font-size: 0.7rem !important;
}
