.cnhia-privacy-banner[hidden],
.cnhia-privacy-settings[hidden] {
  display: none !important;
}

.cnhia-privacy-banner {
  position: fixed;
  z-index: 2147483000;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 920px;
  margin: 0 auto;
  padding: 18px 20px;
  border: 1px solid #d5e0ee;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 32px rgb(15 35 60 / 20%);
  color: #203044;
  font: 14px/1.5 Inter, Arial, sans-serif;
}

.cnhia-privacy-copy {
  max-width: 620px;
}

.cnhia-privacy-copy strong {
  display: block;
  margin-bottom: 4px;
  color: #183b65;
  font-size: 16px;
}

.cnhia-privacy-copy p {
  margin: 0 0 6px;
}

.cnhia-privacy-copy a {
  color: #245f9e;
  text-decoration: underline;
}

.cnhia-privacy-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.cnhia-privacy-actions button,
.cnhia-privacy-settings {
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid #285f98;
  border-radius: 8px;
  background: #fff;
  color: #214d79;
  cursor: pointer;
  font: 600 14px/1.2 Inter, Arial, sans-serif;
}

.cnhia-privacy-actions button[data-choice="granted"] {
  background: #285f98;
  color: #fff;
}

.cnhia-privacy-actions button:hover,
.cnhia-privacy-settings:hover {
  filter: brightness(.94);
}

.cnhia-privacy-actions button:focus-visible,
.cnhia-privacy-settings:focus-visible,
.cnhia-privacy-copy a:focus-visible {
  outline: 3px solid #64b5f6;
  outline-offset: 2px;
}

.cnhia-privacy-settings {
  position: fixed;
  z-index: 2147482999;
  right: 16px;
  bottom: 16px;
  box-shadow: 0 3px 12px rgb(15 35 60 / 18%);
}

@media (max-width: 680px) {
  .cnhia-privacy-banner {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }

  .cnhia-privacy-actions button {
    flex: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cnhia-privacy-banner,
  .cnhia-privacy-settings {
    scroll-behavior: auto;
  }
}
