/* styles.css */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

.container {
    width: 90%;
    margin: auto;
    overflow: hidden;
}

h1 {
    text-align: center;
    margin-top: 20px;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 20px;
}

.filters input, 
.filters select, 
.filters button {
    padding: 10px;
    margin: 5px;
    font-size: 16px;
    flex: 1 1 200px;
    box-sizing: border-box;
}

.filters select[multiple] {
    height: auto;
    min-height: 50px;
    resize: vertical;
}

.totals-box {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    background-color: #fff;
}

.totals-box div {
    flex: 1;
    text-align: center;
    font-weight: bold;
}

.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 10px;
    text-align: left;
}

th {
    background-color: #f2f2f2;
    cursor: pointer;
}

th .sort-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-size: contain;
    margin-left: 5px;
    vertical-align: middle;
}

th.asc .sort-indicator {
    background-image: url('/static/sort-asc.png');
}

th.desc .sort-indicator {
    background-image: url('/static/sort-desc.png');
}

.select_row:checked + td {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.pagination {
    text-align: center;
    margin-top: 10px;
}

.pagination button {
    padding: 10px;
    font-size: 16px;
}

.pagination select {
    margin-left: 10px;
}

#send_to_webhook {
    display: block;
    width: 100%;
    padding: 10px;
    font-size: 18px;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    margin-top: 20px;
}

#send_to_webhook:hover {
    background-color: #45a049;
}

#apply_filters {
    display: block;
    width: 100%;
    padding: 10px;
    font-size: 18px;
    background-color: #2196F3;
    color: white;
    border: none;
    cursor: pointer;
    margin-top: 20px;
}

#apply_filters:hover {
    background-color: #1E88E5;
}

#select_all_filtered {
    display: block;
    width: 100%;
    padding: 10px;
    font-size: 18px;
    background-color: #FFC107;
    color: white;
    border: none;
    cursor: pointer;
    margin-top: 20px;
}

#select_all_filtered:hover {
    background-color: #FFB300;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 20px;
}

.filters input,
.filters select,
.filters button {
    padding: 10px;
    margin: 5px;
    font-size: 16px;
    flex: 1 1 200px;
}

.filters button {
    flex: 1 1 100%;
    max-width: 200px;
}

.totals-box {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    background-color: #fff;
}

.totals-box div {
    flex: 1;
    text-align: center;
    font-weight: bold;
}


