@charset "UTF-8";
@import url("fonts.css");
@import url("../fonts/icons/font/bootstrap-icons.css");

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
:root {
    --dark: #3f3f3f;
    --black: #000000;
    --red: #990000;
    --red2: #CB0000;
    --lightRed: #FEF0F4;
    --purple: #40214d;
    --grey: #aaaaaa;
    --grey2: #B9B9B9;
    --grey3: #8d8d8d;
    --green: #24989c;
    --dark-red: #c91e1e;
    --pink: #ED1C62;
    --pink-light: #FCF5F2;
    --peach: #FFA58F;
    --peach2: #F1CCBC;
    --border: #E6E6E6;
    --lt-grey: rgb(143 143 143 / 16%);

    --light: "Tajawal-Light";
    --regular: "Tajawal-Regular";
    --medium: "Tajawal-Medium";
    --bold: "Tajawal-Bold";
    --extraBold: "Tajawal-ExtraBold";
}
body {
    font-family: var(--regular);
    color: var(--purple);
    background-color: #ffffff;
}

input,
button,
select,
textarea {
    outline: 0 !important;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

.login-main {
    display: flex;
    width: 100%;
    min-height: 100vh;
    text-align: right;
    justify-content: flex-end;
    direction: rtl;
    flex-direction: row-reverse;
}
.banner-img {
    width: 50%;
    height: 100vh;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-color: var(--peach2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
}
.banner-img img{
    width: 380px;
}
.login-main .form {
    width: 50%;
    min-height: 100vh;
    height: 100%;
    overflow-y: auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 40px;
    float: right;
}
.form h1 {
    font-size: 35px;
    color: var(--black);
    margin-bottom: 30px;
}
.form p {
    font-size: 16px;
    color: grey;
    margin-bottom: 35px;
}
.form .label {
    color: var(--black);
    margin: 0 0 7px 0;
    font-size: 18px;
    font-family: var(--medium);
}
.input-div {
    display: flex;
    align-items: center;
    /* padding: 0 10px;
    height: 45px;
    border: 1px solid #ccc;
    border-radius: 5px; */
    margin-bottom: 20px;
    position: relative;
}
/* .input-div img {
    width: 17px;
} */
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance: none;
    background-image: url(../images/angle-down.png);
    background-repeat: no-repeat;
    color: #898989;
    background-size: 14px;
    background-position: left 15px center;
}
.input-div input, .input-div select {
    flex: 1;
    height: 100%;
    border: none;
    font-size: 16px;
    color: var(--black);
    padding: 0 15px 0 15px;
    text-align: right;
    height: 45px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: var(--medium);
}
.input-div select option{
    font-family: var(--medium) !important;
    font-size: 16px;
}
.input-div input#password{
    padding-left: 45px;
}
.input-div input::placeholder {
    color: #808080;
}
.password_view{
    display: flex;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 45px;
    align-items: center;
    justify-content: center;
}
.eye_view img{
    width: 19px;
}
.eye_view{
    cursor: pointer;
}
.eye_view .eye_ico{
    display: block;
}
.eye_view .eye_slash_ico{
    display: none;
}
.eye_view.eye_slash_view .eye_ico{
    display: none;
}
.eye_view.eye_slash_view .eye_slash_ico{
    display: block;
}
.password_view svg{
    width: 20px;
}
.remember-me {
    color: #808080;
    font-size: 14px;
    width: max-content;
}
.remember-me input {
    margin-right: 5px;
    transform: scale(1.02);
}
.between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 5px;
}


/* The container */
.container-checkbox {
    display: block;
    position: relative;
    padding-right: 35px;
    cursor: pointer;
    font-size: 18px;
    line-height: 25px;
    color: #000000;
    font-family: var(--medium);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.container-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark-checkbox {
    position: absolute;
    top: 0;
    right: 0;
    height: 24px;
    width: 24px;
    background-color: #eee;
    border-radius: 4px;
}

.container-checkbox:hover input~.checkmark-checkbox {
    background-color: #ccc;
}

.container-checkbox input:checked~.checkmark-checkbox {
    background-color: var(--green);
}

.checkmark-checkbox:after {
    content: "";
    position: absolute;
    display: none;
}

.container-checkbox input:checked~.checkmark-checkbox:after {
    display: block;
}

.container-checkbox .checkmark-checkbox:after {
    left: 10px;
    top: 4px;
    width: 5px;
    height: 14px;
    border: solid white;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
.forgot {
    color: var(--green);
    font-size: 18px;
    font-family: var(--medium);
    text-decoration: none;
}
.forgot:hover {
    color: var(--green);
    text-decoration: underline;
}
button.login_sign_btn {
    margin: 25px 0;
    background-color: var(--pink);
    color: white;
    min-height: 45px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-family: var(--medium);
    width: fit-content;
    padding-left: 35px;
    padding-right: 35px;
    margin-left: 0;
    margin-right: auto;
}
.separator{
    display: flex;
    width: 100%;
    height: 1px;
    background-color: var(--border);
}
.login_text {
    display: block;
    width: 100%;
    color: var(--black);
    font-size: 22px;
    margin-bottom: 35px;
    text-align: center;
    font-family: var(--medium);
}
.login_social{
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 25px;
    margin-bottom: 30px;
}
.login_social img{
    width: 35px;
}
.signUp {
    text-align: center;
    color: var(--black);
    font-size: 18px;
    font-family: var(--medium);
}
.signUp a {
    color:var(--green);
    text-decoration: none;
}
.signUp a:hover {
    text-decoration: underline;
}
.btn-social-login{
    display: flex;
    width: 100%;
    margin-bottom: 7px;
}
.social-login-icon{
    width: 25px;
}
.error {
    width: 100%;
    margin-top: 0.25rem;
    font-size: .875em;
    color: #dc3545;
}
.btn-facebook {
    background-color: #405D9D !important;
    color: #fff !important;
}
.btn-google {
    background-color: #C94130 !important;
    color: #fff !important;
}
.btn-instagram {
    background-color: #bc2a8d !important;
    color: #fff !important;
}
.form-logo{
    display: none;
    width: 100%;
    justify-content: center;

}
.form-logo img{
    width: 150px;
    margin-bottom: 20px;
}
.btn_sign_wrap{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
@media (max-width:991px) {
    .login-main {
        flex-direction: column;
    }
    .banner-img {
        width: 100%;
        /* min-height: 350px; */
        height: 688px;
        display: none;
    }
    .login-main .form {
        width: 100%;
        min-height: 100%;
        height: 100%;
        padding: 40px;
    }  
    .form-logo{
        display: flex;
    } 
    .form h1 {
        font-size: 25px;
        margin-bottom: 15px;
    }
    .login_text {
        font-size: 20px;
    }
    .separator {
        margin-bottom: 17px !important;
    }
    .login_text {
        margin-bottom: 22px;
    }
    .login_social {
        margin-bottom: 20px;
    }
}
@media (max-width:768px) {
    .banner-img {
        height: 500px;
    }
    
}
@media (max-width:640px) {
    .banner-img {
        height: 400px;
    }
    
}
@media (max-width:400px) {
    .banner-img {
        height: 400px;
    }
    .login-main .form {
        padding: 30px 15px 30px 15px;
    }
}