@charset "utf-8";

html {
    font-size: 1px;
}

* {
    box-sizing: border-box;
    font-family: Roboto, Arial, sans-serif;
}

body {
    font-size: 16rem;
}

.p-login {
    background-color: #e9ecef;
    background-image: url("../assets/fondo.svg");
    background-repeat: no-repeat;
    background-position: top right;
    background-attachment: fixed;
    height: 100vh;
    max-height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.p-login .o-mainHeader {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 64rem 0 0 120rem;
}

.p-login .m-logo__image img {
    display: block;
    height: auto;
    width: 220rem;
}

.p-login .o-mainSection {
    width: 100%;
    height: 100%;
    margin: auto;
    padding: 0 100rem 0 170rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    transition: ease all 1s;
}

.p-login .o-login__formGroup {
    width: 100%;
    max-width: 435rem;
}

.p-login .m-formItem__title h1 {
    margin: 0;
    color: #0f2035;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 48px;
    font-style: normal;
    font-weight: 600;
    line-height: 48px;
}

.p-login .m-formItem__form {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.p-login .m-form__input {
    margin: 16rem 0;
}

.p-login .m-input__title {
    display: block;
    color: #000;
    font-size: 14px;
    line-height: 16px;
}

.p-login .m-form__input input {
    display: block;
    width: 100%;
    height: 68px;
    margin-top: 6px;
    padding: 24px 32px;
    color: #0f2035;
    background: #f2f4f5;
    border: 1px solid #d2d6da;
    border-radius: 10px;
    outline: none;
    font-size: 16px;
}

.p-login .m-form__input input:focus {
    border-color: #17a2b8;
    box-shadow: 0 0 0 1px #17a2b8;
}

.p-login .m-form__input input.-notValid__field {
    border-color: #d75450;
    box-shadow: 0 0 0 1px #d75450;
}

.p-login .m-input__title.-notValid__label {
    color: #d75450;
}

.p-login .m-form__sumit button {
    display: flex;
    width: 100%;
    min-height: 68px;
    padding: 24px 32px;
    align-items: center;
    justify-content: center;
    color: #17a2b8;
    background: #fff;
    border: 1px solid #17a2b8;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
}

.p-login .m-form__sumit button:hover,
.p-login .m-form__sumit button:focus-visible {
    background: #f8feff;
}

.p-login .m-alert {
    margin: 32rem 0 0;
    padding: 14px 16px;
    color: #9b1c1c;
    background: #ffd8d8;
    border: 1px solid #ffb8b8;
    border-radius: 5px;
    text-align: center;
}

.p-login .m-alert[hidden] {
    display: none;
}

.p-login .m-formItem__help {
    display: flex;
    margin-top: 32rem;
    align-items: center;
    color: #999;
    font-size: 12px;
    font-weight: 300;
    line-height: 150%;
    text-align: justify;
}

.p-login .m-formItem__help p {
    margin: 0;
}

.p-login .m-formItem__help strong {
    font-size: 12px;
    font-weight: 400;
}

.p-login .o-erp__infoGroup {
    display: flex;
    flex-direction: column;
    gap: 24rem;
}

.p-login .m-infoItem__title {
    align-self: flex-end;
}

.p-login .m-infoItem__title h2 {
    margin: 0;
    color: #e9ecef;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 64px;
    font-weight: 600;
    line-height: 64px;
}

.p-login .m-infoItem__img img {
    display: block;
    height: 500rem;
    width: auto;
    position: relative;
}

@media all and (max-width: 1200px) {
    .p-login {
        background-image: none;
        overflow: auto;
    }

    .p-login .o-mainHeader {
        justify-content: center;
        margin-left: 0;
    }

    .p-login .o-mainSection {
        flex-direction: column-reverse;
        justify-content: center;
        gap: 150rem;
        padding: 0 50rem;
    }

    .p-login .m-infoItem__title h2 {
        max-width: 435rem;
        color: #0f2035;
    }

    .p-login .m-infoItem__img {
        display: none;
    }
}

@media all and (max-width: 600px) {
    .p-login {
        height: auto;
        min-height: 100vh;
        max-height: none;
    }

    .p-login .o-mainHeader {
        margin-top: 32rem;
    }

    .p-login .m-logo__image img {
        width: 180rem;
    }

    .p-login .o-mainSection {
        gap: 64rem;
        padding: 32rem 48rem 48rem;
    }

    .p-login .m-formItem__title h1 {
        font-size: 48px;
        line-height: 48px;
    }

    .p-login .o-erp__infoGroup {
        display: none;
    }
}
