.multistep-form-container {
    border-radius: 25px; 
    border: 1px solid var(--bg-6);
    background-color: rgba(255, 255, 255, .8);
}

/* Container to hide steps that are off-screen */
.form-content-wrapper {
    position: relative;
    overflow: hidden; /* Crucial for hiding sliding content */
    min-height: 300px; /* Adjust this to prevent the form from collapsing */
    /* height: 500px; */
    transition: all 0.3s ease-in-out;

    label, .label {
        font-weight: 500;
    }

    .form-check-label {
        font-weight: 400;
    }
}

/* Base style for all steps (stacking) */
.form-step {
    position: absolute;
    top: 0;
    width: 100%;
    transition: transform 0.3s ease-in-out; /* Define the slide animation */
    padding: 0 15px; /* Match form padding if needed */
    
    /* Initially hide all steps by positioning them to the right */
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none; /* Disables interaction when hidden */
}

/* Only the first step is visible initially */
.form-step.active {
    position: relative; /* Set to relative to determine the container height */
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

/* Styles for steps transitioning off-screen */
.form-step.moving-out-left {
    transform: translateX(-100%);
    opacity: 0;
    position: absolute; /* Revert to absolute for smooth transition */
}

/* Styles for steps transitioning in from the right */
.form-step.moving-in-right {
    transform: translateX(0);
    opacity: 1;
    position: relative;
}

/* Styling the Progress Bar for Clicks and Color */
.progress-icon-container {
    cursor: pointer;
    transition: color 0.3s ease;
}

/* Style for the grey dividing lines */
.step-line {
    background-color: lightgray;
    transition: background-color 0.5s ease;
}

/* Style for completed lines */
.step-line.completed {
    background-color: var(--green); /* Use your brand color */
}

/* Ensure the initial icon is colored */
#step-icon-1 {
    color: var(--brand-1);
}