.nps-track-order {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;

    h1, h2, h3, h4, h5, h6, p {
        margin: 0;
        padding: 0;
    }

    .nps-track-order-heading {
        line-height: 1;
    }

    .order-id-input-container{
        display: flex;
    }

    #nps_order_id {
        border-right: none;
    }

    .nps-track-order-button {
        white-space: nowrap;
        background-color: var( --btn-accented-bgcolor );

        svg {
            width: 14px;
            height: 14px;
        }

        &:hover {
            background-color: var( --btn-accented-bgcolor-hover );
            color: var( --btn-accented-color-hover );

            svg {
                fill: var( --btn-accented-color-hover );
                transition: all 0.25s ease;
            }
        }
    }

    .order-container {
        display: flex;
        flex-direction: column;
        background-color: #ffffff;
        padding: 15px 20px 12px 20px;
        gap: 12px;
        width: 70%;
        margin-top: 10px;
    }

    .order-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .order-number-section {
        display: flex;
        gap: 8px;
        align-items: center;
    }

    .order-number {
        line-height: 1;
        font-size: 16px;
    }

    .order-number-vertical-separator {
        border-left: 1px solid #e0e0e0;        
        height: auto;
        align-self: stretch;
    }

    .order-placed-container {
        display: flex;
        gap: 8px;
        align-items: center;
    }

    .order-placed-container {
        font-size: 13px;
    }

    .order-placed {
        text-transform: capitalize;
        font-weight: 500;
    }

    .order-content {
        display: flex;
        flex-direction: column;
        gap: 0;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .package-container {
        display: flex;
        flex-direction: column;
        border: 1px solid #e0e0e0;
        border-bottom: 0;
    }

    .package-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 14px;
        background-color: #f9f9f9;
    }

    .package-tracking-id-section {
        display: flex;
        gap: 6px;
        align-items: center;

        svg {
            width: 14px;
            height: 14px;
        }
    }

    .package-tracking-id-container {
        display: flex;
        gap: 6px;
        align-items: center;
        font-size: 12px;
        line-height: 1;
    }

    .package-tracking-id {
        color: #242424;
        font-weight: 500;
    }

    .long-dash {
        width: 12px;
        border-bottom: 1px solid #767676;
        margin: 0;
        opacity: 1;
    }

    .horizontal-separator {
        width: 100%;
        border-bottom: 1px solid #e0e0e0;        
        margin: 0;
        opacity: 1;
    }

    .package-content {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 10px 14px;
    }

    .shipping-timeline-container {
        padding: 10px;
        display: flex;
    }

    .shipping-timeline {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        position: relative;
    }
    
    .shipping-event {
        display: flex;
        align-items: flex-start;
        margin-bottom: 0;
    }

    .shipping-timeline > li:first-child {
        color: #333; 
    }
    
    .shipping-time {
        font-size: 12px;
        white-space: nowrap;
        width: 120px;
        line-height: 17px;
        font-weight: 500;
    }
    
    .shipping-icon {
        width: 60px;
        display: flex;
        align-items: center;
        justify-content: start;
        flex-direction: column;
    }
    
    .shipping-icon::after {
        content: "";
        height: 30px;
        width: 2px;
        background: #dfdfdf;
        z-index: 0;
    }

    .shipping-timeline > li:last-child .shipping-icon::after {
        content: none;
    }
    
    .shipping-dot {
        width: 17px;
        height: 17px;
        background-color: #dfdfdf;
        border-radius: 50%;
        top: 50%;
        left: 50%;
    }

    .shipping-timeline > li:first-child .shipping-dot {
        background-color: #007bff;
    }
    
    .shipping-info {
        flex: 1;
    }
    
    .shipping-info-title {
        font-size: 14px;
        line-height: 17px;
        font-weight: 500;
    }  
}

@media screen and ( max-width: 1024px ) {
    .nps-track-order {
        #nps_order_id {
            height: 38px;
        }

        .nps-track-order-button {
            min-height: initial;
        }

        .nps-track-order-heading {
            font-size: 20px;
        }
    
        .order-number {
            font-size: 15px;
        }

        .order-placed-container {
            font-size: 12px;
        }

        .order-container {
            padding: 15px 15px 13px 15px;
            gap: 10px;
        }

        .package-tracking-id-section {
            svg {
                width: 13px;
            }
        }
    }
}

@media screen and ( max-width: 768.98px ) {
    .nps-track-order {
        .order-container {
            width: 90%;
        }

        #nps_order_id {
            height: 36px;
            font-size: 12px;
        }

        .nps-track-order-button {
            font-size: 10px;
        }

        .nps-track-order-heading {
            font-size: 18px;
            text-align: center;
        }

        .order-number {
            font-size: 14px;
        }
      
        .order-container {
            padding: 12px 12px 8px 12px;
            gap: 8px;
        }

        .order-number-section {
            flex-direction: column;
            gap: 2px;
            align-items: start;
        }    

        .order-placed-container {
            gap: 4px;
            font-size: 11px;
        }

        .order-placed {
            font-size: 11px;
        }

        .package-header {
            flex-wrap: wrap;
            gap: 2px;
            padding: 5px 8px;
        }

        .package-tracking-id-section {
            svg {
                width: 12px;
            }
        }

        .package-tracking-id-container {
            font-size: 11px;
        }

        .long-dash {
            width: 6px;
        }

        .package-content {
            padding: 10px 8px;
        }

        .shipping-time {
            font-size: 11px;
            width: 113px;
        }

        .shipping-info-title {
            font-size: 12px;
        } 

        .shipping-icon {
            width: 35px;
        }

        .shipping-dot {
            width: 15px;
            height: 15px;
        }
    }
}

@media screen and ( max-width: 480px ) {
    .nps-track-order {
        .order-container {
            width: 100%;
        }
    }
}