#progressbar {
    margin-bottom: 3vh;
    color: white;
    padding-left: 0;
    margin-top: 3vh;
    display: flex;
    justify-content: space-between;
    position: relative;
}

#progressbar li {
    list-style-type: none;
    font-size: 0.8rem;
    text-align: center;
    position: relative;
    color: black;
    flex-grow: 1;
}

#progressbar li:before {
    content: "";
    width: 20px;
    height: 20px;
    background-color: grey;
    border-radius: 50%;
    margin: 0 auto;
    display: block;
    margin-bottom: 1vh;
}

#progressbar li:after {
    content: '';
    height: 3px;
    background-color: grey;
    position: absolute;
    left: 0;
    right: 0;
    margin-bottom: 2vh;
    top: 10px;
    z-index: 0;
}

#progressbar li.active:before,
#progressbar li.active:after {
    background: green;
}

#progressbar li.active:before {
    background-color: green;
}

#progressbar li.active:after {
    background-color: green;
}

/* Ensure the line for step 6 is always visible, even if it's the last step */
#progressbar li:last-child:after {
    display: block;
    width: 100%;
    top: 10px;
}

/* Adjust dot size and placement */
#progressbar li .dot {
    margin-top: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #ccc;
    margin-bottom: 10px;
    transition: background-color 0.3s ease;
}

/* Label under each dot */
#progressbar li .status-label {
    font-size: 12px;
    /* color: white; */
}

@media (max-width: 767px) {
    #progressbar li {
        font-size: 0.9rem;
        /* Slightly larger font size on smaller screens */
    }
}


/*new changes*/
.rejected-progress li:after,
.rejected-progress li:before {
    background-color: red;
}

ul#progressbar li.red::before {
    border-color: #f44336;
    background-color: #f44336;
    color: white;
}

ul#progressbar li.red::after {
    background-color: #f44336;
}

ul#progressbar li.red .status-label {
    color: black;
    font-weight: 400;
}

button.accordion i.fa {
    transition: transform 0.3s ease;
    font-size: 1.2em;
}

/*new css return progress bar css*/
#progressbar li.inactive .status-label {
    color: #dc3545;
    font-weight: bold;
}

#progressbar li.inactive .status-date ,#progressbar li.inactive .status-date + p{
    color: #dc3545;
    font-weight: bold;
}

#progressbar li.inactive:after {
    background-color: #dc3545;
}

#progressbar li.inactive::before {
    border-color: #dc3545;
    background-color: #dc3545;
    color: #dc3545;
}

/*Swal button css*/
.swal-confirm-green {
    background-color: #28a745 !important;
    /* Bootstrap green */
    color: #fff !important;
    border: none;
    padding: 8px 20px;
    font-weight: bold;
    border-radius: 4px;
    margin: 0 5px;
}

.swal-cancel {
    background-color: #6c757d !important;
    /* Bootstrap gray */
    color: #fff !important;
    border: none;
    padding: 8px 20px;
    font-weight: bold;
    border-radius: 4px;
    margin: 0 5px;
}

select:disabled {
    background-color: #e9ecef;
    cursor: not-allowed;
}

.bg-partially_delivered {
    background-color: red;
    font-size: 14px;
    font-weight: 600;  
}