@font-face {
    font-family: "IRANSans";
    src: url("/css/webfonts/IRANSans.eot") format("embedded-opentype"),
    url("/css/webfonts/IRANSans.ttf") format("truetype"),
    url("/css/webfonts/webfonts/IRANSans.woff") format("woff"),
    url("/css/webfonts/webfonts/IRANSans.svg") format("svg");
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: 'IRANSans', sans-serif;
    width: 100dvw;
    height: 100dvh;
}


.login-card {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    border-radius: .3rem;
    min-width: 300px;
}

.login-card form {
    width: 50%;
    min-width: 200px;
}

.login-half {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.login-card img {
    width: 30%;
    min-width: 100px;
    max-width: 300px;
}

.width-15-per {
    width: 15% !important;
}

.width-70-per {
    width: 70% !important;
}

.width-50-per {
    width: 50% !important;
}

.full-width {
    width: 100% !important;
}

.full-width-vw {
    width: 100vw;
}

.login-wrapper {
    direction: rtl;
    text-align: right;
    font-family: 'IRANSans', sans-serif;
    position: relative;
}

.background-blur {
    height: 100%;
    width: 100%;
    background-image: url("/image/login-poster.jpeg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    filter: blur(1rem);
    position: absolute;
    left: 0;
    top: 0;
    display: none;
}

.toast {
    font-size: 12px;
}

.full-height {
    height: 100%;
}

.full-height-vh {
    height: 100vh;
}

.cursor-default {
    cursor: default !important;
}

.login-image {
    height: 100%;
    width: 100%;
    background-image: url("/image/login-poster.jpeg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.login-image img {
    max-width: 100%;
    max-height: 100%;
}

#phoneNumber {
    border: 0;
    width: 100%;
    color: #495057;
}

#phoneNumber:focus {
    outline: none;
    border: none;
}

.phoneNumber-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    direction: ltr;
    color: #495057;
}

.ltr {
    direction: ltr !important;
}

#confirm-box {
    display: none;
}

.dir-ltr {
    direction: ltr;
}

.invalid-param {
    display: none;
}

@media (max-width: 800px) {
    .login-image-box {
        display: none !important;
    }
    .background-blur {
        background-image: url("/image/background.png");
    }

    .background-blur {
        display: block;
    }

    .login-card {
        box-shadow: 20px 15px 15px gray;
    }
}
