/* ============================================================
   SAJEEL AI WALA — /feedback (verified tester quotes)
   Depends on tokens from styles.css; page-specific layout here.
   ============================================================ */

.fb-page {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
  padding: 22px clamp(16px, 3vw, 28px) 60px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  min-height: 100vh;
}

/* ---------- head ---------- */
.fb-head { text-align: center; }
.fb-eyebrow {
  margin: 0 0 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8ab8ff;
}
.fb-title {
  margin: 0 0 12px;
  font-size: clamp(26px, 4.6vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text, #f2f5fa);
}
.fb-lead {
  margin: 0 auto;
  max-width: 60ch;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-2, #b7c0cf);
}

/* ---------- composer ---------- */
.fb-compose {
  border: 1px solid var(--line, rgba(255, 255, 255, 0.1));
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fb-compose__id { display: flex; align-items: center; gap: 10px; }
.fb-compose__idtext { display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; color: var(--text, #f2f5fa); }

.fb-ava {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex: none;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(140deg, #5b9cff, #2f6fe0);
}
.fb-ava--github { background: linear-gradient(140deg, #6e7681, #24292f); }
.fb-ava--google { background: linear-gradient(140deg, #ea4335, #fbbc05); }
.fb-ava--facebook { background: linear-gradient(140deg, #1877f2, #0a56c2); }
.fb-ava--email { background: linear-gradient(140deg, #a97bff, #6d43d8); }

.fb-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4ade80;
}
.fb-check { width: 12px; height: 12px; }

.fb-compose textarea {
  width: 100%;
  resize: vertical;
  min-height: 84px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line, rgba(255, 255, 255, 0.1));
  background: rgba(0, 0, 0, 0.25);
  color: var(--text, #f2f5fa);
  font: inherit;
  font-size: 14px;
  line-height: 1.5;
}
.fb-compose textarea:focus { outline: none; border-color: rgba(91, 156, 255, 0.6); }
.fb-compose__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fb-count { font-size: 12px; color: var(--text-3, #7d8798); font-variant-numeric: tabular-nums; }

.fb-status { font-size: 13px; min-height: 0; }
.fb-status.is-visible { display: block; }
.fb-status.is-ok { color: #4ade80; }
.fb-status.is-error { color: #ff7b7b; }
.fb-status.is-info { color: var(--text-2, #b7c0cf); }

.fb-mine { border-top: 1px solid var(--line, rgba(255, 255, 255, 0.08)); padding-top: 10px; }
.fb-mine__title { margin: 0 0 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3, #7d8798); }
.fb-mine__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.fb-mine__list li { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--text-2, #b7c0cf); }
.fb-mine__state { flex: none; font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.fb-mine__state--pending { color: #ffc46b; }
.fb-mine__state--approved { color: #4ade80; }
.fb-mine__state--rejected { color: #ff7b7b; }

/* ---------- gate ---------- */
.fb-gate {
  text-align: center;
  border: 1px dashed var(--line, rgba(255, 255, 255, 0.14));
  border-radius: 18px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.fb-gate__text { margin: 0; max-width: 52ch; font-size: 13.5px; line-height: 1.6; color: var(--text-2, #b7c0cf); }

/* ---------- wall ---------- */
.fb-wall[aria-busy="true"] { min-height: 120px; }
.fb-wall__loading { text-align: center; font-size: 13px; color: var(--text-3, #7d8798); padding: 26px 0; }
.fb-empty { text-align: center; padding: 26px 0; }
.fb-empty__title { margin: 0 0 6px; font-weight: 650; color: var(--text, #f2f5fa); }
.fb-empty__text { margin: 0; font-size: 13px; color: var(--text-3, #7d8798); }

.fb-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}
.fb-card {
  border: 1px solid var(--line, rgba(255, 255, 255, 0.1));
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.028);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fb-quote { margin: 0; font-size: 14px; line-height: 1.6; color: var(--text, #f2f5fa); }
.fb-who { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.fb-who .fb-ava { width: 34px; height: 34px; font-size: 11.5px; }
.fb-whotext { display: flex; flex-direction: column; gap: 1px; font-size: 13px; color: var(--text, #f2f5fa); }
.fb-when { font-size: 11px; color: var(--text-3, #7d8798); }

/* ---------- footer ---------- */
.fb-foot { margin-top: auto; text-align: center; font-size: 12px; color: var(--text-3, #7d8798); }
.fb-foot a { color: var(--text-2, #b7c0cf); }

/* ---------- owner moderation ---------- */
.fb-owner { font-size: 13px; color: var(--text-3, #7d8798); }
.fb-owner summary { cursor: pointer; letter-spacing: 0.1em; text-transform: uppercase; font-size: 11px; }
.fb-owner__bar { display: flex; gap: 8px; margin: 12px 0; }
.fb-owner__bar input {
  flex: 1;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--line, rgba(255, 255, 255, 0.12));
  background: rgba(0, 0, 0, 0.25);
  color: var(--text, #f2f5fa);
  font: inherit;
}
.fb-owner__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.fb-owner__list li { border: 1px solid var(--line, rgba(255, 255, 255, 0.1)); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; }
.fb-owner__q { color: var(--text-2, #b7c0cf); }
.fb-owner__meta { font-size: 11px; color: var(--text-3, #7d8798); }
.fb-owner__btns { display: flex; gap: 6px; margin-top: 4px; }
.fb-owner__btns button {
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid var(--line, rgba(255, 255, 255, 0.14));
  background: transparent;
  color: var(--text-2, #b7c0cf);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.fb-owner__btns button:hover { color: var(--text, #f2f5fa); border-color: var(--line-strong, rgba(255, 255, 255, 0.3)); }

/* ---------- responsive ---------- */
@media (max-width: 640px) {
  .fb-grid { grid-template-columns: 1fr; }
  .fb-compose__row { flex-direction: column-reverse; align-items: stretch; }
  .fb-compose__row .btn { width: 100%; }
}
