/**
 * Bandeau et centre de préférences CookieYes, aux couleurs de la charte.
 *
 * CookieYes écrit ses couleurs en attributs style="" sur ses éléments : les !important sont nécessaires pour passer devant.
 * Boutons repris de css/contact-form-7.css (fond orange, rayon 12px, graisse 700) ; textes et liens en bleu.
 */

/* Boutons : Accepter, Refuser, Personnaliser, Enregistrer. */

.cky-btn,
.cky-btn.cky-btn-customize,
.cky-btn.cky-btn-accept,
.cky-btn.cky-btn-reject,
.cky-btn.cky-btn-preferences {
    border: 0 !important;
    border-radius: 12px !important;
    background-color: var(--orange) !important;
    color: var(--blanc) !important;
    font-family: indivisible, sans-serif !important;
    font-weight: 500 !important;
    font-size: 14px !important;
}

.cky-btn:hover {
    background-color: color-mix(in srgb, var(--orange) 88%, black) !important;
    opacity: 1 !important;
}

/* Personnaliser : variante en contour. Contour en box-shadow, pour garder la même taille que les autres boutons. */

.cky-btn.cky-btn-customize {
    background-color: transparent !important;
    box-shadow: inset 0 0 0 2px var(--orange) !important;
    color: var(--orange) !important;
}

.cky-btn.cky-btn-customize:hover {
    background-color: var(--orange) !important;
    color: var(--blanc) !important;
}

.cky-btn:focus-visible {
    outline: 2px solid var(--bleu) !important;
    outline-offset: 3px;
}

/* Liens et boutons texte : « Voir plus », « Toujours actif », lien vers la politique de cookies. */

.cky-notice-des a,
.cky-show-desc-btn,
.cky-always-active {
    color: var(--bleu) !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

/* Bouton flottant pour rouvrir les préférences. */

.cky-btn-revisit-wrapper {
    background-color: var(--bleu) !important;
}

/* Textes du bandeau et du centre de préférences. */

.cky-consent-bar,
.cky-preference-center {
    font-family: indivisible, sans-serif !important;
}

.cky-consent-bar p,
.cky-notice .cky-title,
.cky-preference-center p,
.cky-preference-title,
.cky-accordion-btn {
    color: var(--bleu) !important;
}
