﻿
@font-face {
    font-family: 'IRANSans';
    src: url('../../font/eot/IRANSansWeb(FaNum).eot') format('embedded-opentype');
    src: url('../../font/ttf/IRANSansWeb(FaNum).ttf') format('truetype');
    src: url('../../font/woff/IRANSansWeb(FaNum).woff') format('woff');
}


body {
    font-family: IRANSans;
}

.login-box .form-control:focus {
    outline: 0px !important;
    -webkit-appearance: none;
    box-shadow: none !important;
}

.login-box {
    width: 100%;
    padding: 30px 0;
}

    .login-box .login_title {
        margin: 0 0 30px;
        padding: 0;
        color: #000;
        text-align: center;
        font-size: 16px;
        text-align: center;
    }

    .login-box .user-box {
        position: relative;
    }

        .login-box .user-box input {
            width: 100%;
            padding: 10px 0;
            font-size: 16px;
            color: #808080;
            margin-bottom: 30px;
            border: none;
            border-bottom: 1px solid #808080;
            outline: none;
            background: transparent;
        }

        .login-box .user-box label {
            position: absolute;
            top: 0;
            right: 0;
            padding: 10px 0;
            font-size: 16px;
            color: #808080;
            pointer-events: none;
            transition: .5s;
        }

        .login-box .user-box input:focus ~ label,
        .login-box .user-box input:valid ~ label {
            top: -30px;
            left: 0;
            color: #b1afaf;
            font-size: 12px;
        }

    .login-box form a {
        position: relative;
        display: inline-block;
        padding: 10px 20px;
        color: #03e9f4;
        font-size: 16px;
        text-decoration: none;
        text-transform: uppercase;
        overflow: hidden;
        transition: .5s;
        margin-top: 40px;
        letter-spacing: 4px;
    }

    .login-box a:hover {
        color: #808080;
        border-radius: 5px;
    }

    .login-box a span {
        position: absolute;
        display: block;
    }

        .login-box a span:nth-child(1) {
            top: 0;
            right: -100%;
            width: 100%;
            height: 2px;
            background: linear-gradient(90deg, transparent, #03e9f4);
            animation: btn-anim1 1s linear infinite;
        }

@keyframes btn-anim1 {
    0% {
        left: -100%;
    }

    50%,100% {
        left: 100%;
    }
}

.login-box a span:nth-child(2) {
    top: -100%;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, #03e9f4);
    animation: btn-anim2 1s linear infinite;
    animation-delay: .25s;
}

@keyframes btn-anim2 {
    0% {
        top: -100%;
    }

    50%,100% {
        top: 100%;
    }
}

.login-box a span:nth-child(3) {
    bottom: 0;
    right: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(270deg, transparent, #03e9f4);
    animation: btn-anim3 1s linear infinite;
    animation-delay: .5s;
}

@keyframes btn-anim3 {
    0% {
        right: -100%;
    }

    50%,100% {
        right: 100%;
    }
}

.login-box a span:nth-child(4) {
    bottom: -100%;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(360deg, transparent, #03e9f4);
    animation: btn-anim4 1s linear infinite;
    animation-delay: .75s;
}

@keyframes btn-anim4 {
    0% {
        bottom: -100%;
    }

    50%,100% {
        bottom: 100%;
    }
}


.vrification_code .form-control {
    display: block;
    height: 50px;
    margin: 3%;
    text-align: center;
    font-size: 1.25rem;
    min-width: 0;
    outline: none !important;
}


/*----------------------*/
.base-timer {
    position: relative;
    width: 40px;
    height: 40px;
    margin: auto;
}

.base-timer__svg {
    transform: scaleX(-1);
}

.base-timer__circle {
    fill: none;
    stroke: none;
}

.base-timer__path-elapsed {
    stroke-width: 6px;
    stroke: #efefef;
}

.base-timer__path-remaining {
    stroke-width: 4px;
    stroke-linecap: round;
    transform: rotate(90deg);
    transform-origin: center;
    transition: 1s linear all;
    fill-rule: nonzero;
    stroke: currentColor;
}

    .base-timer__path-remaining.green {
        color: #39b37d;
    }

    .base-timer__path-remaining.orange {
        color: orange;
    }

    .base-timer__path-remaining.red {
        color: red;
    }

.base-timer__label {
    position: absolute;
    top: 10px;
    left: 7.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.spinner-border {
    width: 1rem !important;
    height: 1rem !important;
}

.flex-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
    direction: ltr;
}


.passcode-area {
    margin-top: 30px;
    text-align: center;
}

    .passcode-area > input {
        background-color: #fff;
        border: 2px solid #d6d6d6;
        border-radius: 4px;
        padding: 0;
        margin: 25px 6px 0;
        width: 65px;
        height: 65px;
        text-align: center;
        font-size: 24px;
        line-height: 1.29;
        text-transform: uppercase;
        background-clip: padding-box;
    }


@media only screen and (max-width: 450px) {
    .passcode-area > input:nth-child(3) {
        margin-right: 6px;
    }

    .passcode-area > input {
        width: 60px;
        height: 60px;
    }

    .top-text {
        font-size: 13px;
    }
    .vrification_code .form-control{
        margin:0;
    }
}

.passcode-area > input:focus {
    -webkit-appearance: none;
    border: 2px solid skyblue;
    outline: 0;
    box-shadow: 0px 0px 3px rgba(131,192,253,0.5);
}

.form-control.is-invalid, .was-validated .form-control:invalid {
    background-image: none !important;
    padding-right: 0 !important;
}

.form-control.is-valid, .was-validated .form-control:valid {
    background-image: none !important;
    padding-right: 0 !important;
}


.form-control.is-invalid, .was-validated .form-control:invalid{
    border-color:none !important;
    box-shadow:none !important;
}
.invalid-feedback{
    margin:4%;
}
.bi-asterisk{
    color:#e60101;
    font-size:10px;
}