﻿@font-face {
    font-family: Vazir;
    font-display: swap;
    src: url('../fonts/Vazir.eot');
    src: url('../fonts/Vazir.eot?#iefix') format('embedded-opentype'), url('../fonts/Vazir.woff') format('woff'), url('../fonts/Vazir.ttf') format('truetype');
    font-weight: normal;
}

@font-face {
    font-family: Vazir;
    font-display: swap;
    src: url('../fonts/Vazir-Bold.eot');
    src: url('../fonts/Vazir-Bold.eot?#iefix') format('embedded-opentype'), url('../fonts/Vazir-Bold.woff') format('woff'), url('../fonts/Vazir-Bold.ttf') format('truetype');
    font-weight: bold;
}

@font-face {
    font-family: Vazir;
    font-display: swap;
    src: url('../fonts/Vazir-Light.eot');
    src: url('../fonts/Vazir-Light.eot?#iefix') format('embedded-opentype'), url('../fonts/Vazir-Light.woff') format('woff'), url('../fonts/Vazir-Light.ttf') format('truetype');
    font-weight: 300;
}

body {
    background: #eaeded;
    color: #3d464d;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    overflow-y: scroll;
    text-align: right;
    direction: rtl;
    font-family: Vazir;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

input, textarea, button {
    font-family: inherit;
}

.login-box {
    border-radius: 8px;
    border: 1px solid #ededed;
    padding: 4em;
    width: 380px;
    max-width: 100%;
    /* position: absolute; */
    /* top: 50%; */
    /* right: 50%; */
    /* -webkit-transform: translate(50%,-55%); */
    /* transform: translate(50%,-55%); */
    background: #FFF;
    margin: 0 auto;
    text-align: center;
}

.logo {
    text-align: center;
}

.form-control {
    display: block;
    width: 100%;
    height: calc(2.25 rem + 2 px );
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    box-sizing: border-box;
}

p#errorMessage {
    color: #b2001a;
    font-size: 12px;
    margin-top: 5px;
}

h2 {
    color: #232933;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 20px;
    font-size: 1.429rem;
    line-height: 50px;
}

.login-message {
    font-size: 11px;
    line-height: 21px;
    color: #62666d;
    margin-bottom: 16px;
    padding: 0 0 0 3em;
}

.login-btn {
    display: block;
    width: 100%;
    margin-bottom: 16px;
    text-align: center;
    cursor: pointer;
    padding: 13px 16px;
    direction: rtl;
    font-size: 13px;
    line-height: 1.571;
    font-weight: 700;
    background-color: var(--dashboard-color-1);
    color: #fff;
    border: 1px solid var(--dashboard-color-1);
    border-radius: 8px;
}

.dashboard__row {
    margin: 0 1em 1em;
}

#paydarLoginForm {
    text-align: center;
}

.login-box img {
    margin: 0 auto;
}

@media (max-width: 575px) {
    .login-message {
        padding: 0;
    }

    h2 {
        font-size: 1.2rem;
    }

    .login-box {
        padding: 2em;
        margin: 1em auto;
        width: calc(100% - 4em);
    }
}
