/* ---------------------------------------------------------------- */
/* 01.Track-Order Section                      
/* ---------------------------------------------------------------- */

.track-section{
    position: relative;
    margin: 0 0 20px;
}

.track-section .track-container-wrapper{
    max-width: 900px;
    margin: 0 auto;
    min-height: 40vh;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.track-section .track-container-wrapper .track-content-heading h1{
    margin-top: 15px;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
}

.track-section .track-container-wrapper .track-content-heading p{
    margin-top: 20px;
    font-size: 16px;
    color: var(--dark-gray);
    max-width: 650px;
    text-align: center;
}

.track-section .track-container-wrapper .track-content-form{
    margin-top: 30px;
}

.track-section .track-container-wrapper .track-content-form form input{
    width: 100%;
    margin-top: 20px;
    padding: 14px 24px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    outline: none;
    transition: all 0.5s ease;
}

.track-section .track-container-wrapper .track-content-form form input:focus{
    border: 1px solid var(--theme-color);
    outline: 1px solid var(--theme-color);
}

.track-section .track-container-wrapper .track-content-form form input[type="submit"]{
    color: #fff;
    background: #CC1216;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.5s ease;
}

.track-section .track-container-wrapper .track-content-form form input[type="submit"]:hover{
    background: #000;
}

.step-trackbar-wrapper{
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid var(--gray);
    background: var(--white);
    border-radius: 6px;
    /* display: none; */
}

.step-trackbar-wrapper p{
    font-size: 18px;
    font-weight: var(--weight-400);
}

.step-trackbar-wrapper .order-id{
    display: inline-block;
    font-size: 16px;
    margin-top: 10px;
}

.step-trackbar-wrapper .step-progress-content{
    margin-top: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.step-trackbar-wrapper .step-progress-content .step-progress{
    text-align: center !important;
    flex-basis: 18%;
    max-width: 18%;
}

.step-trackbar-wrapper .step-progress-content .step-progress.active .step-icon{
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    border-radius: 50%;
    color: var(--white);
    background: var(--theme-color);
    border: 1px solid var(--theme-color);
    margin: auto;
    z-index: 1;
}

.step-trackbar-wrapper .step-progress-content .step-progress{
    position: relative;
    align-self: normal;
}

.step-trackbar-wrapper .step-progress-content .step-progress.active::before{
    content: "";
    position: absolute;
    top: 30px;
    left: 65%;
    width: 80%;
    height: 1px;
    background: var(--theme-color);
}

.step-trackbar-wrapper .step-progress-content .step-progress.active::after{
    content: "";
    position: absolute;
    top: 25px;
    left: 100%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--theme-color);
    animation: zoomEffect 2s ease-out infinite;
}
.step-trackbar-wrapper .step-progress-content .step-progress.notafter::after{
    display: none;
}

@keyframes zoomEffect {
    0%{
        transform: scale(1);
    }
    50%{
        transform: scale(1.2);
    }
    100%{
        transform: scale(1);
    }
}

.step-trackbar-wrapper .step-progress-content .step-progress::before{
    content: "";
    position: absolute;
    top: 30px;
    left: 65%;
    width: 80%;
    height: 1px;
    background: var(--dark-gray);
}

.step-trackbar-wrapper .step-progress-content .step-progress:last-child::before{
    width: 0;
}

.step-trackbar-wrapper .step-progress-content .step-progress .step-icon{
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    border-radius: 50%;
    color: var(--black);
    background: var(--gray);
    border: 1px solid var(--gray);
    margin: auto;
    position: relative;
}

.step-trackbar-wrapper .step-progress-content .step-progress .step-text{
    margin-top: 10px;
}

.step-trackbar-wrapper .step-progress-content .step-progress .step-text .date{
    color: var(--dark-gray);
    margin-top: 6px;
    font-size: 14px;
}

.step-trackbar-wrapper .step-progress-content .step-dot{
    position: absolute;
    top: 0;
    left: 50%;
    width: 8px;
    height: 8px;
    background: var(--theme-color);
}
.m-step-trackbar-wrapper{
    display: none;
}

/* --------------------------------------------------------------------------------- */
/* ------------------------- Track Section Responsive ------------------------- */
/* --------------------------------------------------------------------------------- */

@media only screen and (max-width: 1700px){
    .step-trackbar-wrapper{
        max-width: 1400px;
    }
}

@media only screen and (min-width: 1500px) and (max-width: 1699px){
    .step-trackbar-wrapper{
        max-width: 1200px;
    }
}
@media only screen and (min-width: 1400px) and (max-width: 1499px){
    .step-trackbar-wrapper{
        max-width: 1100px;
    }
}

/* ---- Min-Widht: 1200px To Max-Width: 1399px ---- */
@media only screen and (min-width: 1200px) and (max-width: 1399px){

    .step-trackbar-wrapper{
        max-width: 890px;
    }
}
/* ---- Min-Widht: 992px To Max-Width: 1199px ---- */
@media only screen and (min-width: 992px) and (max-width: 1199px){

    .track-section .track-container-wrapper{
        max-width: 720px;
    }
    .step-trackbar-wrapper{
        max-width: 738px;
    }
    .step-trackbar-wrapper p{
        font-size: 16px;
    }
    .step-trackbar-wrapper .step-progress-content .step-progress .step-text .date{
        font-size: 12px;
    }
}
/* ---- Max-Width: 991px ---- */
@media only screen and (max-width: 991px){
    .track-section .track-container-wrapper{
        margin: 0 4%;
    }
    .step-trackbar-wrapper{
        margin: 0 4%;
    }
    .breadcrumb{
        border-top: 1px solid var(--gray);
    }
}

/* ---- Min-Widht: 768px To Max-Width: 991px ---- */
@media only screen and (min-width: 768px) and (max-width: 991px){
    .track-section .track-container-wrapper .track-content-heading h1 {
        font-size: 22px;
    }
    .track-section .track-container-wrapper .track-content-form {
        margin-top: 20px;
    }
    .step-trackbar-wrapper p {
        font-size: 16px;
    }
    .step-trackbar-wrapper .order-id {
        font-size: 14px;
    }
    .step-trackbar-wrapper .step-progress-content .step-progress.active .step-icon{
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    .step-trackbar-wrapper .step-progress-content .step-progress .step-icon{
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    .step-trackbar-wrapper p{
        font-size: 14px;
    }
    .step-trackbar-wrapper .step-progress-content .step-progress .step-text .date{
        font-size: 11px;
    }
    .step-trackbar-wrapper .step-progress-content .step-progress.active::before{
        top: 25px;
    }
    .step-trackbar-wrapper .step-progress-content .step-progress.active::after{
        top: 21px;
    }
    .step-trackbar-wrapper .step-progress-content .step-progress::before{
        top: 25px;
    }
}

/* ---- Max-Width: 767px ---- */
@media only screen and (max-width: 767px){
    .breadcrumb ul li {
        display: inline-block;
        margin-right: 10px;
    }
    .step-trackbar-wrapper{
        display: none;
    }
    .m-step-trackbar-wrapper {
        display: block;
        padding: 20px;
        border: 1px solid var(--gray);
        border-radius: 6px;
        background: var(--white);
        margin: 20px 4%;
    }
    .m-step-trackbar-wrapper p{
        font-size: 16px;
        margin-bottom: 10px;
    }
    .m-step-trackbar-wrapper .order-id{
        font-size: 14px;
    }
    .m-step-trackbar-wrapper .m-step-trackbar-content {
        margin-top: 50px;
    }
    .m-step-trackbar-wrapper .m-step-trackbar-content .m-step-progress{
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 100px;
    }
    .m-step-trackbar-wrapper .m-step-trackbar-content .m-step-progress:first-child{
        margin-top: 0;
    }
    .m-step-trackbar-wrapper .m-step-trackbar-content .m-step-progress.active .step-icon{
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        color: var(--white);
        border-radius: 50%;
        border: 1px solid var(--theme-color);
        background: var(--theme-color);
        position: relative;
    }
    .m-step-trackbar-wrapper .m-step-trackbar-content .m-step-progress.active .step-icon::before{
        content: "";
        position: absolute;
        top: 50px;
        left: 50%;
        transform: translateX(50%);
        width: 1px;
        height: 90px;
        background: var(--theme-color);
    }
    .m-step-trackbar-wrapper .m-step-trackbar-content .m-step-progress.active .step-icon::after{
        content: "";
        position: absolute;
        top: 90px;
        left: 15.8px;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: var(--theme-color);
        animation: zoomEffect 2s ease-out infinite;
    }
    .m-step-trackbar-wrapper .notafter::after{
        display: none;
    }
    .m-step-trackbar-wrapper .m-step-trackbar-content .m-step-progress .step-icon{
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        color: var(--black);
        border-radius: 50%;
        border: 1px solid var(--gray);
        background: var(--gray);
        position: relative;
    }
    .m-step-trackbar-wrapper .m-step-trackbar-content .m-step-progress .step-icon:before{
        content: "";
        position: absolute;
        top: 50px;
        left: 50%;
        transform: translateX(50%);
        width: 1px;
        height: 90px;
        background: var(--dark-gray);
    }
    .m-step-trackbar-wrapper .m-step-trackbar-content .m-step-progress .last-icon::before{
        display: none;
    }
    .m-step-trackbar-wrapper .m-step-trackbar-content .m-step-progress .step-text{
        margin-left: 40px;
    }
    .m-step-trackbar-wrapper .m-step-trackbar-content .m-step-progress .step-text .date{
        font-size: 14px;
        margin-top: 10px;
    }
}
