/* Admin Tables Optimization */

/* User Management Table */
.users-table {
    table-layout: fixed;
    min-width: 1200px;
}

.users-table .email-cell {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.users-table .email-cell:hover {
    background-color: #f8f9fa;
    cursor: pointer;
}

/* Number columns alignment */
.users-table .number-cell {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.users-table .center-cell {
    text-align: center;
}

/* Status badges optimization */
.status-badge {
    display: inline-block;
    min-width: 60px;
    text-align: center;
}

/* Table container responsive */
.table-container {
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.table-container::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.table-container::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.table-container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.table-container::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Hover effects for table rows */
.admin-table tbody tr:hover {
    background-color: #f8fafc;
}

/* Responsive text truncation */
@media (max-width: 1400px) {
    .users-table .email-cell {
        max-width: 140px;
    }
}

@media (max-width: 1200px) {
    .users-table .email-cell {
        max-width: 120px;
    }
} 