@import url("https://fonts.googleapis.com/css2?family=Hind:wght@300;400;500;600;700&family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: "border-box";
    line-height: 160%;
}

body {
    padding: .5rem;
}

.back-to {
    display: flex;
    align-items: center;
    justify-content: left;

    p {
        font-family: Noto Sans;
        font-weight: 500;
        font-style: Medium;
        font-size: 12px;
        line-height: 77%;
        letter-spacing: -4%;
        text-align: center;

        a {
            color: black;
            text-decoration: none;
        }
    }
}

.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 180px;
    width: 100%;
    position: relative;
}

.lds-dual-ring {
    display: inline-block;
    width: 70px;
    height: 70px;
    /* No border on parent */
}

.lds-dual-ring:after {
    content: " ";
    display: block;
    width: 34px;
    height: 34px;
    margin: 1px;
    border-radius: 50%;
    border: 6px solid #2D2C76;
    border-color: #2D2C76 transparent #2D2C76 transparent;
    animation: lds-dual-ring 0.9s linear infinite;
}

@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.track-box {
    width: 349;
    height: 338;
    opacity: 1;
    margin: 2rem auto;
    overflow: hidden;

    .track-box-h {
        font-family: Noto Sans;
        font-weight: 600;
        font-style: SemiBold;
        font-size: 27.47px;
        line-height: 48.69px;
        letter-spacing: -2%;
        text-align: center;
        vertical-align: bottom;
        text-transform: uppercase;
        width: 261;
        height: 20;
        opacity: 1;
        top: 36.27px;
        left: 41.28px;
    }

    .track-box-s-h {
        font-family: Hind;
        font-weight: 300;
        font-style: Light;
        font-size: 16.03px;
        line-height: 77%;
        letter-spacing: -4%;
        text-align: center;
        width: 262;
        height: 12;
        opacity: 1;
        top: 66.96px;
        left: 40.78px;
    }

    .or {
        font-family: Noto Sans;
        font-weight: 500;
        font-style: Medium;
        font-size: 14.25px;
        line-height: 77%;
        letter-spacing: -4%;
        text-align: center;
        width: 16;
        height: 11;
        opacity: 1;
        top: 202.69px;
        left: 166.5px;
    }




    .track-box-input-id {
        width: 262;
        padding: 2rem 3.5rem 1rem 3.5rem;
        display: flex;
        flex-direction: column;
        align-items: left;

        p {
            width: 55;
            height: 11;
            opacity: 0.7;
            top: 111.69px;
            left: 43.55px;
            font-family: Noto Sans;
            font-weight: 500;
            font-style: Medium;
            font-size: 14.25px;
            line-height: 77%;
            letter-spacing: -4%;
        }

        div {
            margin-top: .5rem;
            width: 262;
            height: 32.328125;
            opacity: 1;
            top: 127.69px;
            left: 40.78px;
            border-radius: 3px;
            border-width: 0.6px;
            border-style: solid;
            border-color: #000000;

            input {
                border: none;
                padding: .8rem .5rem;
            }
        }

        .track-box-input-field {
            input {
                outline: none;
            }
        }
    }

    .second {
        padding: 1rem 3.5rem 1rem 3.5rem;
    }

    .track-box-btn-container {
        display: flex;
        justify-content: center;
        margin-top: 1rem;
        opacity: 1;
        border-radius: 3px;

        .track-box-btn {
            width: 75%;
            padding: .8rem 0;
            background-color: #0018EF;
            border: none;
            color: #FFFFFF;
            font-family: Noto Sans;
            font-weight: 600;
            font-style: SemiBold;
            font-size: 16.03px;
            letter-spacing: -4%;
            cursor: pointer;
        }
    }

    .track-box-note {
        margin: 0 auto;
        width: 75%;
        margin-top: 1rem;
        text-align: center;
        font-family: Hind;
        font-weight: 300;
        font-style: Light;
        font-size: 12px;
        line-height: 16px;
        color: #555555;
    }


}

.track-box-contact-support {
    margin-top: 1rem;
    font-family: Noto Sans;
    font-weight: 500;
    font-style: Medium;
    font-size: 17.03px;
    letter-spacing: -4%;
    text-align: center;


    a {
        font-family: Noto Sans;
        font-weight: 500;
        font-style: Medium;
        font-size: 11.95px;
        line-height: 77%;
        letter-spacing: -4%;
        text-align: center;
        text-decoration: underline;
        text-decoration-style: solid;
        text-decoration-thickness: 0%;
        text-decoration-skip-ink: auto;

    }
}

.bottom-line {
    width: 100%;
    height: 1px;
    background-color: black;
    margin-top: .4rem;
    opacity: 0.23;
    top: 50.35px;
    left: 20.56px;

}

.track-order-id {
    font-family: Hind;
    font-weight: 500;
    font-style: Medium;
    font-size: 8px;
    letter-spacing: 6%;
    text-align: left;
    text-transform: uppercase;
}

.track-status-header-box {
    text-align: center;
    margin: 1rem;
    opacity: 1;
    top: 157px;
    left: 20px;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    background-color: #F8F9FF;

    .track-order-header {
        font-family: Noto Sans;
        font-weight: 600;
        font-style: SemiBold;
        font-size: 27.47px;
        letter-spacing: -2%;
        text-transform: uppercase;

        .track-order-id {
            font-family: Hind;
            font-weight: 500;
            font-style: Medium;
            font-size: 8px;
            letter-spacing: 6%;
            text-align: left;
            text-transform: uppercase;
        }

        .track-order-id-value {
            font-family: Noto Sans;
            font-weight: 700;
            font-style: Bold;
            font-size: 12px;
            letter-spacing: -2%;
            text-align: left;
            text-transform: uppercase;
        }
    }

    .track-order-bottom {
        margin-top: 1rem;

        .track-order-text {
            font-family: Hind;
            font-weight: 500;
            font-style: Medium;
            font-size: 8px;
            letter-spacing: 6%;
            text-align: left;
            text-transform: uppercase;
        }

        .track-order-status {
            font-family: Noto Sans;
            font-weight: 700;
            font-style: Bold;
            font-size: 28px;
            letter-spacing: -2%;
            text-align: left;
            line-height: 30px;
            text-transform: capitalize;

            span {
                width: 60;
                height: 14;
                opacity: 1;
                top: 76px;
                left: 264px;
                border-radius: 2px;
                padding-top: 3px;
                padding-right: 4px;
                padding-bottom: 3px;
                padding-left: 4px;
                gap: 10px;
                background-color: #2D2C76;
                float: inline-end;
            }

            .prepaid-tag {
                font-family: Hind;
                font-weight: 600;
                font-style: Bold;
                font-size: 12px;
                line-height: 100%;
                letter-spacing: 6%;
                text-align: center;
                text-transform: uppercase;
                color: #F8F9FF;
            }
        }


        .track-order-placed-date {
            font-family: Hind;
            font-weight: 500;
            font-style: Medium;
            font-size: 16px;
            letter-spacing: -4%;
            text-align: left;

        }

        .track-order-last-updated {
            font-family: Hind;
            font-weight: 300;
            font-style: Light;
            font-size: 12px;
            line-height: 77%;
            letter-spacing: -4%;
            text-align: left;

        }

        .bottom-line {
            width: 100%;
            font-weight: 500;
            font-style: Medium;
            font-size: 12px;
            letter-spacing: -4%;
            text-align: left;

        }

        .bottom-line {
            width: 100%;
            height: 1px;
            background-color: black;
            margin-top: .4rem;
            opacity: 0.23;
            top: 50.35px;
            left: 20.56px;

        }

    }

    .toggle-btn {
        font-family: Hind;
        font-weight: 500;
        font-style: Medium;
        font-size: 12px;
        line-height: 77%;
        letter-spacing: -4%;
        text-align: left;
        margin-top: 1rem;
        cursor: pointer;

        .toggle-icon {
            float: inline-end
        }
    }

    .order-line-items-box {
        margin: 1rem 0;

        .item-container {
            width: 100%;
            display: flex;


            .item-img-box {
                width: 90px;
                opacity: 1;
                top: 219px;
                left: 29.25px;
                /* border: 1px solid gray; */

                img {
                    width: 100%;
                    background-color: #F8F9FF;
                }
            }

            .item-content-box {
                width: 100%;
                margin-left: .5rem;


                .item-name-box {

                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                }

                .item-name {
                    width: 60%;
                    font-family: Hind;
                    font-weight: 500;
                    font-style: Medium;
                    font-size: 12px;
                    line-height: 100%;
                    letter-spacing: -4%;
                    text-align: left;
                    margin-bottom: .2rem;
                }

                .item-view {
                    font-family: Hind;
                    font-weight: 500;
                    font-style: Medium;
                    font-size: 8px;
                    line-height: 77%;
                    letter-spacing: -4%;
                    text-align: center;
                    text-decoration: underline;
                    text-decoration-style: solid;
                    text-decoration-thickness: 0%;
                    text-decoration-skip-ink: auto;
                    color: #0016D8;
                }

                p {
                    text-align: left;
                }

            }
        }

        p {
            text-align: left;
        }

        .item-common-content-medium {
            font-family: Hind;
            font-weight: 500;
            font-style: Medium;
            font-size: 14px;
            line-height: 120%;
            letter-spacing: -4%;
            text-align: left;
            text-transform: capitalize;
            margin: .2rem 0;
        }

        .customer-details-box {
            margin: .5rem 0;
        }
    }

}

.tracking-bar-container {
    margin-top: 1.5rem;
    margin: 1rem;
    opacity: 1;
    top: 646px;
    left: 20px;
    padding: 1.5rem 1rem;
    border-radius: 10px;
    background-color: #F8F9FF;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);

    .track-history-text {
        font-family: Hind;
        font-weight: 500;
        font-style: Medium;
        font-size: 8px;
        line-height: 77%;
        letter-spacing: 6%;
        text-align: left;
        text-transform: uppercase;
    }

    .track-order-id {
        margin-top: .5rem;
        font-family: Hind;
        font-weight: 600;
        font-style: Light;
        font-size: 13px;
        line-height: 77%;
        letter-spacing: -4%;
        text-align: left;
    }

    .track-history {
        margin: 1.5rem 0;
    }

    .track-history-phase {
        display: grid;
        grid-template-columns: 1FR 1FR 1.5FR;
        align-items: center;
        justify-content: space-evenly;
        gap: 1rem;


        .phase-start {

            .pahse-date {
                font-family: Noto Sans;
                font-weight: 500;
                font-style: Medium;
                font-size: 12px;
                line-height: 77%;
                letter-spacing: -4%;
                text-align: left;
            }

            .phase-time {
                margin-top: .5rem;
                font-family: Hind;
                font-weight: 300;
                font-style: Light;
                font-size: 7px;
                line-height: 77%;
                letter-spacing: -4%;
                text-align: left;
            }
        }

        .phase-middle {
            display: flex;
            flex-direction: column;
            align-items: center;
            position: relative;
            top: .8rem;


            .track-phase-box {
                width: 18px;
                height: 18px;
                opacity: 1;
                top: 77.97px;
                left: 113.29px;
                border-width: 0.5px;
                border-radius: 100%;
                display: flex;
                align-items: center;
                justify-content: center;
                border: 1px solid #2D2C76;

                .track-phase-compete {
                    width: 14px;
                    height: 14px;
                    opacity: 1;
                    top: 79.97px;
                    left: 115.29px;
                    border-radius: 100%;
                    background-color: #2D2C76;
                }


            }

            .track-phase-next-bar {
                width: 0;
                height: 27px;
                rotate: -90 deg;
                opacity: 1;
                top: 95.97px;
                left: 122.29px;
                border: .5px solid #0016D8;
            }

        }

        .phase-end {
            .phase-status {
                font-family: Noto Sans;
                font-weight: 500;
                font-style: Medium;
                font-size: 13px;
                line-height: 77%;
                letter-spacing: -4%;
                text-align: left;
            }

            .phase-location {
                margin-top: .5rem;
                font-family: Hind;
                font-weight: 300;
                font-style: Light;
                font-size: 7px;
                line-height: 77%;
                letter-spacing: -4%;
                text-align: left;
            }
        }
    }
}