.portal-login {
    display: flex;
    justify-content: center;
    padding: 3rem 1rem 5rem;
}

.portal-login__panel {
    width: min(100%, 26rem);
}

.portal-login__title {
    margin: 0 0 1rem;
    color: var(--pltep-text);
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.2;
}

.portal-login__divider {
    width: 100%;
    height: 1px;
    margin-bottom: 2rem;
    background: var(--pltep-border);
}

.portal-login__summary {
    margin-bottom: 1.25rem;
    border-radius: 0.35rem;
}

.portal-login__summary.validation-summary-valid {
    display: none;
}

.portal-login__form {
    display: grid;
    gap: 1.25rem;
}

.portal-login__field {
    position: relative;
}

.portal-login__input {
    min-height: 3rem;
    border-color: var(--pltep-border);
    border-radius: 0.3rem;
    color: var(--pltep-text);
    font-size: 1rem;
    padding: 0.75rem 0.9rem;
}

.portal-login__input::placeholder {
    color: #8793a6;
}

.portal-login__input:focus {
    border-color: var(--pltep-blue-600);
    box-shadow: 0 0 0 0.15rem rgba(38, 118, 174, 0.15);
}

.portal-login__input--password {
    padding-right: 3rem;
}

.portal-login__password-toggle {
    position: absolute;
    top: 0.6rem;
    right: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border: 0;
    background: transparent;
    color: #8d9aab;
}

.portal-login__options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: -0.25rem;
    margin-bottom: 0.1rem;
}

.portal-login__remember {
    margin: 0;
    color: var(--pltep-text);
    font-size: 0.95rem;
}

.portal-login__remember .form-check-input {
    margin-top: 0.18rem;
}

.portal-login__link {
    color: var(--pltep-blue-600);
    text-decoration: none;
}

.portal-login__link:hover {
    color: var(--pltep-blue-700);
    text-decoration: underline;
}

.portal-login__submit {
    min-height: 3rem;
    border: 0;
    border-radius: 0.3rem;
    background: var(--pltep-blue-600);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
}

.portal-login__submit:hover,
.portal-login__submit:focus {
    background: var(--pltep-blue-700);
    color: #fff;
}

.portal-login__register,
.portal-login__contact {
    margin: 1.5rem 0 0;
    color: var(--pltep-text);
    font-size: 1rem;
    text-align: center;
}

.portal-login__contact {
    margin-top: 1.7rem;
}

.portal-login__contact a {
    color: var(--pltep-text);
    text-decoration: none;
}

.portal-login__footer {
    display: flex;
    justify-content: center;
    gap: 0.65rem;
    margin-top: 2rem;
    padding-top: 1.15rem;
    border-top: 1px solid var(--pltep-border);
    color: var(--pltep-muted);
    font-size: 0.875rem;
    flex-wrap: wrap;
}

.portal-login__footer a {
    color: var(--pltep-muted);
    text-decoration: none;
}

.portal-login__footer a:hover {
    color: var(--pltep-blue-700);
    text-decoration: underline;
}

@media (max-width: 575.98px) {
    .portal-login {
        padding-top: 2rem;
        padding-bottom: 3rem;
    }

    .portal-login__title {
        font-size: 1.75rem;
    }

    .portal-login__options {
        align-items: flex-start;
        flex-direction: column;
    }

    .portal-login__footer {
        gap: 0.35rem 0.5rem;
    }
}
