/* Bandeau de consentement aux cookies (voir assets/js/cookie-consent.js) */
.eecc-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 2147483000;
    max-width: 760px;
    margin: 0 auto;
    background: #ffffff;
    color: #1C1A4A;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(14, 16, 75, 0.25);
    font: 14px/1.5 "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    text-align: left;
}
.eecc-inner {
    padding: 20px 22px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
}
/* Neutralise les styles globaux du site (taille des paragraphes, labels…) */
.eecc-banner p,
.eecc-banner span,
.eecc-banner label,
.eecc-banner a,
.eecc-banner button {
    font-family: inherit;
    letter-spacing: normal;
    text-transform: none;
}
.eecc-banner p {
    font-size: 14px;
    line-height: 1.5;
}
.eecc-title {
    margin: 0 0 6px;
    font-size: 16px !important;
    font-weight: 700;
    color: #14176C;
}
.eecc-desc {
    margin: 0 0 14px;
    color: #3E4073;
}
.eecc-desc a {
    color: #191D88;
    text-decoration: underline;
}
.eecc-details {
    border-top: 1px solid #e3e5ef;
    margin-bottom: 14px;
}
.eecc-details[hidden] {
    display: none;
}
.eecc-purpose {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid #e3e5ef;
}
.eecc-purpose strong,
.eecc-purpose span {
    display: block;
}
.eecc-purpose label {
    margin: 0;
    cursor: pointer;
    font-weight: normal;
}
.eecc-purpose span {
    font-size: 13px;
    color: #3E4073;
}
.eecc-purpose .eecc-always {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 600;
    color: #1e8a4c;
}
.eecc-switch {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    accent-color: #191D88;
    cursor: pointer;
}
.eecc-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}
.eecc-btn {
    min-width: 140px;
    padding: 10px 18px;
    border: 2px solid #191D88;
    border-radius: 6px;
    background: #191D88;
    color: #ffffff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}
.eecc-btn:hover,
.eecc-btn:focus-visible {
    background: #0E104B;
    border-color: #0E104B;
}
.eecc-btn-link {
    min-width: 0;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
    border-color: transparent;
    background: transparent;
    color: #191D88;
    text-decoration: underline;
}
.eecc-btn-link:hover,
.eecc-btn-link:focus-visible {
    background: transparent;
    border-color: transparent;
    color: #0E104B;
}
.eecc-btn[hidden] {
    display: none;
}
.eecc-floating {
    position: fixed;
    left: 12px;
    bottom: 12px;
    z-index: 2147482000;
    padding: 6px 12px;
    border: 0;
    border-radius: 16px;
    background: #191D88;
    color: #ffffff;
    font: 600 12px/1.4 "Segoe UI", Roboto, Arial, sans-serif;
    opacity: 0.85;
    cursor: pointer;
}
.eecc-floating:hover,
.eecc-floating:focus-visible {
    opacity: 1;
}
@media (max-width: 575px) {
    .eecc-banner {
        left: 8px;
        right: 8px;
        bottom: 8px;
    }
    .eecc-inner {
        padding: 16px;
    }
    .eecc-actions .eecc-btn:not(.eecc-btn-link) {
        flex: 1 1 100%;
    }
}
