body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

.login-container {
    width: 300px;
    margin: 100px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #5cb85c;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #4cae4c;
}

.error {
    color: red;
    text-align: center;
    margin-bottom: 15px;
}

.container-fluid {
    padding-left: 0;
    padding-right: 0;
}

/* Style adjustments for the sidebar */
#sidebar {
    padding-left: 15px;
    padding-right: 15px;
}

.sidebar-sticky {
    position: sticky;
    top: 0;
}

/* Fix for tables on smaller screens */
table {
    width: 100%;
    overflow-x: auto;
    display: block;
}

th, td {
    white-space: nowrap;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    #sidebar {
        display: none; /* Hide sidebar on smaller screens */
    }

    main {
        margin-left: 0;
    }

    .card {
        margin-bottom: 20px;
    }

    /* Make forms and other elements stack vertically */
    .row > .col-md-4 {
        width: 100%;
        margin-bottom: 15px;
    }

    /* Adjust font sizes for better readability on smaller screens */
    body, h5 {
        font-size: 16px;
    }
}
