﻿/* Track-ShipmentPageCss-Start */
.track-page {
    margin-top: 30px;
    /*background-image:url("../../images/back.jpg");*/
}

    .track-page h3 {
        margin-bottom: 5px;
    }

    .track-page hr {
        margin-top: 0px;
    }

.track-border {
    border: 1px solid #ddd;
}

.track-left {
    height: 114px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .track-left p {
        /* padding: 20px 10px; */
    }

.track-right {
    border-left: 1px solid #ddd;
    padding: 20px 10px;
}

    .track-right input {
        width: 100%;
        padding: 10px;
        border: 1px solid #ddd;
    }

        .track-right input::placeholder {
            font-size: 14px;
            letter-spacing: 1px;
            color: #ddd;
        }

    .track-right p {
        font-size: 12px;
        margin-bottom: 0px;
        margin-top: 10px;
    }

.track-btn .btn {
    outline: none;
    border: none;
    border: 2px solid #f15a22;
    color: #f15a22;
    font-size: 15px;
    font-weight: 500;
    padding: 10px 15px;
    /* border-radius: 20px; */
    box-shadow: 0px 3px 10px rgba(0,0,0,0.1);
    letter-spacing: 1px;
}

    .track-btn .btn:hover {
        color: #fff;
        background-color: #f15a22;
    }

.packet-status h6,
.packet-history h6 {
    margin-bottom: 5px;
    margin-top: 10px;
}

.packet-status table tr td {
    width: 100%;
    font-weight: 600;
}

.packet-status table tr td,
.packet-status table tr th,
.packet-history table tr td,
.packet-history table tr th {
    padding: 5px;
    font-size: 12px;
    font-weight: 600;
}

    .packet-history table tr td:first-child {
        white-space: nowrap;
    }

.packet-history table.table-striped tbody tr:nth-of-type(odd) {
    background-color: #ffc1074a !important;
}

.track-top {
    padding: 5px 15px;
    background: #eee;
    margin-left: -15px;
    margin-right: -15px;
}

    .track-top .Current-Status {
        text-decoration: none;
        background: #faa600;
        color: #ffffff;
        padding: 5px 12px;
        border-radius: 0.35rem;
        font-size: 14px;
        font-weight: 600;
        letter-spacing: 1px;
        display: inline-block;
    }

        .track-top .Current-Status:hover {
            text-decoration: none;
            color: #fff;
        }

    .track-top ul {
        padding-left: 0px;
        display: inline-block;
        margin-bottom: 0px;
    }

        .track-top ul li {
            list-style: none;
            display: inline-block;
            font-size: 14px;
            font-weight: 500;
            margin-left: 20px;
        }

            .track-top ul li span.bold-text {
                font-weight: 800;
            }

    .track-top .toggle-point {
        display: inline-block;
        float: right;
        cursor: pointer;
        line-height: 30px;
    }

#header {
    background-color: #fff;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 991px) {
    .track-right {
        border-left: none;
    }
}

@media screen and (max-width: 474px) {
    .track-top .toggle-point {
        position: absolute;
        right: 15px;
    }

    .track-top ul li {
        margin-left: 0px;
        margin-right: 20px;
    }
}

.site_title1 {
    position: relative;
}

.backgroundbg {
    background-size: cover;
    background-image: url('../../images/tracking-bg.webp');
}

.track-border {
    border: 1px solid #ddd;
    background-color: #fffdfcb5;
}

/*h3.purple-text {
    color: white;
}*/

.table {
    font-weight: 400 !important;
}

h4.purple-text {
    margin-bottom: 5px;
    margin-top: 10px;
    font-size: 1rem;
}

th, td {
    font-size: 18px;
}

.timeline {
    position: relative;
    padding: 20px 0;
}

    .timeline::before {
        content: '';
        position: absolute;
        left: 28px;
        top: 0;
        bottom: 0;
        width: 4px;
        background-color: #0d6efd;
        animation: growLine 2s ease-out forwards;
    }

.timeline-item {
    position: relative;
    margin-left: 50px;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
}

    .timeline-item:nth-child(1) {
        animation-delay: 0.5s;
    }

    .timeline-item:nth-child(2) {
        animation-delay: 1s;
    }

    .timeline-item:nth-child(3) {
        animation-delay: 1.5s;
    }

    .timeline-item:nth-child(4) {
        animation-delay: 2s;
    }

    .timeline-item:nth-child(5) {
        animation-delay: 2.5s;
    }

    .timeline-item:nth-child(6) {
        animation-delay: 3s;
    }

    .timeline-item:last-child {
        margin-bottom: 0;
    }

    .timeline-item::before {
        content: '';
        position: absolute;
        left: -30px;
        top: 10px;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background-color: #0d6efd;
        border: 4px solid #fff;
        z-index: 2;
    }

    .timeline-item.completed::before {
        background-color: #28a745;
    }

    .timeline-item.completed::after {
        content: '\2713';
        position: absolute;
        left: -25px;
        top: 10px;
        color: white;
        font-size: 12px;
        font-weight: bold;
        opacity: 0;
        animation: tickMarkFadeIn 0.5s ease-out forwards;
        animation-delay: 1s;
    }

    .timeline-item h5 {
        margin: 0;
        font-size: 1rem;
    }

    .timeline-item p {
        margin: 0;
        color: #6c757d;
        font-size: 0.875rem;
    }

@keyframes growLine {
    from {
        height: 0;
    }

    to {
        height: 100%;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes tickMarkFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.Tracking-Container {
    max-width: 1200px;
    margin: 20px auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 10px;
    background: #eeeeee;
    color: #fff;
    border-radius: 30%;
    border-bottom: 4px solid blue;
    align-items: center;
}

.Track-History {
    height: 350px;
    overflow-y: scroll;
}



::-webkit-scrollbar {
    width: 7px;
    height: 5px;
}

/* Track */
::-webkit-scrollbar-track {
    /*box-shadow: inset 0 0 5px grey;*/
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #9b9b9b;
    border-radius: 10px;
}
