@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100&display=swap");

.box {
  position: relative;
  /* margin: 10% auto; */
  margin-top: 10%;
  margin-left: 15%;
  width: 50%;
  height: 67%;
  min-height: 580px;
  background: rgba(255, 255, 255, 0.7);
  padding: 10px;
  box-sizing: border-box;
  border: 1px solid rgba(59, 136, 44, 0.1);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  border-radius: 13px;
  z-index: 1;
  font-family: "Montserrat", sans-serif;
}

.box h2 {
  margin: 0 0 40px;
  padding: 0;
  text-align: left;
  color: rgba(0, 0, 0, 1);
  font-size: 25px;
  text-shadow: 2px 2px 2px #000000;
}

.desbloqueo {
  text-align: center;
  padding-top: 7%;
}

.desbloqueo a {
  margin: 0;
  padding: 0;
  position: relative;
  text-decoration: none;
  font-size: 15px;
  line-height: 20px;
  color: black;
}

.desbloqueo a:hover {
  color: navy;
  padding-bottom: 2px;
  border-bottom: 2px solid navy;
  font-size: 18px;
}

.empresa {
  padding: 10px 0;
  margin-bottom: 30px;
  width: 80%;
  margin-left: 10%;
  box-sizing: border-box;
  box-shadow: none;
  outline: none;
  border: none;
  border-bottom: 2px solid #999;
  background-color: transparent;
  font-size: 25px;
  text-transform: uppercase;
}

.usuario {
    padding: 10px 0;
    margin-bottom: 30px;
    width: 80%;
    margin-left: 10%;
    box-sizing: border-box;
    box-shadow: none;
    outline: none;
    border: none;
    border-bottom: 2px solid #999;
    background-color: transparent;
    font-size: 25px;
    /* text-transform: uppercase;*/ /*comment 20-01-2025*/



    /*word-wrap: break-word;*/ /* Ajusta palabras largas */
    /*white-space: normal;*/ /* Permite el ajuste de línea */
    /*text-align: justify;*/ /* Justifica el texto */
    /*line-height: 1.6;*/ /* Mejora la legibilidad */
}

.contra {
  padding: 10px 0;
  margin-bottom: 30px;
  width: 80%;
  margin-left: 10%;
  box-sizing: border-box;
  box-shadow: none;
  outline: none;
  border: none;
  border-bottom: 2px solid #999;
  background-color: transparent;
  font-size: 25px;
}

.boton {
  padding: 10px 0;
  width: 50%;
  margin-left: 25%;
  box-sizing: border-box;
  box-shadow: none;
  outline: none;
  border: none;
  border-bottom: 2px solid #999;
  background-color: transparent;
  border-bottom: none;
  background: linear-gradient(to right, #6eb342, #41a62a);
  color: #fff;
  font-size: 16px;
  border-radius: 13px;
}

.boton:hover {
  cursor: pointer;
  background: linear-gradient(to right, #41a62a, #3b8b2c);
  color: #fff;
}

.logo {
  margin-top: 4%;
  margin-left: 18%;
  width: 65%;
}

.box form div {
  position: relative;
}

.final {
  position: relative;
  height: 30vh;
}

.box form div label {
    position: absolute;
    top: 10px;
    left: 13%;
    color: navy;
    text-shadow: 4px 4px 4px #000000;
    transition: all 0.3s ease;
    pointer-events: none;
    font-weight: bold;
    font-size: 16px;
}

.box input:focus ~ label,
.box input:valid ~ label {
    top: -12px;
    left: 10%;
    color: #41a62a;
    font-weight: bold;
    
}

.box input:focus,
.box input:valid {
    border-bottom: 2px solid #41a62a;
    font-weight: bold;
  
}

@media screen and (max-width: 768px) {
  .box {
    min-height: 540px;
  }
}
