@import url('https://fonts.googleapis.com/css2?family=Cabin:wght@600&display=swap');


:root {
    --gray-200: #D9D9D9;
    --blue-200: #0091e9;
    --blue-300: #0647A4;
}

.waves {
    z-index: -1;
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.waves__wave {
    bottom: 0;
    position: absolute;
    animation: waves__wave ease-in-out alternate;
}

.waves__wave--left {
    height: 90vh;
    left: 0;
    animation-duration: 2.3s;
}

.waves__wave--right {
    height: 60vh;
    right: 0;
    animation-duration: 2.5s;
}

@keyframes waves__wave {
    0% {
        opacity: 0;
        transform: translate(0, 100%);
    }

    10% {
        opacity: 0b;
        transform: translate(60, 70%);
    }

    100% {
        opacity: 1;
        transform: translate(0, 0);
    }
}

.login__card {
    width: 550px;
    height: 450px;
    border-radius: 20px;
    background-color: white;
    position: fixed;
    top: 50vh;
    left: 50vw;
    transform: translate(-50%, -50%);
    z-index: 20;
    animation: login__card 1s ease-in-out;
    text-align: center;
    font-family: 'Cabin', sans-serif;
    justify-items: center;
    display: grid;

}

@keyframes login__card {
    0% {
        opacity: 0;
        /* width: 400px;
        height: 250px; */
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.login__logo {
    width: 100%;
    position: relative;
    top: -12rem;
    transform: scale(.7);
    margin-bottom: -20rem;
}

.login__title {
    font-size: 29px;
    color: var(--gray-200);
}



.login_input{
    width: 35rem;
    margin-top: 1rem;
}



form .ng-invalid-required:hover {
    outline: none;
    border-color: var(--blue-200);
    box-shadow: none;
}


.custom-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("../../assets/img/arrow_down.svg");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 40px 40px;
}

.custom-select:focus {
    background-image: url("../../assets/img/arrow_down_active.svg");
}

.login__loading {
    margin-top: 1rem;
    color: var(--gray-200);
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 5.5px;
}

.login__loading h3 {
    margin-top: 5px;
}

.login__loading img {
    user-select: none;
    margin-left: 1rem;
    animation: login__loading 2s infinite linear;
}

@keyframes login__loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.login__summit {
    width: 15rem;
    margin: 2rem 0;
    background-color: var(--blue-300);
    color: white;
    border-radius: 100px;
    font-size: 20px;
    border: 3px solid transparent;
}

.login__summit:hover {
    color: white;
    opacity: 90%;
    transition: .5s ease-in;
}

.login__summit:focus {
    border-color: var(--blue-200);
    border-width: 3px;
    outline: 0 none;
    color: white;
}

.login__summit:before {
    position: absolute;
    display: inline-block;
    background-color: #fff;
    animation: button__effect 6s ease-in-out infinite;
}

.button__effect {
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    outline: none;
}

.button__effect:hover {
    text-decoration: none;
    color: #fff;
}

.button__effect:before {
    position: absolute;
    content: '';
    display: inline-block;
    top: -180px;
    left: 0;
    width: 30px;
    height: 100%;
}

@keyframes button__effect {
    0% {
        -webkit-transform: scale(0) rotate(45deg);
        opacity: 0;
    }

    80% {
        -webkit-transform: scale(0) rotate(45deg);
        opacity: 0.1;
    }

    81% {
        -webkit-transform: scale(4) rotate(45deg);
        opacity: 0.3;
    }

    100% {
        -webkit-transform: scale(50) rotate(45deg);
        opacity: 0;
    }
}


.login__rpassword {
    padding: 1px;
    cursor: pointer;
    font-size: 18px;
    color: var(--gray-200);
    border: 2px solid transparent;
    background: rgba(255, 255, 255, 0);
}



.login__rpassword:hover {
    color: var(--blue-300);
    transition: .5s ease-in;
}

.login__rpassword:focus {
    border: 2px solid var(--blue-200);
    outline: 0 none;
}

.login_productby {
    width: 22%;
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.version {
    right: 0;
    padding: 2rem;
    bottom: 0;
    position: absolute;
    z-index: 40;
    color: rgb(36, 36, 36);
    font-size: 15px;
    font-weight: 500;
}



/* R Password */
.rpassword__card {
    padding: 0 1rem;
    width: 550px;
    height: 450px;
    border-radius: 20px;
    background-color: white;
    position: fixed;
    top: 50vh;
    left: 50vw;
    transform: translate(-50%, -50%);
    z-index: 20;
    /* animation: login__card 2s ease-in-out; */
    text-align: center;
    font-family: 'Cabin', sans-serif;
}


.login__logo_movil{
    display: none;
}

  /* Dispositivos móviles (vertical) */
  @media (max-width: 320px) {
    
.rpassword__input{
    width: 100%;
}
  .login__card {
        width: 93%;
        min-height: 53rem;
    }
    @keyframes login__card {
        0% {
            opacity: 0;
            /* width: 400px;
            height: 250px; */
        }
    
        50% {
            opacity: 0;
        }
    
        100% {
            width: 93%;;
            height: 74%;
        }
    }

    #Login-FormSS{
        width: 87.666667%;
    }

    .login__title {
        margin-bottom: -2rem;
        font-size: 25px;
   
    }
    .login__logo {
        width: 100%;
        top: -6rem;
    }
    .waves__wave--left {
        height: 68vh;
    }
    .waves__wave--right {
        height: 53vh;
    }
  }
  
  /* Dispositivos móviles (lateral) */
  @media (min-width: 321px) and (max-width: 480px) {
    .rpassword__input{
        width: 100%;
        margin-bottom: 1rem;
    }
    .login__title.rpassword__title{
        font-size: 23px;
        margin-bottom: 0;
    }
    .login__card {
        width: 93%;
        min-height: 53rem;
    }
    @keyframes login__card {
        0% {
            opacity: 0;
            /* width: 400px;
            height: 250px; */
        }
    
        50% {
            opacity: 0;
        }
    
        100% {
            width: 93%;;
            height: 74%;
        }
    }

    #Login-FormSS{
        width: 87.666667%;
    }

    .login__title {
        margin-bottom: -2rem;
        font-size: 30px;
   
    }
    .login__logo {
        width: 100%;
        top: -6rem;
    }
    .waves__wave--left {
        height: 68vh;
    }
    .waves__wave--right {
        height: 53vh;
    }
  }
  
  /* Tablets (vertical) */
  @media (min-width: 481px) and (max-width: 768px) {
    .rpassword__input{
        margin-bottom: 1rem;
    }
    .login__title.rpassword__title{
        font-size: 23px;
        margin-bottom: 0;
    }

    .waves__wave--left {
        height: 64vh;
    }
    .waves__wave--right {
        height: 53vh;
    }
    .login__card {

        max-height: 86%;
    }
    @keyframes login__card {
        0% {
            opacity: 0;
            /* width: 400px;
            height: 250px; */
        }
    
        50% {
            opacity: 0;
        }
    
        100% {
            width: 550px;
            height: 86%;
        }
    }
    .login__logo {
        display: none;
        width: 50%;
        top: 0;
        margin-bottom: -4rem;
    }
    .login__logo_movil{
        z-index: 99;
        transform: scale(.7);
        display: block;
        position: absolute;
        left: 0;
        width: 30%;
        top: 0;
        margin-bottom: -4rem;
    }
    .login__title {

        margin-bottom: 1rem;
        font-size: 30px;
   
    }
    .ssinput {
        padding: 2px;
    }
    .login_productby {
        width: 10rem;
    }
    .ssbtn-primary {
        padding: 2px;
    }
    .version {
        padding: 0.2rem;
        font-size: 12px;
    }
  }
  
  /* Tablets (lateral) */
  @media (min-width: 769px) and (max-width: 1024px) {
    .rpassword__input{
        margin-bottom: 1rem;
    }
    .login__title.rpassword__title{
        font-size: 23px;
        margin-bottom: 0;
    }
    .waves__wave--left {
        height: 64vh;
    }
    .waves__wave--right {
        height: 53vh;
    }
    .login__card {
        max-height: 86%;
    }
    @keyframes login__card {
        0% {
            opacity: 0;
            /* width: 400px;
            height: 250px; */
        }
    
        50% {
            opacity: 0;
        }
    
        100% {
            width: 550px;
            height: 86%;
        }
    }
    .login__logo {
        display: none;
        width: 50%;
        top: 0;
        margin-bottom: -4rem;
    }
    .login__logo_movil{
        z-index: 99;
        transform: scale(.7);
        display: block;
        position: absolute;
        left: 0;
        width: 30%;
        top: 0;
        margin-bottom: -4rem;
    }
    .login__title {
        margin-bottom: 2rem;
        font-size: 30px;
   
    }
    .ssinput {
        padding: 2px;
    }
    .login_productby {
        width: 10rem;
    }
    .version {
        padding: 0.2rem;
        font-size: 12px;
    }
  }
  
  /* Pantallas de PC */
  @media (min-width: 1025px) {
    /* Estilos para pantallas de PC */
  }
  