/* DBIM cookie consent banner: white background (DBIM functional palette), bottom of the page. */
.dbim-consent {
    font-family: var(--dbim-font, 'Noto Sans', Arial, sans-serif);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 999990;
    background: #fff; color: #150202;
    border-top: 3px solid #162f6a;
    box-shadow: 0 -6px 24px rgba(20, 34, 79, .18);
    max-height: 90vh; overflow-y: auto;
}
.dbim-consent[hidden] { display: none; }
.dbim-consent *, .dbim-consent *::before, .dbim-consent *::after { box-sizing: border-box; }
.ck-in { max-width: 1440px; margin: 0 auto; padding: 18px 16px; display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; }
.ck-copy { flex: 1 1 520px; min-width: 0; }
.ck-title { margin: 0 0 4px; font-size: var(--dbim-fs-p1, 16px); font-weight: 700; line-height: 1.3; color: #162f6a; }
.ck-text { margin: 0; font-size: var(--dbim-fs-p2, 14px); line-height: 1.5; text-align: left; }
.ck-options { margin-top: 12px; display: grid; gap: 8px; }
.ck-options[hidden] { display: none; }
.ck-opt { display: flex; align-items: flex-start; gap: 10px; font-size: var(--dbim-fs-p2, 14px); line-height: 1.45; cursor: pointer; }
.ck-opt input { width: 18px; height: 18px; margin-top: 2px; flex: 0 0 auto; accent-color: #214aab; }
.ck-opt strong { display: inline-block; min-width: 96px; }
.ck-actions { flex: 0 0 auto; display: flex; flex-wrap: wrap; gap: 10px; }
.ck-btn { min-height: 40px; padding: 8px 20px; border: 1px solid #214aab; border-radius: 5px; font: inherit; font-size: var(--dbim-fs-p2, 14px); font-weight: 600; line-height: 1.2; cursor: pointer; transition: background .15s, color .15s; }
.ck-btn[hidden] { display: none; }
.ck-btn-fill { background: #214aab; color: #fff; }
.ck-btn-fill:hover { background: #162f6a; border-color: #162f6a; }
.ck-btn-line { background: #fff; color: #162f6a; border-color: #162f6a; }
.ck-btn-line:hover { background: #d2dfff; }
.ck-btn:focus-visible, .ck-opt input:focus-visible { outline: 3px solid #ffc107; outline-offset: 2px; }
.ck-btn:disabled { opacity: .5; cursor: not-allowed; }   /* disabled state (DBIM 4.5) */
/* keep the chat button clear of the banner */
body.dbim-consent-open #shalom-mitra-btn { bottom: 150px !important; }
body.dbim-consent-open #shalom-mitra-iframe { bottom: 215px !important; }
@media (max-width: 767px) {
    .ck-in { flex-direction: column; align-items: stretch; padding: 14px 12px; gap: 12px; }
    .ck-copy { flex-basis: auto; }
    .ck-actions .ck-btn { flex: 1 1 calc(50% - 5px); }
    .ck-opt strong { min-width: 0; display: block; }
    body.dbim-consent-open #shalom-mitra-btn { bottom: 260px !important; }
}
@media (prefers-reduced-motion: reduce) { .ck-btn { transition: none; } }
