/* Group List Table Styles - matching Participant List design */

.group-header,
.group-row {
  display: grid;
  grid-template-columns: 1fr 150px;
  min-width: 0;
  box-sizing: border-box;
}

.group-header {
  background: #D9A128;
  color: #ffffff;
  font-weight: bold;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.group-header > div {
  display: flex;
  align-items: center;
  font-size: 14px;
  margin: 0;
  padding: 12px 15px;
  min-width: 0;
  white-space: nowrap;
}

.group-header > div:last-child {
  justify-content: center;
}

.group-row {
  border-bottom: 1px solid #eee;
  font-size: 14px;
  align-items: center;
  transition: background 0.2s ease-in-out;
  background: #FFFBF4;
}

.group-row:hover {
  background: #fffdf9;
}

.group-row > div {
  font-size: 14px;
  padding: 12px 15px;
  margin-left: 0;
  min-width: 0;
  display: flex;
  align-items: center;
}

.group-row > div:last-child {
  justify-content: center;
}

.group-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.group-actions .action-btn {
  background: transparent;
  border: none;
  color: #555;
  padding: 6px 10px;
  cursor: pointer;
  transition: color 0.2s;
  font-size: 13px;
}

.group-actions .action-btn:hover {
  color: #D9A128;
}

/* Group table container */
.group-table-container {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Pagination inside table */
.group-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  background: #FFFBF4;
  flex-wrap: wrap;
  gap: 10px;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.group-pagination-box {
  display: flex;
  gap: 5px;
  align-items: center;
}

.group-pagination-btn {
  padding: 6px 12px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  font-size: 13px;
  border-radius: 4px;
  transition: all 0.2s;
}

.group-pagination-btn:hover:not(:disabled) {
  background: #f5f5f5;
  border-color: #D9A128;
}

.group-pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.group-pagination-btn.active {
  background: #D9A128;
  color: #fff;
  border-color: #D9A128;
}
