.pickup-card {
    z-index: 1;
    background-color: #dadbda;
    padding: 30px;
    margin-top: 20px;
    border-radius: 15px;
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    padding-bottom: 20px; /* Reduced from more substantial padding if present */
    margin-bottom: 10px; 
}

.pickup-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.pickup-card .top {
    text-align: center;
}

.pickup-card h5 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.pickup-card .pickup-order-number {
    color: #43af14;
}

.pickup-card .pickup-order-date {
    color: #43af14;
}

#pickup-progressbar {
    position: relative;
    list-style-type: none;
    display: flex;
    justify-content: space-between;
    transition: opacity 0.3s ease, height 0.3s ease;
    padding: 0;
    margin: 0;
}

#pickup-progressbar .hidden {
    opacity: 0;
    pointer-events: none;
    height: 0;
    overflow: hidden;
}

#pickup-progressbar li {
    list-style-type: none;
    font-size: 12px;
    flex: 1 1 auto;
    max-width: calc(100% / 5);
    position: relative;
    text-align: center;
    transition: color 0.3s;
    flex: 1;
}

#pickup-progressbar li::before {
    content: "";
    width: 25px;
    height: 25px;
    line-height: 25px;
    border-radius: 50%;
    background: #bbc7c7;
    display: block;
    margin: 0 auto 10px;
    position: relative;
    z-index: 2;
    transition: background 0.3s, transform 0.3s;
}

#pickup-progressbar li.active::before {
    background: linear-gradient(135deg, #007bff, #00bfff);
    transform: scale(1.2);
}

#pickup-progressbar li img.icon {
    width: 35px;
    height: 35px;
    display: block;
    margin: 0 auto 5px;
    filter: grayscale(1);
    transition: filter 0.3s, transform 0.3s;
}

#pickup-progressbar li.active img.icon {
    filter: none;
    transform: scale(1.2);
}

#pickup-progressbar li p {
    margin: 0;
    font-size: 14px;
    font-weight: bold;
    color: #6c757d; /* Grey text for inactive steps */
    transition: color 0.3s;
}

#pickup-progressbar li.active p {
    color: #090909; /* Dark text for active steps */
}


#pickup-progressbar li::after {
    content: '';
    height: 8px;
    position: absolute;
    top: 10px; /* Vertically center with the circle */
    left: -50%; /* Start from the center of the current step */
    transform: translateX(100%);
    background: #bbc7c7; /* Grey background for inactive connecting lines */
    z-index: 0;
    width: 100%; /* Extend to the next step */
    /* animation: fillLine 2s ease forwards; */
}

#pickup-progressbar li.active::after {
    background: linear-gradient(135deg, #007bff, #00bfff); /* Blue gradient for active connecting lines */
    
}


#pickup-progressbar li:last-child::after {
    display: none; /* No connecting line after the last step */
}

@keyframes fillLine {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

@media (max-width: 768px) {
    #pickup-progressbar li {
        flex: 1 1 100%; /* Each step takes full width on small screens */
    }
    #pickup-progressbar {
        flex-wrap: wrap; /* Allow steps to wrap to the next line */
    }
}

