.participants-table-data {
  width: 100%;
  margin-bottom: 1rem;
}

/* Стили для заголовка таблицы */
.table-header {
  display: flex;
  background-color: #f4f4f4;
  font-weight: bold;
  border-bottom: 2px solid #ddd;
}

/* Стили для строк таблицы */
.table-body {
  display: flex;
  flex-direction: column;
}

.table-row {
  display: flex;
  border-bottom: 1px solid #ddd;
}

/* Стили для ячеек */
.table-cell {
  flex: 1;
  padding: 0.5rem;
  text-align: left;
}
.contest-wrap{
  background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color); 
    margin-bottom: 30px;
}
.contest-tabs{
  margin-bottom: 20px;
  .contest-link{
    display: inline-block;
    padding: 10px 16px;
    border-radius: 6px;
    background: #f5f5f5;
    margin: 8px;
  }
  .contest-link.active{
    background: var(--primary-color); 
    color: #fff;
  }
}

/* Адаптивность: на экранах меньше 768px */
@media (max-width: 768px) {
  .table-header {
    display: none; /* Скрываем заголовок на мобильных */
  }

  .table-row {
    flex-direction: column;
    border: 1px solid #ddd;
    margin-bottom: 1rem;
    padding: 0.5rem;
  }

  .table-cell {
    display: flex;
    justify-content: space-between;
    padding: 0.3rem 0;
    border-bottom: 1px dotted #ddd;
  }

  .table-cell:last-child {
    border-bottom: none;
  }

  .table-cell::before {
    content: attr(data-label);
    font-weight: bold;
    margin-right: 0.5rem;
  }
}

/* Стили для фильтров */
.participants-filters-wrap {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.filter-group {
  display: flex;
  flex-direction: column;
  width: 25%;
}

.filter-group label {
  margin-bottom: 0.5rem;
}

.filter-actions .button {
  padding: 0.5rem 1rem;
  margin-bottom: 15px;
}
.export-link{
  margin-bottom: 15px; 
}

/* Стили для пагинации */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.pagination .button {
  padding: 0.5rem 1rem;
  cursor: pointer;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
}

.pagination .button.active {
  background-color: #0056b3;
  font-weight: bold;
} 