@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

html,
body,
.container {
    height: 100vh;
    min-height: 100%;
}

span,
label,
input:not([type="checkbox"]),
button {
    display: block;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    line-height: 1;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

/* LOADING */

.loading {
    display: flex;
    position: fixed;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    top: 0;
    bottom: 0;
    background-color: #FFF;
    opacity: 1;
    visibility: visible;
    z-index: 25;
    transition: opacity .15s, visibility .15s;
}

.loading > svg {
    max-width: 45px;
}

/**/

.container {
    display: flex;
    align-items: center;
    padding: 15px;
    min-height: 600px;
}

.portal-login {
    display: block;
    margin: 0 auto;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(0, 0, 0, .2);
    width: 100%;
    max-width: 475px;
}

.portal-logo {
    display: block;
    margin: 0 auto;
    padding: 5px;
    border-radius: 50%;
    background-color: #EEE;
    width: 100%;
    max-width: max-content;
}

.portal-logo > svg {
    fill: #2E3F51;
    max-width: 50px;
}

.portal-title {
    font-size: 26px;
    font-weight: 600;
    text-align: center;
    margin: 15px auto 0;
    color: #2E3F51;
}

.alert {
    display: block;
    margin-top: 25px;
    padding: 15px;
    border-radius: 5px;
    border: 2px solid #DFDFDF;
    background-color: #F5F5F5;
}

.alert ~ .alert {
    margin-top: 10px;
}

.error-alert {
    border-color: #FFDEDB;
    background-color: #FFDEDB;
}

.alert-text {
    font-size: 15px;
    line-height: 1.5;
    color: #2E3F51;
}

.error-alert > .alert-text {
    font-size: 14px;
    font-weight: 500;
    margin: 0 auto;
    text-align: center;
}

.alert-text:not(:first-of-type) {
    margin-top: 15px;
}

.case-label {
    font-size: 14px;
    font-weight: 600;
    margin-top: 30px;
}

input.case-input {
    font-size: 16px;
    font-weight: 500;
    padding: 15px;
    border: 2px solid #949494;
    border-radius: 5px;
    margin-top: 8px;
    width: 100%;
    color: #2E3F51;
    transition: .1s border-color, .1s box-shadow;
}

input.case-input:focus {
    border-color: #86B7FE;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, .25);
}

input.case-input.input-error {
    border-color: #EA868F;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, .25);
}

.case-button {
    font-weight: 600;
    cursor: pointer;
    margin-top: 25px;
    padding: 18px;
    border-radius: 5px;
    color: #FFF;
    background: #266ACA;
    max-width: 100%;
    transition: .1s background;
}

.case-button:hover {
    background: #3069BB;
}

/**/

.display-none,
.loading:not(.display-none) ~ .content {
    display: none;
}