body{
    margin: 0;
    padding: 0;
    height: 100vh;
    background-image: url("imagenes/fondo-inicio.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: sans-serif;
}

/* CONTENEDOR PADRE - INICIO SESION */
.cont-principal {
    background-color: rgba(240, 248, 255, 0.9);
    display: flex;
    flex-direction: row;
    width: 950px;
    height: 450px;
    border-radius: 20px;
    box-shadow: 0px 8px 20px rgba(0,0,0,0.2);
    overflow: hidden;
}

/* CONTENEDOR LOGO */
.cont-logo {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    background-color: #ffffffd7;
}

.cont-logo img {
    max-width: 300px;
    height: auto;
}

/* CONTENEDOR INFO INICIO SESIÓN */
.cont-inicio-sesion {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
}

.cont-inicio-sesion h2 {
    margin-bottom: 20px;
    color: #212a4c;
    text-align: center;
}

.cont-inicio-sesion label {
    font-weight: bold;
    margin: 10px 0 5px;
    color: #212a4c;
}

.cont-inicio-sesion input {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    margin-bottom: 15px;
    width: 100%;
    box-sizing: border-box;
    font-size: 14px;
}

.cont-inicio-sesion input:focus {
    outline: none;
    border-color: #32537e;
    box-shadow: 0 0 5px rgba(50, 83, 126, 0.3);
}

/* BOTONES */
button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
}

/* Botón de Iniciar Sesión */
button[type="submit"] {
    background-color: #32537e;
    color: white;
    margin-top: 5px;
}

button[type="submit"]:hover {
    background-color: #213957;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Botón de Registrarme */
button[type="button"] {
    background-color: #4CAF50;
    color: white;
}

button[type="button"]:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Texto de registro */
.cont-inicio-sesion p {
    margin: 5px 0;
    color: #555;
    font-size: 14px;
}

.cont-inicio-sesion a {
    text-decoration: none;
}

/* Separador */
.cont-inicio-sesion hr {
    margin: 20px 0;
    border: none;
    border-top: 1px solid #ddd;
}

/* Contenedor del botón de Google */
#googleLogin {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .cont-principal {
        flex-direction: column;
        width: 90%;
        height: auto;
        max-width: 500px;
    }

    .cont-logo {
        padding: 20px;
    }

    .cont-logo img {
        max-width: 200px;
    }

    .cont-inicio-sesion {
        padding: 30px 20px;
    }
}