body {
  background: #1e1e1e;
  font-family: Arial, sans-serif;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.formulario {
  background: #fff;
  padding: 15px;
  border-radius: 6px;
  width: 300px;
}

.formulario input,
select {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  padding: 5px;
  border: 1px solid #ccc;
}

.fondo {
  position: absolute;
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
  z-index: 0;
}
.gafete > *:not(.fondo) {
  z-index: 1;
  position: relative;
}

.gafete {
  width: 2.13in;
  height: 3.35in;
  background-size: cover;
  /* background-repeat: no-repeat;
      background-position: center; */
  position: relative;
  /* border: 1px solid #ccc; */
  overflow: hidden;
  page-break-after: always;
}

.campito {
  position: absolute;
  color: black;
}

.campo {
  position: absolute;
  font-weight: bold;
  font-size: 9px;
  color: black;
}

/* ESTILO TEDEL */
.estilo-tedel#fotoPreview {
      position: absolute;
    top: 58px;
    left: 63px;
    width: 81px;
    height: 87px;
    object-fit: fill;
    border: 2px solid #f25022;
    /* object-fit: cover; */
}

.estilo-tedel#nombreTexto {
      top: 164px;
    left: 0;
    width: 99%;
    text-align: center;
    font-size: 14px;
}

.estilo-tedel#puestoTexto {
      position: absolute;
    top: 231px;
    left: 0;
    width: 100%;
    /* height: 100%; */
    text-align: center;
    font-size: 14px;
    color: rgb(255, 255, 255);
    /* padding: 1px 19px; */
}

.estilo-tedel#nss {
     top: 247px;
    left: -13px;
    font-size: 8px;
    background: #ffffff00;
    padding: 1px 19px;
}

.estilo-tedel#numeroTexto {
      top: 223px;
    left: -9px;
    font-size: 8px;
    background: #ffffff00;
    padding: 1px 19px;
}

.estilo-tedel#numeroTextoQR {
     top: 236px;
    left: 132px;
    font-size: 9px;
    background: #ffffff00;
    /* padding: 1px 19px; */
}

.estilo-tedel#fechaTexto {
      top: 239px;
    left: -9px;
    font-size: 8px;
    background: #ffffff00;
    padding: 1px 19px;
}

.estilo-tedel#fis {
      top: 241px;
    left: -12px;
    font-size: 8px;
    background: #ffffff00;
    padding: 1px 19px;
}

.estilo-tedel#vigenciaTexto {
      position: absolute;
    bottom: 13px;
    left: 18px;
    width: 100%;
    text-align: center;
    font-size: 12px;
    color: white;
    font-weight: bold;
}

.estilo-tedel#qrContainer {
      position: absolute;
    top: 208px;
    left: 115px;
    width: 75px;
    height: 72px;
}

/* ESTILO EBT */

.estilo-ebt#nss {
  display: none;
}

.estilo-ebt#fis {
  display: none;
}

.estilo-ebt#fotoPreview {
    position: absolute;
    top: 82px;
    left: 55px;
    width: 94px;
    height: 114px;
    object-fit: fill;
    /* border: 2px solid #f25022; */
    /* object-fit: cover; */
}

.estilo-ebt#nombreTexto {
      top: 203px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 10px;
    color: #0f2a5e;
}

.estilo-ebt#puestoTexto {
      position: absolute;
    top: 218px;
    left: 0;
    width: 100%;
    /* height: 100%; */
    text-align: center;
    font-size: 11px;
    color: rgb(14 41 94);
    /* padding: 1px 19px; */
}

.estilo-ebt#numeroTexto {
  top: 245px;
  left: -9px;
  font-size: 8px;
  background: #ffffff00;
  padding: 1px 19px;
}

.estilo-ebt#numeroTextoQR {
      top: 280px;
    left: 136px;
    font-size: 9px;
    background: #ffffff00;
    /* padding: 1px 19px; */
}

.estilo-ebt#fechaTexto {
      top: 232px;
    left: 35px;
    font-size: 15px;
    background: #ffffff00;
    color: white;
}

.estilo-ebt#vigenciaTexto {
      position: absolute;
    bottom: 40px;
    left: 39px;
    /* width: 100%; */
    /* text-align: center; */
    font-size: 13px;
    color: white;
    font-weight: bold;
}

.estilo-ebt#qrContainer {
      position: absolute;
    top: 223px;
    left: 122px;
    width: 75px;
    height: 75px;
}

@media print {
  body {
    display: block;
    background: white;
  }
  .formulario {
    display: none;
  }
  .gafete {
    margin: 0 auto;
    border: none;
  }
}
