body {
    font-family: Arial, sans-serif;
    display: flex;
    height: 100vh;
    margin: 0;
}

.container {
    display: flex;
    width: 100%;
}

.login-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    background-color: #f7f7f7;
}

.login-form form {
    display: flex;
    flex-direction: column;
    max-height: auto;
    overflow-y: auto;
    margin-bottom: 10px;
}

.login-form h1 {
    text-wrap-mode: wrap;
    margin-bottom: 20px;
    font-size: 36px;
    text-align: center;
}

.login-form input[type="email"],
.login-form input[type="text"] {
    padding: 10px;
    margin-bottom: 10px;
    margin-right: 15%;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.login-form button {
    padding: 10px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 4px;
    margin-right: 15%;
    cursor: pointer;
}

.login-form button:hover {
    background-color: #0056b3;
}

.login-form p {
    margin-top: 10px;
    margin-bottom: 10px;
    margin-right: 15%;
}

.login-form p.error {
    color: red;
}

.login-form a {
    margin-top: 10px;
    color: #007BFF;
    text-decoration: none;
}

.illustration {
    flex: 2;
    background: url('https://via.placeholder.com/800x600') no-repeat center center;
    background-size: cover;
}

.code-inputs {
    display: flex;
    justify-content: left;
    gap: 5px;
    margin: 10px 0;
}

.code-inputs input {
    width: 2em;
    height: 2em;
    margin: 0 !important;
    text-align: center;
    font-size: 1.5em;
}

@media screen and (max-width: 768px) {
    .illustration {
        max-height: 15vh;
    }

    .illustration h1 {
        font-size: 45px !important;
    }

    .container {
        flex-direction: column;
        justify-content: space-around;
    }

    .illustration {
        display: none;
    }

    .login-form {
        padding: 65px 20px;
        display: block;
    }

    .login-form button[type="submit"] {
        font-size: 20px;
    }
}