.customer-feedback {
  padding-block: 2rem;
  text-align: center;
}

.customer-feedback h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

.feedback-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 1rem;
}

.feedback-links a {
  color: inherit;
  padding: .5rem;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.feedback-links a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.diagnostics-heading {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  margin: 1rem 0 .5rem;
}

#feedback-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: .65rem 1rem;
  border-radius: .65rem;
  background: linear-gradient(90deg, #065bce, #7135c6);
  color: #fff;
  text-decoration: none;
}

#feedback-toggle:hover {
  background: linear-gradient(90deg, #0753b7, #632eae);
}

#feedback-toggle::after {
  content: "\2193" / "";
  font-weight: 700;
}

.portal .feedback-form {
  max-width: 38rem;
  margin: 1.25rem auto 0;
  background: #102039;
  border-color: #365780;
  color: #f4f7fc;
  text-align: left;
}

.feedback-form[hidden] {
  display: none;
}

.portal .feedback-form label {
  color: inherit;
}

.feedback-rating {
  padding: 0;
  margin: .5rem 0;
  border: 0;
}

.feedback-rating legend {
  font-weight: 700;
}

.feedback-stars {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
}

.feedback-stars label {
  position: relative;
  cursor: pointer;
  margin: 0;
}

.feedback-stars label > span[aria-hidden] {
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.75rem;
  color: #aebed4;
  font-size: 1.9rem;
  line-height: 1;
}

.feedback-stars label:has(input:checked) > span,
.feedback-stars label:has(~ label input:checked) > span {
  color: #ffc65c;
}

.feedback-stars label:has(input:focus-visible) {
  outline: 2px solid #a9d0ff;
  outline-offset: 2px;
  border-radius: .25rem;
}

.feedback-stars input,
.feedback-sr {
  position: absolute;
  width: 1px !important;
  height: 1px;
  padding: 0 !important;
  overflow: hidden;
  clip-path: inset(50%);
}

.feedback-form .feedback-links {
  justify-content: flex-start;
  margin-top: .6rem;
}


