.privacy-choice-trigger {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

.privacy-choice-trigger:focus-visible,
.privacy-choice-panel button:focus-visible {
  outline: 3px solid #0b73b7;
  outline-offset: 3px;
}

.privacy-choice-panel[hidden] {
  display: none !important;
}

.privacy-choice-panel {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 1rem;
  background: rgba(7, 19, 33, 0.68);
}

.privacy-choice-panel__card {
  width: min(100%, 34rem);
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid #d5dce3;
  border-radius: 1rem;
  background: #fff;
  color: #172b3e;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.28);
}

.privacy-choice-panel__card h2 {
  margin: 0 0 0.75rem;
  color: #12314b;
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  line-height: 1.2;
}

.privacy-choice-panel__card p {
  margin: 0 0 1rem;
  line-height: 1.55;
}

.privacy-choice-panel__gpc {
  padding: 0.75rem;
  border-left: 4px solid #13724d;
  background: #edf8f2;
  font-weight: 600;
}

.privacy-choice-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.privacy-choice-panel__button,
.privacy-choice-panel__close {
  min-height: 44px;
  border: 2px solid #12314b;
  border-radius: 0.5rem;
  padding: 0.65rem 1rem;
  background: #12314b;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.privacy-choice-panel__button--quiet,
.privacy-choice-panel__close {
  background: #fff;
  color: #12314b;
}

.privacy-choice-panel__button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.privacy-choice-panel__close {
  margin-top: 0.85rem;
}

@media (max-width: 480px) {
  .privacy-choice-panel {
    align-items: end;
    padding: 0.5rem;
  }

  .privacy-choice-panel__card {
    width: 100%;
    max-height: 85vh;
    border-radius: 1rem 1rem 0.5rem 0.5rem;
  }

  .privacy-choice-panel__actions {
    display: grid;
  }
}

