:root {
    --primario: #9C27B0;
    --primarioOscuro: #89119D;
    --secundario: #FFCE00;
    --secundarioOscuro: rgb(233, 187, 2);
    --blanco: #FFF;
    --negro: #000;
    --suave: #3b7aee;
    --azul: #4e62e6;
    --azulOscuro: #010d5e;    
    --grisClaro: #DFE9F3;    
    --verde: #009879;
    --fuentePrincipal: 'Andika', cursive;
    --rojo: rgb(174, 39, 39);
}

.letra-regular {
    font-family: "Andika", sans-serif;
    font-weight: 400;
    font-style: normal;
  }
  
.letra-bold {
    font-family: "Andika", sans-serif;
    font-weight: 400;
    font-style: normal;
  }
  label{
    display:flex;
	  border-collapse:collapse;
    width: 2rem;
    height: 2rem;
    margin-top: auto;
    margin-bottom: auto;
    align-items: center;
    
}
html {
    box-sizing: border-box;
    font-size: 62.5%; 
}

*, *:before, *:after {
    box-sizing: inherit;
}

/** Globales **/
body {
    background-color: var(--primario);
    font-size: 1.6rem;
    line-height: 1.5;
}
p {
    font-size: 1.5rem;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--blanco);
    margin-left: 2rem;
    

}
a {
    text-decoration: none;
}
img {
    width: 100%;
}

h1, h2, h3 {
    text-align: center;
    color: var(--blanco);
    font-family: var(--fuentePrincipal);
    gap: .3rem;
}
h1 {
    font-size: 4rem;
}
h2 {
    font-size: 3.2rem;
}
h3 {
    font-size: 2.4rem;
}


/** Header **/
.header {
    display:flex;
    justify-content: center;
}
.header__logo {
    margin: .5rem 0;
}
/** Footer **/
.footer {
    background-color: var(--primarioOscuro);
    padding: 1rem 0;
    margin-top: 2rem;
}
.footer__texto {
    font-family: var(--fuentePrincipal);
    text-align: center;
    font-size: 1rem;
}
.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
@media (min-width: 768px) {
    .grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/** Productos **/
.producto {
    background-color: var(--primarioOscuro);
    padding: 1rem;
}

.formulario {
  background-color: var(--primarioOscuro);
  width: min( 60rem, 100% ); /** Utilizar el valor más pequeño **/
  margin: 0 auto;
  padding: 1rem;
  border-radius: 1rem;
}

.formulario fieldset {
  border: none;
}
.formulario legend {
  text-align: left;
  font-size: 1.5rem;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--secundario);
}

.campo {
  margin-bottom: 1rem;
}
.campo label {
  color: var(--blanco);
  font-weight: bold;
  margin-bottom: .5rem;
  display: block;
  font-size: 2rem;
  text-align: left;
}
.campo textarea {
  height: 2rem;
}

.input-pass {
  width: 100%;
  border: none;
  padding: 0.8rem;
  border-radius: .5rem;
  text-transform: lowercase;
  font-size: 1.5rem;
  text-align: left;
  margin-right: auto;
  margin-left: auto;    


}


.boton {
    background-color: var(--azul);
    color: var(--blanco);
    padding: 0.5rem 0.5rem;
    margin-top: 1rem;
    font-size: 1.4rem;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: .5rem;
    width: 60%;
    text-align: center;
   }
@media (min-width: 768px) {
    .boton {
        width: auto;
    }
}
.boton:hover {
    cursor: pointer;
}

.boton_fisico {
  background-color: var(--azulOscuro);
  color: var(--blanco);
  padding: 0.5rem 0.5rem;
  margin-top: 1rem;
  font-size: 1.4rem;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: bold;
  border-radius: .5rem;
  width: 90%;
  text-align: center;
  margin-right: 1rem;
 }
@media (min-width: 768px) {
  .boton_fisico {
      width: auto;
      margin-right: 10px;
  }
}
.boton_fisico:hover {
  cursor: pointer;
}


.contenedor {
    max-width: 70rem;
    margin: 0 auto;
    color: var(--blanco);
    font-weight: bold;
    margin-bottom: .5rem;
    column-gap: 1rem;
    display: block;    
    text-align: center;
}
@media (min-width: 768px) {
    .contenedor-campos {
        display: grid;
        grid-template-columns: 50% 50%;
        grid-template-rows: auto auto 10rem ;
        column-gap: 1rem;
    }
  }



  .contenedor-tabla {
    max-width: 70rem;
    margin: 0 auto;
    color: var(--negro);
    font-weight: bold;
    margin-bottom: .5rem;
    column-gap: 1rem;
    display: block;    
    text-align: center;
    
}
@media (min-width: 768px) {
  .contenedor-tabla{
    width:768px;
  }
    } 

    .campo:nth-child(3),
    .campo:nth-child(4) {
        grid-column: 1 / 3;
    }

.contenedor-izquierda {
    max-width: 65rem;
    color: var(--blanco);
    margin: 0 auto;    
    font-weight: 400;
    font-size: 1rem;
    margin-bottom: .3rem;
    padding-left: 1rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;    
    text-align: left;
    background-color: var(--primarioOscuro);
    display:block;
    line-height: 1.5rem;
}

.contenedor-centrado {
  max-width: 65rem;
  color: var(--blanco);
  margin: 0 auto;    
  font-weight: bold;
  margin-bottom: 1rem;
  text-align: center;
  background-color: var(--suave);
  gap:2rem;
  
}

.contenedor-x2 {
  max-width: 70rem;
  color: var(--blanco);
  margin: 0 auto;    
  font-weight: 400;
  margin-bottom: .3rem;
  padding-left: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;    
  text-align: center;
  background-color: var(--suave);
  display: block;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;    
  align-items: left;

}

.contenedor-entrega {
  max-width: 65rem;
  color: var(--blanco);
  margin: 0 auto;    
  font-weight: bold;
  margin-bottom: .5rem;
  text-align:justify;
  background-color: var(--primarioOscuro);
  font-size: 1rem;
}

.contenedor-entrega2 {
  max-width: 65rem;
  color: var(--blanco);
  margin: 0 auto;    
  font-weight: bold;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  text-align: center;
  background-color: var(--primarioOscuro);
  gap:2rem;
  
}

.campo {
    margin-bottom: 1rem;
}
.campo label {
    color: var(--blanco);
    font-weight: bold;
    margin-bottom: .5rem;
    display: block;
}
.campo textarea {
    height: 20rem;
}

.input-text {
    width: 35%;
    border: none;
    padding: .8rem;
    border-radius: .5rem;
    text-transform: uppercase;
    font-size: 1.5rem;
    text-align: center;
    margin-right: auto;
    margin-left: auto;    
}

.input-fisi {
  width: 90%;
  border: none;
  padding: 0.8rem;
  border-radius: .5rem;
  text-transform: uppercase;
  font-size: 1.5rem;
  text-align:left;
  margin-right: auto;
  margin-left: auto;    
}

.input-fisi-label {
  text-align:center;
}



.input-obs {
  width: 80%;
  border: none;
  padding: .8rem;
  border-radius: .5rem;
  text-transform: uppercase;
  font-size: 1.5rem;
  text-align: center;
  margin-right: auto;
  margin-left: auto;    
}


.content-table {
    border-collapse: collapse;
    border-radius: .5rem .5rem 0 0;
    overflow: hidden;
    box-shadow: 0 0 2rem rgba(0, 0, 0, 0.15);
    height: 1rem;
  }
  
  .content-table thead tr {
    background-color: #009879;
    color: #ffffff;
    text-align: right;
    font-size: 1.1rem;
    font-weight:400;
    padding: 1rem;
    margin-right: auto;
    margin-left: auto;
    line-height: 2.5rem;    
  }
  
  @media (min-width: 860px) {
    .content-table {
      width: 860; /* Switch to a fixed width on larger screens */
    }
  }
  .content-table th,
  .content-table td {
    padding: .1rem .1rem;
    font-size: 1.1rem;    
  }
  
  .content-table tbody tr {
    border-bottom: .5rem solid #dddddd;
    background-color: var(--blanco);
    font-size: 1.3rem;    
  }
  
  .content-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
  }
  
  .content-table tbody tr:last-of-type {
    border-bottom: .5rem solid #009879;
  }
  
  .content-table tbody tr.active-row {
    font-weight: bold;
    color: #009879;
  }
  
  tfoot {
    font-weight: 400;
    background-color: var(--verde);
    color: #ffffff;
    text-align: right;
    font-size: 1.1rem;
    line-height: 1.7rem;      
    padding-bottom: 1rem;
  }
  

  .content-tablem {
    border-collapse: collapse;
    border-radius: .5rem .5rem 0 0;
    overflow: hidden;
    box-shadow: 0 0 2rem rgba(0, 0, 0, 0.15);
    height: 1rem;
  }
  
  .content-tablem thead tr {
    background-color: red;
    color: #ffffff;
    text-align: right;
    font-size: 1.1rem;
    font-weight:400;
    padding: 1rem;
    margin-right: auto;
    margin-left: auto;
    line-height: 2.5rem;
    
  }
  @media (min-width: 768px) {
    .content-tablem {
      width: 768; /* Switch to a fixed width on larger screens */
    }
  }

  .resaltado {
    font-weight: bold;
    font-size: 24px;
    color:yellow;
  }
  
  .content-tablem th,
  .content-tablem td {
    padding: .1rem .1rem;
  }

  @keyframes parpadeo {
  0% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}
.parpadeante {
  animation: parpadeo 1s infinite;
}

  
  .content-tablem tbody tr {
    border-bottom: .5rem solid #dddddd;
    background-color: var(--blanco);
    font-size: 1.3rem;    
  }
  
  .content-tablem tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
  }
  
  .content-tablem tbody tr:last-of-type {
    border-bottom: .5rem solid red;
  }
  
  .content-tablem tbody tr.active-row {
    font-weight: bold;
    color: red;
  }
  
  .horizontal-scroll {
    overflow: hidden;
    overflow-x: 70%;
    clear: both;
    width: 70%;
  }
  
/* custom radio */
.radio {
  display: inline-block;
  position: relative;
  padding-left: 0.5rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  cursor: pointer;
  font-size: 1.4rem;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  margin-right: 8rem;  
}

.radio label {
  display:inline-block;
  margin-left: 3rem; /* Espacio entre el botón de radio y el texto */
  vertical-align:text-bottom;   
}


/* hide the browser's default radio button */
.radio input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  vertical-align: middle;  
}

/* create custom radio */
.radio .check {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
  border: 1px solid #ccc;
  border-radius: 50%;
}

/* on mouse-over, add border color */
.radio:hover input ~ .check {
  border: 2px solid #2489C5;
}

/* add background color when the radio is checked */
.radio input:checked ~ .check {
  background-color: #2489C5;
  border:none;
}

/* create the radio and hide when not checked */
.radio .check:after {
  content: "";
  position: absolute;
  display: none;
}

/* show the radio when checked */
.radio input:checked ~ .check:after {
  display: block;
}

/* radio style */
.radio .check:after {
  top: 9px;
  left: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
}

.alerta{
    padding: .5rem;
    text-align: center;
    color: var(--blanco);
    font-weight: 700;
    text-transform: uppercase;
    
    
    &.error{
      background-color: var(--verde) ;

    }

}

.navegacion {
  background-color: var(--primarioOscuro);
  padding: 1rem 0;
  display: flex;
  justify-content: center;
  gap: 1rem; 
}
.navegacion__enlace {
  font-family: var(--fuentePrincipal);
  color: var(--blanco);
  font-size: 1.2rem;
}
.navegacion__enlace--activo,
.navegacion__enlace:hover {
  color: var(--secundario);
}

.barCode {
  border: 1px solid gray;
  border-radius: 4px;
 height: 125px;
 margin-bottom: 10px;
 width: 24%;
}
.barCode header {
  border-bottom: 1px solid gray;
  height: 35px;
  margin-top: -10px;
}
.barCode header h4 {
  background: #F7F7F9;
  line-height: 35px;
  text-align: center;
}


label {
  display: inline-block;
  width: 140px;
  text-align: right;
}​