.topnav {
    background-color: #333;
    overflow: hidden;
}
.topnav a {
    float: right;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}
.topnav a:hover {
    background-color: #ddd;
    color: black;
}
.topnav a:active {
    background-color: #4caf50;
    color: white;
}
.topnav p {
    float: left;
    color: #818181;
}
.main{
    margin-left:0px;
    padding: 0px 10px;
}

td.ralign{
    text-align: right;
}

td.lalign{
    text-align: left;
}

/* ===== Bootstrap Dual Listbox Styling ===== */

/* Main container */
.bootstrap-duallistbox-container {
    margin: 20px 0;
}

/* The two main boxes (available and selected) */
.bootstrap-duallistbox-container .box1,
.bootstrap-duallistbox-container .box2 {
    padding: 0;
}

/* Select boxes inside */
.bootstrap-duallistbox-container select {
    height: 350px !important;
    padding: 8px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    background-color: #fff;
}

/* Select box on focus */
.bootstrap-duallistbox-container select:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Options inside select boxes */
.bootstrap-duallistbox-container select option {
    padding: 6px 10px;
    border-bottom: 1px solid #f0f0f0;
}

/* Hover effect on options */
.bootstrap-duallistbox-container select option:hover {
    background-color: #e9ecef;
}

/* Filter input boxes */
.bootstrap-duallistbox-container .filter {
    margin-bottom: 10px;
}

.bootstrap-duallistbox-container .filter input {
    height: 38px;
    padding: 6px 12px;
    font-size: 14px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    width: 100%;
}

/* Info text (e.g., "Showing all 10") */
.bootstrap-duallistbox-container .info {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 12px;
    color: #6c757d;
}

/* Clear filter links */
.bootstrap-duallistbox-container .clear1,
.bootstrap-duallistbox-container .clear2 {
    font-size: 11px;
    margin-left: 10px;
}

/* Buttons container */
.bootstrap-duallistbox-container .buttons {
    width: 100%;
    margin-bottom: 10px;
}

/* Individual move buttons */
.bootstrap-duallistbox-container .btn {
    margin: 2px;
    font-size: 13px;
    padding: 5px 10px;
}

/* Make buttons full width on mobile */
@media (max-width: 768px) {
    .bootstrap-duallistbox-container .btn {
        width: 100%;
        margin: 3px 0;
    }
}

/* ===== TableSorter sorting indicators ===== */
.tablesorter-header {
    cursor: pointer;
}

.tablesorter-header-inner {
    white-space: nowrap;
}

.tablesorter-header-inner::after {
    content: '\2195'; /* up/down arrow */
    opacity: 0.3;
    font-size: 1.5em;
    margin-left: 0.5rem;
}

.tablesorter-headerAsc .tablesorter-header-inner::after {
    content: '\2191'; /* up arrow */
    opacity: 1;
}

.tablesorter-headerDesc .tablesorter-header-inner::after {
    content: '\2193'; /* down arrow */
    opacity: 1;
}

.tablesorter-headerAsc,
.tablesorter-headerDesc {
    background-color: rgba(0, 123, 255, 0.1);
}
