/**
 * Checkout Steps Progress Indicator Styles
 * 
 * Contains ONLY styles for the checkout steps progress indicator component.
 * Used across cart, checkout, and order pages to show current step.
 */

/* ==========================================================================
   CHECKOUT STEPS PROGRESS INDICATOR
   ========================================================================== */



.mfn-checkout-steps {
    list-style: none;
    margin: 0 0 40px !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mfn-checkout-steps li {
    display: flex;
    align-items: center;
    font-size: 24px;
    line-height: 34px;
    color: #414042;
    text-transform: uppercase;
    padding-right: 40px;
    margin-right: 40px;
    position: relative;
}

.mfn-checkout-steps li:last-child {
    padding-right: 0;
    margin-right: 0;
}

.mfn-checkout-steps li:not(:last-child)::after {
    content: "";
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23414042'%3E%3Cpath d='M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    opacity: 0.5;
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
}

.mfn-checkout-steps li .mfn-step-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    font-size: 24px;
    font-weight: 600;
    background: #FFFFFF;
    border: 3px solid #008CC1;
    border-radius: 100%;
    margin-right: 15px;
    color: #414042;
    text-indent: -100000px;
}

.mfn-checkout-steps li.active .mfn-step-number {
    text-indent: 0;
    background: #008CC1;
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0px 10px 15px #00000029;
}

.mfn-checkout-steps li.completed .mfn-step-number {
    background: #008CC1;
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0px 10px 15px #00000029;
    text-indent: -100000px;
    position: relative;
}

.mfn-checkout-steps li.completed .mfn-step-number::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    text-indent: 0;
}



/* ==========================================================================
   RESPONSIVE STYLES FOR CHECKOUT STEPS
   ========================================================================== */

@media screen and (min-width: 769px) {
    .mfn-checkout-steps {
        margin-right: -70px !important;
    }
    .mfn-checkout-steps li:first-child {
        margin-right: 80px;
    }
}

@media screen and (min-width: 1920px) {
    .mfn-checkout-steps {
        margin-right: -110px !important;
    }
}

@media screen and (max-width: 768px) {
    .mfn-checkout-steps {
        align-items: center;
        gap: 20px;
    }
    
    .mfn-checkout-steps li {
        flex-direction: column;
        font-size: 16px;
        line-height: 20px;
        text-align: center;
        margin-right: 0;
        padding-right: 0;
    }
    
    .mfn-checkout-steps li:not(:last-child)::after {
        display: none;
    }
    
    .mfn-checkout-steps li .mfn-step-number {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 600px) {
    .mfn-checkout-steps li .mfn-step-number {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .mfn-checkout-steps li.completed .mfn-step-number::after {
        width: 20px;
        height: 20px;
    }
} 