.app-feedback {
  padding: 0.5rem 0 1.5rem;
}

.app-feedback__title {
  margin: 0.75rem auto 0;
  color: #000000;
  font-size: clamp(2rem, 4vw, 2rem);
  font-weight: bold;
  line-height: 1.5rem;
  text-align: center;
}

.app-feedback__description {
  margin: 1.25rem auto 0;
  color: #000000;
  font-size: 1rem;
  line-height: 1.5rem;
  text-align: center;
}

.app-feedback__rating {
  margin-top: 1.125rem;
}

.app-feedback__rating-faces {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 0.75rem;
}

.app-feedback__face {
  width: 1.75rem;
  height: 1.75rem;
}

.app-feedback__rating-list {
  display: grid;
  grid-template-columns: repeat(11, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.app-feedback__rating-option {
  display: flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  background: var(--app-feedback-score-color);
  color: #ffffff;
  cursor: pointer;
  font-size: 1.125rem;
  font-weight: bold;
  line-height: 1.375rem;
  text-align: center;
}

.app-feedback__rating-option--focused {
  outline: 2px solid #000000;
  outline-offset: -2px;
}

.app-feedback__rating-option--active {
  outline: 1px solid var(--app-feedback-score-color);
  outline-offset: -1px;
}

.app-feedback__rating-option--selected {
  border-color: var(--app-feedback-score-color);
  background: color-mix(in srgb, var(--app-feedback-score-color) 50%, transparent);
  color: #000000;
}

.app-feedback__comment-group {
  margin-top: 2rem;
}

.app-feedback__comment-label {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
}

.app-feedback__comment {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 4rem;
  max-height: 9.93rem;
  margin-top: 1.25rem;
  padding: 0.75rem;
  resize: vertical;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid #757575;
  border-radius: 0;
  background: #FFFFFF 0% 0% no-repeat padding-box;
  color: #000000;
  font: inherit;
}

.app-feedback__character-count {
  display: block;
  margin-top: 0.812rem;
  color: #757575;
  font-size: 0.875rem;
}

.app-feedback__submit {
  display: block;
  margin: 2rem auto 0;
  padding: 1rem 5.125rem;
  border-radius: 999px;
  background: #000000;
  color: #ffffff;
  font: inherit;
  font-size: 1.125rem;
}

.app-feedback__submit:hover:not(:disabled) {
  background: #333333;
}

.app-feedback__submit:disabled {
  cursor: not-allowed;
  /* opacity: 0.5; */
}

.app-feedback__contact {
  margin: 1.5rem 0 0;
  color: #767676;
  font-size: 1.125rem;
  text-align: center;
}

.app-feedback__contact a {
  color: #005eb1;
  font-weight: 700;
  text-decoration: underline;
}

.app-dialog__backdrop {
  padding: 0;
}

.app-feedback__submit:focus-visible {
  outline: 2px solid #005eb1;
  outline-offset: 1px;
}

@media (max-width: 47.875rem) {
  .app-feedback__rating-list {
    gap: 0.375rem;
  }

  .app-feedback__rating-option {
    min-height: 2.5rem;
    min-width: 2.5rem;
    font-size: 0.875rem;
  }
}

@media (max-width: 47.875rem) {
  .app-feedback {
    padding: 0;
    padding-bottom: 2.5rem;
  }

  .app-feedback__title {
    font-size: 1.5rem;
    line-height: 2.125rem;
  }

  .app-feedback__description {
    margin-top: 0.75rem;

  }

  .app-feedback__rating-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 1rem;
    column-gap: 0.687rem;
  }

  .app-feedback__rating-option {
    width: 2.5rem;
    height: 2.5rem;
    min-height: 2.5rem;
    flex: 0 0 2.5rem;
    font-size: 1.125rem;
  }

  .app-feedback__comment-group {
    margin-top: 1.875rem;
  }

  .app-feedback__comment {
    height: 8.75rem;
    min-height: 8.75rem;
    max-height: none;
  }

  .app-feedback__character-count {
    margin-top: 1.25rem;
  }

  .app-feedback__submit {
    width: min(100%, 14.25rem);
    min-height: 3.06rem;
    margin-top: 2rem;
    /* padding: 0.875rem 1.5rem; */
  }

  .app-dialog__surface {
    padding: 1rem;
  }

  .app-dialog__content {
    padding-top: 0rem;
  }

  .app-feedback__title {
    margin-top: 0rem;
  }
}