body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 20px;
}

.login-box {
    display: flex;
    flex-direction: row;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 900px;
    width: 100%;
}

.image-box {
    flex: 1;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px; /* Ajustar el padding aquí para acercar la imagen */
}

.image-box img {
    width: 110%; /* Ajustar este valor para acercar la imagen */
    height: 110%; /* Ajustar este valor para acercar la imagen */
    object-fit: cover;
}

.form-box {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

h1 {
    font-size: 34px;
    margin-bottom: 15px;
    text-align: center;
}

p {
    font-size: 14px;
    margin-bottom: 20px;
    color: #666;
    text-align: center;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 350px;
}

label {
    font-weight: bold;
    margin-bottom: 5px;
    width: 100%;
}

label span {
    font-weight: normal;
    font-size: 12px;
    color: #666;
}

input {
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    width: 100%;
    max-width: 326px;
}

button {
    padding: 12px;
    background: #1e7005;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 19px;
    width: 100%;
    max-width: 350px;
    margin-top: 10px;
}

button:hover {
    background: #6ee650;
}

@media (max-width: 768px) {
    .login-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }
    .image-box {
        display: none; 
    }
    .form-box {
        padding: 30px;
        width: 100%;
    }
    form {
        max-width: 100%;
    }
    input, button {
        padding: 14px;
        margin-bottom: 15px;
        max-width: 85%;
    }
}
