/* Hero tweaks specific to signups (inherits dash-hero-card from styles.css) */

.signups-hero {
  margin-bottom: 18px;
}

/* Signups table card */

.signups-card {
  margin-top: 4px;
}

/* Legend row */

.signups-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.signups-legend-label {
  margin-right: 12px;
}

/* Status badges for table & legend */

.signups-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-width: 1px;
  border-style: solid;
  white-space: nowrap;
}

.signups-badge-success {
  background: rgba(34, 197, 94, 0.16);
  border-color: rgba(34, 197, 94, 0.7);
  color: #bbf7d0;
}

.signups-badge-info {
  background: rgba(59, 130, 246, 0.16);
  border-color: rgba(59, 130, 246, 0.7);
  color: #bfdbfe;
}

.signups-badge-warning {
  background: rgba(234, 179, 8, 0.16);
  border-color: rgba(234, 179, 8, 0.7);
  color: #fef3c7;
}

.signups-badge-finished {
  background: rgba(148, 163, 184, 0.16);
  border-color: rgba(148, 163, 184, 0.7);
  color: #e5e7eb;
}

/* Table styling to match dark card */

.signups-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0;
  font-size: 0.85rem;
}

.signups-table thead tr {
  border-bottom: 1px solid rgba(148, 163, 184, 0.4);
}

.signups-table th {
  border: none;
  padding: 8px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
  background: transparent;
}

.signups-table td {
  border-top: 1px solid rgba(15, 23, 42, 0.9);
  padding: 9px 10px;
  color: #e5e7eb;
}

.signups-table tbody tr:hover {
  background: radial-gradient(circle at left, rgba(248, 113, 113, 0.18), rgba(15, 23, 42, 0.9));
}

/* Series name / subtext */

.signups-series-name {
  font-weight: 600;
  margin-bottom: 2px;
}

.signups-series-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Small buttons */

.dash-btn-sm {
  padding: 6px 12px;
  font-size: 0.78rem;
}

.dash-btn-muted {
  background-color: rgba(15, 23, 42, 0.85);
  color: #9ca3af;
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: none;
}

.dash-btn-open {
  background-color: rgba(0, 24, 90, 1);
  color: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: none;
}


/* Responsive */

@media (max-width: 720px) {
  .signups-legend {
    flex-direction: column;
    align-items: flex-start;
  }

  .signups-table thead {
    display: none;
  }

  .signups-table tbody tr {
    display: block;
    margin-bottom: 10px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.35);
  }

  .signups-table td {
    display: flex;
    justify-content: space-between;
    border: none;
    padding: 6px 8px;
    font-size: 0.8rem;
  }

  .signups-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #9ca3af;
    margin-right: 10px;
  }
}
