/* Multistep Form Styles */
.rsmf-navigation{margin-top:12px}
.rsmf-navigation button{padding:8px 12px;border:0;background:#00833F;color:#fff;border-radius:4px;cursor:pointer}
.rsmf-navigation button.rsmf-prev{background:#666;margin-right:8px}
.rsmf-confirmation{padding:18px;text-align:center}
.rsmf-message{font-size:16px;margin-bottom:12px}
.rsmf-close{background:#00833F;color:#fff;padding:8px 12px;border-radius:4px;border:0;cursor:pointer}

/* --- Progress Bar --- */
.rsmf-progress-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
}

/* connector track (background) */
.rsmf-progress-bar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 4px;
    width: 100%;
    background-color: #e2f0e3;
    z-index: 1;
}
/* filled progress using CSS var set by JS */
.rsmf-progress-bar::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 4px;
    background-color: #00833F;
    z-index: 1;
    width: var(--progress-width, 0%);
    transition: width 0.4s ease;
}

.rsmf-progress-step {
    width: 36px;
    height: 36px;
    background-color: #e2f0e3;
    color: #4a5568;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    position: relative;
    z-index: 2;
    transition: background-color 0.4s ease, color 0.4s ease, transform 0.15s ease;
    border: 4px solid #ffffff; /* Creates a nice separation effect */
    box-sizing: content-box;
}

/* number inside the dot (uses data-step attribute) */
.rsmf-progress-step::before{
    content: attr(data-step);
    position: relative;
    z-index: 3;
    font-size: 0.8rem;
    display: block;
    color: inherit;
}
/* step label under the dot */
.rsmf-progress-step span {
    position: absolute;
    top: 120%;
    font-size: 0.8rem;
    color: #6b7280;
    white-space: nowrap;
}

/* Passed/completed steps: green */
.rsmf-progress-step.completed {
    background-color: #00833F;
    color: #ffffff;
    transform: scale(1);
}
.rsmf-progress-step.completed span {
    color: #00833F; /* label in green for completed */
}


/* Current (active) step: different color (example: blue) */
.rsmf-progress-step.active {
    background-color: #F4BE49;
    color: #ffffff;
    transform: scale(1.06);
}
.rsmf-progress-step.active span {
    color: #F4BE49;
    font-weight: 600;
}


/* Multistep Form Styles */
.rsmf-navigation{margin-top:12px}
.rsmf-navigation button{padding:8px 12px;border:0;background:#00833F;color:#fff;border-radius:4px;cursor:pointer}
.rsmf-navigation button.rsmf-prev{background:#666;margin-right:8px}
.rsmf-confirmation{padding:18px;text-align:center}
.rsmf-message{font-size:16px;margin-bottom:12px}
.rsmf-close{background:#00833F;color:#fff;padding:8px 12px;border-radius:4px;border:0;cursor:pointer}

/* --- Progress Bar --- */
.rsmf-progress-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
}

/* connector track (background) */
.rsmf-progress-bar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 4px;
    width: 100%;
    background-color: #e2f0e3;
    z-index: 1;
}
/* filled progress using CSS var set by JS */
.rsmf-progress-bar::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 4px;
    background-color: #00833F;
    z-index: 1;
    width: var(--progress-width, 0%);
    transition: width 0.4s ease;
}

.rsmf-progress-step {
    width: 36px;
    height: 36px;
    background-color: #e2f0e3;
    color: #4a5568;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    position: relative;
    z-index: 2;
    transition: background-color 0.4s ease, color 0.4s ease, transform 0.15s ease;
    border: 4px solid #ffffff; /* Creates a nice separation effect */
    box-sizing: content-box;
}

/* number inside the dot (uses data-step attribute) */
.rsmf-progress-step::before{
    content: attr(data-step);
    position: relative;
    z-index: 3;
    font-size: 0.8rem;
    display: block;
    color: inherit;
}
/* step label under the dot */
.rsmf-progress-step span {
    position: absolute;
    top: 120%;
    font-size: 0.8rem;
    color: #6b7280;
    white-space: nowrap;
}

/* Passed/completed steps: green */
.rsmf-progress-step.completed {
    background-color: #00833F;
    color: #ffffff;
    transform: scale(1);
}
.rsmf-progress-step.completed span {
    color: #00833F; /* label in green for completed */
}


/* Current (active) step: different color (example: blue) */
.rsmf-progress-step.active {
    background-color: #F4BE49;
    color: #ffffff;
    transform: scale(1.06);
}
.rsmf-progress-step.active span {
    color: #F4BE49;
    font-weight: 600;
}

/* Review Section Styles */
.rsmf-review-section {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.rsmf-review-section h4 {
    color: #00833F;
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.rsmf-review-section p {
    margin: 0.5rem 0;
    line-height: 1.6;
}

.rsmf-review-section strong {
    color: #374151;
    display: inline-block;
    min-width: 150px;
}

.rsmf-review-section hr {
    margin: 1.5rem 0;
    border: none;
    border-top: 1px solid #e5e7eb;
}