/* styles.css */

body {
    font-family: Arial, sans-serif;
    background-image: url("img/fondologin.jpg");
    background-size: cover;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex-direction: column; /* Cambiamos la dirección a columna */
}

.header {
    background-color: #FFFFFF;
    color: white;
    text-align: center;
    padding: 10px 0;
    width: 100%; /* Abarca de extremo a extremo */
    display: flex;
    justify-content: center;
    align-items: center;
}

.header img {
    max-width: 100px; /* Ajusta el tamaño de la imagen según sea necesario */
}

.container {
    width: 300px;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    margin-top: 130px;
    margin-bottom: 200px;
}

h1 {
    text-align: center;
    color: #188cbd;
}

h2 {
    text-align: center;
    color: #333;
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

input[type="text"],
input[type="password"] {
    width: 90%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

input[type="submit"] {
    background-color: #007BFF;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    width: 100%;
}

input[type="submit"]:hover {
    background-color: #0056b3;
    

}


.error-message {
    color: #ff0000; /* Rojo */
    font-weight: bold;
    margin-top: 10px;
    padding: 5px 10px;
    border: 1px solid #ff0000; /* Borde rojo */
    border-radius: 5px;
    background-color: #ffe6e6; /* Fondo rojo claro */
}


.password-toggle {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-66%);
            cursor: pointer;
            width: 30px; /* Ancho personalizado */
            height: auto; /* Altura automática para mantener la proporción */
            border: 1px solid #ccc; /* Borde gris */
            border-radius: 5px; /* Borde curveado */
            padding: 0px; /* Espacio alrededor del ícono */
}



