th {
    background: #4aa0e6;
    position: sticky;
    top: 0;
}

.text-wrap {
    text-wrap: wrap;
    word-break: break-word;
    word-wrap: break-word;
}

/* Custom styles for the gradient navbar */
.headerNavbar {
    height: 80px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 10px;
    padding: 0;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Container for three-column layout with spacing */
.headerNavbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Evenly distribute columns */
}

/* Logo Container Styling */
.logoContainer {
    background: white;
    height: 80px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    border-radius: 8px;
    margin-right: 10px;
    border: 4px solid;
    border-image: linear-gradient(45deg, #667eea, #764ba2) 1;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
}

.logoContainer img {
    height: 60px;
    width: auto;
}

/* Navbar Brand Styling */
.headerNavbar .navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

.headerNavbar h3 {
    font-size: 1.5rem;
    color: white;
    margin: 0;
}

/* Right Side Links Styling */
.headerNavbar .navbar-nav .nav-link {
    color: white;
    font-weight: 500;
    transition: color 0.3s ease;
}

.headerNavbar .navbar-nav .nav-link:hover {
    color: #ffdd00;
}

/* Dropdown Menu Styling */
.headerNavbar .dropdown-menu {
    background-color: #764ba2;
    border: none;
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.2);
}

.headerNavbar .dropdown-item {
    color: white;
}

.headerNavbar .dropdown-item:hover {
    background-color: #5a4c9d;
}

/* Responsive Design */
@media (max-width: 767px) {
    .headerNavbar .container {
        flex-direction: column;
        align-items: stretch;
    }

    .headerNavbar h3 {
        text-align: center;
    }

    .headerNavbar .d-flex {
        justify-content: center;
        margin-bottom: 15px;
    }
}

/* End: Custom styles for the gradient navbar */

/* Dropdown Menu Styling */
.dropdown-menu {
    background-color: #764ba2;
    border: none;
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.2);
}

.dropdown-item {
    color: white;
}

.dropdown-item:hover {
    background-color: #5a4c9d;
}

/* Gradient Button Styling */
.btn-gradient {
    background: #4b86c2;
    border: none;
    color: white;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-gradient:hover {
    background: #185a9d;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    color: white;
}

.btn-gradient-active {
    background: #185a9d;
    /* Active button gradient */
    border: none;
    color: white;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    /* Enhanced shadow for active buttons */
}

.btn-gradient-active:hover {
    background: #185a9d;
    color: white;
    /* transform: translateY(-2px); */
}

/* Smooth transition for hover effects */
.nav-link {
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.nav-link:hover {
    transform: translateY(-2px);
}
/* Custom Styling for Filter Form */
.custom-filter-form input.form-control,
.custom-filter-form select.form-control {
    background: linear-gradient(
        135deg,
        #2d2d2d 100%,
        #4b4b4b 100%,
        #2d2d2d 100%
    );
    color: #ffffff; /* White text */
    border: none; /* No borders */
    border-radius: 10px; /* Rounded corners */
    padding: 12px 15px; /* Increased padding */
    margin-bottom: 10px; /* Space between fields */
    transition: all 0.3s ease-in-out; /* Smooth transition */
}

/* Focus Effect */
.custom-filter-form input.form-control:focus,
.custom-filter-form select.form-control:focus {
    box-shadow: 0 0 15px rgba(192, 192, 192, 0.6); /* Light gray glowing shadow on focus */
    outline: none; /* Remove default outline */
    background: linear-gradient(
        135deg,
        #4b4b4b 0%,
        #2d2d2d 99%,
        #4b4b4b 100%
    ); /* Reverse gradient on focus */
}

/* Dropdown Option Styling */
.custom-filter-form select.form-control option {
    color: #ffffff; /* White text for dropdown options */
    /* background-color: #3a3a3a; */
}

/* Scrollbar Customization */
.custom-filter-form select.form-control::-webkit-scrollbar {
    width: 12px; /* Set scrollbar width */
    background: #5a5a5a; /* Gray scrollbar track */
    border-radius: 10px;
}

.custom-filter-form select.form-control::-webkit-scrollbar-thumb {
    background: linear-gradient(
        135deg,
        #4b4b4b,
        #2d2d2d
    ); /* Gray gradient scrollbar thumb */
    border-radius: 0px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 5px; /* Rounded scrollbar thumb */
}

.custom-filter-form select.form-control:hover::-webkit-scrollbar-thumb {
    background: linear-gradient(
        135deg,
        #757575,
        #333333
    ); /* Lighter gray gradient on hover */
}

/* Button Styling */
.custom-filter-form .btn-secondary {
    background: linear-gradient(
        135deg,
        #333333,
        #666666
    ); /* Dark gray gradient button */
    border: none; /* No border */
    color: #ffffff; /* White text */
    padding: 12px 18px; /* Padding */
    border-radius: 12px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Soft shadow */
    transition: all 0.3s ease-in-out; /* Smooth transition */
}

.custom-filter-form .btn-secondary:hover {
    background: linear-gradient(
        135deg,
        #666666,
        #333333
    ); /* Reverse gradient on hover */
    box-shadow: 0 0 15px rgba(192, 192, 192, 0.4); /* Subtle light gray glow */
}

.avatar_style {
    width: 50px;
    border-radius: 50%;
    height: 50px;
    object-fit: cover;
    background: #dee2e6;
    padding: 3px;
}
