/* Full width header and footer for login page */
.login-page .login-header,
.login-page .login-footer {
    left: 0 !important;
    width: 100% !important;
    position: fixed; /* Ensure they stay fixed */
}

.login-page .login-header {
    top: 0; /* Position header at the top */
}

.login-page .login-footer {
    bottom: 0; /* Position footer at the bottom */
}

/* Login container */
.login-container {
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 50%; /* 50% width */
    max-width: 50%; /* Ensure it doesn't exceed 50% */
    color: #333333;
    margin: auto; /* Center the container */
    margin-top: 80px; /* Add margin to avoid overlap with header */
    margin-bottom: 60px; /* Add margin to avoid overlap with footer */
}

/* Ensure form fields are interactive */
.form-control {
    pointer-events: auto !important; /* Ensure fields are clickable */
    z-index: 1; /* Ensure fields are above other elements */
}

/* Login Button Styles */
.btn-login {
    display: inline-block;
    width: 100%;
    padding: 10px 20px;
    background-color: #333333;  /* Matte grey */
    color: #fff;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-login:hover {
    background-color: #ff4081;  /* Matte pink */
    transform: translateY(-3px);
}

/* Messages */
.messages {
    padding: 0;
    list-style-type: none;
}

.messages li {
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 5px;
}

/* Media Queries for Responsivity */
@media (max-width: 768px) {
    .login-container {
        width: 80%; /* Adjust width for smaller screens */
        max-width: 80%;
    }
}

@media (max-width: 576px) {
    .login-container {
        width: 100%; /* Full width on very small screens */
        max-width: 100%;
        padding: 15px;
    }

    h2 {
        font-size: 1.5rem;
    }

    .form-label, .form-control {
        font-size: 0.9rem;
    }
}
