

#loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    align-items: center;
    justify-content: center;
    display: flex;
    background: #3338;
}

#loading {
    display: none;
}

#loading_svg svg {
    animation: loginloading 1.6s infinite;
    animation-delay: .5s;
    overflow: hidden;
    vertical-align: middle;
}

#loading_svg {
    filter: drop-shadow(0px 0px 10px white);
    box-shadow: 0px 0px 0px 3px white;
    background: white;
    border-radius: 50%;
}

@keyframes loginloading {
    50% {
        transform: rotate(360deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#login_img {
    margin: 0 -12px;
}

#login_img img {
    max-width: 100%;
}

#login_content {
    padding: 12px 8px;
}

#login_content h5 {
    font-family: Avenir;
    font-style: normal;
    font-weight: 900;
    font-size: 16px;
    line-height: 24px;
}

#login_content input {
    background: #F5F5F5;
    border-radius: 8px;
    border: none;
    font-family: Avenir;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 24px;
    padding: 15px 17px 5px;
    margin: 10px 0;
    width: 100%;
}


#login_content input:focus-visible {
    outline: var(--azul-ge) solid 2px;
}

#recordar_password_container {
    text-align: right;
    margin-bottom: 16px;
    margin-top: -10px;
}

#recordar_password {
    cursor: pointer;
    font-family: Avenir;
    font-style: normal;
    font-weight: normal;
    font-size: 12px;
    line-height: 16px;
}

#recordar_password:focus {
    color: var(--azul-ge);
    text-decoration: underline var(--azul-ge);
}

#login_btns_container {
    gap: 1.5rem;
}

#btn_volver {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

#btn_volver svg {
    stroke: var(--rojo-generalitat);
}

#signup {
    padding: 12px 8px;
    background-color: var(--gris-fondo);
    margin: 0 -12px;
    padding: 12px 18px;
}

#signup h5 {
    font-family: Avenir;
    font-style: normal;
    font-weight: 900;
    font-size: 16px;
    line-height: 24px;
}

#signup label {
    font-family: Avenir;
    font-style: normal;
    font-weight: normal;
    font-size: 12px;
    line-height: 16px;
}

#signup input,
#signup select {
    background: white;
    border-radius: 8px;
    border: none;
    font-family: Avenir;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 24px;
    padding: 15px 17px 5px;
    margin: 10px 0;
    width: 100%;
}

#signup input.error,
#signup select.error {
    outline: #C80F2E solid 2px;
}

#signup input:focus-visible,
#signup select:focus-visible {
    outline: var(--azul-ge) solid 2px;
}

#email_recordarpass:focus-visible {
    outline: var(--azul-ge) solid 2px;
}

#signup select[disabled] {
    background: #fafafa;
    cursor: not-allowed;
}

.__reg_line{
    margin-top: -5px;
    margin-left: 10px;
}

#signup input[type="checkbox"] {
    width: auto;
    display: inline-block;
    margin: 0;
    margin-right: 10px;
}

.label_checkbox {
    font-family: Avenir;
    font-style: normal;
    font-weight: normal;
    font-size: 12px;
    line-height: 16px;
}
.checkbox_container {
    margin: 14px 0;
}

#signup_btns_container {
    margin: 20px 0 30px;
}

a{
    color: var(--gris-typo);
    text-decoration: none;
}
a:focus-visible,
a:active,
a:hover{
    color: var(--gris-typo);
    text-decoration: none;
}
#signup label > a{
    color: var(--azul-ge);
}
#signup label > a:focus-visible{
    color: var(--azul-ge);
}

.show_password {
    pointer-events: all;
    cursor: pointer;
}

.show_password:hover {
    stroke: var(--azul-ge);
}

.nivelesColores {
    height: 4px;
    width: 65%;
    display: inline-block;
    position: relative;
    left: 0px;
    margin-left: 10px;
}
.spanNivelesColores {
    transition: width .2s;
    width: 100%;
    height: 4px;
    display: inline-block;
    position: absolute;
    background-size: cover;
    border-radius: 6px;
}
.spanNivelesColores.nulo {
    width: 0px;
}
.spanNivelesColores.debil {
    background-color: var(--rojo-generalitat);
}
.spanNivelesColores.media {
    background-color: #F1AC43;
}
.spanNivelesColores.stronk {
    background-color: #79CC52;
}
#nivelseguridad {
    font-family: Avenir;
    font-style: normal;
    font-weight: normal;
    font-size: 12px;
    line-height: 16px;
    display: inline-block;  
}
#nivelseguridad.debil {
    color: var(--rojo-generalitat);
}
#nivelseguridad.media {
    color: #F1AC43;
}
#nivelseguridad.stronk {
    color: #79CC52;
}


span.placeholder{
    color: #B0AFAF;
    font-family: Avenir;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 24px;
    margin-left: 18px;
    transition: all .25s;
}

span.placeholder:hover{
    transform: scale(0.6) translate(-35%, -20px);
}
span.placeholder.filled{
    transform: scale(0.6) translate(-35%, -20px);
}

#reg_tienecuenta{
    text-align:center
}

.__action_btn.__alternative[disabled] {
    filter: opacity(0.5);
    cursor: not-allowed;
}

#recordarpass_modal input {
    background: #F5F5F5;
    border-radius: 8px;
    border: none;
    font-family: Avenir;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 24px;
    padding: 15px 17px 5px;
    margin: 10px 0;
    width: 100%;
}

#politica_modal .btn-close{
    position: sticky;
    right: 0px;
    top: 0px;
    background-color: white;
    border-radius: 50%;
    padding: 8px;
    opacity: 1;
}


input[type='checkbox']{
    accent-color: var(--azul-ge);
}

#acceder_login {
    text-decoration: underline;
    font-weight: bold;
}
body{
    overflow-x: hidden;
    overflow-y: auto; 
}

#login_seram{
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
}
#login_seram img{
    max-height: unset;
    max-width: 100%;
}

@media (min-width: 768px) {
    #login_seram{
        position: relative;
        pointer-events: none;
        padding: 0;
    }
    #login_seram img{
        max-height: 302px;
        max-width: unset;
    }
    #login_img {
        position: absolute;
        top: 108px;
        left: 0;
        right: 0;
        margin: 0;
    }
    #login_img img {
        width: 100%;
        z-index: 0;
    }   
    #login_container {
        position: relative;
        display: flex;
        justify-content: center;
        padding-top: 6rem;
    }
    #login_content {
        background: white;
        box-shadow: 0px 0px 25px rgba(0, 0, 0, 0.25);
        padding: 35px 50px;
    }
    #login_btns_container {
        gap: 4rem;
    }
    #signup{
        position: relative;
        z-index: 1;
    }
    #btn_volver_container {
        position: relative;
    }
    .signup_content {
        position: relative;
    }
    #signup_btns_container {
        margin: 20px 0 30px;
        margin-left: 65%;
    }
    #reg_tienecuenta{
        margin-left: 65%;
    }
    #reg_tienecuenta p {
        display: inline-block;
    }
    body{
        overflow: hidden;
    }
}

@media (min-width: 1024px) {
    #btn_volver {
        margin-left: 20%;
        margin-bottom: 1rem;
    }
    #btn_volver svg {
        stroke: var(--rojo-generalitat);
    }
    .signup_content {
        padding: 0 20%;
    }
}