@font-face {
    font-family: Vazir;
    src: url('Vazir.ttf');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Vazir;
    outline: none;
}

html ,
body {
    direction: rtl;
    font-size: 16px;
    color: #333;
    text-align: center; 
}

.ltr {
    direction: ltr;
    text-align: left;
}

body {
    background-color: #fff;
}

form {
    display: block;
    width: 400px;
    margin: 0 auto;
    padding: 1rem;
}

input {
    display: block;
    border: 2px solid #eee;
    width: 100%;
    border-radius: 3rem;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    transition: 0.5s;
    margin-bottom: 0.5rem;
}

@media screen and (max-width: 410px) {
    form {
        width: 100%;
    }
}

form input:focus {
    border-color: #035E9E;
}

form button {
    display: block;
    border: none;
    width: 100%;
    border-radius: 3rem;
    font-size: 0.9rem;
    background-color: #035E9E;
    color: #fff;
    padding: 0.5rem 1rem;
    cursor: pointer;
    margin-top: 1rem;
    transition: 0.5s;
}

form button:hover {
    background-color: #035E9E;
}

.footer {
    font-size: 10px; 
    margin-top: 1rem; 
    color: #666;
}

/* Mobile form */

form .image {
    width: 100%;
    border-radius: 1rem;
    margin-bottom: 1rem;
}

input[type='number'] ,
input[type='password'] {
    direction: ltr;
    text-align: left;
}

/* Code form */

.note {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 900;
    margin-bottom: 2rem;
}

.two-side {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    margin-bottom: 2rem;
}

a {
    color: #4c4cfe;
    text-decoration: none;
}

input::-webkit-outer-spin-button , 
input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

input[type="number"] {
    appearance: textfield !important;
    -moz-appearance: textfield !important;
}

.group {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-around;
    align-items: center;
}

.group input {
    width: 60px;
    text-align: center;
    padding: 0.5rem;
    border: 3px solid #bbb;
    border-radius: 0.5rem;
    font-size: 1.5rem;
}