/* FEEDBACK */

#respond #reply-title {
  display: none;
}

#respond .form-submit {
  text-align: center;
}

#respond .form-submit button {
  font-size: 1em;
  letter-spacing: 0.01em;
  max-width: 280px;
  text-transform: uppercase;
  width: 100%;
}

#respond .logged-in-as {
  display: none;
}

.rating-field {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0.5rem 0 1rem;
}

.rating-field input {
  display: none;
}

.rating-field span {
  display: none;
}

.icon {
  width: 45px;
  height: 45px;
  fill: var(--theme-palette-color-4);
  cursor: pointer;
}

.right-hand {
  transform: scaleX(-1);
  padding-top: 10px;
}

.rating-field .icon-filled {
  fill: var(--theme-palette-color-1) !important;
}

.rating-field .icon {
  fill: var(--theme-palette-color-4);
}

.rating-field input {
  display: none;
}

.rating-field span {
  display: none;
}

.rating-field label {
  margin-bottom: 0px;
}

#email-notes {
  display: none;
}

.required-field-message {
  display: none;
}

@supports selector(:has(+ *)) {
  .comment-form-field-textarea,
  .comment-form-field-textarea,
  .gdpr-confirm-policy,
  .comment-form-author,
  .comment-form-email,
  .form-submit {
    transition: opacity 1s ease-out;
    opacity: 0;
    height: 0;
    overflow: hidden;
  }

  form:has(input[type="radio"]:checked) .comment-form-field-textarea,
  form:has(input[type="radio"]:checked) .comment-form-field-textarea,
  form:has(input[type="radio"]:checked) .comment-form-field-textarea,
  form:has(input[type="radio"]:checked) .gdpr-confirm-policy,
  form:has(input[type="radio"]:checked) .comment-form-author,
  form:has(input[type="radio"]:checked) .comment-form-email,
  form:has(input[type="radio"]:checked) .form-submit {
    opacity: 1;
    height: auto;
  }
}

form:not(:has(input[type="radio"]:checked)) {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
}

form:has(input[type="radio"]:checked) {
  display: flex !important;
  flex-direction: column !important;
  gap: 1rem !important;
}
