html, body {
    height: 100%; /* Ensure the html and body elements take up full height */
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: url('../img/indexbg.png') no-repeat center center fixed;
    background-size: cover;
}

.wrapper {
    min-height: 100vh; /* Ensures the wrapper takes at least the full viewport height */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Optional: Ensures proper alignment if there are header/footer sections */
}

.content {
    flex: 1; /* Pushes footer to the bottom */
    margin-top: 50px;
    padding: 20px;
    background: rgba(255, 255, 255, 0);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 1200px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px; /* Adds gap between content and footer */
}

.content.small {
            max-width: 600px;
		}

@media (max-width: 768px) {
    .content {
        padding: 15px;
        margin-top: 20px;
        margin-bottom: 20px;
    }
}

.navbar {
    width: 100%; /* Full width */
}

.dropdown-header {
    color: #ffffff;
    background-color: #6c757d;
    padding: 10px 20px;
    font-size: 0.9rem;
    border-radius: 0.25rem;
}

.profile-dropdown-menu {
    min-width: 250px;
}

.profile-dropdown-menu > li > a {
    padding: 10px 20px;
}

.profile-dropdown-menu > li > span {
    display: block;
    padding: 3px 20px;
    color: #adb5bd;
}

.dropdown-menu {
      width: 350px; /* Set a fixed width */
      max-height: 400px; /* Limit height */
      overflow-y: auto; /* Scrollable if content exceeds height */
      border-radius: 10px; /* Rounded corners */
      padding: 0; /* Remove padding */
  }

/* Select2: keep dropdown manageable inside modals */
.modal .select2-container--open .select2-dropdown {
    max-height: 300px;
    overflow: hidden;
}
.modal .select2-container--open .select2-results__options {
    max-height: 240px;
    overflow-y: auto;
}
.modal .select2-container--open {
    z-index: 2100;
}
.modal .select2-dropdown {
    z-index: 2100;
}

.dropdown-scrollable {
    max-height: 300px; /* Limit scrollable content height */
    overflow-y: auto;
}

.list-group-item {
    border: none; /* Remove borders between items */
    transition: background-color 0.2s ease; /* Smooth hover effect */
}

.list-group-item:hover {
    background-color: #f0f0f0; /* Light gray hover effect */
}

.dropdown-header {
    font-size: 1rem;
    font-weight: bold;
}

.badge {
    font-size: 0.75rem; /* Smaller badge text */
}

/* Dashboard content */
h1 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 32px;
    color: #333;
}

p {
    text-align: center;
    font-size: 18px;
    color: #555;
}
 .details-row {
            display: none;
        }
		
 .selectpicker {
    width: 100% !important; /* Ensure it spans the full width */
}

.hidden-column {
    display: none;
}

.hidden-header {
    display: none;
}

/* Ensure all columns are visible in the raw table */
table th,
table td {
    visibility: visible;
    display: table-cell;
}

/* Hide the column only in DataTables-enhanced view */
.dataTable th.hide-dt,
.dataTable td.hide-dt {
    visibility: hidden;
    display: none !important; /* Ensure no space is occupied */
}

/*fade out for alerts*/
.fade-out {
    opacity: 0;
    transition: opacity 1s ease-in-out; /* Smooth transition over 1 second */
}


    .chart-container {
      margin-bottom: 40px;
      height: 300px; /* Adjust height as needed */
    }
