.wppdpa-banner[hidden], .wppdpa-modal[hidden], .wppdpa-floating-settings[hidden] { display: none !important; }
.wppdpa-banner { position: fixed; z-index: 999998; left: 18px; right: 18px; bottom: 18px; font-family: inherit; }
.wppdpa-banner-inner { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 24px; padding: 22px; background: #fff; color: #172033; border: 1px solid rgba(20,35,60,.12); border-radius: 14px; box-shadow: 0 16px 48px rgba(17,34,68,.18); }
.wppdpa-banner-copy { flex: 1; min-width: 0; }
.wppdpa-banner-copy h2 { margin: 0 0 7px; color: inherit; font-size: 20px; line-height: 1.3; }
.wppdpa-banner-copy p { margin: 0 0 6px; line-height: 1.55; font-size: 14px; }
.wppdpa-policy-link, .wppdpa-modal a { text-decoration: underline; }
.wppdpa-banner-actions { display: flex; flex-wrap: wrap; gap: 9px; justify-content: flex-end; }
.wppdpa-btn { appearance: none; border: 1px solid #c8d0de; background: #fff; color: #172033; border-radius: 8px; padding: 10px 14px; min-height: 42px; font: inherit; font-weight: 600; cursor: pointer; }
.wppdpa-btn:hover, .wppdpa-btn:focus { border-color: #2367e8; outline: 2px solid transparent; box-shadow: 0 0 0 3px rgba(35,103,232,.15); }
.wppdpa-btn-primary { border-color: #2367e8; background: #2367e8; color: #fff; }
.wppdpa-btn-link { border-color: transparent; background: transparent; }
.wppdpa-modal { position: fixed; z-index: 999999; inset: 0; display: flex; align-items: center; justify-content: center; padding: 20px; }
.wppdpa-modal-backdrop { position: absolute; inset: 0; background: rgba(8,17,33,.58); }
.wppdpa-modal-panel { position: relative; width: min(680px, 100%); max-height: min(760px, calc(100vh - 40px)); overflow: auto; background: #fff; color: #172033; border-radius: 14px; padding: 26px; box-shadow: 0 22px 70px rgba(0,0,0,.3); outline: 0; }
.wppdpa-modal-panel h2 { margin-top: 0; color: inherit; }
.wppdpa-close { position: absolute; right: 14px; top: 12px; border: 0; background: transparent; color: #526072; font-size: 30px; line-height: 1; cursor: pointer; }
.wppdpa-category { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 0; border-top: 1px solid #e6e9ef; cursor: default; }
label.wppdpa-category { cursor: pointer; }
.wppdpa-category strong { display: block; margin-bottom: 4px; }
.wppdpa-category p { margin: 0; color: #5a6678; font-size: 13px; line-height: 1.45; }
.wppdpa-always-on { white-space: nowrap; color: #24703c; font-size: 12px; font-weight: 700; }
.wppdpa-switch { position: relative; width: 46px; height: 26px; flex: 0 0 46px; }
.wppdpa-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wppdpa-slider { position: absolute; inset: 0; border-radius: 999px; background: #bac2ce; transition: .2s ease; }
.wppdpa-slider:before { content: ''; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; background: #fff; border-radius: 50%; box-shadow: 0 1px 4px rgba(0,0,0,.18); transition: .2s ease; }
.wppdpa-switch input:checked + .wppdpa-slider { background: #2367e8; }
.wppdpa-switch input:checked + .wppdpa-slider:before { transform: translateX(20px); }
.wppdpa-switch input:focus + .wppdpa-slider { box-shadow: 0 0 0 3px rgba(35,103,232,.18); }
.wppdpa-modal-actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 18px; border-top: 1px solid #e6e9ef; }
.wppdpa-modal-policy { margin-bottom: 0; font-size: 13px; }
.wppdpa-modal-open { overflow: hidden; }
.wppdpa-floating-settings { position: fixed; z-index: 999997; bottom: 16px; border: 1px solid #d3d9e3; background: #fff; color: #172033; border-radius: 999px; padding: 9px 13px; font: inherit; font-size: 12px; font-weight: 700; box-shadow: 0 5px 18px rgba(17,34,68,.16); cursor: pointer; }
.wppdpa-floating-settings.bottom-left { left: 16px; }
.wppdpa-floating-settings.bottom-right { right: 16px; }
.wppdpa-inline-settings { border: 0; padding: 0; background: transparent; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; }
@media (max-width: 760px) {
  .wppdpa-banner { left: 10px; right: 10px; bottom: 10px; }
  .wppdpa-banner-inner { display: block; padding: 18px; }
  .wppdpa-banner-actions { margin-top: 14px; justify-content: stretch; }
  .wppdpa-banner-actions .wppdpa-btn { flex: 1 1 140px; }
  .wppdpa-modal { padding: 10px; }
  .wppdpa-modal-panel { max-height: calc(100vh - 20px); padding: 21px; }
}
