/* Container for the form */
.form-container {
    max-width: 600px;
    margin: 3em auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Styling the labels */
.form-container label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
}

/* Styling the select elements */
.form-container select {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
}

/* Styling the text input elements */
.form-container input[type="text"],
.form-container input[type="number"],
.form-container input[type="email"],
.form-container input[type="tel"],
.form-container textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    box-sizing: border-box; /* Includes padding and border in the element's total width and height */
}

/* Styling the text area elements */
.form-container textarea {
    resize: vertical; /* Allows vertical resizing */
    min-height: 100px; /* Ensures a minimum height */
}

/* Styling the navigation buttons */
.form-container button[type="button"] {
    width: 48%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    text-transform: uppercase;
    background-color: #f0f0f0;
    color: #333;
    margin: 10px 1%;
    display: inline-block; /* Ensures buttons are displayed next to each other */
}

.form-container button[type="button"]:hover {
    background-color: #ddd;
}

/* Styling the 'Back' button */
.form-container button[data-prev] {
    background-color: #bbb;
    color: #fff;
    transition: all .3s ease-in-out;

}

.form-container button[data-prev]:hover {
    background-color: #999;
}

/* Styling the 'Next' button */
.form-container button[data-next] {
    background-color: #FFD045;
    color: black;
    transition: all .3s ease-in-out;

    font-family: 'Lexend Deca', sans-serif;
}

.form-container button[data-next]:hover {
    background-color: #076EC0; /* Black background on hover */
    color: white; /* Yellow text color on hover */
}

/* Styling the submit button */
.form-container button[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: #FFD045;
    color: black;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    text-transform: uppercase;

    transition: all .3s ease-in-out;

    font-family: 'Lexend Deca', sans-serif;
}

.form-container button[type="submit"]:hover {
    background-color: #076EC0; /* Black background on hover */
    color: white; /* Yellow text color on hover */
}

/* Step Progress Bar */
.step-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 0 10px;
    position: relative;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 30%;
    right: 0;
    width: 100%;
    height: 2px;
    background-color: #ddd;
    transform: translateY(-50%);
    z-index: 1;
}

.step.active::after {
    background-color: #FFD045; /* Active step line color */
}

.step.completed::after {
    background-color: #a1a1a1; /* Completed step line color */
}

/* Add the line for the last step */
.step:last-child::after {
    content: '';
    position: absolute;
    top: 30%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ddd;
    transform: translateY(-50%);
    z-index: 1;
}

.step.active:last-child::after {
    background-color: #FFD045; /* Active step line color for last step */
}

.step.completed:last-child::after {
    background-color: #a1a1a1; /* Completed step line color for last step */
}

.step-number {
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 50%;
    background-color: #ddd;
    color: #fff;
    margin: 0 auto 5px auto;
    font-size: 16px;
    font-weight: bold;
    position: relative;
    z-index: 2;
}

.step.active .step-number {
    background-color: #FFD045; /* Active step number color */
}

.step.completed .step-number {
    background-color: #a1a1a1; /* Completed step number color */
}

.step-label {
    font-size: 14px;
    color: #333;
}

