.user-table {
    width: 100% !important;
    border-collapse: collapse;
    background-color: #fff;
}

.user-table th, .user-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    text-align: left;
    vertical-align: middle;
}

.user-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

.user-table tr:hover {
    background-color: #f1f1f1;
}

.user-table th.sortable {
    cursor: pointer;
    user-select: none;
}

.user-table th.sortable:hover {
    background-color: #e9ecef;
}

.sort-icon::after {
    content: '↕';
    opacity: 0.3;
    margin-left: 5px;
    font-size: 0.8em;
}

.sort-asc .sort-icon::after { content: '↑'; opacity: 1; }
.sort-desc .sort-icon::after { content: '↓'; opacity: 1; }

.status-badge {
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 600;
}
.status-0 { background-color: #d4edda; color: #155724; } /* Aktiv */
.status-1 { background-color: #f8d7da; color: #721c24; } /* Wartend */
.status-2 { background-color: #f8d7da; color: #721c24; } /* Gesperrt */
.status-3 { background-color: #e0f2fe; color: #0369a1; } /* Archiviert */
.status-4 { background-color: #fff3cd; color: #856404; } /* Pausiert */
.status-5 { background-color: #e2e3e5; color: #383d41; } /* Archiviert */
.status-reg { background-color: #d4edda; color: #155724; } /* Registriert */
.status-unreg { background-color: #fff3cd; color: #856404; } /* Nicht Registriert */

/* Filter Select im Header */
.search-box {
    display: flex;
    gap: 10px;
    align-items: center;
}

.user-status-filter {
    width: auto;
    min-width: 150px; /* Mindestbreite für das Dropdown */
}