.registration-table-wrap {
  width: min(100%, 1120px);
  margin: 2.5rem auto 3.5rem;
  padding: 0 1rem;
}

.registration-table-scroll {
  overflow-x: auto;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}

.registration-table-actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.75rem;
}

.registration-table-export {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid #e94b5f;
  border-radius: 6px;
  background: #e94b5f;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.registration-table-export:hover,
.registration-table-export:focus {
  background: #d83d50;
  border-color: #d83d50;
  color: #fff;
  text-decoration: none;
}

.registration-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 1rem;
  line-height: 1.45;
}

.registration-table th,
.registration-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #e8e8e8;
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
}

.registration-table th {
  background: #f6f6f6;
  color: #1f1f1f;
  font-weight: 700;
}

.registration-table-sort {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: 100%;
  min-height: 1.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.registration-table-sort-indicator::before {
  content: "↕";
  color: #777;
  font-size: 0.85em;
}

.registration-table-sort[data-sort-direction="asc"] .registration-table-sort-indicator::before {
  content: "↑";
  color: #e94b5f;
}

.registration-table-sort[data-sort-direction="desc"] .registration-table-sort-indicator::before {
  content: "↓";
  color: #e94b5f;
}

.registration-table tbody tr:nth-child(even) {
  background: #fafafa;
}

.registration-table tbody tr:hover {
  background: #fff4f5;
}

.registration-table tbody tr:last-child td {
  border-bottom: 0;
}

.registration-table-empty {
  width: min(100%, 1120px);
  margin: 2.5rem auto 3.5rem;
  padding: 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background: #f8f8f8;
}

@media (max-width: 700px) {
  .registration-table-wrap {
    margin-top: 1.5rem;
  }

  .registration-table {
    font-size: 0.95rem;
  }

  .registration-table th,
  .registration-table td {
    padding: 0.75rem 0.8rem;
  }
}
