body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: #001a0a;
}

.contenedor-principal {
    display: flex;
    height: 100vh;
    width: 100vw;
}

.bloque-izquierdo {
    width: 40%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.bloque-derecho {
    width: 60%;
    background-image: url('ImagenMed.png');
    background-size: cover;
    background-position: center;
}

.formulario {
    width: 100%;
    max-width: 400px;
}

h2 {
    color: #001a0a;
    font-size: 40px;
    margin: 0;
}

.subtitulo {
    color: #4b5563;
    font-size: 18px;
    margin-bottom: 40px;
}

input {
    width: 100%;
    height: 55px;
    padding: 0 15px;
    margin-bottom: 20px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 18px;
    box-sizing: border-box;
}

.grupo-password {
    position: relative;
    width: 100%;
}

.ojo {
    position: absolute;
    right: 15px;
    top: 12px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #9ca3af;
}

.btn-entrar {
    width: 100%;
    height: 55px;
    background-color: #059669;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
}

#status {
    margin-top: 25px;
    font-size: 16px;
    text-align: center;
}

/* ===== CELULAR ===== */
@media (max-width: 768px) {
    .contenedor-principal {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }

    .bloque-izquierdo {
        width: 100%;
        padding: 40px 25px;
        order: 2;
    }

    .bloque-derecho {
        width: 100%;
        height: 280px;
        order: 1;
        background-size: cover;
        background-position: center top;
    }
}