﻿/*CSS for progress bar*/
/*OB - OTBASY BANK*/
/* CSS NEED TO BE NAMED AS  OB-{{NAME OF CLASS OR ID}}-{{COLOR AND ETC.}} */
.ob-steps-numbers {
    position: relative;
    margin-bottom: 20px;
    margin-top: 20px;
}

.ob-progress-step {
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 2px;
    background: #D2D4D9;
    z-index: -1;
    margin-left: 58px;
    margin-right: 40px;
}

.ob-progress-success {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #008F91;
    z-index: -1;
}

.ob-progress-error {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #ED3A32;
    z-index: -1;
}

.ob-text-step {
    font-size: 14px;
    text-align: center;
}

    .ob-text-step.ob-active-text {
        color: #008F91;
    }


.ob-step-icon {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 110px;
}


.ob-step-number.error {
    color: #ED3A32;
}

.ob-step-number {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
    width: 30px;
    height: 30px;
    border: 2px solid #8A8C99;
    flex-shrink: 0;
    background: white;
    font-size: 13px;
}

    .ob-step-number.ob-active-number {
        border: 1px solid #008F91;
        color: #008F91;
    }

    .ob-step-number.ob-checked {
        background-image: url(/Images/Qamqor/checked.svg);
        border: 1px solid #008F91;
        background-color: #008F91;
        background-repeat: no-repeat;
        background-position-x: center;
        background-position-y: center;
        font-size: 0;
    }

    .ob-step-number.ob-waiting {
        background-image: url(/Images/Qamqor/clock.svg);
        border: 1px solid #FFC700;
        background-color: #FFC700;
        background-repeat: no-repeat;
        background-position-x: center;
        background-position-y: center;
        font-size: 0;
    }

    .ob-step-number.ob-error {
        background-image: url(/Images/Qamqor/cancel_white_icon.svg);
        border: 1px solid #ED3A32;
        background-color: #ED3A32;
        background-repeat: no-repeat;
        background-position-x: center;
        background-position-y: center;
        background-size: 20px;
        font-size: 0;
    }

    .ob-step-number.ob-viewed {
        color: white !important;
        background: #008F91;
    }
