@keyframes content-deslizing {
    from {
        transform: translateY(100px);
        opacity: 0.1;
    }

    to {
        transform: translateY(0px);
        opacity: 1;
    }
}

@keyframes spin {

  0% {
    transform: rotate(0deg);
    filter: drop-shadow(0 0 2px #148E31);
  }
  50% {
    transform: rotate(180deg);
    filter: drop-shadow(0 0 8px #148E31aa);
  }
  100% {
    transform: rotate(360deg);
    filter: drop-shadow(0 0 2px #148E31);
  }

}

.svg-spin {
  animation: spin-glow 2s ease-in-out infinite;
  transform-origin: center center;
}



@keyframes animation-login {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(30px);
        box-shadow: none;
        border: 2px solid transparent;
        filter: blur(2px);
    }

    50% {
        opacity: 1;
        transform: scale(1.02) translateY(0);
        box-shadow: 0 0 15px 5px #148E31aa;
        border: 2px solid #148E31;
        filter: blur(0);
    }

    100% {
        transform: scale(1);
        box-shadow: none;
        border: 2px solid transparent;
    }
}

@keyframes border-glow-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body,
html {
    width: 100vw;
    height: 100vh;
    background-color: black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.content-login {
    position: relative;
    background-color: #232323;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    padding: 20px;
    animation: animation-login 2s ease-out forwards;
    border-radius: 10px;
    overflow: hidden;
    z-index: 1;
}

.content-login::after {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    background: conic-gradient(
        from 0deg,
        transparent,
        #148E31,
        transparent 30%,
        #148E31 60%,
        transparent 90%
    );
    animation: border-glow-spin 2s linear 1;
    border-radius: 12px;
    filter: blur(4px);
    z-index: -1;

    /* Enmascarado para que el glow solo se vea en los bordes */
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: destination-out;
    padding: 2px;
    box-sizing: border-box;
}

.content-logo {
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    height: 10vh;
}

.img-tuerca {
    margin: 10% 0;
    height: 100px;
    width: 100px;
    display: block;
}

.title-login {
    margin: 2% 0;
    font-size: 32px;
}

.text-welcome {
    margin: 2% 0;
    color: #C1C1C1;
    font-size: 24px;
}

.contentInput-Login {
    display: flex;
    flex-direction: column;
}

.label-login {
    margin: 2% 0;
    margin-top: 6%;
    font-size: 24px;
}

/* Elimina las flechas en navegadores basados en WebKit (Chrome, Safari, Edge) */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


.input-login {
    text-align: left;
    background: none;
    border: none;
    border: #c1c1c187 2px solid;
    border-radius: 10px;
    padding: 0 2%;
    height: 50px;
    width: 300px;
    font-size: 20px;
    color: white;
    caret-color: #148E31;
}

.input-login:focus {
    /* border: #000000 1px solid; */
    outline: none;
    border: #00000000 2px solid;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
}


.text-recorder {
    margin: 2% 0;
    color: #2ECC71;
    background-color: #00000000;
    background-color: #00000000;
    font-size: large;
    font-weight: 700;
    cursor: pointer;
}

.button-ingresar {
    margin: 4% 0;
    width: 200px;
    height: 44px;
    background-color: #148E31;
    border: none;
    border-radius: 30px;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.password-wrapper input {
    margin: 0;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    height: 100%;
    width: 85%;
    background-color: #00000000;
    border: none;
    font-size: 20px;
    color: white;
    caret-color: #148E31;
}

.toggle-password {
    cursor: pointer;
    user-select: none;
    font-size: 1.4rem;
    color: #555;
    text-align: center;
    justify-content: center;
}

#icon {
    color: white;
}

@media screen and (max-width : 720px) {
    .img-tuerca {
    margin: 10% 0;
    height: 70px;
    width: 70px;
    display: block;
}
}