/* ========== USER LIST TABLE ========== */
.users-wrapper {
    max-width: 700px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

.table-container {
    background: var(--surface, #1a2536);
    border: 1px solid var(--border, #2a3b4e);
    border-radius: 12px;
    overflow: hidden;
}

.users-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-mono);
}

.users-table thead {
    background: #0d1117;
}

.users-table th {
    text-align: left;
    padding: 1rem 1.2rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text, #b3b9c5);
    border-bottom: 1px solid var(--border, #2a3b4e);
    letter-spacing: 1px;
}

.users-table td {
    padding: 0.8rem 1.2rem;
    border-bottom: 1px solid var(--border, #2a3b4e);
    color: var(--text-bright, #e6eae6);
    font-size: 0.95rem;
}

.users-table tbody tr:hover {
    background: rgba(159, 239, 0, 0.03);
}

.users-table tbody tr:last-child td {
    border-bottom: none;
}

.col-avatar {
    width: 50px;
    text-align: center;
}

.avatar-small {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--neon-dim, #6b9e1a);
    display: inline-block;
}

.default-avatar {
    background-color: var(--neon-dim, #6b9e1a);
    color: #000;
    font-weight: bold;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.col-username {
    color: var(--neon, #9fef00);
    font-weight: bold;
}

.col-joined {
    color: var(--text, #b3b9c5);
    white-space: nowrap;
}

.no-users {
    text-align: center;
    padding: 2rem;
    color: var(--text);
}


.user-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: inherit;          /* رنگ نئون را از والد حفظ کند */
}

.user-link:hover .username {
    color: var(--neon, #9fef00);
    text-decoration: underline;
}