﻿* {
    direction: rtl;
    font-family: 'YekanBakh-Regular';
}

input[type=number]:not(.NumberNormal) {
    -moz-appearance: textfield;
}

.ltr-important {
    direction: ltr !important;
}

.text-justify {
    text-align: justify !important;
}

.amoot-color {
    color: #2266AF;
}

.labeledInput.error input {
    border-color: #B3261E;
}

.labeledInput.error label {
    color: #B3261E;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #EBF1F5;
    background-image: url('/Images/Login2/bg2.png');
    min-height: 100%;
    max-height: unset;
    background-size: cover;
}


#_root {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.header-container {
    padding: 30px 40px 12px;
}

.back-to-site-btn {
    border-radius: 8px;
    background: rgba(34, 102, 175, 0.08);
    padding: 8px 16px 8px 8px;
    display: flex;
    align-items: center;
    color: #4B596B;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 450;
    line-height: normal;
    text-decoration: none;
}

    .back-to-site-btn svg {
        display: none;
    }


div#main-wrapper {
    max-width: 588px;
    padding: 56px;
    background: #fff;
    border-radius: 48px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0px 4px 27.4px -8px rgba(0, 0, 0, 0.25);
}


.form-wrapper {
    width: 80%;
    margin: 0 auto;
}

.groupInputs,
.labeledInput {
    position: relative;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0;
    /* <-- Apparently some margin are still there even though it's hidden */
}

.labeledInput input,
.labeledInput select {
    margin-top: -10px;
    padding: 12px 16px;
    border-radius: 4px 4px 4px 4px;
    border-color: #4B596B;
    -webkit-appearance: none;
    -moz-appearance: textfield;
}

.labeledInput label {
    margin-top: 20px;
    margin-right: 20px;
    background: #fff;
    padding: 0 4px;
    color: #001F3F;
    font-size: 14px;
    z-index: 2;
    position: relative;
}

.text-form h2 {
    margin-bottom: 16px;
    font-family: 'IRANYekan-Bold';
}

.text-form p {
    color: #4B596B;
    text-align: right;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    font-family: 'YekanBakh-Regular';
}

.custom-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
}

    .custom-divider hr {
        flex: 1;
        /* height: 2px; */
        /* background-color: #CAC4D0; */
        /* border: none; */
        margin: 0;
    }

    .custom-divider .center-icon {
        color: #4B596B;
        text-align: right;
        font-family: 'YekanBakh-Regular';
        font-size: 16px;
        font-style: normal;
        font-weight: 600;
        line-height: 20px;
        /* 125% */
    }

.text-form h2 {
    color: #4B596B;
    text-align: right;
    font-size: 28px;
    font-style: normal;
    font-weight: bold;
    line-height: 76px;
    font-family: 'YekanBakh-Bold';
}

    .text-form h2 span {
        font-size: 34px;
        font-style: normal;
        font-weight: 700;
        line-height: 76px;
    }

.form-check {
    padding-right: 3em;
}

.form-check {
    color: #4B596B;
    font-size: 14px;
    font-style: normal;
    line-height: 24px;
    margin-top: 40px;
}

    .form-check label a {
        text-decoration: none;
        color: #2266AF;
        border-bottom: 1px solid;
    }

input#flexCheckDefault {
    border-radius: 4px;
    border: 1px solid #4B596B;
    width: 20px;
    height: 20px;
    margin-right: -2.1em;
}

button.btn.btn-primary {
    margin: 24px auto;
    width: 100%;
    background: #2266AF;
    padding: 12px 0;
    border-radius: 8px;
}

.retry-timer {
    text-align: center;
    color: #EA4335;
    font-size: 14px;
    margin-bottom: 32px;
}

a.toggle-form {
    text-decoration: none;
    color: #4B596B;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    line-height: 20px;
    font-weight: 600;
}

.brands-logo img {
    width: 107px;
}

.brands-logo a:nth-child(2) img {
    width: 120px;
}

a.back-to-step-btn {
    position: absolute;
    right: -14%;
    top: -1%;
}

form {
    position: relative;
}

.btn-login-v2 {
    display: flex;
    padding: 10px 8px 10px 16px;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    gap: 8px;
    border-radius: 8px;
    background: rgba(34, 102, 175, 0.08);
    font-size: 14px;
    color: #4B596B;
}

.g-login:hover {
    border-color: #2266AF !important;
    background: transparent !important;
}

.insideIcon {
    position: absolute;
    right: 0.2rem;
    bottom: 0;
    height: 40px;
    width: 40px;
    border-radius: 10px;
    padding: 10px;
    top: 0;
    cursor: pointer;
}

    .insideIcon img {
        width: 100%;
        height: 100%;
    }

hr {
    margin: 0 0 24px;
}

.captcha-img {
    display: flex;
    align-items: center;
    justify-content: stretch !important;
    justify-items: stretch !important;
    align-self: normal;
    height: 51px;
    margin-top: auto;
    margin-right: 10px;
}

.captcha-wrapper {
    align-items: flex-end !important;
}

.captcha-img button {
    height: 100%;
    margin: 0 4px 0 0;
    border-radius: 6px !important;
    border-color: #4B596B !important;
    color: #4B596B !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.captcha-img img {
    border: 1px solid #4B596B;
    border-radius: 10px;
}

.input-group {
    gap: 8px !important;
    margin: 48px auto;
}

form.form-otp .input-group {
    margin-top: 32px;
    margin-bottom: 22px;
}

.OTPField,
.TwoFactorField {
    direction: ltr;
}

    .OTPField > .form-control,
    .TwoFactorField > .form-control {
        font-size: 30px;
    }

.input-group input {
    border-radius: 8px !important;
    border: 1px solid #4B596B;
    height: 65px !important;
}

.retry-wrapper a {
    font-size: 14px;
    text-decoration: none;
    color: #2266AF;
    font-weight: 600;
}

.password-input input {
    direction: ltr;
    text-align: left !important;
}

.button-margin-end {
    margin-bottom: 20px;
}

.phone-enter-user {
    color: #2266AF;
    margin: 4px;
}

.back-amoot {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    font-size: 14px;
    color: #000;
}

    .back-amoot a {
        color: #2266AF;
        font-size: 14px;
        text-decoration: none;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

        .back-amoot a svg {
            width: 18px;
            height: 18px;
        }

            .back-amoot a svg * {
                stroke: #2079d8;
            }

.group-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-block: 16px;
}

    .group-btn > * {
        width: 50%;
    }

.footer-container {
    color: #fff;
    font-size: 14px;
    font-weight: 300;
    font-family: 'YekanBakh-Regular';
}

    .footer-container a {
        color: #FFCB32;
        text-decoration: none;
        border-bottom: 1px solid;
    }

@media screen and (max-width:640px) {
    body {
        height: auto;
        background-image: unset;
    }


    div#main-wrapper {
        width: 100%;
        max-width: 100%;
        height: 100%;
        border-radius: 0;
        gap: 60px;
        height: 100%;
        max-height: auto;
        padding-bottom: 30px !important;
        min-height: 100%;
    }

    .header-container {
        position: absolute;
        padding: 16px;
    }

        .header-container .back-to-site-btn {
            position: absolute;
            right: 20px;
            background: transparent;
            font-size: 0px;
            top: 30px;
            padding: 8px;
        }

        .header-container .logo-header {
            margin: 0 auto;
            max-width: 150px;
            height: auto;
            margin-top: 0;
            padding-top: 14px;
        }

    div#main-wrapper {
        padding-top: 100px;
        padding-inline: 24px;
    }

    .text-form h2 {
        /*display: flex;*/
        font-size: 30px;
        gap: 10px;
    }

    .text-form img {
        /* max-width: 140px; */
    }

    .group-btn {
        gap: 10px;
    }

    .btn-login-v2 {
        padding: 8px;
    }

    .form-wrapper {
        width: 100%;
    }

    .header-container .logo-header img {
        width: 100%;
        height: auto;
    }

    .container.footer-container {
        background: #F8F9FA;
        color: #4B596B;
        padding: 12px;
        font-size: 12px;
    }

        .container.footer-container a {
            color: #2266AF;
        }


    .back-to-site-btn svg {
        display: block;
    }
}
