body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background: linear-gradient(
        to bottom right,
        rgba(0, 0, 0, 0.5),
        rgba(0, 0, 0, 0.5)
    ), url('../img/camion.png') no-repeat center center fixed;
    background-size: cover;
    color: black;
    font-family: Arial, 'Segoe UI', sans-serif;
}

/* Contenedor translúcido y centrado */
.login-container {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 90%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-container h2 {
    margin-bottom: 10px;
    color: #113790;
    font-weight: 600;
}

.login-container img {
    width: 150px;
    height: auto;
    margin-bottom: 20px;
}

input[type="text"], input[type="password"] {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

input[type="text"]:focus, input[type="password"]:focus {
    border-color: #113790;
    outline: none;
}

input[type="submit"], .login-container button {
    width: 100%;
    padding: 12px;
    background-color: rgb(17, 55, 144);
    border: none;
    border-radius: 4px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    font-weight: 600;
    transition: background 0.2s;
}

input[type="submit"]:hover, .login-container button:hover {
    background-color: rgb(2, 25, 78);
}

.lockscreen-footer {
    width: 100%;
    padding: 10px;
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
    color: #333;
}

.error-message {
    color: red;
    margin-bottom: 15px;
    font-size: 15px;
    font-weight: 500;
}

/* Media Queries para responsividad */
@media (max-width: 768px) {
    .login-container {
        width: 80%;
        padding: 20px;
    }

    .login-container h2 {
        font-size: 20px;
    }

    input[type="text"], input[type="password"], input[type="submit"], .login-container button {
        font-size: 14px;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .login-container {
        width: 90%;
        padding: 15px;
    }

    .login-container h2 {
        font-size: 18px;
    }

    input[type="text"], input[type="password"], input[type="submit"], .login-container button {
        font-size: 13px;
        padding: 8px;
    }

    .lockscreen-footer {
        font-size: 12px;
    }
}