
/* Fondo azul oscuro */
body {
    background-color: #212f3c;
    font-family: Arial, sans-serif;
    margin: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}


.login-container {
    display: flex;
    width: 80%;
    height: 70%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 15px rgba(238, 48, 12, 1);
}

.left-side {
    flex: 1;
    position: relative;
    min-height: 100%;
}

    .left-side img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: fill; /* llena el recuadro, recorta si sobra */
    }

/* Parte derecha (blanco) */
.right-side {
    width: 25%;
    background-color: white;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    .right-side h3 {
        color: #1e3c72;
    }

/* Estilos de los formularios */
.form-control {
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 10px;
}

.btn-primary {
    width: 100%;
    background-color: #1e3c72;
    border-color: #1e3c72;
    border-radius: 10px;
    padding: 10px;
}

    .btn-primary:hover {
        background-color: #173b63;
        border-color: #173b63;
    }

/* Responsividad */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        height: auto;
    }

    .left-side, .right-side {
        width: 100%;
    }
}

.input-group {
    display: flex;
    align-items: center;
}


    .input-group .input-group-text {
        background: transparent;
        border: none;
        padding: 0;
    }

    .input-group .fa {
        font-size: 1.2rem;
        color: #333;
        cursor: pointer;
    }




.left-side {
    flex: 1; /* que ocupe todo el espacio disponible en el contenedor */
    position: relative; /* necesario para que la img absoluta se posicione bien */
    min-height: 100%; /* asegura altura completa */
}

    .left-side img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        o
        /* derecha */
        .right-side {
    width: 25%;
    background: #fff;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

