.feedback-page {
  background: #f5f5f7;
  color: #1d1d1f;
}

.feedback-main {
  width: min(calc(100% - 32px), 640px);
  margin: 0 auto;
  padding: clamp(40px, 8vw, 76px) 0;
}

.feedback-main h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 52px);
  line-height: 1.15;
}

.feedback-intro {
  margin: 12px 0 28px;
  color: #55555e;
}

#feedbackForm {
  padding: clamp(18px, 5vw, 34px);
  border: 1px solid #e8e8ed;
  border-radius: 20px;
  background: #fff;
}

#feedbackFields {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.feedback-field {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.feedback-field label {
  font-weight: 650;
}

.feedback-field label span {
  margin-inline-start: 6px;
  color: #66666e;
  font-size: 13px;
  font-weight: 400;
}

.feedback-field :is(textarea, input[type="url"], input[type="text"]) {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #c8c8ce;
  border-radius: 10px;
  background: #fff;
  font: inherit;
  font-size: 16px;
  color: inherit;
}

.feedback-field :is(textarea, input[type="url"], input[type="text"]):focus {
  border-color: #7bb0fd;
  outline: 4px solid #7bb0fd;
  outline-offset: 0;
}

.feedback-field textarea {
  resize: vertical;
}

.feedback-attachment {
  padding: 14px;
  border: 1px dashed #b8b8c3;
  border-radius: 12px;
}

.feedback-attachment p,
.feedback-privacy {
  color: #55555e;
  font-size: 14px;
  line-height: 1.6;
}

.feedback-attachment input[type="file"] {
  max-width: 100%;
  margin-top: 10px;
  font: inherit;
  font-size: 14px;
}

.feedback-attachment input::file-selector-button,
.feedback-preview button,
.feedback-challenge button {
  min-height: 40px;
  padding: 6px 12px;
  border: 1px solid #c8c8ce;
  border-radius: 9px;
  background: #fff;
  color: #1d1d1f;
  font: inherit;
  cursor: pointer;
}

.feedback-challenge {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.feedback-challenge img {
  border: 1px solid #c8c8ce;
  border-radius: 8px;
}

.feedback-challenge-status {
  color: #55555e;
  font-size: 14px;
}

.feedback-challenge-status:empty {
  display: none;
}

.feedback-preview:not([hidden]) {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
  margin-top: 12px;
}

.feedback-preview img {
  max-width: min(100%, 220px);
  max-height: 220px;
  border: 1px solid #e8e8ed;
  border-radius: 8px;
  object-fit: contain;
}

.feedback-privacy {
  margin-bottom: 18px;
}

.feedback-submit {
  min-height: 44px;
  padding: 8px 22px;
  border: 0;
  border-radius: 999px;
  background: #0068d7;
  color: #fff;
  font: inherit;
  cursor: pointer;
}

.feedback-submit:disabled {
  opacity: .65;
  cursor: default;
}

.feedback-attachment .feedback-error,
.feedback-status.is-error {
  color: #a21d2d;
}

.feedback-error:empty,
.feedback-status:empty {
  display: none;
}

.feedback-error {
  margin-top: 10px;
}

.feedback-status {
  margin: 0;
  font-size: 17px;
  font-weight: 650;
}

.feedback-status.is-error {
  margin-top: 14px;
}
