html, body, H1, h2, h3, h4, h5, h6, span, label, button, input, p, small, strong, table, th, td, div, textarea, select, option , div , section ,aside,footer {
    font-family: iranyekan;
    outline: none;
}
html, body {
    width: 100%;
    height: 100vh;
    margin: 0;
}
body {
    display: flex;
    justify-content: center;
    align-items: center;
}
.box-auth {
    border-top: 5px solid #6e4ff6;
    text-align: center;
    box-shadow: 0 0 5px #eeee;
    padding: 80px 20px;
    border-radius: 3px;
    min-width: 400px;
    position: relative;
}
.box-auth > i {
    font-size: 60px;
    color: #6e4ff6;
}
.box-auth > h4 {
    font-size: 24px;
    color: #666;
}
.box-auth input {
    padding:  10px 0px;
    width: 100%;
    text-align: center;
    border: 0;
    background: #f1f1f1;
    position: relative;
    font-size: 16px;

}
.box-auth .form-group {
    position: relative;
    margin-bottom: 15px;
}
.box-auth  .form-group i {
    position: absolute;
    right: 10px;
    font-size: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    color: #6e4ff6;
}
.box-auth .submit {
    position: relative;
}
.box-auth .submit > button {
    position: relative;
    display: block;
    width: 100%;
    font-size: 20px;
    border: navajowhite;
    background: #40c185;
    padding: 5px 0 9px;
    color: white;
    margin-top: 30px;
    cursor: pointer;
}
.box-auth .submit > button:hover{
    opacity: .8;
}
.box-auth .create_account {
    position: absolute;
    font-size: 14px;
    left: 0px;
    bottom: -25px;
    color: #6e4ff6;
}
.box-auth .forget {
    position: absolute;
    font-size: 12px;
    right: 0px;
    bottom: -20px;
    color: #6e4ff6;
}
.box-auth .create_account:hover , .forget:hover{
    opacity: .8;
}

.box-auth .underBox {
    position: absolute;
    bottom: -30px;
    right: 50%;
    transform: translateX(50%);
    list-style: none;
    font-size: 14px;
    text-decoration: none;
}
.box-auth .underBox a {
    text-decoration: navajowhite;
    color: #888;
}



/* Login */
.loading
{
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    align-content: stretch;
    background-color: rgba(255, 255, 255, 0.7);
    right: 0;
    top: 0;
    z-index: 9999999;
}
.lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}
.lds-ellipsis div {
    position: absolute;
    top: 33px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #6e4ff6;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}
@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}
@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(24px, 0);
    }
}


/* Alert */
.message .alert {
    padding: 10px 5px;
    display: block;
    direction: rtl;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.7;
}
.message.message .alert.alert-danger {
    background: #fff8f8;
    color: #e15858;
    border-top: 3px solid rgba(225, 88, 88, 0.5);
}
.message.message .alert.alert-warning {
    background: #fff9ee;
    color: #df9000;
    border-top: 3px solid rgba(223, 144, 0, 0.5);
}
.message.message .alert.alert-success {
    background: #ebfff6;
    color: #10bc71;
    border-top: 3px solid rgba(16, 188, 113, 0.5);
}
#inputCode {
    margin-top: 20px;
    letter-spacing: 5px;
    font-size: 20px;
}


@media only screen and (max-width: 450px) {
    .box-auth {
        min-width: 350px;
    }
}

@media only screen and (max-width: 375px) {
    .box-auth {
        min-width: 300px;
    }
}
