/* صفحة «شاركنا رأيك»: تستعير حقول نموذج التواصل وتلغي ارتفاعاته الثابتة. */
.feedback-main {
  padding: 64px 0 96px;
  background: var(--canvas);
}

.feedback-shell {
  max-width: 760px;
}

.feedback-intro {
  margin-bottom: 32px;
  text-align: start;
}

.feedback-intro h1 {
  margin: 8px 0 12px;
  color: var(--brand);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.3;
}

.feedback-intro p {
  margin: 0 0 8px;
  color: var(--muted-brand);
  font-size: 17px;
  line-height: 1.7;
}

.feedback-contact-hint a {
  color: var(--brand);
  font-weight: 600;
}

.feedback-panel {
  width: 100%;
  min-height: 0;
}

.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 8px;
  padding-top: 24px;
}

.feedback-kinds {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.feedback-kinds legend {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 15px;
  font-weight: 500;
}

.feedback-kinds legend b {
  color: var(--accent);
  font-weight: 500;
}

.feedback-kind-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feedback-kind-options label {
  position: relative;
  cursor: pointer;
}

/* الدائرة مخفيّة والزرّ كلّه هو الاختيار؛ الحقل يبقى في الصفحة ليُركَّز عليه بلوحة المفاتيح. */
.feedback-kind-options input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}

.feedback-kind-options span {
  display: inline-block;
  padding: 8px 18px;
  color: var(--brand);
  background: var(--surface);
  border: 1px solid rgba(27, 67, 50, 0.2);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  line-height: 21px;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.feedback-kind-options input:checked + span {
  color: var(--surface);
  background: var(--brand);
  border-color: var(--brand);
}

.feedback-kind-options input:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(27, 67, 50, 0.25);
}

.feedback-optional-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

/* لا إزاحة يسارًا: في صفحة RTL تمدّ عرض الصفحة وتُظهر شريط تمرير أفقيًا. */
.feedback-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.feedback-actions {
  height: auto;
  padding-right: 0;
}

@media (max-width: 575.98px) {
  .feedback-main {
    padding: 40px 0 64px;
  }

  .feedback-intro h1 {
    font-size: 30px;
  }

  .feedback-panel {
    padding: 24px 20px;
  }

  .feedback-optional-row {
    grid-template-columns: 1fr;
  }
}
