* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f3f4f6;
  color: #111827;
}

.container {
  max-width: 1100px;
  margin: 30px auto;
  padding: 24px;
}

header {
  background: white;
  padding: 24px;
  border-radius: 16px;
  margin-bottom: 20px;
}

h1 {
  margin: 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.stat-card {
  background: white;
  padding: 18px;
  border-radius: 14px;
  text-align: center;
}

.stat-card strong {
  display: block;
  font-size: 28px;
  color: #2563eb;
}

.panel {
  background: white;
  padding: 22px;
  border-radius: 16px;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.feedback-card {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px;
  margin-top: 16px;
  background: #ffffff;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.label {
  font-size: 13px;
  color: #6b7280;
  font-weight: 700;
  margin-bottom: 4px;
}

.value {
  padding: 12px;
  background: #f9fafb;
  border-radius: 10px;
  min-height: 44px;
  white-space: pre-wrap;
}

.actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

button {
  padding: 12px 14px;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}

.approve {
  background: #16a34a;
  color: white;
}

.reject {
  background: #dc2626;
  color: white;
}

.panel-header button {
  background: #2563eb;
  color: white;
}

.empty {
  padding: 24px;
  background: #f9fafb;
  border-radius: 12px;
  margin-top: 16px;
  color: #6b7280;
}

@media (max-width: 800px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid,
  .actions {
    grid-template-columns: 1fr;
  }
}

.suggestion-table {
  margin-top: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
}

.suggestion-header,
.suggestion-row {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 220px;
  align-items: center;
}

.suggestion-header {
  background: #f9fafb;
  font-weight: 800;
  color: #374151;
}

.suggestion-header div,
.suggestion-row > div {
  padding: 14px;
  border-bottom: 1px solid #e5e7eb;
}

.suggestion-row:last-child > div {
  border-bottom: none;
}

.suggestion-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.suggested {
  font-weight: 700;
}

.row-actions {
  display: flex;
  gap: 8px;
}

.row-actions button {
  flex: 1;
  padding: 10px;
}

.processing {
  opacity: 0.5;
  pointer-events: none;
}

@media (max-width: 800px) {
  .suggestion-header {
    display: none;
  }

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

  .suggestion-text {
    white-space: normal;
  }

  .row-actions {
    padding: 12px;
  }
}
