.form-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.field-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: #f9f9f9;
    padding: 20px;
    box-sizing: border-box;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.field-container.active {
    display: flex;
    opacity: 1;
    transform: translateX(0);
}

.field-container:not(.active) {
    opacity: 0;
    transform: translateX(100%);
}

.next-button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.next-button:hover {
    background-color: #0056b3;
}

.submit-container {
    display: none;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.field-container:last-child .next-button {
    display: none;
}

.field-container:last-child + .submit-container {
    display: flex;
}
