/* Responsive Table Container */
.table-container {
    overflow-x: auto;
    margin: 20px 0;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    height: calc(100vh - 140px);
}

/* Table Styling */
#status-table {
    width: 100%;
    border-collapse: collapse;
    font-family: "Arial", sans-serif;
    font-size: 16px;
    text-align: right;
}

/* Table Header */
#status-table th {
    padding: 12px;
    background-color: var(--color-primary-a50);
    color: #fff;
    cursor: pointer;
    position: sticky;
    top: 0;
    z-index: 10;
}

/* Table Rows */
#status-table td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.align-t-left {
    text-align: left;
}

.align-t-right {
    text-align: right;
}

#status-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* Hover effect */
#status-table tr:hover {
    background-color: #e9f5ff;
}

.div-header {
    color: var(--color-primary-a50);
    display: flex; /* Use flexbox for alignment */
    justify-content: space-between; /* Space between heading and button */
    align-items: center; /* Vertically align items */
}

.div-header-side-button-container {
    text-align: right; /* Align button to the right */
    margin-right: 10px; /* Add some spacing around */
}

#filter-settings-div {
    display: grid;
    grid-template-columns: auto auto; /* Two equal-width columns */
    grid-template-areas: 'settings1 settings2'
                         'settings3 settings3';
    grid-column-gap: 10px;
    max-width: fit-content;
    margin: 0 auto 0 20px;
}


#filter-checkboxes-div {
    grid-area: settings1;
    display: grid;
    grid-template-columns: auto auto; /* Two equal-width columns */
    grid-row-gap: 15px;
    grid-column-gap: 15px;
    max-width: fit-content;
}

.box-pair {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.checkbox-label {
    margin-right: 10px;
    font-weight: bold;
}

.checkbox-input {
    width: 30px;
    height: 30px;
    margin: 0;
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    #status-table th {
        font-size: 9px;
        padding: 8px;
    }
    #status-table td {
        font-size: 12px;
        padding: 6px;
    }
}



