/* Progress Indicator Styles */
.rcm-progress-container {
    position: relative;
    margin: 2rem 0;
    contain: layout style paint;
}
.rcm-progress-line {
    position: absolute;
    background-color: #e9ecef;
    height: 4px;
    border-radius: 2px;
    transition: all 0.3s ease;
    z-index: 1;
}
.rcm-progress-line-active {
    position: absolute;
    background: linear-gradient(90deg, var(--secondary-color, #FC5D61) 0%, var(--secondary-color, #FC5D61) 100%);
    height: 4px;
    border-radius: 2px;
    transition: transform 0.5s ease;
    z-index: -1;
    left: 40px;
    width: 100%;
    transform: scaleX(0);
    transform-origin: left center;
}
/* Desktop horizontal progress line */
.desktop-progress-line {
    top: 85px;
    left: 75px;
    right: 0;
    width: 85%;
    z-index: -1;
}
.desktop-progress-line-active {
    top: 85px;
    left: 75px;
    width: 85%;
    transform: scaleX(0);
    transform-origin: left center;
    z-index: -1;
}
.rcm-step {
    position: relative;
    z-index: 3;
    transition: all 0.3s ease;
    text-align: center;
    padding-top: 20px;
}
.rcm-step.active {
    transform: scale(1.05);
}
.rcm-step img {
    transition: all 0.3s ease;
    filter: grayscale(0.3);
}
.rcm-step.active img {
    filter: grayscale(0);
    box-shadow: 0 4px 8px rgba(252, 93, 97, 0.3);
}
.text-option {
    transition: all 0.3s ease;
    background-color: #f8f9fa;
    border: 2px solid transparent;
    display: inline-block;
    margin-top: 10px;
    color: #000;
    padding: 5px 10px;
    font-weight: 600;
}
.text-option.active,
.border-active {
    background-color: var(--secondary-color, #FC5D61);
    color: white !important;
    border-color: var(--secondary-color, #FC5D61);
}
.rcm-step {
    cursor: pointer;
    transition: all 0.3s ease;
}
.rcm-step:focus {
    outline: none;
}
.rcm-step img {
    filter: grayscale(0);
    background: white;
    border-radius: 50%;
    transition: all 0.3s ease;
}
/* Enhanced highlighting styles */
.change-card.active {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(252, 93, 97, 0.2);
}
.change-card.active .rcm-step {
    transform: scale(1.1);
}
.change-card.active .rcm-step img {
    filter: grayscale(0) !important;
    box-shadow: 0 6px 12px rgba(252, 93, 97, 0.4);
}
.change-card.active .text-option {
    background-color: #FC5D61 !important;
    color: white !important;
    border-color: #FC5D61 !important;
    transform: scale(1.05);
    font-weight: 600;
}