/* Feedback page — extends Leaf Ledger marketing styles */

.feedback-page {
  padding-top: 88px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.feedback-hero {
  padding: 48px 48px 32px;
  text-align: center;
  background: var(--page);
}

.feedback-hero h1 {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--sage);
  margin-bottom: 16px;
}

.feedback-hero h1 em {
  font-style: italic;
  color: var(--cedarwood);
}

.feedback-hero p {
  max-width: 560px;
  margin: 0 auto 28px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--sage-light);
}

.feedback-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.feedback-note {
  font-size: 13px;
  color: var(--sage-light);
  opacity: 0.85;
}

.feedback-note a {
  color: var(--eucalyptus-dk);
  font-weight: 500;
}

.feedback-board {
  flex: 1;
  padding: 24px 48px 64px;
  background: var(--section);
}

.feedback-board-inner {
  max-width: 820px;
  margin: 0 auto;
}

.feedback-panel {
  background: var(--page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.feedback-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border-light);
  background: var(--cloud-white);
}

.feedback-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.feedback-tab {
  appearance: none;
  border: 1.5px solid var(--border);
  background: var(--page);
  color: var(--sage-light);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.feedback-tab:hover {
  border-color: var(--eucalyptus);
  color: var(--eucalyptus-dk);
}

.feedback-tab.is-active {
  background: var(--eucalyptus);
  border-color: var(--eucalyptus);
  color: #fff;
}

.feedback-filter {
  display: flex;
  align-items: center;
  gap: 8px;
}

.feedback-filter label {
  font-size: 12px;
  font-weight: 600;
  color: var(--sage-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.feedback-filter select {
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--sage);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 7px 12px;
  background: var(--page);
  cursor: pointer;
}

.feedback-status {
  padding: 32px 22px;
  text-align: center;
  color: var(--sage-light);
  font-size: 15px;
  line-height: 1.6;
}

.feedback-status.is-error {
  color: #9b4d4d;
}

.feedback-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.feedback-item {
  border-bottom: 1px solid var(--border-light);
}

.feedback-item:last-child {
  border-bottom: none;
}

.feedback-item-link {
  display: block;
  padding: 18px 22px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease;
}

.feedback-item-link:hover {
  background: rgba(130, 144, 121, 0.06);
}

.feedback-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.feedback-item-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--sage);
}

.feedback-item-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-size: 12px;
  color: var(--sage-light);
  white-space: nowrap;
}

.feedback-item-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.feedback-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 3px 9px;
  border-radius: 100px;
  line-height: 1.3;
}

.feedback-label--bug { background: #fde8e8; color: #9b2c2c; }
.feedback-label--feedback { background: #e8f2fc; color: #1a56a8; }
.feedback-label--enhancement { background: #e6f4ea; color: #2d6a3e; }
.feedback-label--in-progress { background: #fef9e6; color: #8a6d00; }
.feedback-label--fixed { background: #f0e8fa; color: #5b3485; }
.feedback-label--wontfix { background: #eef0ee; color: #5c6b52; }
.feedback-label--default { background: var(--section); color: var(--sage-light); }

.feedback-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 6px;
}

.feedback-badge--open {
  background: rgba(130, 144, 121, 0.15);
  color: var(--eucalyptus-dk);
}

.feedback-badge--closed {
  background: rgba(78, 89, 69, 0.08);
  color: var(--sage-light);
}

.nav-links a.is-active {
  color: #fff;
  font-weight: 600;
}

@media (max-width: 768px) {
  .feedback-hero { padding: 32px 24px 24px; }
  .feedback-board { padding: 16px 24px 48px; }
  .feedback-toolbar { flex-direction: column; align-items: stretch; }
  .feedback-item-top { flex-direction: column; gap: 6px; }
  .feedback-item-meta { white-space: normal; flex-wrap: wrap; }
}
