
body {
    font-family: 'Poppins', sans-serif;
}

#wl-consultation-form {
    width: 100%;
    margin: 0 auto;
    /* min-height: 600px;  Set a fixed height for the form */
    position: relative;
}

label {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 40px;
}

form input[type=number] {
    max-width: 100%;
    padding: 0 0 0 8px;
}
input[type="text"],
input[type="email"],
input[type="date"],
textarea {
    font-size: 16px;
    font-weight: 400;
    display: block;
    width: 100%;
    padding: 10px;
    margin: 5px 0 40px 0;
    border: none;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    box-sizing: border-box;
}

input[type="checkbox"],
input[type="radio"] {
    margin-right: 10px;
    font-size: 16px;
    font-weight: 400;
}

.radio-group {
    display: flex;
    flex-direction: column;
    border: 1px solid lightgray;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 10px;
}

button.next-step,
button.prev-step,
button.submitz {
    padding: 10px 20px;
    margin: 10px 0;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    position: absolute;
    bottom: 20px;
}

button.next-step {
    right: 0;
}

button.prev-step {
    left: 0;
}

button.submitz {
    right: 0;
    position: relative;
    bottom: auto;
    margin-top: 20px;
    display: inline-block;
}

.next-step.visible,
.prev-step.visible,
button.submitz.visible {
    display: inline-block;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.next-step.visible.fade-in,
.prev-step.visible.fade-in,
button.submitz.visible.fade-in {
    opacity: 1;
}

.form-step {
    position: relative;
    margin-bottom: 40px;
    /*min-height: 400px;  Ensure fixed position for buttons */
}

.button-container {
    position: relative;
    margin-top: 90px;
    text-align: right;
}

#step-14 .button-container button.submitz {
    right: 0;
    position: relative;
    bottom: auto;
    margin-top: 0;
}

.loading-bar-container {
    width: 100%;
    height: 4px;
    background-color: #f3f3f3;
    position: relative;
    margin-top: 10px;
    display: none;
}

.loading-bar {
    width: 0;
    height: 100%;
    background-color: #000;
    position: absolute;
    animation: loading 2s infinite;
}

@keyframes loading {
    0% { width: 0; }
    50% { width: 50%; }
    100% { width: 100%; }
}
