﻿body {
    margin: 0;
    font-family: Arial, sans-serif;
}

.login-container {
    display: flex;
    height: 100vh;
}

.left-panel {
    width: 50%;
    background-color: #114c9e;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    text-align: center;
}

    .left-panel h1 {
        font-size: 2.5em;
        margin-bottom: 20px;
    }

    .left-panel p {
        font-size: 1.2em;
        margin-bottom: 30px;
    }

.btn-info {
    padding: 10px 20px;
    border: 2px solid white;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

    .btn-info:hover {
        background-color: white;
        color: #114c9e;
    }

.right-panel {
    width: 50%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 50px;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.IdUsuario {
    width: 100%;
    max-width: 400px;
    background: #f9f9f9;
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.15);
    position: relative;
    top: -35px; /* Lo sube */
}

.Titulo {
    text-align: center;
    margin-bottom: 25px;
}

    .Titulo label {
        font-size: 1.8em;
        font-weight: bold;
        color: #114c9e;
    }

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1em;
    transition: border-color 0.3s, box-shadow 0.3s;
}

    .form-control:focus {
        border-color: #114c9e;
        box-shadow: 0 0 5px rgba(17, 76, 158, 0.4);
        outline: none;
    }

.btn-primary {
    width: 100%;
    background-color: #114c9e;
    color: white;
    padding: 12px;
    font-size: 1em;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .btn-primary:hover {
        background-color: #0d3c7a;
    }

.input-group {
    width: 100%;
}


    .right-panel h2 {
        font-size: 2em;
        margin-bottom: 30px;
    }

form label {
    font-weight: bold;
    margin-top: 10px;
}

form input {
    width: 100%;
    padding: 10px;
    margin: 8px 0 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    background-color: #1a73e8;
    color: white;
    padding: 10px;
    width: 100%;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s;
}

    form button:hover {
        background-color: #0d55bd;
    }
.header {
    background: #022335;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 20px;
    z-index: 110;
    padding: 5px 5px;
    border-bottom: 5px solid #3498db;
    color: white;
    text-align: center;
}

.Inferior {
    width: 100%;
    height: 20px;
    padding: 0px;
    background-color: #022335;
    display: flex;
    justify-content: center;
    align-items: center; 
    border: 2px solid #3498db;
    position: fixed;
    bottom: 0;
    color: white;
    z-index: 1000;
    padding: 5px 5px;
    margin-top: 20px;
}
.botonInicial button {
    width: 100%;
}
.form-group-custom{
    width: 100%;
}
.form-group-custom btn{
    width: 100%;
}
.error {
    color: red;
    margin-top: 10px;
}
@media (max-width: 768px) {
    .left-panel {
        display: none;
    }

    .right-panel {
        width: 100%;
        height: 100vh;
        padding: 30px 20px;
        box-shadow: none;
        justify-content: center;
    }

    .IdUsuario {
        width: 100%;
        max-width: 400px;
        background: #f9f9f9;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 0 10px rgba(0,0,0,0.15);
        position: relative;
        top: -10px; 
    }

    .Titulo label {
        font-size: 1.5em;
    }

    .btn-primary {
        padding: 10px;
        font-size: 1em;
    }
    .botonInicial button{
        width: 100%;
    }
}

