.invitation-page {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 2rem;
  font-family: 'Inter', system-ui, sans-serif;
}

.invitation-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.invitation-header h2 {
  margin: 0;
  font-size: 1.6rem;
  color: #111;
}

.invitation-header button {
  padding: 0.6rem 1rem;
  background: #111827;
  color: #f9fafb;
  border: none;
  border-radius: 999px;
  font-size: 0.95rem;
  cursor: pointer;
}

.invitation-header button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.invitation-table {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.invitation-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-top: 1px solid #e5e7eb;
  align-items: center;
  font-size: 0.95rem;
}

.invitation-row--head {
  background: #f9fafb;
  font-weight: 600;
  color: #111827;
  border-top: none;
}

.invitation-row--empty {
  padding: 1.5rem 1rem;
  color: #6b7280;
}

.invitation-code {
  font-family: 'IBM Plex Mono', 'SFMono-Regular', ui-monospace, monospace;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.invitation-error {
  color: #b91c1c;
  margin-bottom: 1rem;
}

@media (max-width: 720px) {
  .invitation-row {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .invitation-row--head {
    display: none;
  }

  .invitation-row > div::before {
    content: attr(data-label);
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6b7280;
    margin-bottom: 0.2rem;
  }
}
