
body {
    margin: 0;
    height: 100vh;
    display: flex;
    justify-content: center; /* centrar horizontal */
    align-items: center;     /* centrar vertical */
    background: url("imagenes/fondo-inicio.jpg") no-repeat center center;
    background-size: cover;
    font-family: Arial, sans-serif;
}


.cont-principal {
    background-color: rgba(240, 248, 255, 0.9);
    display: flex;
    flex-direction: row;
    width: 850px;
    border-radius: 20px;
    box-shadow: 0px 8px 20px rgba(0,0,0,0.2);
    overflow: hidden;
}


.cont-logo {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    background-color: #ffffffd7;
}

.cont-logo img {
    max-width: 200px;
    height: auto;
}


.cont-inicio-sesion {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
}

.cont-inicio-sesion h2 {
    margin-bottom: 20px;
    color: #212a4c;
}

.cont-inicio-sesion label {
    font-weight: bold;
    margin: 10px 0 5px;
}

.cont-inicio-sesion input {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    margin-bottom: 15px;
    width: 100%;
    box-sizing: border-box;
}


.cont-botones {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

button,
a.btn-login {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
    text-align: center;
    text-decoration: none;
}

/* Botón Login */
.btn-login {
    background-color: #32537e;
    color: white;
}

.btn-login:hover {
    background-color: #213957;
}

/* Botón Registro */
.btn-register {
    background-color: #f1f1f1;
    color: #32537e;
    border: 1px solid #32537e;
}

.btn-register:hover {
    background-color: #e6e6e6;
}

/* Botón Gmail */
.btn-gmail {
    width: 100%;
    margin-top: 10px;
    padding: 10px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    background-color: #db4437; /* rojo Gmail */
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

.btn-gmail:hover {
    background-color: #b23124;
}
