.pedidos-container {
  max-width: 1350px;
  margin: 40px auto 20px;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow-x: auto;
}

.tabla-pedidos {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  min-width: 1200px;
}

.tabla-pedidos th,
.tabla-pedidos td {
  padding: 12px 10px;
  border-bottom: 1px solid #ddd;
  text-align: left;
  font-size: 15px;
}

.tabla-pedidos th {
  background-color: #f4f4f4;
  font-weight: bold;
  color: #333;
}

.tabla-pedidos tr:hover {
  background-color: #f9f9f9;
}

.botones-enlaces {
  margin-top: 10px;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-enlace {
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 100px;
  padding: 10px 15px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-enlace:hover {
  background-color: #0056b3;
}

/* Responsive */
@media (max-width: 768px) {
  .pedidos-container {
    padding: 15px;
    margin: 20px auto;
  }

  .tabla-pedidos {
    display: block;
    overflow-x: auto;
  }

  .tabla-pedidos thead {
    display: none;
  }

  .tabla-pedidos tr {
    display: block;
    margin-bottom: 15px;
    background: #f9f9f9;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  }

  .tabla-pedidos td {
    display: block;
    text-align: left;
    font-size: 14px;
    padding: 8px 10px;
    border-bottom: 1px solid #eee;
    position: relative;
  }

  .tabla-pedidos td::before {
    content: attr(data-label);
    font-weight: bold;
    display: block;
    color: #333;
    margin-bottom: 4px;
  }
}
