﻿@import url(/assets/shared/css/base-style.css);

* {
    box-sizing: border-box;
}


@keyframes pan {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 15% 50%;
    }
}

body {
    display: grid;
    place-items: center;
    margin: 0;
    padding: 0 24px;
    background-image: url(/assets/client/images/login-bg.svg);
    background-repeat: no-repeat;
    background-size: cover;
    animation: pan 6s infinite alternate linear;
}

.login-card {
    width: 100%;
    padding: 70px 30px 15px;
    border-radius: 0;
    background: #ffffff;
    text-align: center;
}

    .login-card > a > img {
        margin: 0 0 2rem;
        max-width: 150px;
    }

    .login-card > h3 {
        margin: 0 0 30px;
        font-weight: 500;
        font-size: 16px;
        color: rgba(0, 0, 0, 0.38);
    }

.login-form {
    width: 100%;
    margin: 0;
    display: grid;
    gap: 16px;
}

    .login-form > a {
        /*color: #216ce7;*/
        text-align: start;
        margin: 1rem 0;
    }

    .login-form input,
    .login-form > button {
        width: 100%;
        height: 56px;
        padding: 0 16px;
        border-radius: 0;
    }

    .login-form input {
        background: #f2f4f6 !important;
        border: 2px solid #ebebeb;
    }

    .login-form > button {
        display: block;
        width: 100%;
        height: 56px;
        border: 0;
        font-weight: 600;
        align-items: center;
    }

        .login-form > button > i {
            float: left;
            font-size: 22px;
            transform: scaleY(-1) rotate(-180deg) !important;
        }

    .login-form > .form-group > span {
        font-size: 14px;
        color: rgba(0, 0, 0, 0.38);
        display: block;
        margin-bottom: 10px;
    }

    .login-form > label {
        text-align: start;
        color: rgba(0, 0, 0, 0.6);
        font-weight: 700;
        margin-bottom: 0
    }

.error-messages {
    margin-top: 1rem;
    text-align: start;
}

    .error-messages ul {
        list-style: none;
        padding-right: 0 !important;
        justify-content: center;
        text-align: center;
    }

        .error-messages ul li {
            margin-bottom: 0.7rem;
            color: var(--primary-color);
            font-weight: 700;
        }

.field-validation-error {
    margin-bottom: 23px;
    color: var(--error-color) !important;
    margin-right: 0 !important;
}

.field-validation-error-login {
    color: var(--primary);
    border-bottom: 1px dashed var(--primary);
    display: inline-block;
    text-align: start;
}

.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;
}

.pin-code {
    height: 50px;
    width: 100%;
    text-align: center;
    background-color: #f2f4f6 !important;
    border-radius: 8px;
    color: var(--text-color) !important;
}

.inputs-form-code > input {
    background-color: #f2f4f6 !important;
    color: var(--text-color) !important;
    padding: 0 !important;
}

.resend-verification {
    display: block;
    margin: 1rem 0 0;
    text-align: start;
    color: rgba(0, 0, 0, 0.5);
    font-size: 14px;
}

    .resend-verification a {
        color: var(--primary-color) !important;
    }

.process-result-badge {
    color: #00b894;
    display: block;
    margin-bottom: 2rem !important;
    font-size: 9rem;
}

.process-result {
    color: var(--text-color) !important;
    font-size: 22px !important;
    margin: 1rem 0 3rem !important;
}

@media (width>=500px) {
    body {
        padding: 0;
    }

    .login-card {
        margin: 0;
        width: 400px;
    }
}

.guideline {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 4px;
}

    .guideline span {
        color: #b2bdbe;
        font-size: 13px;
    }

.password-input-wrapper {
    background-color: #f2f4f6 !important;
    display: flex;
    flex-direction: row;
    gap: 0;
    width: 100%;
}

    .password-input-wrapper input {
        width: calc(100% - 64px);
        border-color: transparent !important;
    }

        .password-input-wrapper input:focus {
            border-color: var(--primary-color) !important;
        }

    .password-input-wrapper button {
        background-color: transparent;
        color: var(--primary-color);
        display: flex;
        justify-content: center;
        align-items: center;
        width: 64px;
        min-width: 64px !important;
        max-width: 64px !important;
        height: 56px !important;
        min-height: 56px !important;
        max-height: 56px !important;
        font-size: 22px;
        outline: none;
        border: none;
        padding: 0 !important;
        transition: all 0.5s ease-in-out;
    }

        .password-input-wrapper button:hover {
            background-color: transparent;
        }

            .password-input-wrapper button:hover i {
                color: var(--primary-color) !important;
                transform: scale(1.2);
            }

        .password-input-wrapper button i {
            transition: transform 0.5s ease-in-out;
        }
