/* Bannière consentement — loi 09-08 (Maroc) + mesure d’audience */
#nadigit-consent-banner {
    position: fixed;
    z-index: 100000;
    inset-inline: 0;
    bottom: 0;
    padding: 16px 18px 20px;
    background: #0f2557;
    color: #f1f3f8;
    box-shadow: 0 -8px 40px rgba(8, 22, 58, 0.35);
    font-size: 14px;
    line-height: 1.55;
    display: none;
    font-family: 'IBM Plex Sans Arabic', 'Segoe UI', system-ui, sans-serif;
}

#nadigit-consent-banner[aria-hidden="false"] {
    display: block;
}

#nadigit-consent-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.nadigit-consent-lang-btn {
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 11px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
}

.nadigit-consent-lang-btn[aria-pressed="true"] {
    background: #e8a020;
    color: #08163a;
    border-color: #e8a020;
}

.nadigit-consent-lang-btn:hover {
    filter: brightness(1.08);
}

#nadigit-consent-text {
    flex: 1 1 280px;
    margin: 0;
}

#nadigit-consent-text a {
    color: #f5c060;
    font-weight: 600;
    text-decoration: underline;
}

#nadigit-consent-text a:hover {
    color: #fff;
}

#nadigit-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

#nadigit-consent-actions button {
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: filter 0.15s ease;
}

#nadigit-consent-actions button:hover {
    filter: brightness(1.06);
}

#nadigit-consent-accept {
    background: #e8a020;
    color: #08163a;
}

#nadigit-consent-reject {
    background: transparent;
    color: #f1f3f8;
    border: 2px solid rgba(255, 255, 255, 0.35);
}

#nadigit-consent-more {
    color: #f5c060;
    font-weight: 600;
    align-self: center;
    text-decoration: underline;
    font-size: 14px;
}

@media (min-width: 900px) {
    #nadigit-consent-inner {
        align-items: center;
    }
}
