html, body {
    height: 100%; /* Full height for the body and html */
    margin: 0;
    padding: 0;
    background: none;
}
.bg {
    background-image: url('{{ url_for('static', filename='bg.jpg') }}'); /* Ensure correct path */
    background-size: cover;
    background-position: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -10; /* Set very low to keep behind everything */
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8); /* Increased darkness of the overlay */
    z-index: -5; /* Above the background, below everything else */
}
body {
    display: flex;
    align-items: center; /* Center items vertically */
    justify-content: center; /* Center items horizontally */
    position: relative;
    font-family: 'Bebas Neue', sans-serif; /* Dynamic, action-style font */
    color: #f1c40f; /* Maintaining theme color */
}
.login-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
    background-color: #333;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 5; /* Ensuring it's above the overlay and background */
}
.form-control {
    background-color: #444;
    border: 1px solid #e2b007;
    color: #fff;
    font-size: 1.2rem;
}
.form-control:focus {
    background-color: #555;
    border-color: #f1c40f;
    color: #fff;
}
.btn-primary {
    background-color: #f1c40f;
    border-color: #e2b007;
    color: #333;
    font-size: 1.2rem;
}
.btn-primary:hover {
    background-color: #e2b007;
    border-color: #d1a006;
}
h2 {
    margin-bottom: 20px;
    text-align: center;
}
.logo {
    display: block;
    width: 220px; /* Adjust size as necessary */
    margin: 20px auto 30px; /* Space above and below logo */
}
.footer {
    text-align: center;
    color: #fff; /* White color for the text */
    margin-top: 20px; /* Space above the footer */
}