﻿
@media only screen and (max-width: 1380px)
{
    html{
        zoom:1.25;
    }
}

@media only screen and (min-width: 1920px) {
    html {
        zoom: 1.25;
    }
}


@media only screen and (min-width: 2560px) {
    html {
        zoom: 1.25;
    }
}

@media only screen and (min-width: 3840px) {
    html {
        zoom: 1.25;
    }
}

body {
    background-color: #f8fafb;
    font-family: Rubik, Helvetica, sans-serif !important;
}

.ButtonChangeLanguage {
    background-color: #E8F0FE !important;
    border: none;
    border-radius: 9px;
    margin-top: 14px;
    padding: 5px;
}

p {
    color: #b3b3b3;
    font-weight: 300;
}

a {
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
}

    a:hover {
        text-decoration: none !important;
    }

.content {
    padding: 7rem 0;
}

h2 {
    font-size: 20px;
}

@media (max-width: 991.98px) {
    .content .bg {
        height: 500px;
    }
}

.content .contents, .content .bg {
    width: 50%;
}

@media (max-width: 1199.98px) {
    .content .contents, .content .bg {
        width: 100%;
    }
}

.content .contents .form-group, .content .bg .form-group {
    overflow: hidden;
    margin-bottom: 0;
    padding: 7px;
    border-bottom: none;
    position: relative;
    background: #E8F0FE;
    border: 1px solid #dbe2e9;
}

    .content .contents .form-group label, .content .bg .form-group label {
        position: absolute;
        top: 50%;
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
        -webkit-transition: .3s all ease;
        -o-transition: .3s all ease;
        transition: .3s all ease;
    }

    .content .contents .form-group input, .content .bg .form-group input {
        background: transparent;
        text-align: start; /* Default for LTR */
    }

html[dir="rtl"] .content .contents .form-group input,
html[dir="rtl"] .content .bg .form-group input {
    text-align: start; /* RTL text alignment */
}

.content .contents .form-group.first, .content .bg .form-group.first {
    border-radius: 12px;
}

.content .contents .form-group.last, .content .bg .form-group.last {
    border-radius: 12px;
}

.content .contents .form-group label, .content .bg .form-group label {
    font-size: 12px;
    display: block;
    margin-bottom: 0;
    color: #b3b3b3;
}

.content .contents .form-group.focus, .content .bg .form-group.focus {
    background: #fff;
}

.content .contents .form-group.field--not-empty label,
.content .bg .form-group.field--not-empty label {
    margin-top: -15px;
    font-size: 8px;
    display:none;
}

.content .contents .form-control, .content .bg .form-control {
    border: none;
    padding: 0;
    font-size: 20px;
    border-radius: 0;
}

    .content .contents .form-control:active,
    .content .contents .form-control:focus,
    .content .bg .form-control:active,
    .content .bg .form-control:focus {
        outline: none;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

.content .bg {
    background-size: cover;
    background-position: center;
}

.content a {
    color: #888;
    text-decoration: underline;
}

.content .btn {
    height: 54px;
    padding-left: 30px;
    padding-right: 30px;
}

html[dir="rtl"] .content .btn {
    padding-right: 30px;
    padding-left: 30px; /* Swap padding for RTL */
}

.content .forgot-pass {
    position: relative;
    top: 2px;
    font-size: 14px;
}

.social-login a {
    text-decoration: none;
    position: relative;
    text-align: center;
    color: #fff;
    margin-bottom: 10px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: inline-block;
}

    .social-login a span {
        position: absolute;
        top: 50%;
        left: 50%;
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }

    .social-login a:hover {
        color: #fff;
    }

    .social-login a.facebook {
        background: #3b5998;
    }

        .social-login a.facebook:hover {
            background: #344e86;
        }

    .social-login a.twitter {
        background: #1da1f2;
    }

        .social-login a.twitter:hover {
            background: #0d95e8;
        }

    .social-login a.google {
        background: #ea4335;
    }

        .social-login a.google:hover {
            background: #e82e1e;
        }

.control {
    display: block;
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    cursor: pointer;
    font-size: 14px;
}

html[dir="rtl"] .control {
    padding-left: 0;
    padding-right: 30px; /* Adjust for RTL */
}

.control .caption {
    position: relative;
    top: .2rem;
    color: #888;
}

.control input {
    position: absolute;
    z-index: -1;
    opacity: 0; /* Fixed opacity to hide input */
}

.control__indicator {
    position: absolute;
    top: 2px;
    left: 0;
    height: 20px;
    width: 20px;
    background: #e6e6e6;
    border-radius: 4px;
}

html[dir="rtl"] .control__indicator {
    left: auto;
    right: 0; /* Move to right for RTL */
}

.control--radio .control__indicator {
    border-radius: 50%;
}

.control:hover input ~ .control__indicator,
.control input:focus ~ .control__indicator {
    background: #ccc;
}

.control input:checked ~ .control__indicator {
    background: #008CFF;
}

.control:hover input:not([disabled]):checked ~ .control__indicator,
.control input:checked:focus ~ .control__indicator {
    background: #847dff;
}

.control input:disabled ~ .control__indicator {
    background: #e6e6e6;
    opacity: 0.9;
    pointer-events: none;
}

.control__indicator:after {
    font-family: 'icomoon';
    content: '\e5ca';
    position: absolute;
    display: none;
    font-size: 16px;
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
}

.control input:checked ~ .control__indicator:after {
    display: block;
    color: #fff;
}

.control--checkbox .control__indicator:after {
    top: 50%;
    left: 50%;
    margin-top: -1px;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.control--checkbox input:disabled ~ .control__indicator:after {
    border-color: #7b7b7b;
}

.control--checkbox input:disabled:checked ~ .control__indicator {
    background-color: #7e0cf5;
    opacity: .2;
}

.LoginLayoutBody {
    font-family: Rubik, Helvetica, sans-serif !important;
    background-color: white;
}

.LoginContentWrapper {
    height: 100%;
    padding: 0 !important;
}

.LoginContainer {
    padding: 0;
    height: 90%;
    width: 97%;
    max-width: 99%;
    margin: 0 auto;
}

.LoginLeftBox {
    text-align: center;
    align-items: center;
    background-color: #EFF5FF;
    border-radius: 10px;
    height: 665px;
    padding-top: 50px;
}

html[dir="rtl"] .LoginLeftBox {
    text-align: center;
}

.LoginLeftLabelLarge {
    font-size: 45px;
    font-weight: 700;
    padding-right: 10px; /* Default for LTR */
}

html[dir="ltr"] .LoginLeftLabelLarge {
    padding-right: 10px;
}

html[dir="rtl"] .LoginLeftLabelLarge {
    padding-left: 10px;
    padding-right: 0;
}

.LoginLogoWrapper {
    padding-top: 12%;
    zoom: 0.9;
    width: 53%;
}

.LoginLogoImage {
    width: 250px;
    margin-top: 58px;
}

.LoginLogoImage2 {
    width: 175px;
    padding-bottom: 19px;
}

.margin-top-minus-30 {
    margin-top: 23px; /* Removed conflicting negative margin */
}

.LoginWelcomeText {
    font-size: 20px;
    font-weight: bold;
}

.LoginSubmitButton {
    background-color: #008CFF;
    width: 100%;
    font-size: 22px;
    border: none !important;
    margin-top: 23px;
    border-radius: 12px;
}

.LoginErrorAlert {
    margin-top: 22px;
}

.LoginTextAboveLogo {
    font-size: 21px;
    font-weight: bold !important;
    padding-bottom: 5px;
}

.LoginTaxLabel {
    font-size: 45px;
    font-weight: 700;
    color: #D300FF;
}

.LoginSafiLabel {
    font-size: 45px;
    font-weight: 700;
    color: #008CFF;
}

.LoginVectorImage {
    width: 120px;
}

.LoginSVGImage {
    width: 550px;
}

.LoginFormRow {
    height: 90%;
    margin-top: 2%;
}

.LoginSpacingAbove {
    padding-top: 20px;
    margin-top: 20px;
    padding-bottom: 20px;
}

.LoginFormControlImage {
    width: 250px;
    margin-top: 58px;
}


html[dir="rtl"] .text-left {
    text-align: left;
}

html[dir="ltr"] .text-left {
    text-align: right;
}

html[dir="rtl"] .form-check .form-check-input {
    float: right;
    margin-right: 0 !important;
    margin-left:0 !important;
}

/*html[dir="ltr"] .form-check .form-check-input {
    float: left;
    margin-left: 3em !important;
}
*/
.TextDecorationNone {
    text-decoration: none !important;
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .LoginFormRow {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
    }

    .contents {
        order: 1 !important;
        margin-bottom: 20px !important;
    }

    .LoginLeftBox {
        order: 2 !important;
    }

    .img-fluid {
        width: 350px !important;
        margin-bottom: 58px !important;
    }

    .col-md-6 {
        flex: 0 0 auto;
        margin-top: 30px !important;
        width: 100% !important;
        margin-right: 6%;
    }

    html[dir="rtl"] .col-md-6 {
        margin-right: 0;
        margin-left: 6%; /* Adjust for RTL */
    }

    .LoginContainer {
        padding-top: 0 !important;
    }
}

.NewHeaderChangeBtn {
    background-color: white;
    border: none;
    padding-bottom: 5px;
}
.form-check {
    display: flex !important;
    min-height: 1.5rem;
    padding-left: 1.5em;
    margin-bottom: .125rem;
}

@media (max-width: 600px) {
    .col-6 {
        width: 100% !important;
        flex: 0 0 100% !important;
    }
    .col-md-6 {
        width: 100% !important;
        flex: 0 0 100% !important;
    }
}

@media (min-width: 576px) and (max-width: 901px) {
    .col-md-6 {
        width: 100% !important;
        flex: 0 0 100% !important;
    }
}


@media (max-width: 1024px) and (orientation: landscape) {
    .col-md-6 {
        width: 100% !important;
        flex: 0 0 100% !important;
    }
}
@media (min-width: 768px) and (max-width: 901px) {
    .col-md-6 {
        margin-top: 30px !important;
        width: 100% !important;
        flex: 0 0 100% !important;
    }
}