.history-section {
  padding: 40px 20px;
}

.container {
  max-width: 800px;
  margin: auto;
}

/*
.history-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.history-table th,
.history-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

.history-table th {
  background-color: #f7f9fc;
  color: #444;
}

.history-table tbody tr:hover {
  background-color: #f0f4fa;
}
*/
.status-0 .statusText {
  color: #2ecc71;
  font-weight: bold;
} /* Available */
.status-1 .statusText {
  color: #e67e22;
  font-weight: bold;
} /* Used */
.status-2 .statusText {
  color: #e74c3c;
  font-weight: bold;
} /* Reversed */

.pagination {
  text-align: center;
  margin: 20px 0;
}

.pagination li {
  display: inline-block;
  margin: 0 4px;
}

.pagination li a {
  padding: 6px 12px;
  background: #eee;
  border-radius: 6px;
  color: #333;
  text-decoration: none;
}

.pagination li.active a {
  background-color: #0066ff;
  color: white;
}

/* Encabezado de la tabla */
.history-table thead {
  background-color: #1e293b; /* slate-800 */
  color: #cbd5e1; /* slate-300 */
  font-weight: 600;
}

/* Cabecera de la tabla */
.history-table thead th {
  background-color: #1e293b; /* slate-800 */
  color: #cbd5e1; /* slate-300 */
  font-weight: 600;
  font-size: 0.95rem; /* 15px aprox */
  padding: 0.75rem 1rem; /* igual que las filas */
  text-align: left;
}

/* Celdas de las filas */
.history-table tbody td {
  padding: 0.75rem 1rem;
  font-size: 0.875rem; /* 14px */
  vertical-align: middle;
}

/* Bordes redondeados oscuros */
#ordersTable {
  background-color: #0f172a; /* slate-900 */
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid #1e293b; /* slate-800 */
}

/* Pagination oscura */
ul.pagination > li > button {
  background-color: #1e293b;
  color: #cbd5e1;
  padding: 0.4rem 0.75rem;
  border-radius: 0.25rem;
}
ul.pagination > li > button.active {
  background-color: #2563eb; /* blue-600 */
  color: white;
}
