.cori-progress-header {
    margin: 40px auto 0px;
    max-width: 1200px;
    padding: 0 0px;
    font-family: 'Arial', sans-serif;
}

.cori-star-and-steps {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 80px;
}

.cori-star {
    height: 200px;
    width: auto;
    flex-shrink: 0;
}

.cori-progress-steps {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cori-progress-steps .step {
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    position: relative;
    cursor: help;
    min-width: 120px;
    text-align: center;
    transition: all 0.3s ease;
}

/* Buttons */
.completed {
    background-color: #FFD700;
    color: #003087;
    border: 3px solid #003087;
}

.current {
    background-color: #009B0A;
    color: white;
    border: 4px solid #FFD700;
    box-shadow: 0 8px 20px rgba(0, 48, 135, 0.3);
    transform: scale(1.12);
}

.upcoming {
    background-color: transparent;
    color: #555;
    border: 3px dashed #aaa;
}

.critical {
    background-color: #009B0A; /* was dc3545 */ 
    color: yellow;
    border: 4px solid #FFD700; 
    box-shadow: 0 0 15px rgba(220, 53, 69, 0.6) !important;
    transform: scale(1.12);
}

/* Green tick — separate class, no pseudo conflict */
.tick-overlay {
    content: '';
    background-image: url('https://commonwealth-oath-restoration-initiative.org/wp-content/uploads/2026/01/green-tick.png');    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 43px;
    height: 40px;
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 10;
}

/* Grey Question mark — separate class, no pseudo conflict */
.question-mark-overlay {
    content: '';
    background-image: url('https://commonwealth-oath-restoration-initiative.org/wp-content/uploads/2026/01/Question-Mark-GREY.png');    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 23px;
    height: 50px;
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 10;
}

/* Tooltip content */
.cori-progress-steps .step[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 14px;
    background-color: white;
    color: #003087;
    border: 2px solid #003087;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 15px;
    white-space: nowrap;
    z-index: 100;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Tooltip arrow */
.cori-progress-steps .step[data-tooltip]:hover::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 5px;
    border: 10px solid transparent;
    border-top-color: #003087;
    z-index: 100;
}

/* Responsive */
@media (max-width: 950px) {
    .cori-star-and-steps {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    .cori-star {
        height: 160px;
    }
    .tick-overlay {
        width: 48px;
        height: 44px;
        top: -50px;
    }
}

.cori-tooltip {
    cursor: help;
    background: #FFD700;
    color: #003087;
    font-weight: bold;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    display: inline-block;
    font-size: 14px;
    margin-left: 5px;
    position: relative;
}

.cori-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    background: #003087;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    z-index: 1000;
    width: max-content;
    max-width: 300px;
    white-space: pre-wrap;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    left: 0;
    top: 25px; /* Below the ? */
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.cori-tooltip:hover::after {
    opacity: 1;
    visibility: visible;
}