/**handles:journey-visualization**/
.journey-container {
    margin-bottom: 2rem !important;
    padding: 0.25rem 0.25rem !important;
}

.journey-title {
    font-size: 2rem !important;
    font-weight: 600 !important;
    margin-bottom: 1rem !important;
}

.journey-path {
    display: flex !important;
    gap: 1rem !important;
    align-items: center !important;
    margin-bottom: 0.5rem !important;
    padding: 0.5rem 0.25rem !important;
    align-items: center !important;
    font-size: 1.15rem !important; /* larger for elderly audience */
}

.journey-step {
    padding: 0.6rem 1rem !important;
    border-radius: 999px !important; /* pill-shaped */
    flex: 1 1 auto !important;
    text-align: center !important;
    position: relative !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.6) !important;
    font-size: 1.8rem !important;
}

.journey-step:not(:last-child)::after {
    position: absolute !important;
    right: -1rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #6c757d !important;
}

.journey-overflow {
    margin-left: 2rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
}

.journey-overflow-step {
    padding: 0.75rem !important;
    border-radius: 8px !important;
    background-color: var(--bs-success) !important;
    color: white !important;
}

.journey-chair-eligible {
    background-color: var(--bs-success) !important;
    color: white !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.incomplete-step {
    background-color: rgba(0,0,0,0.06) !important;
    color: #222 !important;
}

.complete-step {
    background-color: #0f9d58 !important; /* strong green */
    color: white !important;
}

.journey-requirement {
    padding: 0.6rem 0.9rem !important;
    border-radius: 8px !important;
    /* background: rgba(255,255,255,0.95) !important; */
    color: #333 !important;
    font-style: italic !important;
}

.journey-requirement.completed {
    background: transparent !important;
    color: #0f9d58 !important; /* success color for completedText */
    font-weight: 600 !important;
}

/* Arrow styling between steps: displayed as glyph centered */
.journey-path .arrow {
    font-size: 1.3rem !important;
    color: rgba(0,0,0,0.45) !important;
    margin: 0 0.25rem !important;
}

@media (max-width: 720px) {
    .journey-path { flex-direction: column !important; align-items: stretch !important; }
    .journey-path .arrow { display: none !important; }
}

/* Per-item container wrapping the horizontal journey and its requirement text */
.journey-item {
    background: #85D4924D !important; /* translucent green */
    border-radius: 12px !important;
    padding: 0.8rem !important;
    margin-bottom: 3rem !important; /* spacing between items */
}

.journey-item:hover {
    /* background: #85D492FF !important; */ /* solid green on hover - disabled for subtlety */
    box-shadow: 0 4px 8px rgba(0,0,0,0.6) !important;
    transform: translateY(-4px) !important;
    transition: all 0.3s ease !important;
}

.journey-item .journey-requirement {
    margin-top: 0.5rem !important;
    font-size: 1.5rem !important;
}