.privacy-consent-banner,
.privacy-consent-overlay,
.privacy-consent-window,
.privacy-consent-window * { box-sizing: border-box; }

.privacy-consent-banner[hidden],
.privacy-consent-overlay[hidden] { display: none !important; }

.privacy-consent-banner {
  position: fixed;
  z-index: 900;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: flex;
  width: min(760px, calc(100% - 32px));
  margin-inline: auto;
  padding: 13px 14px;
  border: 1px solid #73818b;
  background: #f3f4f5;
  color: #1d2932;
  box-shadow: 0 3px 12px rgba(15, 24, 30, .35);
  font: 12px/1.4 Tahoma, Verdana, Arial, sans-serif;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.privacy-consent-copy { min-width: 0; }
.privacy-consent-copy strong { display: block; margin-bottom: 3px; font-size: 13px; }
.privacy-consent-copy p { margin: 0; }
.privacy-consent-copy a { color: #214f76; }
.privacy-consent-actions { display: flex; flex: 0 0 auto; gap: 7px; }

.privacy-consent-actions button,
.privacy-consent-modal-actions button,
.privacy-consent-titlebar button,
.privacy-choices-link {
  border: 1px solid #697781;
  border-radius: 0;
  background: #dfe3e6;
  color: #17232c;
  cursor: pointer;
  font: 700 10px/1 Tahoma, Verdana, Arial, sans-serif;
}

.privacy-consent-actions button,
.privacy-consent-modal-actions button { min-height: 29px; padding: 6px 10px; }
.privacy-consent-actions button:hover,
.privacy-consent-modal-actions button:hover { background: #edf0f2; }

.privacy-consent-overlay {
  position: fixed;
  z-index: 950;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(23, 31, 37, .38);
}

.privacy-consent-window {
  width: min(100%, 460px);
  border: 1px solid #596873;
  background: #f4f5f6;
  color: #1d2932;
  box-shadow: 0 4px 18px rgba(15, 24, 30, .45);
  font: 11px/1.45 Tahoma, Verdana, Arial, sans-serif;
}

.privacy-consent-titlebar {
  display: flex;
  min-height: 29px;
  padding-left: 9px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #263d50;
  background: #4c687f;
  color: #fff;
  font-weight: 700;
}

.privacy-consent-titlebar button {
  width: 29px;
  height: 27px;
  border: 0;
  border-left: 1px solid #263d50;
  background: #d7dde1;
  color: #21313d;
  font-size: 15px;
}

.privacy-consent-body { padding: 17px; }
.privacy-consent-body > p:first-child { margin: 0 0 13px; }
.privacy-consent-option {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 8px;
  margin-top: 8px;
  padding: 11px;
  border: 1px solid #bcc4ca;
  background: #fff;
}
.privacy-consent-option input { width: 14px; height: 14px; margin: 1px 0 0; }
.privacy-consent-option strong,
.privacy-consent-option small { display: block; }
.privacy-consent-option small { margin-top: 3px; color: #58636b; font-size: 10px; }
.privacy-consent-gpc { margin: 10px 0 0; padding: 7px 8px; border: 1px solid #b8c0c6; background: #e8ebed; }
.privacy-consent-modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 15px; }

.privacy-choices-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  box-shadow: none;
  font: inherit;
  pointer-events: auto;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-choices-link:hover { background: transparent; }
.privacy-consent-banner :focus-visible,
.privacy-consent-overlay :focus-visible,
.privacy-choices-link:focus-visible { outline: 2px solid #245f96; outline-offset: 2px; }

@media (max-width: 680px) {
  .privacy-consent-banner { align-items: stretch; flex-direction: column; gap: 10px; }
  .privacy-consent-actions { flex-wrap: wrap; justify-content: flex-end; }
}
