/* ============================================================
   tarteaucitron.js 1.33.0 — Thème Varbado Intérim
   Palette : #0d2461 marine · #ffffff blanc · #f4f6fb gris clair
   ============================================================ */

#tarteaucitronRoot * {
    font-family: 'Segoe UI', Arial, Helvetica, sans-serif !important;
    box-sizing: border-box !important;
}

/* ============================================================
   BANNIÈRE BASSE
   ============================================================ */
#tarteaucitronRoot #tarteaucitronAlertBig {
    background-color: #0d2461 !important;
    color: #ffffff !important;
    padding: 12px 24px !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    border-top: 3px solid #4a90d9 !important;
}

#tarteaucitronRoot #tarteaucitronDisclaimerAlert {
    color: #ffffff !important;
    font-size: 13px !important;
    flex: 1 1 200px !important;
    margin: 0 !important;
}

#tarteaucitronRoot #tarteaucitronPersonalize2 {
    background: #ffffff !important;
    color: #0d2461 !important;
    border: 2px solid #ffffff !important;
    border-radius: 50px !important;
    padding: 7px 18px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    cursor: pointer !important;
    white-space: nowrap !important;
}

#tarteaucitronRoot #tarteaucitronAllDenied2 {
    background: transparent !important;
    color: #ffffff !important;
    border: 2px solid rgba(255,255,255,0.6) !important;
    border-radius: 50px !important;
    padding: 7px 18px !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    cursor: pointer !important;
    white-space: nowrap !important;
}

#tarteaucitronRoot #tarteaucitronCloseAlert {
    background: transparent !important;
    color: #ffffff !important;
    border: 2px solid rgba(255,255,255,0.6) !important;
    border-radius: 50px !important;
    padding: 7px 18px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    cursor: pointer !important;
    white-space: nowrap !important;
}

#tarteaucitronRoot #tarteaucitronPrivacyUrl {
    color: #a8c8f0 !important;
    font-size: 12px !important;
    text-decoration: underline !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    font-weight: 400 !important;
}

/* ============================================================
   ICÔNE FLOTTANTE
   ============================================================ */
#tarteaucitronIcon {
    bottom: 20px !important;
    right: 20px !important;
}

#tarteaucitronIcon #tarteaucitronManager {
    background: #0d2461 !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    padding: 5px 7px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

/* ============================================================
   PANNEAU MODAL #tarteaucitron
   tarteaucitron calcule top/left en JS selon la fenêtre —
   on force un centrage fixe stable quel que soit le zoom.
   ============================================================ */
#tarteaucitron {
    background: #ffffff !important;
    border-radius: 10px !important;
    box-shadow: 0 6px 32px rgba(10, 30, 80, 0.22) !important;
    border: 1px solid #d6e0f5 !important;
    overflow: hidden !important;
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    max-height: 90vh !important;
    width: 640px !important;
    max-width: 94vw !important;
}

/* ============================================================
   BOUTON FERMER
   #tarteaucitron est en position fixed — le bouton absolute
   se cale dans son coin haut-droit.
   ============================================================ */
#tarteaucitron #tarteaucitronClosePanel {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    z-index: 20 !important;
    float: none !important;
    margin: 0 !important;
    background: #0d2461 !important;
    background-color: #0d2461 !important;
    border: 1px solid rgba(255,255,255,0.45) !important;
    color: rgba(255,255,255,0.88) !important;
    border-radius: 4px !important;
    padding: 2px 10px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    cursor: pointer !important;
    transition: background 0.15s, color 0.15s !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

#tarteaucitron #tarteaucitronClosePanel:hover {
    background: rgba(255,255,255,0.14) !important;
    background-color: rgba(255,255,255,0.14) !important;
    color: #ffffff !important;
}

/* ============================================================
   EN-TÊTE BLEU MARINE
   ============================================================ */
#tarteaucitron #tarteaucitronMainLineOffset {
    background: #0d2461 !important;
    padding: 15px 18px 13px !important;
    border-bottom: none !important;
}

#tarteaucitron .tarteaucitronH1 {
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    margin: 0 0 15px !important;
    display: block !important;
}

#tarteaucitron #tarteaucitronInfo {
    background: rgba(255,255,255,0.10) !important;
    border: 1px solid rgba(255,255,255,0.20) !important;
    border-radius: 6px !important;
    padding: 10px 14px !important;
    font-size: 13px !important;
    color: rgba(255,255,255,0.92) !important;
    line-height: 1.5 !important;
    margin-bottom: 12px !important;
    text-align: center !important;
    width: auto !important;
}

#tarteaucitron #tarteaucitronInfo p {
    margin: 0 0 5px !important;
    color: rgba(255,255,255,0.92) !important;
}

#tarteaucitron #tarteaucitronPrivacyUrlDialog {
    background: transparent !important;
    border: none !important;
    color: #7eb8f7 !important;
    font-size: 13px !important;
    text-decoration: underline !important;
    padding: 0 !important;
    cursor: pointer !important;
}

#tarteaucitron #tarteaucitronMainLineOffset .tarteaucitronName {
    display: none !important;
}

/* ============================================================
   BOUTONS GLOBAUX : Tout accepter / Tout refuser
   ============================================================ */
#tarteaucitron #tarteaucitronScrollbarAdjust {
    display: flex !important;
    gap: 8px !important;
    align-items: center !important;
    padding-top: 2px !important;
}

#tarteaucitron #tarteaucitronAllAllowed {
    background: #0d2461 !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
    border-radius: 6px !important;
    padding: 6px 16px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background 0.15s !important;
}

#tarteaucitron #tarteaucitronAllAllowed:hover {
    background: #1a3a80 !important;
}

#tarteaucitron #tarteaucitronAllDenied {
    background: transparent !important;
    color: #ffffff !important;
    border: 2px solid rgba(255,255,255,0.55) !important;
    border-radius: 6px !important;
    padding: 6px 16px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background 0.15s !important;
}

#tarteaucitron #tarteaucitronAllDenied:hover {
    background: rgba(255,255,255,0.10) !important;
}

/* ============================================================
   ZONE SERVICES
   height: auto écrase le inline style injecté par le JS de
   tarteaucitron (ex: height: 527px) — !important obligatoire.
   ============================================================ */
#tarteaucitron #tarteaucitronServices {
    height: auto !important;
    max-height: calc(90vh - 67px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    margin-top: 0 !important;
    background: #ffffff !important;
}

#tarteaucitron .tarteaucitronBorder {
    border: none !important;
    background: #ffffff !important;
}

/* ============================================================
   TITRES DE CATÉGORIES
   ============================================================ */
#tarteaucitron .tarteaucitronTitle {
    background: #f4f6fb !important;
    border-top: 1px solid #e4eaf5 !important;
    border-bottom: 1px solid #e4eaf5 !important;
    padding: 8px 18px !important;
}

#tarteaucitron .tarteaucitronTitle button,
#tarteaucitron .tarteaucitronTitle .catToggleBtn {
    background: transparent !important;
    border: none !important;
    color: #0d2461 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    cursor: pointer !important;
    padding: 0 !important;
}

#tarteaucitron .tarteaucitronTitle button:hover,
#tarteaucitron .tarteaucitronTitle .catToggleBtn:hover {
    color: #1a3a80 !important;
}

#tarteaucitron .tarteaucitronPlus {
    color: #0d2461 !important;
    font-weight: 700 !important;
    margin-right: 5px !important;
}

/* ============================================================
   DESCRIPTION DES CATÉGORIES
   ============================================================ */
#tarteaucitron .tarteaucitronDetails,
#tarteaucitron .tarteaucitronInfoBox {
    background: #eef2fb !important;
    border-left: 3px solid #0d2461 !important;
    border-radius: 0 4px 4px 0 !important;
    padding: 8px 14px !important;
    font-size: 12px !important;
    color: #3a4a6b !important;
    margin: 6px 18px !important;
}

/* ============================================================
   LIGNES DE SERVICES
   ============================================================ */
#tarteaucitron .tarteaucitronLine {
    background: #ffffff !important;
    border-bottom: 1px solid #eef1f8 !important;
    padding: 10px 18px !important;
}

#tarteaucitron .tarteaucitronLine .tarteaucitronH3 {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #0d2461 !important;
}

#tarteaucitron .tarteaucitronLine .tarteaucitronName span.tarteaucitronH3 {
    font-weight: 400 !important;
    color: #4a5a7a !important;
}

#tarteaucitron .tacCurrentStatus {
    font-size: 11px !important;
    font-weight: 600 !important;
}

#tarteaucitron .tarteaucitronStatusInfo,
#tarteaucitron .tarteaucitronListCookies {
    font-size: 11px !important;
    color: #7a8dae !important;
}

#tarteaucitron .tarteaucitronReadmoreInfo,
#tarteaucitron .tarteaucitronReadmoreOfficial {
    font-size: 11px !important;
    color: #1d4ed8 !important;
}

#tarteaucitron .tarteaucitronReadmoreSeparator {
    color: #c0c8d8 !important;
    font-size: 11px !important;
}

/* ============================================================
   BOUTONS ACCEPTER / REFUSER — modal uniquement
   ============================================================ */
#tarteaucitron .tarteaucitronAsk {
    display: flex !important;
    gap: 6px !important;
    align-items: center !important;
    flex-shrink: 0 !important;
}

#tarteaucitron .tarteaucitronLine .tarteaucitronAllow,
#tarteaucitron .tarteaucitronMainLine .tarteaucitronAllow {
    background: #0d2461 !important;
    color: #ffffff !important;
    border: 2px solid #0d2461 !important;
    border-radius: 5px !important;
    padding: 5px 14px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background 0.15s !important;
    white-space: nowrap !important;
}

#tarteaucitron .tarteaucitronLine .tarteaucitronAllow:hover:not(:disabled),
#tarteaucitron .tarteaucitronMainLine .tarteaucitronAllow:hover:not(:disabled) {
    background: #1a3a80 !important;
    border-color: #1a3a80 !important;
}

#tarteaucitron .tarteaucitronLine .tarteaucitronAllow:disabled,
#tarteaucitron .tarteaucitronMainLine .tarteaucitronAllow:disabled {
    background: #b8c9e8 !important;
    border-color: #b8c9e8 !important;
    opacity: 0.7 !important;
    cursor: default !important;
}

#tarteaucitron .tarteaucitronLine .tarteaucitronDeny,
#tarteaucitron .tarteaucitronMainLine .tarteaucitronDeny {
    background: #ffffff !important;
    color: #0d2461 !important;
    border: 2px solid #0d2461 !important;
    border-radius: 5px !important;
    padding: 5px 14px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background 0.15s !important;
    white-space: nowrap !important;
}

#tarteaucitron .tarteaucitronLine .tarteaucitronDeny:hover:not(:disabled),
#tarteaucitron .tarteaucitronMainLine .tarteaucitronDeny:hover:not(:disabled) {
    background: #eef2fb !important;
}

#tarteaucitron .tarteaucitronLine .tarteaucitronDeny:disabled,
#tarteaucitron .tarteaucitronMainLine .tarteaucitronDeny:disabled {
    opacity: 0.5 !important;
    cursor: default !important;
}

/* ============================================================
   ÉTATS : bordure gauche selon choix
   ============================================================ */
#tarteaucitron .tarteaucitronIsAllowed {
    border-left: 3px solid #16a34a !important;
}

#tarteaucitron .tarteaucitronIsDenied {
    border-left: 3px solid #dc2626 !important;
}

/* ============================================================
   MESSAGE "aucun cookie nécessitant consentement"
   ============================================================ */
#tarteaucitron #tarteaucitronNoServicesTitle {
    font-size: 13px !important;
    color: #4a5a7a !important;
    padding: 12px 18px !important;
}

/* ============================================================
   PIED DE PAGE : bouton Enregistrer
   ============================================================ */
#tarteaucitron #tarteaucitronSave {
    background: #f4f6fb !important;
    border-top: 1px solid #e4eaf5 !important;
    padding: 12px 18px !important;
    text-align: right !important;
}

#tarteaucitron #tarteaucitronSaveButton {
    background: #0d2461 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 7px !important;
    padding: 9px 28px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    letter-spacing: 0.01em !important;
    transition: background 0.15s !important;
}

#tarteaucitron #tarteaucitronSaveButton:hover {
    background: #1a3a80 !important;
}

/* ============================================================
   LOGO tarteaucitron.io (très discret)
   ============================================================ */
#tarteaucitron .tarteaucitronSelfLink {
    opacity: 0.3 !important;
    transition: opacity 0.15s !important;
}

#tarteaucitron .tarteaucitronSelfLink:hover {
    opacity: 0.6 !important;
}

/* ============================================================
   SCROLLBAR webkit
   ============================================================ */
#tarteaucitron #tarteaucitronServices::-webkit-scrollbar {
    width: 4px !important;
}

#tarteaucitron #tarteaucitronServices::-webkit-scrollbar-track {
    background: #f4f6fb !important;
}

#tarteaucitron #tarteaucitronServices::-webkit-scrollbar-thumb {
    background: #c5d0e8 !important;
    border-radius: 4px !important;
}

#tarteaucitron #tarteaucitronServices::-webkit-scrollbar-thumb:hover {
    background: #0d2461 !important;
}