/* login / register */

.login-page {
    min-height: 100vh;
}

.login-page main {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.register {
    color: var(--colorAlert);
    font-weight: 600;
}

.register:hover {
    color: var(--primary)
}

.forget {
    display: flex;
    justify-content: flex-end;
    padding-inline-end: 5px;
    font-size: 85%;
    margin-top: 6px;
    margin-bottom: 6px;
    font-weight: 500;
}

.forget a,
.forget a:hover,
.forget a:focus {
    color: var(--primary)
}

.login-form-container {
    padding-block: 40px;
}

.login-form-container .form-container button[type=submit] {
    text-transform: uppercase;
    padding-block: 10px;
    font-weight: 500;
    /* margin-top: 18px; */
}

.login-form-container .form-container input[type=text],
.login-form-container .form-container input[type=tel],
.login-form-container .form-container input[type=email],
.login-form-container .form-container input[type=password] {
    padding-block: 12px;
    padding-inline-start: 38px;
}

.form-container {
    max-width: 400px;
    margin: 0px auto;
}

.login-form-container .form-container h4 {
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 700;
    /* color: var(--primary); */
    margin-bottom: 10px !important;
    position: relative;
}

.login-form-container .form-container h4 .back {
    color: #555;
    position: absolute;
    inset: 0;
    font-size: 14px;
    margin-inline: 0 auto;
    display: inline-flex;
    margin-top: 5px;
    align-items: center;
    width: max-content;
}

.login-form-container .form-container h4 .back span {
    font-size: 12px
}

.login-form-container .form-container h4 .back i {
    /* width: 28px; */
    /* height: 22px; */
    border-radius: 500px;
    /* border: 2px solid var(--primary); */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-inline-end: 4px;
    /* background: var(--primary); */
    /* color:  #fff; */
    font-size: 14px;
}

.login-page {
    position: relative;
    z-index: 0;
    background: #fbfbfb;
}

.login-page::before {
    content: "";
    position: absolute;
    background-image: url("../imgs/register.jpg");
    inset: 0px;
    width: 50%;
    height: 100%;
    z-index: -1;
    background-position: 50% center;
    background-size: cover;
    background-attachment: fixed;
}

.login-page::after {
    content: "";
    position: absolute;
    /* background-color: var(--primary); */
    inset: 0px;
    z-index: -1;
    opacity: 0.5;
    width: 50%;
}

.login-page main>* {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.form-control:focus {
    border-color: var(--colorAlert);
    outline: 0px;
    box-shadow: none;
}

.toggle-password {
    position: absolute;
    inset: 0px;
    height: 36px;
    width: 46px;
    background-color: rgb(243, 243, 243);
    margin-inline: auto 9px;
    margin-block: auto 1px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px !IMPORTANT;
    border-start-end-radius: 8px;
    border-end-end-radius: 8px;
    color: var(--primary);
}

.login-page .toggle-password {
    height: 45px;
    margin-inline-end: 5px;
}

.upload-img {
    background: rgb(248, 248, 248);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 15px 5px;
}

.upload-img {
    background: rgb(248, 248, 248);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 15px 5px;
}

.image-av-con {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.image-av-con img {
    width: 120px;
    border-radius: 500px;
    height: 120px;
    margin-bottom: 15px;
}

.image-av-con input[type="file"] {
    display: none;
}

.custom-file-upload {
    position: absolute;
    inset: 0px;
    font-size: 215%;
    width: 30px;
    height: 39px;
    margin-inline: auto 3px;
    margin-block: auto 20px;
    cursor: pointer;
}

.custom-file-upload i {
    color: var(--brown);
    transition: all 0.2s linear 0s;
    background: rgb(255, 255, 255);
    border-radius: 800px;
}

.custom-file-upload:hover i {
    color: var(--primary);
}

.upload-img .relative {
    width: 100%;
}

.file-drop-area {
    position: relative;
    display: flex;
    width: 450px;
    max-width: 100%;
    padding: 25px 10px;
    border: 1px solid rgb(209, 209, 209);
    border-radius: 6px;
    transition: all 0.2s ease 0s;
    flex-direction: column;
    align-items: center;
}

.file-drop-area .icocn-containr {
    margin-bottom: 10px;
}

.choose-file-button {
    flex-shrink: 0;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    padding: 8px 15px;
    margin-right: 10px;
    font-size: 12px;
    text-transform: uppercase;
}

.file-message {
    font-size: small;
    font-weight: 300;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-input {
    position: absolute;
    left: 0px;
    top: 0px;
    height: 100%;
    width: 100%;
    cursor: pointer;
    opacity: 0;
    border: burlywood;
}

.login-left-content {
    display: flex;
    flex-direction: column;
    color: #fff;
    height: 100%;
    position: fixed;
    top: 40px;
    bottom: 50px;
    left: calc(4% + 20px);
    width: calc(50% - 4% - 20px);
    height: calc(100vh - 90px);
}

.login-form-container .form-container .relative label+i {
    position: absolute;
    width: 20px;
    height: 20px;
    font-size: 20px;
    inset: 0;
    margin-inline: 15px auto;
    top: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bcbcbc;
}

.login-left-content .login-logo {
    margin-bottom: 30px
}

.login-left-content .login-logo img {
    width: 50px;
    filter: brightness(5);

    display: flex;
}

.login-left-content h1 {
    font-weight: 600;
    font-size: 300%;
}

.inform-info {
    font-weight: 600;
    /* text-align: center; */
    margin-bottom: 15px;
}

.login-left-content .sub-title {
    font-size: 140%;
    padding-inline-end: 40px;
    margin-bottom: 60px;
    margin-top: 20px;
}

.login-left-content .social-icons {
    margin-block: auto 0;
}

.login-left-content .social-icons a {
    font-size: 20px;
    min-width: 36px;
    height: 36px;
    color: #fff;
}

.login-left-content .social-icons a:hover {
    background: #fff;
    color: var(--primary);
}

.login-page .has-n-right::before {
    opacity: 0.05 !important;
}

.login-page .custom-sep {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 80%;
    margin-inline: auto;
    margin-block: 5px;
}

.login-page .custom-sep:before,
.login-page .custom-sep:after {
    content: '';
    height: 1px;
    width: calc(50% - 20px);
    background: #dedede;
    position: absolute;
    inset: 0;
    /* z-index: -1; */
    margin-block: auto;
}

.login-page .custom-sep:after {
    margin-inline: auto 0
}

.login-page .custom-sep img {
    width: 40px;
    height: 40px;
    display: inline-flex;
    margin: 0 auto;
    padding: 4px;
    /* background: #fbfbfb; */
    opacity: 0.5;
}


.otp-field {
    flex-direction: row;
    column-gap: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.otp-field input {
    height: 45px;
    width: calc((100% / 4) - 20px);
    border-radius: 6px;
    outline: none;
    font-size: 1.125rem;
    text-align: center;
    border: 1px solid #ddd;
}

.otp-field input:focus {
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}

.otp-field input::-webkit-inner-spin-button,
.otp-field input::-webkit-outer-spin-button {
    display: none;
}

.timer {
    font-weight: 500;
    color: var(--primary);
}

.timer #timer {
    font-weight: 700;
}

#time-up {
    font-weight: 600;
    color: var(--colorAlert);
}

@media screen and (max-width: 991px) {
    .login-left-content h1 {
        font-weight: 600;
        font-size: 240%;
    }

    .login-left-content .sub-title {
        font-size: 120%;
        padding-inline-end: 30px;
    }

    .login-left-content .login-logo img {
        width: 68px;
    }

    .login-left-content .login-logo {
        display: flex;
        justify-content: center;
        margin-block: 22px 10px;
    }

    .form-container {
        max-width: 90%;
    }

    .login-left-content .social-icons a {
        font-size: 26px;
        min-width: 40px;
        height: 40px;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .login-page .container {
        max-width: 100%;
    }

    .login-page .container .row .col-lg-6 {
        width: 50%
    }

}

@media screen and (max-width: 767px) {
    .login-left-content {
        height: 100%;
        position: relative;
        top: unset;
        bottom: unset;
        left: unset;
        width: unset;
        height: unset;
    }

    .login-page::before {
        content: "";
        position: absolute;
        inset: 0px;
        width: 100%;
        height: 50%;
        z-index: -1;
    }

    .login-page::after {
        inset: 0px;
        bottom: unset;
        width: 100%;
        height: 50%;
    }

    .login-form-container {
        padding-block: 10px;
        background: #f4f4f4;
        border-radius: 15px;
        padding-inline: 20px;
        margin-block: 15px;
    }

    .login-left-content .sub-title {
        font-size: 120%;
        padding-inline-end: 20px;
        margin-bottom: 20px;
        margin-top: 15px;
    }

    .login-form-container * {
        color: #666;
    }

    .login-left-content h1 {
        font-size: 180%;
    }

    .login-left-content .social-icons {
        justify-content: center;
        border-bottom: 1px solid #d2d2d2;
        padding-bottom: 30px;
    }

    .login-left-content .social-icons a {
        background: #e9e9e9;
    }

    .login-left-content .social-icons a i {
        color: var(--primary);
    }

    .login-left-content .login-logo img {
        filter: brightness(1);
    }

    .form-container {
        margin-top: 30px
    }

}

.asuser {
    margin-bottom: 12px;
    display: flex;
    justify-content: flex-end;
}

.asuser>span {
    background: #8b8b8b;
    color: #fff;
    padding: 2px 10px;
    display: inline-flex;
    border-radius: 6px;
    min-width: 90px;
    justify-content: center;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    /* margin-inline-start: calc(30% + 30px); */
}

.go-back {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--primary)
}

.go-back i {
    margin-inline-end: 6px
}

.extra-hint {
    font-size: 140%;
    font-weight: 600;
    text-align: center;
    color: #656565;
    margin-block: 20px 6px;
}

.register-ul,
.register-ul li {
    margin: 0;
    padding: 0;
}

.register-ul li {
    list-style-type: none;
    font-size: 114%;
    margin-block: 8px;
    padding-inline-start: 22px;
    position: relative;
}

.register-ul li:before {
    content: "";
    width: 16px;
    height: 16px;
    background-image: url(../imgs/n.svg);
    display: inline-block;
    position: absolute;
    inset: 0;
    top: 4px;
    background-size: contain;
    background-repeat: no-repeat;
}

.has-n,
.has-n-right {
    position: relative;
    z-index: 0
}

.has-n:before,
.has-n-right:before {
    content: "";
    position: absolute;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100%;
    display: flex;
    background-image: url(../imgs/n.svg);
    background-repeat: no-repeat;
    background-size: 60vh 100%;
    background-position: calc(100% + 12vh) 39%;
    z-index: -1;
    opacity: .15 !important
}

@media only screen and (min-width: 992px) {
    .login-left-content .login-logo img {
        transform: translate(calc(50vh - 100px), 0px);
    }
}