





/* Apply RTL direction globally */
body {
    font-family: 'YekanBakhMedium', Arial, sans-serif;
    background-color: #f7f7f7;
    /*    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;*/
    direction: rtl;
    margin: 0;
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center; /* Centers vertically */
    height: 100vh; /* Full viewport height */
    word-spacing : -3px !important;
}

.container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    /*overflow: hidden;*/
    background-color: white;
    position: relative;
}


form {
    display: flex;
    flex-direction: column;
}

/* --------------------------- */


/* Container for the steps and the vertical line */
.steps-container {
    display: flex;
    align-items: flex-start;
    position: relative;
    margin-top: 40px;
}

/* Steps list */
.steps {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 1;
    padding-right: 40px;
    display: flex;
    flex-direction: column;
    gap: 0;
    /* Spacing between the steps */
}

    /* Style for individual steps */
    .steps li {
        display: flex;
        align-items: center;
        position: relative;
        padding-bottom: 27px;
        transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    }

        /* Icons aligned next to the text */
        .steps li i {
            font-size: 22px;
            margin-left: 10px;
            color: #b9bfc8;
            /* Default color */
            z-index: 2;
            /* Ensure icons are above the line */
            background-color: #f7f9fc;
            /* Create a background to hide the line */
            border-radius: 50%;
            /* Make it a perfect circle */
            padding: 0px;
            transition: color 0.3s ease, transform 0.3s ease;
        }

        /* Passed step icons and text are green */
        .steps li.passed i {
            color: #10B669;
            transform: scale(1.1); /* Slight scale effect */
        }

        .steps li.passed span {
            color: #10B669;
            /* Passed text color */
        }

        /* Current step icons are blue, and text is bold */
        .steps li.current i {
            color: #0078D4;
            transform: scale(1.2); /* Slightly larger scale effect for the current step */
        }

        .steps li.current span {
            font-family: 'YekanBakhHeavy', Arial, sans-serif;
            color: #0078D4;
        }

        /* Upcoming step icons and text */
        .steps li span {
            font-size: 16px;
            font-family: 'YekanBakhMedium', Arial, sans-serif;
            color: #b9bfc8;
            /* Upcoming text color */
        }

/* Vertical line styling */
.vertical-line {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 2px;
    height: 100%;
    background-color: #b9bfc8;
    /* Default color */
    z-index: 0;
}

/* Change the line to green for passed steps */
.steps li.passed .vertical-line {
    background-color: #10B669;
    /* Green for passed steps */
}

/* Change the line to green up until the current step */
.steps li.current .vertical-line {
    background-color: #0078D4;
    /* Green for current step */
}

/* Remove the line after the last step */
.steps li:last-child .vertical-line {
    display: none;
    /* No line after the last step */
}



/* -------------- */






.right-panel {
    flex: 1;
    padding: 40px;
    background-color: #f7f9fc;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Keep content starting from the top */
    text-align: right;
    direction: rtl;
    position: relative;
}


.qr-code-container {
    margin-top: auto;
    /* This ensures QR code stays at the bottom */
    text-align: center;
    /* Center the QR code horizontally */
    margin-bottom: 20px;
    /* Space between the QR code and footer */
}

    .qr-code-container img {
        width: 120px;
        /* Adjust the size of the QR code */
        height: auto;
        /* Maintain aspect ratio */
    }

.footer {
    text-align: center;
    font-size: 14px;
    color: #888;
}


.right-panel .logo {
    font-family: 'YekanBakhHeavy', Arial, sans-serif;
    /* Apply Heavy font to the heading */
    font-size: 20px;
}

.logo img {
    width: 80px;
    height: auto;
}

.left-panel-logo {
    display: none;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    margin-top: 12px;
}

    .left-panel-logo img {
        width: 80px;
        height: auto;
        max-width: 100%;
        position: relative;
        top: 5px;
        /* To ensure responsiveness */
    }

/* Responsive Design */
@media (max-width: 768px) {
    .left-panel-logo {
        display: flex;
    }
}

.left-panel {
    flex: 2;
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: right;
    /* Align text inside the right panel to the right */
    direction: rtl;
    /* RTL content inside the right panel */
}



.totp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border: 1px solid #dcdcdc;
    padding: 10px 0px;
    font-size: 16px;
    width: 100%;
    margin-bottom: 20px;
    cursor: pointer;
    transition: 0.2s all;
    font-family: 'YekanBakhMedium', Arial, sans-serif;
    text-decoration: none;
    color: #000 !important;
}

    /* Hover effect for TOTP login button */
    .totp-btn:hover {
        background-color: #f0f0f0;
        /* Gray background on hover */
    }

    .totp-btn i {
        margin-left: 10px;
    }

.or {
    display: block;
    text-align: center;
    margin: 20px 0;
    font-size: 14px;
    color: #888;
}






/* Step Icons */
.step-icons {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}



.step {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin: 0 5px;
    background-color: #b9bfc8;
    border-radius: 100%;
}

    .step.current {
        background-color: #0078D4;
        display: inline-block;
        width: 25px;
        height: 7px;
        margin: 0 5px;
        border-radius: 10px;
    }

    .step.passed {
        background-color: #10B669;
    }

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        flex-direction: column-reverse;
        margin: 20px;
    }


    .right-panel {
        display: none;
        /* Hide side menu on mobile */
    }

    .left-panel {
        padding: 20px;
    }

    .step-icons {
        display: flex;
        /* Show step icons on mobile */
    }
}







.footer span {
    font-size: 15px;
}


/*css for go back btn*/
.go-back-button {
    position: absolute;
    top: 19px;
    left: 33px;
    color: #000;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
    z-index : 1000;
}

    .go-back-button:hover {
        color: #0078D4 !important;
    }

    .go-back-button .go-back-text {
        font-size: 15px;
        margin-top: 0px;
        font-family: 'YekanBakhHeavy';
    }

    .go-back-button .go-back-icon {
        font-size: 20px;
        margin-right: 5px;
        margin-top: 5px;
    }
/*css for go back btn*/

/*verifyOtp*/
.totp-input {
    width: 50px;
    height: 50px;
    font-size: 2rem;
    margin: 5px 6px;
    border: 2px dashed #dcdcdc;
    border-radius: 5px;
    direction: ltr;
    text-align: center;
    color: #000000;
    transition: border-color 0.2s ease;
}

    .totp-input:focus {
        border-color: #707d8f;
    }

    .totp-input.invalid {
        border-color: red;
    }

.totp-container {
    display: flex;
    justify-content: center;
    direction: ltr; /* Ensures input is left-to-right */
    margin-bottom: 10px;
}

#resend-btn-container {
    display: none;
    overflow: auto;
}

.resend-btn {
    display: block;
    margin: 11px 0;
    background-color: transparent;
    color: #1563ff;
    border: none;
    border-radius: 3px;
    padding: 4px;
    width: 34%;
    border: 1px solid #1563ff;
    transition: 0.3s all;
    font-family: 'YekanBakhHeavy';
    font-size: 14px;
    cursor: pointer;
    float: left;
}

    .resend-btn i {
        margin-left: 3px;
    }

    .resend-btn:hover {
        background-color: #1563ff;
        color: #fff;
    }

.countdown {
    text-align: right;
    font-size: 14px;
    margin-top: 17px;
    font-variant-numeric: tabular-nums; /* Ensure consistent width for numbers */
}

#remaining-time {
    margin: 0px 3px !important;
    font-family: 'YekanBakhHeavy';
    background-color: #f7f9fc;
    padding: 0 6px;
    border-radius: 4px;
}

.progress-bar-container-outer {
    margin-top: 5px;
}

#progress-bar-container-inner {
    display: none;
    width: 100%;
    background-color: #e0e0e0;
    height: 2px;
    margin-bottom: 15px;
    border-radius: 20px;
}

#progress-bar {
    width: 100%;
    height: 100%;
    background-color: #0078D4;
    transition: width 1s linear;
    border-radius: 20px;
    float: right;
}
/*verifyOtp*/

.register-href-btn i {
    margin-left:5px;
    font-size:13px;
}

.otp-href-btn i {
    margin-left: 5px;
    font-size: 13px;
}
.otp-href-btn {
    margin-top: 5px;
}


.outline-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border: 1px solid #dcdcdc;
    padding: 10px 0px;
    font-size: 16px;
    width: 100%;
    margin-top: 5px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: 0.2s all;
    font-family: 'YekanBakhMedium', Arial, sans-serif;
    text-decoration: none;
    color: #000 !important;
    border-radius : 4px;
}

    /* Hover effect for TOTP login button */
    .outline-btn:hover {
        background-color: #f0f0f0;
        /* Gray background on hover */
    }

    .outline-btn i {
        margin-left: 10px;
    }