.support-main {
  padding-top: 42px;
  padding-bottom: 58px;
}

.support-stack {
  display: grid;
  gap: 20px;
}

.section-title-inline {
  margin: 0 0 12px;
  font-family: "Montserrat", "Nunito Sans", Arial, sans-serif;
  font-size: 1.55rem;
  color: #173e7a;
}

.support-subtext {
  margin: 0;
  color: #4a6894;
}

.form-grid {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.form-row {
  display: grid;
  gap: 6px;
}

.form-row label {
  font-weight: 700;
  color: #274d87;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid #cfdced;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  color: #1f3f74;
  background: #ffffff;
}

.form-row textarea {
  min-height: 140px;
  resize: vertical;
}

.form-help {
  margin: 0;
  font-size: 0.9rem;
  color: #5d79a3;
}

.alert {
  display: none;
  border-radius: 10px;
  padding: 12px 14px;
  font-weight: 600;
}

.alert.is-visible {
  display: block;
}

.alert-success {
  background: #ebfaef;
  border: 1px solid #9ad9a7;
  color: #2f7f42;
}

.alert-error {
  background: #fff0ef;
  border: 1px solid #efb5b0;
  color: #a5443a;
}

.list-table-wrap {
  overflow-x: auto;
}

.list-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.list-table th,
.list-table td {
  border: 1px solid #d9e4f3;
  padding: 10px 12px;
  text-align: left;
  color: #31588f;
  font-size: 0.95rem;
}

.list-table th {
  background: #f1f6ff;
  color: #1f467d;
  font-weight: 800;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 4px 8px;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: capitalize;
  background: #e9f1ff;
  color: #2b5ea8;
}

.status-pill.in_progress {
  background: #fff0d8;
  color: #965c08;
}

.status-pill.waiting_customer {
  background: #fff7df;
  color: #88631b;
}

.status-pill.resolved {
  background: #e9faef;
  color: #2f7f42;
}

.status-pill.closed {
  background: #f0f2f7;
  color: #58637a;
}

.empty-state {
  margin: 0;
  color: #5b769f;
}

.reply-block {
  border: 1px solid #dce6f4;
  border-radius: 10px;
  padding: 10px 12px;
  background: #ffffff;
}

.reply-meta {
  margin: 0 0 6px;
  font-size: 0.86rem;
  color: #607ba2;
  font-weight: 700;
}

.reply-message {
  margin: 0;
  color: #355a90;
  line-height: 1.45;
}

.admin-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

@media (max-width: 980px) {
  .admin-controls {
    grid-template-columns: 1fr;
  }
}
