.sa-consent[hidden] {
  display: none !important;
}

.sa-consent {
  position: fixed;
  z-index: 10000;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 780px;
  margin-inline: auto;
  padding: 20px;
  border: 1px solid #d5dce4;
  border-radius: 14px;
  background: #fff;
  color: #182332;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .16);
  font: inherit;
}

.sa-consent__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.sa-consent h2 {
  margin: 0 0 8px;
  color: inherit;
  font-size: 18px;
  line-height: 1.3;
}

.sa-consent p {
  margin: 0;
  color: #344255;
  font-size: 14px;
  line-height: 1.55;
}

.sa-consent__actions {
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 0 0 160px;
}

.sa-consent__actions button,
.sa-consent-settings {
  font: inherit;
  cursor: pointer;
}

.sa-consent__actions button {
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid #24364d;
  border-radius: 8px;
  background: #24364d;
  color: #fff;
}

.sa-consent__actions button:last-child {
  background: #fff;
  color: #24364d;
}

.sa-consent__actions button:focus-visible,
.sa-consent-settings:focus-visible {
  outline: 3px solid #477cc1;
  outline-offset: 3px;
}

.sa-consent-settings {
  margin: 8px;
  padding: 4px 6px;
  border: 0;
  background: transparent;
  color: inherit;
  text-decoration: underline;
  font-size: 13px;
}

@media (max-width: 600px) {
  .sa-consent {
    padding: 16px;
    bottom: 8px;
    left: 8px;
    right: 8px;
  }

  .sa-consent__content {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .sa-consent__actions {
    flex: auto;
  }
}
