.asa-consent {
  position: fixed;
  z-index: 10000;
  right: 16px;
  bottom: 16px;
  left: 16px;
  box-sizing: border-box;
  width: min(720px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  margin: auto;
  overflow-y: auto;
  padding: 24px;
  border: 1px solid #fff;
  background: #003d75;
  box-shadow: 0 8px 28px rgb(0 0 0 / 30%);
  color: #fff;
  font-family: Arial, sans-serif;
  line-height: 1.45;
}

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

.asa-consent h2 {
  margin: 0 0 12px;
  color: inherit;
  font-size: 24px;
}

.asa-consent p {
  margin: 0 0 12px;
  color: inherit;
  font-size: 16px;
}

.asa-consent a {
  color: #fff;
  text-decoration: underline;
}

.asa-consent-option {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0;
  cursor: pointer;
}

.asa-consent-option input {
  width: 18px;
  height: 18px;
  margin: 0;
}

.asa-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.asa-consent-actions button {
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid #fff;
  background: #fff;
  color: #003d75;
  font: inherit;
  cursor: pointer;
}

.asa-consent-actions button:last-child {
  background: #9ca9b6;
  color: #000;
}

.asa-consent :focus-visible,
.asa-consent-settings:focus-visible {
  outline: 3px solid #f5c242;
  outline-offset: 2px;
}

.asa-consent-settings {
  display: inline-block;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

@media (max-width: 480px) {
  .asa-consent {
    right: 8px;
    bottom: 8px;
    left: 8px;
    width: calc(100% - 16px);
    max-height: calc(100vh - 16px);
    padding: 16px;
  }

  .asa-consent h2 {
    font-size: 20px;
  }
}
