* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-image: url('logoutcolorsolo.jpg');  /* Fondo opaco  */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

/* fondo Uni.jpg */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);  
    z-index: 0;  
}

/* Estilo del contenedor del formulario */
.login-container {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    position: relative;
    z-index: 1;  
    text-align: center;  
}


.login-container .logo-container {
    margin-bottom: 20px;
    z-index: 1;  
}

.login-container .logo {
    width: 150px;  
    height: auto;
}

/* Título del formulario */
.login-container h2 {
    margin-bottom: 20px;
    color: #2d87f0;
    z-index: 1;  
}

/* Estilos del formulario */
.login-form {
    display: flex;
    flex-direction: column;
    z-index: 1; /* Asegura que el formulario esté por encima del fondo */
}

.login-form label {
    margin-bottom: 5px;
    color: #333;
}

.login-form input {
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
}

.login-form input:focus {
    outline: none;
    border-color: #2d87f0;
}

/* Botón de inicio de sesión */
.login-form button {
    padding: 12px;
    background-color: #2d87f0;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-form button:hover {
    background-color: #1c5ea6;
}

/* Estilo de mensajes de error */
.error {
    color: red;
    font-size: 14px;
    margin-bottom: 15px;
}