.center-layout {
  max-width: 1000px;
  margin: 0 auto;
  padding: 24px 20px;
  display: flex;
  gap: 24px;
  min-height: calc(100vh - 80px);
}

.center-nav {
  width: 180px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: sticky;
  top: 76px;
  align-self: flex-start;
}

.center-nav-btn {
  padding: 10px 16px;
  border-radius: 12px;
  background: transparent;
  color: #475569;
  font-size: 14px;
  text-align: left;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}

.center-nav-btn:hover {
  background: #f1f5f9;
}

.center-nav-btn.active {
  background: #eff6ff;
  color: #2563eb;
  font-weight: 600;
}

.center-main {
  flex: 1;
  min-width: 0;
}

.center-panel h2 {
  margin: 0 0 16px;
  font-size: 20px;
  color: #0f172a;
}

.data-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.data-card {
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  transition: box-shadow 0.15s;
}

.data-card:hover {
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.07);
}

.data-card.unread {
  border-left: 3px solid #2563eb;
}

.data-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.data-card-header strong {
  font-size: 15px;
  color: #0f172a;
}

.data-card-body {
  font-size: 13px;
  color: #475569;
  line-height: 1.6;
}

.data-card-body > div {
  margin-bottom: 4px;
}

.data-card-desc {
  color: #64748b;
  font-style: italic;
}

.status-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: #f1f5f9;
  color: #475569;
}

.status-pending_payment { background: #fef3c7; color: #92400e; }
.status-paid { background: #d1fae5; color: #065f46; }
.status-in_progress { background: #dbeafe; color: #1e40af; }
.status-completed { background: #d1fae5; color: #065f46; }
.status-settled { background: #ede9fe; color: #5b21b6; }
.status-cancelled { background: #fecaca; color: #991b1b; }
.status-refunded { background: #fecaca; color: #991b1b; }

.empty-hint {
  font-size: 14px;
  color: #9ca3af;
  text-align: center;
  padding: 32px 0;
}

.quotes-section {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
}

.quote-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
}

.btn-accept-quote {
  padding: 4px 12px;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-size: 12px;
  border: none;
  cursor: pointer;
}

.btn-accept-quote:hover {
  background: #1d4ed8;
}

.btn-submit-quote {
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0f766e, #10b981);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.btn-submit-quote:hover {
  filter: brightness(1.08);
}

.center-form {
  max-width: 560px;
}

.center-form .form-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
  font-size: 14px;
}

.center-form .form-row input,
.center-form .form-row textarea,
.center-form .form-row select {
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  padding: 8px 10px;
  font: inherit;
}

.center-form button[type="submit"] {
  padding: 10px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

@media (max-width: 768px) {
  .center-layout {
    flex-direction: column;
    gap: 16px;
    padding: 16px 12px;
  }
  .center-nav {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    position: static;
    gap: 8px;
  }
  .center-nav-btn {
    padding: 8px 14px;
    font-size: 13px;
    border-radius: 999px;
    background: #f3f4f6;
  }
}
