.chevron-progress-bar {
    width: 100%;
    margin: 2em 0 2em 0;
    display: flex;
    justify-content: center;
}

.chevron-progress-bar ul {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
    width: 80%;
}

.chevron-step {
    position: relative;
    padding: 0.75em 2.5em 0.75em 1.5em;
    background: #b0c4c9;
    color: #fff;
    font-size: 1rem;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0,0,0,0.08);
    transition: background 0.3s, color 0.3s;
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%, 18px 50%);
    margin-right: -18px;
    z-index: 1;
    white-space: nowrap;
    min-width: 100px;
}

.chevron-step:last-child {
    margin-right: 0;
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%, 18px 50%);
}

.chevron-step.completed {
    background: var(--safeut-blue);
    color: #fff;
}

.chevron-step.active {
    background: var(--safeut-light-blue);
    color: #fff;
    box-shadow: 0 2px 8px rgba(109,207,246,0.15);
    z-index: 2;
}

.chevron-step:not(.active):not(.completed) {
    background: #b0c4c9;
    color: #f3f3f3;
}

.chevron-step-clickable:hover {
    filter: brightness(1.1);
    text-decoration: underline;
}

.chevron-step-disabled {
    opacity: 0.5;
    pointer-events: none;
}

@media (max-width: 768px) {
    .chevron-progress-bar ul {
        width: 100%;
    }

    .chevron-step {
        font-size: 0.85rem;
        min-width: 80px;
        padding: 0.5em 1.2em 0.5em 0.8em;
        margin-right: -12px; /* was -18px */
        clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%, 12px 50%);
    }

        .chevron-step:last-child {
            margin-right: 0;
            clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%, 12px 50%);
        }
}

@media (max-width: 480px) {
    .chevron-step {
        font-size: 0.7rem;
        min-width: 60px;
        padding: 0.4em 0.7em 0.4em 0.5em;
        margin-right: -8px; /* was -18px */
        clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%, 8px 50%);
    }
    .chevron-step:last-child {
        margin-right: 0;
        clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%, 8px 50%);
    }
}