
.accordion-block {
    margin-top: 25px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background: var(--color-primary);
}

.accordion-block .accordion-header {
    padding: 15px 1.2em;
    background-color: var(--color-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.4s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.accordion-block .accordion-header:hover {
    background: #1a4a8a;
}

.accordion-block .accordion-header h2 {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    text-transform: capitalize;
}

.accordion-block .accordion-header h2:nth-child(2) {
    margin-left: auto;
    margin-right: 15px;
    font-weight: 500;
}

.accordion-block .accordion-header.active {
    background: linear-gradient(90deg, #000, #444);
}

.accordion-block .accordion-header .fa-icon {
    color: #fff;
    transition: transform 0.3s, color 0.3s;
    font-size: 16px;
}

.accordion-block .accordion-header.active .fa-icon {
    transform: rotate(-360deg);
    color: #ffffff;
}

.accordion-block .accordion-body {
    display: none;
    padding: 1.2em;
    border: none;
    border-top: 2px solid var(--color-primary);
    background: #f9f9f9;
    transition: all 0.4s ease;
}

.accordion-block .accordion-body.active {
    display: block;
}

.tracking-info table,
.delivery-info table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease-in-out;
}

.tracking-info th,
.tracking-info td,
.delivery-info th,
.delivery-info td {
    padding: 10px 12px;
    text-align: left;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.tracking-info th,
.delivery-info th {
    background: var(--color-primary);
    color: #fff !important;
    font-size: 12px;
    font-weight: 600;
}

.tracking-info td,
.delivery-info td {
    background: #fff;
    color: #000;
}

.tracking-info tbody tr:nth-child(even),
.delivery-info tbody tr:nth-child(even) {
    background-color: #f3f3f3;
}

.accordion-block .accordion-body h3 {
    font-size: 16px;
    margin-bottom: 30px;
    font-weight: 600;
    color: #000;
    text-transform: uppercase;
}

@media (max-width: 991px) {
    .accordion-block .accordion-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 10px;
    }

    .accordion-block .accordion-header h2 {
        font-size: 13px;
        margin-bottom: 5px;
    }

    .tracking-info table,
    .tracking-info th,
    .tracking-info td,
    .delivery-info table,
    .delivery-info th,
    .delivery-info td {
        font-size: 12px;
        padding: 6px 8px;
        white-space: nowrap;
    }
}

@media (max-width: 767px) {
    .accordion-block .accordion-header h2 {
        font-size: 12px;
    }

    .tracking-info table,
    .tracking-info th,
    .tracking-info td,
    .delivery-info table,
    .delivery-info th,
    .delivery-info td {
        font-size: 12px;
        padding: 5px 6px;
    }
}

/* Progress Bar Layout Wrapper */
.step-progress-wrapper {
    width: 100%;
    margin: 35px auto 20px auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.step-progress-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 650px;
    margin: 0 auto;
    padding: 0 10px;
}

/* Har ek single stage/circle block */
.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex-basis: 80px; /* Label spacing alignment */
}

/* Gol Circles (Icons Design) */
.step-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #e4e7eb; /* Default Gray color for inactive */
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    border: 3px solid #ffffff;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

/* Status text labels */
.step-label {
    margin-top: 10px;
    font-size: 13px;
    color: #7a869a;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    transition: all 0.3s ease;
}

/* Beech ki connecting lines */
.step-line {
    flex-grow: 1;
    height: 4px;
    background-color: #e4e7eb;
    margin: 0 -15px;
    position: relative;
    top: -14px; /* Circles ke exact center me alignment ke liye */
    z-index: 1;
    transition: background-color 0.4s ease;
}

/* ==========================================
   ACTIVE TRACKING STATES (IMAGE 2 BLUE STYLE)
   ========================================== */

/* Active Circles Glow & Color */
.step-item.active .step-icon {
    background-color: var(--color-primary);
    box-shadow: 0 0 0 5px rgba(52, 152, 219, 0.15);
}

/* Active Status Text bolding */
.step-item.active .step-label {
    color: #2c3e50;
    font-weight: 600;
}

/* Active Connecting Lines */
.step-line.active {
    background-color: var(--color-primary);
}

.delivered .step-icon {
    background-color: yellow !important;
    color: black;
    box-shadow: 0 0 0 5px rgb(19 24 27 / 15%) !important;
}