body {
    font-family: Arial, sans-serif;
    margin: 0px;
}
.pos-header{
    grid-area: header;
    padding: 0;
    background: #FDC218;
    color: #fff;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    z-index: 999;
    height: 50px;
}
.header-title{
    margin-left: 1%;
    margin-top:10px;
}

input#customer-name {
    margin-top: 5px;
    height: 35px;
    width: 48%;
}
input#customer-phone {
    margin-top: 5px;
    height: 35px;
    width: 48%;
}
.customer-info {
    flex: auto;
}
.pos-wrap {
    display: flex;
}
.pos{
    background: #fff;
    display: grid;
    grid-template-columns: 55% 45%;
    grid-template-rows: 35px 1fr;
    grid-template-areas:
        "header cart"
        "list cart";
    height: 100dvh;
    position: relative;
    flex: 1;
    overflow: hidden;
}
.container {
    display: flex;
    height: 100vh;
}
.pos-product-list {
    grid-area: list;
    display: flex;
    flex : 1;
    flex-direction: column;
    flex: 0 0 auto;
}
.pos-product-cat-list{
    /*background: #eaeaea;*/
    overflow: hidden;
    height: 100%;
    max-width: 700px;
    margin-top: 25px;
    touch-action: pan-y; /* Esto evita que el deslizamiento horizontal haga scroll en la página */
}
.pos-product-list-products{
    height: 100%;
    overflow-y: auto;
}
.pos-product-low-stock{
    border: solid 2px #fd872d;
}
.pos-product-no-stock{
    border: solid 2px #ff0000;
}
.pos-cart{
    grid-area: cart;
    padding: 15px;
    padding-left: 0px;
    padding-top: 10px;
    display: flex;
    flex: 1;
    flex-direction: column;
    border-left: solid 5px #787878;
}
.right-container {
    width: 35%;
    display: flex;
    flex-direction: column;
}
.ticket {
    padding: 10px;
    background-color: #f9f9f9;
    height: 100%;
}
.ticket-items {
    max-height: 280px;
    overflow-y: auto;	
    font-size: 22px;
}
.ticket-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 35px;
}
.product-quantity {
    color: darkgray;
}
.total {
    font-weight: 700;
    font-size: x-large;
    border-top: solid 2px darkgrey;
}
.button-container {
    padding: 5px;
    width: 100%;
    background-color: #f9f9f9;
}
.button-checkout-container{
    width:100%;
    display: flex;
}
.product-button {
  width: 100px;
  height: 100px;
  margin: 5px;
  background-color: #ddd;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  vertical-align: text-top;
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  font-weight: bold;
}

.product-importe {
    text-align: right;
}
.product-comment-btn{
  background-color: transparent;
  border: none;
  cursor: pointer;
  /* Ajusta el padding según sea necesario para el espaciado del icono */
  padding: 15px;
}
.full-screen-btn{
  background-color: transparent;
  border: none;
  cursor: pointer;
  /* Ajusta el padding según sea necesario para el espaciado del icono */
  padding: 15px;
  color:white;
}
.tkt-btn{
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 7px;
    margin-right: 20px;
    color: white;
    font-size: 31px;
    float: right;
}
.inventory-btn{
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 7px;
    margin-right: 80px;
    color: white;
    font-size: 31px;
    float: right;
}
.statistics-btn{
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 7px;
    margin-right: 80px;
    color: white;
    font-size: 31px;
    float: right;
}
.reset-pos-btn{
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 7px;
    margin-right: 80px;
    color: white;
    font-size: 31px;
    float: right;
}
.product-id{
    display: none;
}
.product-details {
    font-weight: bold;
    margin-right: auto;
    
}
.customer-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.customer-input {
  display: flex;
  align-items: center;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.customer-input i {
  margin-right: 5px;
}
.pos-inventory {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.inventory-row {
  flex-direction: column;
  align-items: center;
  margin: 5px 2px 10px 2px;
  width: 100%;
}

.inventory-text-container {
  margin: 5px;
}
.inventory-text-row{
    width: 100%;
    border-spacing: 0px;
}
.inv-cell-text1{
    text-align: left !important;
}
.inv-cell-text2{
    text-align: center;
}
/* Estilo de las celdas */
.inv-cell-text1,
.inv-cell-text2 {
    font-size: 14px;
    padding: 4px;
    border: 1px solid black;
    width:70% !important;
}
.low-inventory{
    color: white;
    font-weight: bolder;
    background-color: orange;
}
.no-inventory{
    color: white;
    font-weight: bolder;
    background-color: red;
}
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
  }
  
  .modal-content {
    background-color: #fefefe;
    margin: 20% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 300px;
    text-align: center;
  }
.time-title{
    width:100%;
    background-color:#006CFE;
    color:white;
    font-size:20px;
    text-align: center;
}
.selectable-button {
  border: none;
  background-color: #eee;
  padding: 10px;
  margin-right: 5px;
  cursor: pointer;
  font-size: 20px;
  width: 100%;
  height: 40px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
  touch-action: manipulation;
}

.selectable-button.selected {
  background-color: #ccc;
}

.button-row {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}
.button-save{
    height: 100px;
    color:white;
    font-size:20px;
    border:none;
    margin-bottom: 7px;
}
#btnSave{
    background-color:#1a76ef;
    width: 33%;			
}
#btnClear{
    background-color:#E8312F;
    width: 18%;
}
.button-charge{
    height: 100px;
    width: 23%;
    color:white;
    font-size:20px;
    border:none;
    background-color:#05C166;
}
.btn-disabled{
    background-color:gray !important;
}
.swal2-input {
    height: 2.625em;
    padding: 0 0.75em;
    width: 80%;
    margin: auto;
}
.swal2-input-payment {
    height: 2.625em;
    width: 31%;
    margin: auto;
    font-weight: 800;
    text-align: center;
    font-size: 21px;
}
#swal-payment-amt-lbl{
    color: #a11b1b;
}
#swal-payment-amt-input{
    color: #008100;
}
#swal-payment-amt-change{
    color: #1A76EF;
}
#payment-amounts-titles{
    display: flex;
}

.payment-amount-title{
    width: 33%;
    font-size: 22px;
    font-weight: 600;
}
#calculator-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 5px;
  width: 85%;
  margin: auto;
}

.swal2-calculator-button, .swal2-payment-calculator-button {
  padding: 10px;
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  width: 100%;
  height: 65px;
  margin: 5px;
  background-color: #f8f9fa;
  color: #495057;
  border: 1px solid #dee2e6;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}


.swal2-calculator-button:hover {
  background-color: #eee;
}

.swal2-calculator-button:focus {
  outline: none;
}