.admin-panel {
  background: #fff;
  border: 1px solid #edf0f6;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid #edf0f6;
  border-radius: 18px;
  background: #fff;
}

.admin-table {
  width: 100%;
  min-width: 1100px;
  border-collapse: collapse;
  background: #fff;
}

.admin-table thead th {
  background: #f8fafc;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
  padding: 16px 14px;
  border-bottom: 1px solid #e9edf5;
  text-align: left;
  white-space: nowrap;
}

.admin-table tbody td {
  padding: 16px 14px;
  border-bottom: 1px solid #eef2f7;
  vertical-align: middle;
  color: #111827;
  font-size: 14px;
  line-height: 1.5;
}

.admin-table tbody tr:hover {
  background: #fcfcfd;
}

.admin-table tbody tr:last-child td {
  border-bottom: none;
}

.admin-action-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-btn-sm {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 13px;
  text-decoration: none;
}

.order-status-select {
  min-width: 150px;
  height: 40px;
  border: 1px solid #d7dbe7;
  border-radius: 10px;
  padding: 0 12px;
  background: #fff;
  color: #111827;
  font-size: 14px;
  outline: none;
  cursor: pointer;
  transition: 0.2s ease;
}

.order-status-select:focus {
  border-color: #111827;
  box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.06);
}

.empty-admin-box {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 18px;
  text-align: center;
  color: #6b7280;
  font-size: 15px;
  border: 1px dashed #d9dee8;
  border-radius: 16px;
  background: #fafbfc;
}

/* order-detail */
.order-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 24px;
}

.admin-card {
  background: #fff;
  border: 1px solid #edf0f6;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.admin-card h3 {
  margin: 0 0 18px;
  font-size: 28px;
  color: #111827;
}

.admin-card p {
  margin: 0 0 14px;
  font-size: 18px;
  color: #374151;
  line-height: 1.7;
}

.admin-card p strong {
  color: #111827;
  font-weight: 700;
}

.order-items-admin {
  display: grid;
  gap: 14px;
}

.order-item-admin {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #eef2f7;
}

.order-item-admin:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.thumb-admin {
  width: 96px;
  height: 96px;
  min-width: 96px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid #eceff5;
  background: #f3f4f6;
}

.order-item-admin strong {
  display: block;
  font-size: 20px;
  color: #111827;
  margin-bottom: 6px;
  line-height: 1.45;
}

.order-item-admin p {
  margin: 4px 0;
  font-size: 17px;
  color: #4b5563;
}

/* status badge nếu sau này sếp muốn hiện text màu */
.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.status-pending {
  background: #fef3c7;
  color: #92400e;
}

.status-confirmed {
  background: #dcfce7;
  color: #166534;
}

.status-shipping {
  background: #dbeafe;
  color: #1d4ed8;
}

.status-completed {
  background: #e0e7ff;
  color: #4338ca;
}

.status-cancelled {
  background: #fee2e2;
  color: #b91c1c;
}

/* đẹp hơn cho link chi tiết */
.admin-btn.secondary.admin-btn-sm {
  border: 1px solid #d7dbe7;
  background: #fff;
  color: #111827;
}

.admin-btn.secondary.admin-btn-sm:hover {
  background: #111827;
  color: #fff;
  border-color: #111827;
}

/* responsive */
@media (max-width: 1100px) {
  .order-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .admin-panel {
    padding: 14px;
  }

  .admin-card {
    padding: 16px;
  }

  .thumb-admin {
    width: 68px;
    height: 68px;
    min-width: 68px;
  }

  .order-status-select {
    min-width: 130px;
  }
}