/* ============================================================
   AUDREC — CookieYes (personnalisation du bandeau de consentement)
============================================================ */

/* Position bas droite */
.cky-consent-container.cky-box-bottom-left {
    left: auto !important;
    right: 20px !important;
    bottom: 20px !important;
    max-width: 360px !important;
}

/* Bandeau principal */
.cky-consent-bar {
    background: #1a1a2e !important;
    border-radius: 12px !important;
    padding: 24px !important;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2) !important;
    font-family: 'Raleway', sans-serif !important;
}

/* Titre */
.cky-title {
    color: #ffffff !important;
    font-family: 'Playfair Display', serif !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
}

/* Description */
.cky-notice-des,
.cky-notice-des p {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.83rem !important;
    line-height: 1.6 !important;
}

/* Conteneur boutons — 3 en ligne */
.cky-notice-btn-wrapper {
    display: flex !important;
    flex-direction: row !important;
    gap: 8px !important;
    margin-top: 16px !important;
    width: 100% !important;
}

/* Tous les boutons — base commune */
.cky-notice-btn-wrapper .cky-btn {
    flex: 1 !important;
    padding: 11px 8px !important;
    border-radius: 6px !important;
    font-family: 'Raleway', sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.82rem !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    white-space: nowrap !important;
    text-align: center !important;
}

/* Bouton Personnaliser — outline */
.cky-notice-btn-wrapper .cky-btn-customize {
    background: transparent !important;
    color: rgba(255, 255, 255, 0.75) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    text-decoration: none !important;
}
.cky-notice-btn-wrapper .cky-btn-customize:hover {
    border-color: rgba(255, 255, 255, 0.7) !important;
    color: #ffffff !important;
}

/* Bouton Tout refuser — outline */
.cky-notice-btn-wrapper .cky-btn-reject {
    background: transparent !important;
    color: rgba(255, 255, 255, 0.75) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    width: auto !important;
}
.cky-notice-btn-wrapper .cky-btn-reject:hover {
    border-color: rgba(255, 255, 255, 0.7) !important;
    color: #ffffff !important;
}

/* Bouton Tout accepter — plein rouge */
.cky-notice-btn-wrapper .cky-btn-accept {
    background: #ed494a !important;
    color: #ffffff !important;
    border: 1px solid #ed494a !important;
    width: auto !important;
}
.cky-notice-btn-wrapper .cky-btn-accept:hover {
    background: #c93535 !important;
    border-color: #c93535 !important;
}

/* Bouton revisit (flottant) */
.cky-btn-revisit-wrapper {
    background-color: #ed494a !important;
    left: auto !important;
    right: 20px !important;
    bottom: 20px !important;
    border-radius: 50% !important;
}

/* ===== MODAL PRÉFÉRENCES ===== */
.cky-preference-center {
    font-family: 'Raleway', sans-serif !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}
.cky-preference-header {
    background: #1a1a2e !important;
    padding: 20px 24px !important;
}
.cky-preference-title {
    color: #ffffff !important;
    font-family: 'Playfair Display', serif !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
}
.cky-btn-close {
    filter: brightness(10) !important;
}
.cky-preference-content-wrapper,
.cky-preference-content-wrapper p {
    color: #666666 !important;
    font-size: 0.85rem !important;
    line-height: 1.7 !important;
}
.cky-accordion-btn {
    color: #1a1a2e !important;
    font-family: 'Raleway', sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
}
.cky-accordion-header-des,
.cky-accordion-header-des p {
    color: #666666 !important;
    font-size: 0.83rem !important;
}
.cky-always-active {
    color: #ed494a !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
}
.cky-switch input:checked + .cky-slider {
    background: #ed494a !important;
}
.cky-footer-wrapper {
    background: #ffffff !important;
    border-top: 1px solid #e8e8e8 !important;
}
.cky-btn-preferences {
    background: #ed494a !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 10px 24px !important;
    font-family: 'Raleway', sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.88rem !important;
    transition: background 0.2s !important;
    cursor: pointer !important;
}
.cky-btn-preferences:hover {
    background: #c93535 !important;
}
.cky-prefrence-btn-wrapper .cky-btn-reject {
    background: transparent !important;
    color: #666666 !important;
    border: 1px solid #e8e8e8 !important;
}
.cky-prefrence-btn-wrapper .cky-btn-reject:hover {
    border-color: #1a1a2e !important;
    color: #1a1a2e !important;
}