﻿body {
    background: #f4f7ff;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', sans-serif;
}

.login-container {
    width: 1000px;
    height: 550px;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,.15);
    display: flex;
}

/* LEFT PANEL */
.login-left {
    width: 45%;
    background: linear-gradient(180deg, #274b9f, #2b57c2);
    padding: 50px;
    color: #fff;
}

    .login-left h2 {
        font-weight: 700;
        margin-bottom: 10px;
    }

    .login-left p {
        opacity: .85;
        margin-bottom: 35px;
    }

.form-control {
    background: rgba(255,255,255,.15);
    border: none;
    color: white;
    padding: 12px 15px;
    width: 100%;
    height: 48px; /* MISMA altura */
    font-size: 14px;
    border-radius: 10px;
    outline: none;
    box-sizing: border-box;
}

    .form-control::placeholder {
        color: rgba(255,255,255,.7);
    }

    .form-control:focus {
        background: rgba(255,255,255,.2);
        color: white;
        box-shadow: none;
    }

.form-check-label, a {
    color: #e0e7ff;
    font-size: 14px;
}

.btn-login {
    background: #2f6df6;
    border: none;
    padding: 12px;
    font-weight: 600;
    position: relative; /* IMPORTANTE */
}

/* RIGHT PANEL */
.login-right {
    width: 55%;
    display: flex;
    flex-direction: column; /* 👈 CLAVE */
    align-items: center;
    justify-content: center;
    padding: 30px;
}

    .login-right img {
        max-width: 90%;
        height: auto;
    }

    /* Logo encima */
    .login-right .logo-img {
        position: absolute;
        top: 20px; /* ajusta posición vertical */
        left: 50%;
        transform: translateX(-50%); /* centrar horizontal */

        width: 120px; /* tamaño del logo */
        height: auto;
    }

    /* Logo más pequeño */
    .login-right img:first-child {
        max-width: 150px;
        margin-bottom: 20px;
    }

.register {
    font-size: 14px;
    margin-top: 20px;
}

.select-home {
    background-color: rgba(255,255,255,.15);
    color: white;
    padding: 12px 15px;
    border: none;
}

    .select-home option {
        background-color: #222;
        color: #ffc107;
        border: none;
    }

    .select-home:focus {
        background: rgba(255,255,255,.2);
        color: white;
        box-shadow: none;
    }
select.form-control option {
    background-color: #2c4fa3;
    color: #ffffff;
}
.form-group {
    margin-bottom: 18px;
}
    .form-group label {
        display: block;
        margin-bottom: 6px;
        color: #ffffff;
        font-size: 14px;
    }

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: none; /* sin flecha */
    cursor: pointer;
}