/* PrivaNex · Admin and Consent patch (21 Oct 2026) */

/* B4 · E-mail manager: the Show button lines up with the Module list */
.dpc-filterbar { align-items: flex-end; }
.dpc-filterbar > .dpc-field { margin: 0; }
.dpc-filterbar > .dpc-btn { margin: 0; }

/* B5 · light / dark mode button: visible hover and keyboard focus, like the other top-bar buttons */
.dpc-iconbtn--theme { transition: background-color .15s ease, color .15s ease, transform .15s ease; }
.dpc-iconbtn--theme:hover { background: rgba(255, 255, 255, .16); color: var(--nav-text-strong, #fff); transform: rotate(-12deg); }
.dpc-iconbtn--theme:focus-visible { outline: 2px solid var(--dpc-orange-600, #F58220); outline-offset: 2px; }

/* A1 · empty Department list: the reason under the field */
[data-no-department] a { margin-left: 4px; font-weight: 600; }

/* Item 3 · the consent choice on a notice (public page and admin preview) */
.dpc-notice-consent { margin-top: 16px; padding: 16px; border: 1px solid var(--border, #c9d3de); border-radius: 12px; background: var(--surface-2, #f7f9fb); display: flex; flex-direction: column; gap: 10px; }
.dpc-notice-consent h2 { margin: 0; font-size: 1.05rem; }
.dpc-notice-consent__row { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; line-height: 1.45; }
.dpc-notice-consent__row input[type=checkbox] { margin-top: 3px; flex: none; }
.dpc-notice-consent__fixed { color: var(--success, #1d6b3a); font-weight: 700; width: 16px; flex: none; text-align: center; }
.dpc-notice-consent__buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.dpc-notice-consent__buttons .dpc-btn { min-width: 160px; justify-content: center; }
.dpc-notice-consent--preview { opacity: .95; }
.dpc-notice-langs a { margin-right: 8px; }
.dpc-notice-langs a.is-current { font-weight: 700; text-decoration: none; }
[dir=rtl] .dpc-notice-consent__row { flex-direction: row-reverse; text-align: right; }
