/* login Page */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;700;800;900&display=swap');

body {
    font-family: "Tajawal", sans-serif;
}

.login-wrapper {
    display: flex;
    width: 100%;
    height: 100vh;
    justify-content: space-between;
    align-items: center;
}

.login-wrapper .login-bg-wrapper {
    background-color: #153679;
    width: 50%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-wrapper .login-bg-wrapper::before {
    content: "";
    background-image: url("/assets/factory/img/bg-effect.png");
    position: absolute;
    width: 260px;
    height: 260px;
    top: 0;
    right: 0;
    background-size: cover;
}

.login-wrapper .login-bg-wrapper::after {
    content: "";
    background-image: url("/assets/factory/img/bg-effect.png");
    position: absolute;
    width: 260px;
    height: 260px;
    bottom: 0;
    left: 0;
    background-size: cover;
}

.login-wrapper .login-bg-wrapper .login-bg {
    margin: auto;
    width: 80%;
    height: 57%;
    background-image: url("/assets/factory/img/login-bg.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.login-wrapper .login-sections {
    width: 50%;
    height: 100%;
}

.login-wrapper .login-sections section {
    padding: 80px 80px 0 0;
    height: 100%;
}

#page-login .page-content-wrapper {
    background-color: #FFFFFF;
}

.login-wrapper .login-sections .app-logo-wrapper {
    width: 140px;
    height: 48px;
    margin-bottom: 30px;
}

.login-wrapper .login-sections .app-logo-wrapper img {
    width: 100%;
    object-fit: contain;
}

.login-wrapper .login-sections .form-text {
    margin: 0 !important;
    margin-bottom: 30px !important;
}

.login-wrapper .login-sections .form-text p:first-child {
    font-size: 30px;
    color: #313131;
    font-weight: 500;
    margin-bottom: 0;
}

.login-wrapper .login-sections .form-text p:first-child span {
    display: inline-block;
    width: 40px;
    height: 40px;
    margin-right: 8px;

}

.login-wrapper .login-sections .form-text p:first-child span img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.login-wrapper .login-sections .form-text p:last-child {
    font-size: 16px;
    color: #696969;
    font-weight: 500;
    margin-bottom: 0;

}

.login-wrapper .login-sections .page-card {
    margin: 0 !important;
    border: none;
    padding: 0;
    width: 400px;
}

.login-wrapper .login-sections .page-card form {
    margin: 0;
    max-width: 400px;
}

.login-wrapper .login-sections .page-card form input,
.for-login .page-card .page-card-body .email-field,
.for-login .page-card .page-card-body .password-field {
    height: 56px;
    background-color: #F9F9F9 !important;
    border-radius: 8px;
}

.login-wrapper .login-sections .page-card form input::placeholder {
    font-size: 14px;
    color: #9B9B9B;
}

.login-wrapper .login-sections .page-card form .form-label {
    font-size: 18px;
    color: #313131;
    margin-bottom: 8px;
}

/* The reset-password link used to supply the gap above the login button.
   With it removed, the field container carries that spacing instead. */
.login-wrapper .login-sections .page-card form .page-card-body {
    margin-bottom: 40px;
}

.login-wrapper .login-sections .page-card {
    background-color: transparent;
}

.login-sections .page-card-head {
    margin: 0;
}

.login-wrapper .btn-login {
    height: 56px;
    width: 100%;
    background-color: #153679;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 500;
    border: none;
    box-shadow: none;
    border-radius: 8px;
}

.b-toggle-password::after {
    display: block;
    content: url("/assets/factory/img/icons/show.png");
    width: 24px;
    height: 24px;
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.b-toggle-password.active::after {
    content: url("/assets/factory/img/icons/hide.png");
}

@media (max-width: 1200px) {

    .login-wrapper .login-sections section {
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

}

@media (max-width: 991px) {
    .login-bg-wrapper {
        display: none !important;
    }

    .login-wrapper .login-sections {
        width: 100%;
    }

    .login-wrapper .login-sections section {
        padding: 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .login-wrapper .login-sections .app-logo-wrapper {
        width: 110px;
        height: auto;
        margin: auto;
        margin-bottom: 30px;
    }

    .login-wrapper .login-sections .form-text p:first-child {
        font-size: 24px;
    }

    .login-wrapper .login-sections .form-text p:last-child {
        font-size: 14px;
    }

    .login-wrapper .login-sections .page-card form .form-label {
        font-size: 16px;
    }

    .login-wrapper .login-sections .page-card form .forgot-password-message {
        margin-bottom: 30px;
    }
}

@media (max-width: 1439px) {
    .login-wrapper .login-bg-wrapper::before {
        width: 180px;
        height: 180px;
    }

    .login-wrapper .login-bg-wrapper::after {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 425px) {
    .login-wrapper .login-sections .page-card {
        width: 100%;
    }
}