.container {
    max-width: 1200px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
h1 {
    color: #333;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}
th {
    background-color: #007bff;
    color: white;
    font-weight: 600;
}
tr:hover {
    background-color: #f1f1f1;
}
.empty-message {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 18px;
}
.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}
.badge-type-4 {
    background-color: #28a745;
    color: white;
}
.badge-type-other {
    background-color: #6c757d;
    color: white;
}
.refresh-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
}
.refresh-btn:hover {
    background-color: #0056b3;
}
.count-info {
    margin-top: 10px;
    color: #666;
    font-size: 14px;
}
.nowrap {
    white-space: nowrap;
}
.small-text {
    font-size: 12px;
    color: #666;
}
.amount {
    text-align: right;
    font-weight: 600;
}
details {
    cursor: pointer;
    margin: 0;
}
details summary {
    padding: 8px;
    background-color: #f0f0f0;
    border-radius: 3px;
    user-select: none;
}
details summary:hover {
    background-color: #e0e0e0;
}
.details-content {
    padding: 12px;
    background-color: #f9f9f9;
    margin-top: 5px;
    border-left: 3px solid #007bff;
}
.detail-row {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 10px;
    margin-bottom: 8px;
}
.detail-label {
    font-weight: 600;
    color: #555;
}
.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 20px;
}
.pagination {
    display: flex;
    gap: 5px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}
.pagination li {
    display: inline-block;
}
.pagination a,
.pagination span {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #007bff;
    min-width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}
.pagination a:hover {
    background-color: #f0f0f0;
}
.pagination .active span {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}
.pagination .disabled span {
    color: #ccc;
    cursor: not-allowed;
    border-color: #ddd;
    background-color: #fafafa;
}
.pagination .disabled {
    pointer-events: none;
}
.per-page-selector {
    display: flex;
    align-items: center;
    gap: 10px;
}
.per-page-selector select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}
.pagination-info {
    color: #666;
    font-size: 14px;
}
.filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 16px;
}
.filters .field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.filters label {
    font-size: 12px;
    color: #555;
}
.filters input,
.filters select {
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}
.filters-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 12px;
}
.filters-actions button,
.filters-actions a {
    padding: 8px 14px;
    border-radius: 4px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    text-decoration: none;
    color: #007bff;
}
.filters-actions button:hover,
.filters-actions a:hover {
    background: #f0f0f0;
}
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.filter-dropdown {
    margin: 0;
}
.filter-dropdown summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    font-size: 14px;
    color: #333;
}
.filter-dropdown summary::after {
    content: "▾";
    font-size: 12px;
    color: #666;
}
.filter-dropdown[open] summary::after {
    content: "▴";
}
.checkbox-group-compact {
    margin-top: 8px;
}
.checkbox-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.checkbox-actions button {
    padding: 6px 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    font-size: 12px;
    color: #007bff;
}
.checkbox-actions button:hover {
    background: #f0f0f0;
}
.checkbox-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 6px 12px;
    max-height: 180px;
    overflow: auto;
    padding: 8px;
    border: 1px solid #eee;
    border-radius: 4px;
    background: #fafafa;
}
.checkbox-list-compact {
    grid-template-columns: 1fr;
    max-height: 220px;
}
.checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}
.avatar {
    border: 1px solid #ddd;
}
.wmid-nickname {
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.3;
    color: #667085;
    word-break: break-word;
}
.row-highlight-6-3 {
    background-color: #d4edda !important;
}
.row-highlight-30-1 {
    background-color: #f8d7da !important;
}
.back {
    display: inline-block;
    margin-bottom: 12px;
}
