﻿@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Regular.ttf') format('truetype');
}

@font-face {
    font-family: sf pro display;
    font-style: normal;
    font-weight: 400;
    src: local('SF Pro Display'),url('./fonts/SFPRODISPLAYREGULAR.woff') format('woff')
}

@font-face {
    font-family: sf pro display;
    font-style: italic;
    font-weight: 100;
    src: local('SF Pro Display'),url('./fonts/SFPRODISPLAYULTRALIGHTITALIC.woff') format('woff')
}

@font-face {
    font-family: sf pro display;
    font-style: italic;
    font-weight: 200;
    src: local('SF Pro Display'),url('./fonts/SFPRODISPLAYTHINITALIC.woff') format('woff')
}

@font-face {
    font-family: sf pro display;
    font-style: italic;
    font-weight: 300;
    src: local('SF Pro Display'),url('./fonts/SFPRODISPLAYLIGHTITALIC.woff') format('woff')
}

@font-face {
    font-family: sf pro display;
    font-style: normal;
    font-weight: 500;
    src: local('SF Pro Display'),url('./fonts/SFPRODISPLAYMEDIUM.woff') format('woff')
}

@font-face {
    font-family: sf pro display;
    font-style: italic;
    font-weight: 600;
    src: local('SF Pro Display'),url('./fonts/SFPRODISPLAYSEMIBOLDITALIC.woff') format('woff')
}

@font-face {
    font-family: sf pro display;
    font-style: normal;
    font-weight: 700;
    src: local('SF Pro Display'),url('./fonts/SFPRODISPLAYBOLD.woff') format('woff')
}

@font-face {
    font-family: sf pro display;
    font-style: italic;
    font-weight: 800;
    src: local('SF Pro Display'),url('./fonts/SFPRODISPLAYHEAVYITALIC.woff') format('woff')
}

@font-face {
    font-family: sf pro display;
    font-style: italic;
    font-weight: 900;
    src: local('SF Pro Display'),url('./fonts/SFPRODISPLAYBLACKITALIC.woff') format('woff')
}

* {
}

body {
    padding: 0;
    margin: 0;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-appearance: none !important;
    transition: background-color 5000s ease-in-out 0s;
}

form {
    width:100%;
}


/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

/*Turn off eye defaut browser*/
input[type=password]::-ms-reveal,
input[type=password]::-ms-clear {
    display: none;
}

.container-all {
    /*background-image: url(./images/Login_SSO/bg.svg);*/
    background-image: url(./images/Login_SSO/bg2.svg);
    background-repeat: no-repeat;
    background-size: cover;
    justify-content: center;
    width: 100%;
    display: flex;
    flex-wrap:wrap;
    position: relative;
    font-family: "SF Pro Display";
    --font-sm: 12px;
    --font-st: 16px;
    --font-md: 24px;
    --font-lg: 32px;
    --color-btn-blue: #0CA6ED;
    --color-warning: #D32F2F;
    --pading-value: 24px;
    --gray-color: #717171;
    --ratio: calc(1440 / 750);
    --height-btn: 43px;
}

.bg-epub {
    background-image: url(./images/Login_SSO/bg3.png);
}

.copyright {
    width: 100%;
    align-items: center;
    display: flex;
    justify-content: center;
}

.banner-left {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

    .banner-left img {
        height: 100%;
        width: 100%;
    }

.left-side {
    background-image: url("./images/Login_SSO/left_bg.svg");
    left:0;
    top:0;
    position:absolute;
    height:100%;
    width: 50%;
    background-repeat: no-repeat;
    background-size: contain;
    justify-content: center;
    align-items: center;
    display: flex;
}

.right-side {
    /*background-image: url("./images/Login_SSO/right_bg.svg");*/
    min-height: calc(100vh - 20px);
    width: 50%;
    margin-left:auto;
    background-repeat: no-repeat;
    background-size: cover;
    justify-content: center;
    align-items: center;
    display: flex;
    z-index: 999;
}

.box {
    width: 480px;
    border-radius: 16px;
    background-color: white;
    padding: var(--pading-value);
    margin: 10px 0;
}

.header {
    position:relative;
    margin-bottom: calc(var(--pading-value) + 8px);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .header .group-action {
        font-size: var(--font-st);
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        cursor: pointer;
        font-weight: 400;
    }

    .header .logo {
        display:block;
        position:absolute;
        top:50%;
        right:0%;
        transform:translateY(-50%);
        width: 95px;
        height: 45px;
        object-fit: contain;
    }

.footer {
    margin-top: calc(var(--pading-value) + 12px);
    display: flex;
    flex-direction: column;
}

    .footer .learn-about {
        margin-top: calc(var(--pading-value) + 12px);
        display: flex;
        justify-content: flex-end;
        align-items: center;
        font-size: var(--font-st);
    }

        .footer .learn-about a {
            text-decoration: none;
            color: #0CA6ED;
        }

    .footer .text-dec-footer {
        color: var(--gray-color);
        font-size: var(--font-st);
    }

    .footer .learn-about img {
        margin-left: 10px;
    }

.wraper-text-rule {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    position: relative;
    --width-checkmark: 18px;
    --height-checkmark: 18px;
}

    .wraper-text-rule a {
        text-decoration: none;
    }

    .wraper-text-rule input[type=checkbox] {
        width: var(--width-checkmark);
        height: var(--height-checkmark);
        margin: 0;
        visibility: hidden;
        border-radius: 6px;
        overflow: hidden;
    }

.checkbox-container {
    position: absolute;
    top: 25%;
    left: 0;
    width: var(--width-checkmark);
    height: var(--height-checkmark);
    background-color: transparent;
    border-radius: 6px;
    border: 1px black solid;
}

.wraper-text-rule input:checked ~ .checkbox-container {
    background-color: #3EB44A;
    border: 1px transparent solid;
}

.checkbox-container::after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 0px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.wraper-text-rule input:checked ~ .checkbox-container::after {
    display: block;
}

.content {
}

    .content .btn {
        width: 100%;
        padding: 16px 0;
        background-color: var(--color-btn-blue);
        color: white;
        font-size: var(--font-st);
        border-radius: 6px;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
        height: var(--height-btn);
    }

        .content .btn:hover, .content .btn:focus, .content .btn.focus {
            color: white;
        }

    .content .step-login {
    }

    .content .title-content {
        display: block;
        /*margin-bottom: calc(var(--pading-value));*/
        font-size: var(--font-lg);
        text-align: start;
        font-weight: 500;
    }

.container-field {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
    /*gap: var(--pading-value);*/
    gap: calc(var(--pading-value) + 8px);
}

.pd-left-16 {
    padding-left: calc(var(--pading-value) - 8px) !important;
    padding-right: calc(var(--pading-value) + 16px) !important;
}

.wraper-text-file {
    position: relative;
    width: 100%;
    height: 64px;
    --padding-left-intput: 47px;
}

    .wraper-text-file.group {
        display: flex;
        justify-content: space-between;
        width: 100%;
        gap: 12px;
    }

        .wraper-text-file.group .text-field {
            width: 100%;
        }

        .wraper-text-file.group .input-first-name {
            position: absolute;
            width: 49%;
            height: 100%;
            left: 0;
        }

        .wraper-text-file.group .input-last-name {
            position: absolute;
            width: 49%;
            height: 100%;
            right: 0;
        }

    .wraper-text-file .icon-eye {
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        padding-right: calc(var(--padding-left-intput) / 4);
        cursor: pointer;
    }

        .wraper-text-file .icon-eye[data-status="on"] {
            content: url("/Content/images/Login_SSO/eye-slash.svg");
        }

    .wraper-text-file .text-field {
        font-size: var(--font-st);
        border-radius: 12px;
        border: 1px solid #D6D6D6;
        position: absolute;
        box-sizing: border-box;
        left: 0;
        right: 0;
        font-weight: 500;
        line-height: 22px;
        height: 100%;
        width: 100%;
        padding: 20px 15px 0;
    }

        .wraper-text-file .text-field[warning],
        .wraper-text-file .text-field[warning]:focus {
            outline: none !important;
            border: 1px solid var(--color-warning);
            bottom: 0;
        }

            .wraper-text-file .text-field[warning] ~ .input-label-error {
                visibility: visible;
            }

        .wraper-text-file .text-field[disable] {
            pointer-events: none;
            background: url(../Content/images/Login_SSO/account-circle.svg) no-repeat scroll 15px 19px, #0000000D !important;
            border: 1px solid #D6D6D6;
            color: var(--gray-color);
        }

            .wraper-text-file .text-field[disable] ~ .input-label-error {
                color: var(--gray-color);
            }

        .wraper-text-file .text-field:not([warning]):focus {
            outline: none !important;
            border: 1px solid #7FB539;
            bottom: 0;
        }

        .wraper-text-file .text-field:focus ~ .input-label,
        .wraper-text-file .text-field:not(:placeholder-shown) ~ .input-label {
            top: 20%;
            font-size: var(--font-sm);
        }

        .wraper-text-file .text-field:focus ~ .tooltip-password {
            display: flex;
        }

        .wraper-text-file .text-field.icon-account {
            background: url(../Content/images/Login_SSO/account-circle.svg) no-repeat scroll 15px 19px;
            padding-left: var(--padding-left-intput);
        }

        .wraper-text-file .text-field.icon-password {
            background: url(../Content/images/Login_SSO/linear_lock.svg) no-repeat scroll 15px 19px;
            padding-left: var(--padding-left-intput);
            padding-right: var(--padding-left-intput);
        }

    .wraper-text-file .input-label {
        position: absolute;
        pointer-events: none;
        top: 38%;
        left: 0;
        transform: translateY(-15%);
        padding-left: var(--padding-left-intput);
        font-size: var(--font-st);
        transition: all .2s ease-in-out;
        /*color: #717171;*/
        color: #C4C4C4;
        font-weight: 400;
    }

    .wraper-text-file .input-label-error {
        visibility: hidden;
        font-size: var(--font-sm);
        font-weight: 400;
        letter-spacing: 0.02em;
        color: #f82626;
        position: absolute;
        bottom: -25px;
        /*bottom: -40px;*/
        left: 15px;
        text-align: left;
    }

    .wraper-text-file .tooltip-password {
        display: none;
        position: absolute;
        width: 158px;
        height: 98px;
        background: #616161E5;
        font-size: calc(var(--font-st) - 6px);
        flex-direction: column;
        justify-content: space-around;
        align-items: flex-start;
        padding: 8px;
        border-radius: 6px;
        color: #FFFFFF;
        font-weight: 500;
        top: -160%;
        left: -13.5%;
    }

        .wraper-text-file .tooltip-password::after {
            content: '';
            position: absolute;
            bottom: -5%;
            left: 50%;
            border: 6px solid #616161E5;
            border-bottom: 0;
            border-left-color: transparent;
            border-right-color: transparent;
        }

        .wraper-text-file .tooltip-password .tooltip-check {
            display: flex;
            justify-content: center;
            align-items: center;
            text-align: left;
        }

            .wraper-text-file .tooltip-password .tooltip-check img {
                margin-right: 6px;
                content: url("/Content/images/Login_SSO/un-check.svg");
            }

                .wraper-text-file .tooltip-password .tooltip-check img[checked] {
                    content: url("/Content/images/Login_SSO/check.svg");
                }

.group-text-content {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: calc(var(--font-sm) + 2px);
    font-weight: 400;
}

    .group-text-content .text-not-have-account {
        margin-right: 6px;
    }

    .group-text-content .text-register {
        text-decoration: none;
        color: var(--color-btn-blue);
        cursor: pointer;
    }

.wrap-text-forgot {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
}

    .wrap-text-forgot .text-forgot-password {
        font-size: calc(var(--font-md) - 2);
        color: var(--color-btn-blue);
        font-weight: 400;
        line-height: 24px;
        cursor: pointer;
    }

        .wrap-text-forgot .text-forgot-password a {
            text-decoration: none;
        }

.title-otp-we-send {
    font-size: calc(var(--font-md) - 2);
    font-weight: 400;
}

.group-input-otp {
    font-family: Roboto;
    display: flex;
    position: relative;
    /*justify-content: space-around;*/
    /*align-items: center;*/
}

    .group-input-otp .error-otp {
        display: none;
        position: absolute;
        bottom: -22px;
        color: var(--color-warning);
        font-size: var(--font-sm);
        font-weight: 400;
    }

    .group-input-otp .otp-input {
        border: 1px solid #0000001F;
        /*height: 100%;*/
        border-radius: 8px;
        font-size: var(--font-lg);
        text-align: center;
        margin: 0 5px;
        padding: 1%;
        width: 16.6666667%;
        height: 56px;
        /*height: calc(56px * var(--ratio));*/
    }

        .group-input-otp .otp-input:first-child {
            margin-left: 0
        }

        .group-input-otp .otp-input:last-child {
            margin-right: 0
        }

        .group-input-otp .otp-input:not(:placeholder-shown) {
            border: 1px solid #1D1D1D;
        }

        /*.group-input-otp .otp-input:hover,*/
        .group-input-otp .otp-input:active,
        .group-input-otp .otp-input:focus {
            outline: none;
            border: 1px solid var(--color-btn-blue) !important;
        }

        .group-input-otp .otp-input[warning] {
            border: 1px solid var(--color-warning);
        }

            .group-input-otp .otp-input[warning] ~ .error-otp {
                display: block;
            }

.wraper-child-content {
    display: flex;
    flex-direction: column;
    gap: calc(var(--pading-value) + 12px);
}

.group-text-description {
    font-size: var(--font-st);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    font-weight: 400;
    height: 168px;
}

    .group-text-description span {
    }

.group-role {
    display: flex;
    font-family: Roboto;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    font-size: calc(var(--font-st) - 2px);
    font-weight: 400;
    background-color: #F5F5F5;
    border-radius: 12px;
    height: 48px;
}

    .group-role .role-item {
        display: flex;
        justify-content: center;
        align-items: center;
    }
        /* Hide the default radio button */
        .group-role .role-item input[type="radio"] {
            display: none;
        }

            /* Create a new custom radio button */
            .group-role .role-item input[type="radio"] + label {
                position: relative;
                padding-left: 35px;
                cursor: pointer;
                user-select: none;
            }

                /* Create the circle for radio button (hidden when not checked) */
                .group-role .role-item input[type="radio"] + label::before {
                    content: "";
                    position: absolute;
                    left: 0;
                    top: 0;
                    height: 20px;
                    width: 20px;
                    background-color: transparent;
                    border: 2px solid #A7A7A7;
                    border-radius: 50%;
                }

            /* Show the inner circle when checked */
            .group-role .role-item input[type="radio"]:checked + label::after {
                content: "";
                position: absolute;
                left: 4px;
                top: 4px;
                width: 12px;
                height: 12px;
                background-color: #4CAF50;
                border-radius: 50%;
            }


        /*.group-role .role-item input {
            margin: 0;
            height: 20px;
            width: 20px;
            margin-right: 8px;
            accent-color: #00a006;*/
        /*accent-color: #4CAF50;*/
        /*}*/

        .group-role .role-item label {
            margin-bottom: 0
        }

.group-text-otp {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-weight: 400;
}

    .group-text-otp .text-please-register {
        color: #717171;
    }

    .group-text-otp #type-send-otp {
    }

    .group-text-otp #data-type-otp {
        font-weight: 500;
    }

.group-text-time {
    font-size: calc(var(--font-st) - 2px);
    font-weight: 500;
    display: flex;
    flex-direction: column;
    gap: 12px;
    line-height: 24px;
}

    .group-text-time #time-otp-left {
        color: var(--color-btn-blue);
    }

    .group-text-time #text-link-resend {
        font-size: var(--font-st);
        font-weight: 500;
        color: var(--color-btn-blue);
        cursor: pointer;
    }

    .group-text-time .wraper-text-resend {
        display: none;
    }

.wrap-text-register {
    font-size: calc(var(--font-st) - 2px);
    font-weight: 400;
}

    .wrap-text-register .text-login {
        color: var(--color-btn-blue);
        cursor: pointer;
        text-decoration: none;
    }

#loading {
    display: none;
    user-select: none;
    cursor: not-allowed;
    opacity: 0.5;
    width: 100vw;
    height: 100vh;
    position: absolute;
    z-index: 99999;
    background-color: black;
}
.loading-icon-wrapper {
    position: absolute;
    left: 50%;
    top: 50%;
    transform:translate(-50%, -50%);
}
.loading-icon {
    width: 60px;
    height: 60px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 0.5s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.error-feedback {
    color: #f82626;
    font-size: var(--font-sm);
    margin-bottom: 14px;
    margin-top: 12px;
    visibility: hidden;
    font-weight: 400;
}

.rule-feedback {
    visibility: hidden;
    color: #f82626;
    font-size: var(--font-sm);
    line-height: 18px;
    font-weight: 400;
    width: 100%;
    text-align: left;
    margin-left: 15px;
    /*margin-top: -20px;
    margin-bottom: -10px;*/
}
.d-flex{
    display:flex;
}
.d-block {
    display:block;
}
.m-t-24 {
    margin-top: 24px;
}
.m-b-24 {
    margin-bottom:24px;
}
.m-b-36 {
    margin-bottom:36px;
}
.m-auto {
    margin:auto;
}
.tablet-footer {
    display:none;
    height:10vh;
    width:100%;
    background:white;
}
.b2s-banner {
    width:100%;
    height:auto;
    margin: 0 14px;
    display: none;
}
@media only screen and (max-width: 1024px) {
    /*LAYOUT*/
    body, .container-all, .left-side, .right-side {
        height: auto;
        min-height: 100vh;
    }
    .copyright {
        display:none;
    }
    .left-side {
        display: none;
    }
    .container-all {
        flex-wrap:wrap;
    }
    .right-side {
        width:100%;
    }
    .container-all {
        background-image: url('./images/Login_SSO/right_bg.svg');
    }
    .tablet-footer {
        display: flex;
    }
    .b2s-banner {
        display: block;
    }


    .wraper-text-file {
        min-height:64px;
        height:unset;
    }
        .wraper-text-file.group {
            display:block;
        }
        .wraper-text-file.group .input-first-name, .wraper-text-file.group .input-last-name {
            position: relative;
            width: 100%;
            min-height: 64px;
        }
}
@media only screen and (max-width: 600px) {
    .container-all {
        flex-direction: column;
    }
    .right-side {
        align-items: unset;
        min-height: unset;
        flex-grow:1;
        margin-left: 0;

    }
    .box {
        margin: 0;
        border-radius: 0;
    }
    .b2s-banner {
        margin: 0;
    }
    .title-content {
        font-size: 8vw!important;
    }
}
