.admin-section {
  margin: 40px 0;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.admin-table th, .admin-table td {
  border: 1px solid #ccc;
  padding: 12px;
  text-align: left;
}

.admin-table th {
  background: #0078d7;
  color: #fff;
}

.admin-table tr:nth-child(even) {
  background: #f0f8ff;
}

.admin-table tr:nth-child(odd) {
  background: #ffffff;
}

.admin-table td {
  color: #333;
}

/* Buttons */
.admin-table button {
  padding: 6px 12px;
  font-size: 0.85rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-right: 5px;
}

.btn-read {
  background: #28a745;
  color: #fff;
}

.btn-read:hover {
  background: #218838;
}

.btn-delete {
  background: #dc3545;
  color: #fff;
}

.btn-delete:hover {
  background: #c82333;
}

/* Status badges */
.status-badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 12px;
  text-transform: uppercase;
}

.status-new {
  background-color: #dc3545; /* red */
  color: #fff;
}

.status-read {
  background-color: #28a745; /* green */
  color: #fff;
}

/* Section container */
#orders {
  margin: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.9); /* light overlay for contrast */
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Heading */
#orders h2 {
  margin-bottom: 15px;
  color: #1b4d1b; /* deep green to match background */
  font-size: 1.5em;
  font-weight: bold;
  text-align: left;
}

/* Table */
#ordersTable {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
}

/* Table header */
#ordersTable th {
  background: #2e7d32; /* rich green header */
  color: #fff;
  padding: 10px;
  text-align: left;
  font-weight: bold;
}

/* Table cells */
#ordersTable td {
  border: 1px solid #ddd;
  padding: 8px;
  color: #333;
  background: #fafafa;
}

/* Alternate row shading */
#ordersTable tbody tr:nth-child(even) td {
  background: #f0fdf4; /* very light green tint */
}

/* Thumbnail images */
.thumb {
  width: 80px;
  height: auto;
  border: 2px solid #2e7d32;
  border-radius: 4px;
  background: #fff;
  padding: 2px;
}

/* Delete button */
.delete-btn {
  background: #e53935; /* red for delete */
  color: #fff;
  border: none;
  padding: 6px 12px;
  cursor: pointer;
  border-radius: 4px;
  font-size: 0.9em;
  transition: background 0.2s ease;
}

.delete-btn:hover {
  background: #b71c1c;
}
