/* =============================================================================
   Override Silktide Consent Manager — charte AppliPro (rendu plus pro)
   Chargé APRÈS silktide-consent-manager.css. Valeurs hex en dur + !important sur
   les propriétés critiques des boutons (Silktide les pose en !important).
   Accent AppliPro : #3374FF (accent) / #181892 (accent foncé).
============================================================================= */

/* Variables Silktide → charte */
#silktide-wrapper {
    --fontFamily: 'Manrope', system-ui, -apple-system, Segoe UI, sans-serif;
    --primaryColor: #3374FF;
    --textColor: #253B48;
    --cookieIconBackgroundColor: #3374FF;
    --boxShadow: 0 24px 50px -14px rgba(24, 24, 146, .28), 0 6px 16px rgba(16, 24, 40, .08);
}

/* Carte du bandeau */
#silktide-wrapper #silktide-banner {
    border-radius: 18px;
    padding: 30px 32px;
    border: 1px solid rgba(16, 24, 40, .06);
    box-shadow: var(--boxShadow);
}

/* Texte */
#silktide-wrapper #silktide-banner p {
    font-size: 15px;
    line-height: 1.55;
    color: #475467;
}

/* Boutons — base commune */
#silktide-wrapper #silktide-banner .st-button {
    border-radius: 11px !important;
    padding: 12px 22px !important;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.2;
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}

#silktide-wrapper #silktide-banner .st-button:hover {
    transform: translateY(-1px);
}

/* Accepter = plein accent */
#silktide-wrapper #silktide-banner .st-button.accept-all {
    background: #3374FF !important;
    color: #ffffff !important;
    border: 1px solid transparent !important;
    box-shadow: 0 10px 24px -10px rgba(24, 24, 146, .55);
}

#silktide-wrapper #silktide-banner .st-button.accept-all:hover {
    background: #181892 !important;
    color: #ffffff !important;
}

/* Refuser = contour (aussi visible, respect RGPD) */
#silktide-wrapper #silktide-banner .st-button.reject-all {
    background: #ffffff !important;
    color: #3374FF !important;
    border: 1px solid rgba(51, 116, 255, .40) !important;
    box-shadow: none;
}

#silktide-wrapper #silktide-banner .st-button.reject-all:hover {
    background: #EEF3FF !important;
    color: #181892 !important;
    border-color: #3374FF !important;
}

/* Lien « Préférences » */
#silktide-wrapper #silktide-banner .preferences {
    font-size: 14px;
    font-weight: 600;
    color: #3374FF;
}

/* Icône flottante de réouverture */
#silktide-wrapper #silktide-cookie-icon {
    box-shadow: 0 10px 24px -8px rgba(16, 24, 40, .35);
}

/* Modale « préférences » : radius + boutons cohérents */
#silktide-wrapper #silktide-modal {
    border-radius: 18px;
}

#silktide-wrapper #silktide-modal .st-button {
    border-radius: 11px !important;
    font-weight: 700;
}

#silktide-wrapper #silktide-modal .st-button.accept-all,
#silktide-wrapper #silktide-modal .st-button--primary:not(.reject-all) {
    background: #3374FF !important;
    color: #ffffff !important;
}
