.portal-auth {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    background: #051727;
    color: #ffffff;
}

.portal-auth__media {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.portal-auth__bg {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: left center;
}

.portal-auth__panel {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 48px 40px;
    background: #051727;
}

.portal-auth__inner {
    width: 100%;
    max-width: 440px;
}

.portal-auth__brand {
    margin-bottom: 72px;
    text-align: center;
}

.portal-auth__logo {
    display: inline-block;
    max-width: 255px;
    width: 100%;
    height: auto;
}

.portal-auth__header {
    margin-bottom: 42px;
    text-align: center;
}

.portal-auth__title {
    margin: 0 0 12px;
    font-size: 2.2rem;
    line-height: 1.15;
    font-weight: 400;
    color: #ffffff;
}

.portal-auth__subtitle {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.62);
}

.portal-auth__content {
    width: 100%;
}

.portal-auth__alert {
    margin-bottom: 24px;
    padding: 14px 16px;
    border-radius: 6px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.portal-auth__alert--error {
    background: rgba(176, 34, 34, 0.16);
    border: 1px solid rgba(255, 99, 99, 0.3);
    color: #ffd6d6;
}

.portal-auth__alert--success {
    background: rgba(77, 166, 124, 0.16);
    border: 1px solid rgba(116, 214, 167, 0.25);
    color: #dbffec;
}

.portal-auth-form__group {
    margin-bottom: 22px;
}

.portal-auth-form__group label {
    display: block;
    margin-bottom: 10px;
    color: #9CBEDB;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 99%;
}

/* base */
.portal-auth-form__group input {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 52px;
    padding: 0 0 0 2px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 0;
    background: transparent;
    color: #ffffff;
    font-size: 1.1rem;
    box-shadow: none;
    outline: none;
    transition: border-color 0.2s ease, opacity 0.2s ease;
    caret-color: #ffffff;
}

/* placeholder */
.portal-auth-form__group input::placeholder {
    color: rgba(255, 255, 255, 0.34);
}

/* focus */
.portal-auth-form__group input:focus {
    border-bottom-color: rgba(255, 255, 255, 0.92);
}

/* Chrome / Edge / Safari autofill */
.portal-auth-form__group input:-webkit-autofill,
.portal-auth-form__group input:-webkit-autofill:hover,
.portal-auth-form__group input:-webkit-autofill:focus,
.portal-auth-form__group input:-webkit-autofill:active {
    -webkit-text-fill-color: #ffffff;
    caret-color: #ffffff;
    -webkit-box-shadow: 0 0 0 1000px #051727 inset;
    box-shadow: 0 0 0 1000px #051727 inset;
    border-bottom: 1px solid rgba(255, 255, 255, 0.42);
    transition: background-color 99999s ease-in-out 0s;
}

/* Firefox */
.portal-auth-form__group input:-moz-autofill {
    box-shadow: 0 0 0 1000px #051727 inset;
    -moz-text-fill-color: #ffffff;
    color: #ffffff;
    caret-color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.42);
}

/* fallback moderno */
.portal-auth-form__group input:autofill {
    box-shadow: 0 0 0 1000px #051727 inset;
    -webkit-text-fill-color: #ffffff;
    color: #ffffff;
    caret-color: #ffffff;
}

.portal-auth-form__links,
.portal-auth-form__back {
    margin-top: 4px;
}

.portal-auth-form__links a,
.portal-auth-form__back a {
    text-decoration: none;
    color: #A9A8A8;
    font-family:'Switzer-Light';
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: 99%;
    transition:0.3s;
}

.portal-auth-form__links a:hover,
.portal-auth-form__back a:hover {
    color: #ffffff;
}

.portal-auth-form__actions {
    margin-top: 28px;
    text-align: center;
}

.portal-auth__submit {
    appearance: none;
    border: 0;
    background: transparent;
    color: #9CBEDB;
    text-align: center;
    leading-trim: both;
    text-edge: cap;
    font-family: Spectral;
    font-size: 28px;
    font-style: normal;
    font-weight: 300;
    line-height: 111%;
    letter-spacing: -1.4px;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    cursor:pointer;
}

.portal-auth__submit:hover {
    opacity: 0.8;
}

.portal-auth__footer {
    margin-top: 42px;
    text-align: center;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.34);
}

@media (max-width: 1100px) {
    .portal-auth {
        grid-template-columns: 1fr 1fr;
    }

    .portal-auth__panel {
        padding: 40px 32px;
    }

    .portal-auth__brand {
        margin-bottom: 56px;
    }

    .portal-auth__title {
        font-size: 1.9rem;
    }

    .portal-auth__submit {
        font-size: 1.8rem;
    }
}

@media (max-width: 820px) {
    .portal-auth {
        grid-template-columns: 1fr;
    }

    .portal-auth__media {
        display: none;
    }

    .portal-auth__panel {
        min-height: 100vh;
        padding: 32px 24px;
    }

    .portal-auth__inner {
        max-width: 100%;
    }

    .portal-auth__brand {
        margin-bottom: 44px;
    }

    .portal-auth__header {
        margin-bottom: 32px;
    }

    .portal-auth__title {
        font-size: 1.7rem;
    }

    .portal-auth__subtitle {
        font-size: 0.98rem;
    }

    .portal-auth__submit {
        font-size: 1.6rem;
    }
}