
body {
    font-family: Arial, sans-serif;
    background: url('/img/Fondo_LogIn.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.form-box {
    background: rgba(255, 255, 255);
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
    width: 360px;
    text-align: center;
   
}

.form-box .logo {
    max-width: 100px; /* Ajusta el tamaño máximo de la imagen */
    margin-bottom: 20px;
    display: block; /* Asegura que la imagen se comporte como un bloque */
    margin-left: auto; /* Centra la imagen horizontalmente */
    margin-right: auto; /* Centra la imagen horizontalmente */
    
}


.form-box h2 {
    background-color: #0F3B87;
    color: white;
    padding:7px;
    margin: -20px -20px 20px -20px;
}

.input-container {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.input-container .icon {
    width: 20px;
    height: 20px;
    margin-right: 10px; /* Espacio entre el ícono y el input */
}

.input-container input {
    flex: 1; /* Hace que el input ocupe el espacio restante */
    padding: 8px; /* Aumenta el padding para hacerlo más grande */
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 20px; /* Aumenta el tamaño de la fuente */
    font-weight: bolder;
    background-color: #E0E0E0; /* Cambia el fondo a gris */
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1); /* Efecto de sombra */
}


button[type="submit"] {
    background-color: #0F3B87;
    color: white;
    padding: 6px 20px;
    border: none;
    border-radius:12px;
    cursor: pointer;
    font-size: 16px;
    width: auto;
    font-size: 22px;
    font-weight: bolder;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

button[type="submit"]:hover {
    background-color: #0D2F6D;

}

.error {
    color: red;
    font-size: 14px;
    margin-bottom: 10px;
}

.form-box input[type="text"], 
.form-box input[type="password"] {
    background-repeat: no-repeat;
    background-position: 10px center;
    padding-left: 10px; /* Añade espacio para el ícono */
    background-size: 20px; /* Ajusta el tamaño del ícono */
    width: calc(100% - 20px); /* Ajusta el ancho para evitar desbordamiento */
    box-sizing: border-box; /* Asegura que el padding no cause desbordamiento */
}
.form-box input[type="text"]:focus, 
.form-box input[type="password"]:focus{
    color:rgb(63, 63, 63);

}

