.progress-chevrons-container {
    text-align: center;
    width: 100%;
    max-width: var(--max_width);
    padding-left: var(--left_right);
    padding-right: var(--left_right);
    box-sizing: content-box;
    margin: 0 auto;
}

.progress-bar {
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-step {
    flex: 1;
    height: 60px;
    position: relative;
    margin: 0;
    margin-right: -17px; /* Overlap to connect */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    transition: all 0.3s ease;
    /* Clip-path: straight left side + right-pointing chevron */
    clip-path: polygon(0 0, calc(100% - 17px) 0, 100% 50%, calc(100% - 17px) 100%, 0 100%);
    line-height: 1;
    overflow: hidden;
    border-top: 3px solid white;
    border-bottom: 3px solid white;
}


/* Step colors and states */
.progress-step.completed {
    /*background-color: #4CAF50;*/
    background-color: var(--blue);
    z-index: 4;
}

.progress-step.active {
    background-color: #2196F3;
    z-index: 3;
}

.progress-step.pending {
    background-color: #e0e0e0;
    color: #666;
    z-index: 2;
}

.progress-step:nth-child(1) { z-index: 6; }
.progress-step:nth-child(2) { z-index: 5; }
.progress-step:nth-child(3) { z-index: 4; }
.progress-step:nth-child(4) { z-index: 3; }
.progress-step:nth-child(5) { z-index: 2; }
.progress-step:nth-child(6) { z-index: 1; }

/* Two black angled rectangles forming right-pointing angle bracket */
.progress-step::before {
    content: '';
    position: absolute;
    top: 0;
    right: -18px;
    width: 36px;
    height: 3px;
    background-color: #000;
    transform: rotate(60deg);
    transform-origin: left center;
    z-index: 7;
}

.progress-step::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: -18px;
    width: 36px;
    height: 3px;
    background-color: #000;
    transform: rotate(-60deg);
    transform-origin: left center;
    z-index: 7;
}

.progress-step:last-child::before,
.progress-step:last-child::after {
    display: none;
}

.progress-step:last-child {
    /* Last step: straight left side, straight right side */
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    margin-right: 0; /* Remove overlap for last chevron to prevent overflow */
}

/* Clickable steps */
.progress-step.clickable {
    cursor: pointer;
    transition: all 0.2s ease;
}

.progress-step.clickable:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* Current page indicator */
.progress-step.current-page {
    border-top-color: #FF5722;
    border-bottom-color: #FF5722;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Status banner styles */
.status-banner-content {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    gap: 10px;
    border-left: 4px solid var(--blue);
    background: var(--gray_25);
}

.status-banner-label {
    font-weight: bold;
    color: var(--black_75);
    font-size: 14px;
}

.status-banner-value {
    color: var(--blue);
    font-weight: bold;
    font-size: 16px;
    background-color: #fff59d;
    padding: 2px 8px;
    border-radius: 4px;
}

.status-banner-cancelled {
    color: #d32f2f;
    background-color: #ffebee;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 12px;
    margin-left: auto;
}