body {
  font-family: sans-serif;
  background: #0F172A;
  color: white;
  margin: 0;
}
.pos-container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding: 10px;
  box-sizing: border-box;
}

.pos-header {
  display: flex;
  justify-content: space-between;
  background: #2563EB;
  color: #000000;
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 10px;
}

.pos-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 15px;
  flex-grow: 1;
}

.product-list {
  background: #1E3A8A;
  border-radius: 5px;
  overflow-y: auto;
  padding: 10px;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th {
  border-bottom: 2px solid #555;
  text-align: left;
  padding: 10px;
}
td {
  padding: 10px;
  border-bottom: 1px solid #444;
}

.controls {
  background: #1E3A8A;
  padding: 20px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.totals {
  background: #fcc860;
  padding: 20px;
  border-radius: 5px;
  border: 2px solid #F1C93B;
}
.total-row {
  font-size: 2rem;
  display: flex;
  justify-content: space-between;
  font-weight: bold;
}
.total-row.small {
  font-size: 1.2rem;
  color: #000000;
  margin-top: 10px;
}

.totals, .total-row, .total-row span {
  color: #1A1A1A !important;
}

.btn {
  padding: 15px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  border-radius: 4px;
  font-size: 1rem;
}
.btn-primary {
  background: #fbff00;
  color: rgb(0, 0, 0);
  padding: 8px 16px;
  height: 38px;
  margin-top: 5px;
}
.btn-success {
  background: #28a745;
  color: white;
}
.btn-danger {
  background: #dc3545;
  color: white;
}
.btn-warning {
  background: #fd7e14;
  color: white;
  margin-top: auto;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}
.modal-content {
  background: rgb(0, 0, 0);
  color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  width: 400px;
  text-align: center;
}
.payment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}
.payment-grid button {
  padding: 20px;
  cursor: pointer;
}

/* Punto 1: Mejorar el campo en el cual se carga el código de producto (más alto y menos ancho) */

#cod-producto {
  width: 100px;
  height: 40px;
  font-size: 20px;
  margin-top:5px;
}
