.pr-consent-banner {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 1080;
    background: rgb(10 16 28);
    color: var(--bs-white);
    border-radius: 18px;
    padding: 22px;
}
.pr-consent-banner[hidden],
.pr-consent-modal[hidden],
.pr-consent-backdrop[hidden] { display: none !important; }
.pr-consent-title { font-size: 1rem; font-weight: 800; margin: 0 0 14px; }
.pr-consent-text {
    font-size: 0.65rem;
    color: var(--bs-light-bg-subtle);
}
.pr-consent-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.pr-btn-consent {
  border-radius: 12px;
  padding: 11px 16px;
  font-weight: 700;
  border: 1px solid #d9dfeb;
  background: #fff;
  color: #1e63ff;
  text-decoration: none;
}
.pr-btn-consent:hover { filter: brightness(.98); }
.pr-btn-consent--primary { background: #1e63ff; color: #fff; border-color: #1e63ff; }
.pr-btn-consent--ghost { background: #fff; color: #1e63ff; }
.pr-consent-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .52);
  z-index: 1090;
}
.pr-consent-modal {
  position: fixed;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: min(860px, calc(100vw - 28px));
  max-height: min(88vh, 900px);
  overflow: auto;
  z-index: 1100;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 25px 80px rgba(0,0,0,.25);
}
.pr-consent-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 22px 24px;
  border-bottom: 1px solid #eef1f6;
}
.pr-consent-modal__title { margin: 0; font-size: 1.55rem; font-weight: 800; }
.pr-consent-close {
  border: 0; background: transparent; color: #667085; font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.pr-consent-modal__body { padding: 22px 24px; }
.pr-consent-intro { color: #4f566b; line-height: 1.75; margin-bottom: 20px; }
.pr-consent-category {
  border-top: 1px solid #edf1f6;
  padding: 16px 0;
}
.pr-consent-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pr-consent-name { font-size: 1.1rem; font-weight: 800; margin: 0; }
.pr-consent-desc { margin: 10px 0 0; color: #596176; line-height: 1.7; }
.pr-consent-always { color: #16803c; font-weight: 800; white-space: nowrap; }
.pr-switch {
  position: relative; width: 54px; height: 30px; display: inline-block;
}
.pr-switch input { opacity: 0; width: 0; height: 0; }
.pr-switch__slider {
  position: absolute; inset: 0; background: #d0d7e2; border-radius: 999px; transition: .2s ease;
}
.pr-switch__slider::before {
  content: ''; position: absolute; width: 24px; height: 24px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,.18);
}
.pr-switch input:checked + .pr-switch__slider { background: #1e63ff; }
.pr-switch input:checked + .pr-switch__slider::before { transform: translateX(24px); }
.pr-consent-modal__footer {
  position: sticky; bottom: 0; background: #fff; padding: 18px 24px 24px; border-top: 1px solid #eef1f6; display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap;
}
@media (max-width: 768px) {
  .pr-consent-banner { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 18px; }
  .pr-consent-title { font-size: 1rem; }
  .pr-consent-modal { width: calc(100vw - 16px); max-height: 92vh; }
  .pr-consent-modal__header, .pr-consent-modal__body, .pr-consent-modal__footer { padding-left: 16px; padding-right: 16px; }
  .pr-consent-actions .pr-btn-consent, .pr-consent-modal__footer .pr-btn-consent { width: 100%; text-align: center; }
  .pr-consent-row { align-items: flex-start; }
}
