<table class="table">
<thead>
<tr>
<th>Имя</th>
<th>Роль</th>
<th>Статус</th>
</tr>
</thead>
<tbody>
<tr>
<td>Анна Петрова</td>
<td>Дизайнер</td>
<td><span class="status status--active">Активна</span></td>
</tr>
<tr>
<td>Иван Сидоров</td>
<td>Разработчик</td>
<td><span class="status status--inactive">Неактивен</span></td>
</tr>
</tbody>
</table>
<table class="table">
<thead>
<tr>
<th>Имя</th>
<th>Роль</th>
<th>Статус</th>
</tr>
</thead>
<tbody>
<tr>
<td>Анна Петрова</td>
<td>Дизайнер</td>
<td><span class="status status--active">Активна</span></td>
</tr>
<tr>
<td>Иван Сидоров</td>
<td>Разработчик</td>
<td><span class="status status--inactive">Неактивен</span></td>
</tr>
</tbody>
</table>
.table {
width: 100%;
border-collapse: collapse;
margin-bottom: 1.5rem;
}
.table th,
.table td {
padding: 0.75rem;
text-align: left;
border-bottom: 1px solid #E9ECEF;
}
.table th {
font-weight: var(--font-weight-semibold);
color: var(--color-dark);
background-color: var(--color-light);
}
.status {
display: inline-block;
padding: 0.25rem 0.5rem;
border-radius: 4px;
font-size: 0.875rem;
font-weight: var(--font-weight-semibold);
}
.status--active {
background-color: rgba(40, 167, 69, 0.15);
color: var(--color-success);
}
.status--inactive {
background-color: rgba(220, 53, 69, 0.15);
color: var(--color-danger);
}
.table {
width: 100%;
border-collapse: collapse;
margin-bottom: 1.5rem;
}
.table th,
.table td {
padding: 0.75rem;
text-align: left;
border-bottom: 1px solid #E9ECEF;
}
.table th {
font-weight: var(--font-weight-semibold);
color: var(--color-dark);
background-color: var(--color-light);
}
.status {
display: inline-block;
padding: 0.25rem 0.5rem;
border-radius: 4px;
font-size: 0.875rem;
font-weight: var(--font-weight-semibold);
}
.status--active {
background-color: rgba(40, 167, 69, 0.15);
color: var(--color-success);
}
.status--inactive {
background-color: rgba(220, 53, 69, 0.15);
color: var(--color-danger);
}