﻿@font-face {
    font-family: yekan;
    font-style: normal;
    font-weight: bold;
    src: url('../fonts/IranYekan/eot/iranyekanwebboldfanum.eot');
    src: url('../fonts/IranYekan/eot/iranyekanwebboldfanum.eot?#iefix') format('embedded-opentype'), /* IE6-8 */
    url('../fonts/IranYekan/woff/iranyekanwebboldfanum.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../fonts/IranYekan/ttf/iranyekanwebboldfanum.ttf') format('truetype');
}

@font-face {
    font-family: yekan;
    font-style: normal;
    font-weight: 100;
    src: url('../fonts/IranYekan/eot/iranyekanwebthinfanum.eot');
    src: url('../fonts/IranYekan/eot/iranyekanwebthinfanum.eot?#iefix') format('embedded-opentype'), /* IE6-8 */
    url('../fonts/IranYekan/woff/iranyekanwebthinfanum.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../fonts/IranYekan/ttf/iranyekanwebthinfanum.ttf') format('truetype');
}

@font-face {
    font-family: yekan;
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/IranYekan/eot/iranyekanweblightfanum.eot');
    src: url('../fonts/IranYekan/eot/iranyekanweblightfanum.eot?#iefix') format('embedded-opentype'), /* IE6-8 */
    url('../fonts/IranYekan/woff/iranyekanweblightfanum.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../fonts/IranYekan/ttf/iranyekanweblightfanum.ttf') format('truetype');
}

@font-face {
    font-family: yekan;
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/IranYekan/eot/iranyekanwebregularfanum.eot');
    src: url('../fonts/IranYekan/eot/iranyekanwebregularfanum.eot?#iefix') format('embedded-opentype'), /* IE6-8 */
    url('../fonts/IranYekan/woff/iranyekanwebregularfanum.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../fonts/IranYekan/ttf/iranyekanwebregularfanum.ttf') format('truetype');
}

@font-face {
    font-family: yekan;
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/IranYekan/eot/iranyekanwebmediumfanum.eot');
    src: url('../fonts/IranYekan/eot/iranyekanwebmediumfanum.eot?#iefix') format('embedded-opentype'), /* IE6-8 */
    url('../fonts/IranYekan/woff/iranyekanwebmediumfanum.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../fonts/IranYekan/ttf/iranyekanwebmediumfanum.ttf') format('truetype');
}

@font-face {
    font-family: yekan;
    font-style: normal;
    font-weight: 800;
    src: url('../fonts/IranYekan/eot/iranyekanwebextraboldfanum.eot');
    src: url('../fonts/IranYekan/eot/iranyekanwebextraboldfanum.eot?#iefix') format('embedded-opentype'), /* IE6-8 */
    url('../fonts/IranYekan/woff/iranyekanwebextraboldfanum.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../fonts/IranYekan/ttf/iranyekanwebextraboldfanum.ttf') format('truetype');
}

@font-face {
    font-family: yekan;
    font-style: normal;
    font-weight: 850;
    src: url('../fonts/IranYekan/eot/iranyekanwebblackfanum.eot');
    src: url('../fonts/IranYekan/eot/iranyekanwebblackfanum.eot?#iefix') format('embedded-opentype'), /* IE6-8 */
    url('../fonts/IranYekan/woff/iranyekanwebblackfanum.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../fonts/IranYekan/ttf/iranyekanwebblackfanum.ttf') format('truetype');
}

@font-face {
    font-family: yekan;
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/IranYekan/eot/iranyekanwebextrablackfanum.eot');
    src: url('../fonts/IranYekan/eot/iranyekanwebextrablackfanum.eot?#iefix') format('embedded-opentype'), /* IE6-8 */
    url('../fonts/IranYekan/woff/iranyekanwebextrablackfanum.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../fonts/IranYekan/ttf/iranyekanwebextrablackfanum.ttf') format('truetype');
}

.required {
    color: red !important;
    float: right;
    font-size: 13px;
    direction: rtl;
    margin-bottom: 10px;
}

* {
    font-family: yekan;
    box-sizing: border-box;
}

body {
    font-family: yekan;
    background-color: #f2f2f2;
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-container {
    width: 100%;
    max-width: 400px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 30px 25px;
    text-align: center;
}

.logo {
    margin-bottom: 20px;
}

    .logo img {
        max-width: 140px;
        height: auto;
    }

.top-txt {
    text-align: right;
}

    .top-txt h2 {
        font-size: 20px;
        padding-right: 10px;
        margin-bottom: 10px;
        position: relative;
    }

        .top-txt h2::before {
            content: "";
            position: absolute;
            top: 0;
            right: 0;
            width: 3px;
            height: 100%;
            background-color: #92278f;
            border-radius: 1.5px;
        }

    .top-txt p {
        font-size: 14px;
        color: #555;
        margin-bottom: 20px;
    }

.otp-boxes {
    display: flex;
    justify-content: space-between;
    direction: ltr;
    margin-bottom: 20px;
}

    .otp-boxes input {
        width: 45px;
        height: 45px;
        font-size: 20px;
        text-align: center;
        border: 1px solid #ccc;
        border-radius: 6px;
        margin: 0 5px;
    }

input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    font-size: 14px;
    color: #666;
    margin-bottom: 6px;
    display: block;
    text-align: right;
}

input:focus {
    border-color: #92278f;
    outline: none;
}

button {
    width: 100%;
    padding: 12px;
    background-color: #92278f;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: all .5s;
}

    button:hover {
        background-color: #641962;
    }

.footer-text {
    margin-top: 20px;
    font-size: 12px;
    color: #888;
}

    .footer-text .footer-link {
        color: #92278f;
        text-decoration: none;
    }

        .footer-text .footer-link:hover {
            color: #641962;
        }

@media (max-width: 480px) {
    .login-container {
        margin: 20px;
        padding: 20px;
    }

    .otp-boxes input {
        width: 38px;
        height: 45px;
        font-size: 18px;
    }
}

#submitBtn {
    position: relative;
    min-width: 100px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background-color 0.3s ease;
}

    #submitBtn .text,
    #submitBtn .loader {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    #submitBtn.disabled,
    #submitBtn:disabled {
        background-color: #bbb;
        cursor: not-allowed;
        opacity: 0.7;
    }

.loader {
    display: flex;
    gap: 4px;
    align-items: center;
    justify-content: center;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: white;
    animation: blink 1s infinite alternate;
}

    .dot:nth-child(2) {
        animation-delay: 0.2s;
    }

    .dot:nth-child(3) {
        animation-delay: 0.4s;
    }

@keyframes blink {
    from {
        opacity: 0.2;
    }

    to {
        opacity: 1;
    }
}