@import url(/assets/css/base-style.css);

* {
    box-sizing: border-box;
}

body {
    display: grid;
    place-items: center;
    background-image: url(/assets/images/login-bg.svg);
    background-repeat: no-repeat;
    background-size: cover;
    animation: login-background-animation 6s infinite alternate linear;
    height: 100%;
    min-height: 100vh;
}

.login-wrapper {
    background-color: var(--bg-white);
    padding: 50px;
    border-radius: var(--border-radius-on-card);
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    width: 90%;
    max-width: 450px;
    overflow: hidden;
    transition: height 0.4s ease;
}

    .login-wrapper .header {
        position: relative;
        margin-bottom: 3rem;
    }

        .login-wrapper .header .previous-page {
            background-color: var(--white-smoke-color);
            display: flex;
            justify-content: center;
            align-items: center;
            width: 32px;
            height: 32px;
            padding: 1rem;
            border-radius: 50%;
            cursor: pointer;
        }

        .login-wrapper .header .logo-wrapper {
            display: grid;
            place-items: center;
        }

        .login-wrapper .header img {
            max-width: 125px;
            margin-bottom: 2em;
        }

        .login-wrapper .header h3 {
            text-align: right;
            margin-bottom: 1rem;
            font-size: 1.3rem;
        }

        .login-wrapper .header span {
            color: var(--text-gray-color);
            font-weight: 400;
        }

    .login-wrapper .remember-me-wrapper {
        display: flex;
        flex-direction: row;
        justify-content: start;
        align-items: center;
        gap: 10px;
    }

        .login-wrapper .remember-me-wrapper span {
            font-size: 15px;
        }

    .login-wrapper .register-account-wrapper {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4px;
    }

        .login-wrapper .register-account-wrapper span {
            color: var(--text-gray-color);
        }

        .login-wrapper .register-account-wrapper a {
            font-weight: 700;
            font-size: 16px;
        }

    .login-wrapper .login-form {
        width: 100%;
        margin: 0;
        display: grid;
        gap: 25px;
    }

        .login-wrapper .login-form > a {
            text-align: start;
            margin: 1rem 0;
        }

        .login-wrapper .login-form > button {
            width: 100%;
            border: 0;
            font-weight: 600;
            align-items: center;
        }

            .login-wrapper .login-form > button > i {
                float: left;
                font-size: 22px;
            }

        .login-wrapper .login-form > .form-group {
            margin-bottom: 5px !important;
        }

            .login-wrapper .login-form > .form-group > span {
                font-size: 14px;
                color: rgba(0, 0, 0, 0.38);
                display: block;
            }

        .login-wrapper .login-form > label {
            text-align: start;
            color: rgba(0, 0, 0, 0.6);
            font-weight: 700;
            margin-bottom: 0
        }

    .login-wrapper .field-validation-error-login {
        color: var(--primary);
        border-bottom: 1px dashed var(--primary);
        display: inline-block;
        text-align: start;
    }

    .login-wrapper .inputs-form-code {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        grid-template-rows: 1fr;
        grid-column-gap: 6px;
        grid-row-gap: 0px;
        direction: ltr;
        color: var(--text-color) !important;
    }

    .login-wrapper .pin-code {
        height: 50px;
        width: 100%;
        text-align: center;
        background-color: #f2f4f6 !important;
        border-radius: 8px;
        color: var(--text-color) !important;
    }

    .login-wrapper .inputs-form-code > input {
        color: var(--text-color) !important;
        padding: 0 !important;
        min-width: 53px !important;
    }

    .login-wrapper .btn-resend-code {
        background-color: var(--primary-color-high-transparent);
        display: none;
    }

        .login-wrapper .btn-resend-code:hover {
            background-color: var(--primary-color-high-transparent);
        }

    .login-wrapper .resend-verification {
        display: block;
        margin: 1rem 0 0;
        text-align: start;
        color: rgba(0, 0, 0, 0.5);
        font-size: 14px;
    }

        .login-wrapper .resend-verification a {
            color: var(--primary-color) !important;
        }

    .login-wrapper .process-result-badge {
        color: #00b894;
        display: block;
        margin-bottom: 2rem !important;
        font-size: 9rem;
    }

    .login-wrapper .process-result {
        color: var(--text-color) !important;
        font-size: 22px !important;
        margin: 1rem 0 3rem !important;
    }

    .login-wrapper .confirmation-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .login-wrapper .confirmation-messages {
    }

        .login-wrapper .confirmation-messages #code-sent-message {
            display: none;
        }

    .login-wrapper .attention-text {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 8px;
    }

        .login-wrapper .attention-text span {
            color: var(--text-gray-color);
        }

            .login-wrapper .attention-text span:before {
                content: "\f0f3";
                font-family: var(--font-line-awesome);
                font-size: 20px;
                font-weight: 600;
                color: var(--primary-color);
                position: relative;
                top: 3px;
            }

            .login-wrapper .attention-text span strong {
                color: var(--primary-color);
            }

/* =========================== Animations =========================== */

@keyframes login-background-animation {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 15% 50%;
    }
}

/* =========================== Responsive =========================== */

@media (width<=500px) {
    .login-wrapper {
        width: 100% !important;
        max-width: 385px !important;
        padding: 50px 25px !important;
    }
}


@media (width>=500px) {
    body {
        padding: 0;
    }

    .login-card {
        margin: 0;
        width: 400px;
    }
}
