body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #007bff;
    font-family: Arial, sans-serif;
    margin: 0;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.3);
    width: 100%;
    max-width: 400px;
}

.logo {
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.logo img {
    max-width: 100%;
}

.formulario {
    width: 100%;
    text-align: center;
}

.formulario input {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: 0.3s;
}

.formulario input:focus {
    border-color: #1e3a8a;
    outline: none;
    box-shadow: 0 0 5px rgba(30, 58, 138, 0.5);
}

.formulario button {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    background: #ff5722;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.formulario button:hover {
    background: #e64a19;
}

/* Diseño para pantallas grandes (PC) */
@media (min-width: 768px) {
    .container {
        flex-direction: row;
        align-items: stretch;
        max-width: 600px;
    }
    .logo {
        width: 200px;
        background: #f3f4f6;
        border-radius: 10px 0 0 10px;
        padding: 20px;
        margin-bottom: 0;
    }
    .formulario {
        padding: 20px;
        border-radius: 0 10px 10px 0;
        text-align: left;
    }
    .error {
    color: red;
    text-align: center;
    margin-bottom: 10px;
    display: block;
}
}

