.consent-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  width: min(460px, calc(100% - 36px));
  border: 1px solid rgba(22, 23, 29, 0.18);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 58px rgba(22, 23, 29, 0.18);
  color: #16171d;
  font-family:
    ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

.consent-banner[hidden] {
  display: none;
}

.consent-banner__title {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 900;
}

.consent-banner__text {
  margin: 0;
  color: #4f5361;
  font-size: 0.92rem;
  line-height: 1.45;
}

.consent-banner__text a {
  color: #3d4cac;
}

.consent-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.consent-banner__button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(22, 23, 29, 0.22);
  border-radius: 6px;
  padding: 10px 14px;
  background: #ffffff;
  color: #16171d;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.consent-banner__button:hover {
  border-color: rgba(61, 76, 172, 0.42);
}

.consent-banner__button--primary {
  border-color: #3d4cac;
  background: #3d4cac;
  color: #ffffff;
}

.consent-reset {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(22, 23, 29, 0.22);
  border-radius: 6px;
  padding: 10px 14px;
  background: #ffffff;
  color: #16171d;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

@media (max-width: 520px) {
  .consent-banner {
    right: 13px;
    bottom: 13px;
    width: calc(100% - 26px);
  }

  .consent-banner__actions {
    flex-direction: column;
  }

  .consent-banner__button {
    width: 100%;
  }
}
