body {
  min-height: 100svh;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 0.5rem;
}

* {
  box-sizing: border-box;
}

.img_logo {
  margin: auto;
}

.escondido {
  display: none !important;
}

.escondido + .div_login {
  margin-top: 1rem;
}

.div_login {
  position: relative;
}
.div_login > button > img {
  max-width: 100%;
}

.div_login > button {
  width: 3.5rem;
  height: 3rem;
  padding: 0;
  position: absolute;
  top: 17px;
  right: 40px;
  border: 2px solid var(--color-azul-1);
  border-radius: 10px;
  background: none;
}

/*Teclado*/

.teclado_index {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  gap: 1rem;

  width: 80%;
  max-width: 64rem;

  height: revert;

  margin: 1rem auto;
  padding: 1rem;

  background: #fff;
  border-radius: 20px;
  border: 2px solid var(--color-azul-1);
}
#Teclado_cierre * {
  margin: 0 !important;
}
#Teclado_cierre {
  flex: 1;
  margin: 0 !important;

  height: 100% !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-height: 20rem;
}
#Teclado_cierre > div {
  display: flex;
  justify-content: space-evenly;
  align-items: center;

  height: revert !important;

  aspect-ratio: 1;
  max-height: 4rem;
}
#Teclado_cierre .boton_teclado {
  background-size: contain !important;
  height: 100%;
  aspect-ratio: 1;
  width: 4rem;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  font-family: var(--fuente);
  font-size: 1rem;
  font-weight: var(--fuente-negrita);
}

#calculadora_general_tpv {
  min-width: 20%;
}

#Teclado_cierre .PUNTO_VERDE_TECLADO {
  opacity: 0.3;
  width: 26%;
  height: 45%;
}
/* 
#Teclado_cierre {
  height: inherit !important;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  background-color: var(--color-blanco) !important;
  max-height: 20rem;
  margin: 0 !important;
}

#Teclado_cierre * {
  margin: 0 !important;
}
#Teclado_cierre > div {
  justify-content: space-evenly;
}
#Teclado_cierre > div > div {
  background-size: contain !important;
  background-position: center;
  background-repeat: no-repeat;
} */

/* Calculadora*/

.teclado_index .cuerpo_calculadora * {
  margin: 0 !important;
  height: revert !important;
  width: revert !important;
}

.teclado_index .cuerpo_calculadora {
  padding: 0.5rem;
  margin: 0 !important;
  height: 80%;
}

.teclado_index #calculadora_general_tpv {
  display: grid;
  grid-auto-rows: 1fr;
  align-content: center;
  justify-content: center;
  align-items: stretch;
  justify-items: stretch;
  gap: 0.5rem;
  padding: 1rem;
}
.teclado_index #calculadora_general_tpv > .contenedor_tres_botones_calculadora,
.teclado_index #calculadora_general_tpv .boton_calculadora {
  width: 100% !important;
}

.teclado_index #calculadora_general_tpv .boton_calculadora {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background: none;
  position: relative;
  padding: 0;
}

.teclado_index #calculadora_general_tpv .boton_calculadora[data-btn-calc='1'] {
  content: url(../img/botones/calculadora/BOTON_1.png);
}
.teclado_index #calculadora_general_tpv .boton_calculadora[data-btn-calc='2'] {
  content: url(../img/botones/calculadora/BOTON_2.png);
}
.teclado_index #calculadora_general_tpv .boton_calculadora[data-btn-calc='3'] {
  content: url(../img/botones/calculadora/BOTON_3.png);
}
.teclado_index #calculadora_general_tpv .boton_calculadora[data-btn-calc='4'] {
  content: url(../img/botones/calculadora/BOTON_4.png);
}
.teclado_index #calculadora_general_tpv .boton_calculadora[data-btn-calc='5'] {
  content: url(../img/botones/calculadora/BOTON_5.png);
}
.teclado_index #calculadora_general_tpv .boton_calculadora[data-btn-calc='6'] {
  content: url(../img/botones/calculadora/BOTON_6.png);
}
.teclado_index #calculadora_general_tpv .boton_calculadora[data-btn-calc='7'] {
  content: url(../img/botones/calculadora/BOTON_7.png);
}
.teclado_index #calculadora_general_tpv .boton_calculadora[data-btn-calc='8'] {
  content: url(../img/botones/calculadora/BOTON_8.png);
}
.teclado_index #calculadora_general_tpv .boton_calculadora[data-btn-calc='9'] {
  content: url(../img/botones/calculadora/BOTON_9.png);
}
.teclado_index #calculadora_general_tpv .boton_calculadora[data-btn-calc='0'] {
  content: url(../img/botones/calculadora/BOTON_0.png);
}
.teclado_index #calculadora_general_tpv .boton_calculadora[data-btn-calc='C'] {
  content: url(../img/botones/calculadora/BOTON_C_AZUL.png);
}
.teclado_index #calculadora_general_tpv .boton_calculadora[data-btn-calc='.'] {
  content: url(../img/botones/calculadora/BOTON_PUNTO.png);
}

.teclado_index .contenedor_tres_botones_calculadora {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
@media (width <= 1200px) {
  .div_login {
    min-width: 490px;
  }

  .fondo_trabajo_formulario {
    width: 100%;
  }

  .teclado_index {
    width: 94%;
  }

  .teclado_index #calculadora_general_tpv {
    gap: 0;
  }

  .teclado_index .contenedor_tres_botones_calculadora {
    gap: 0.5rem;
  }
}

@media (width <= 1000px) {
  .teclado_index {
    width: 100%;
    flex-direction: column;
  }
}
@media (width <= 700px) {
  .teclado_index {
    display: none;
  }
  .titulo_login > button {
    display: none !important;
  }

  .titulo_login {
    justify-content: center;
    gap: revert;
    h3 {
      text-align: center;
    }
  }
}
@media (width <= 500px) {
  .div_login {
    min-width: 0;
    width: 100%;
  }

  .img_logo {
    margin: revert;
    margin-top: 1rem;
  }
  .logo_medusa_inicio {
    max-width: 100%;
  }
  /* .grid-container_login {
    margin-top: 3rem;
  } */
}

.Boton_login {
  text-shadow: none !important;
  font-weight: var(--fuente-seminegrita);
  font-family: var(--fuente);
}

.titulo_login {
  padding: 0.5rem;
  gap: 2rem;
  justify-content: flex-end;
}

.label_formulario_titulo {
  height: auto;
  /* margin-inline: auto !important; */
  flex: 1;
  text-align: right;
}

.titulo_login > button {
  max-height: 3rem;
  max-width: 4rem;
  /* margin-left: auto !important; */
  border: 2px solid var(--color-azul-1);
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.25rem;

  > img {
    max-width: 100%;
    object-fit: cover;
    max-height: 100%;
    object-position: center;
  }
}
