/* Waitlist: the sign-up for an event's waitlist in its tickets block,
   set off from the tickets above it, its address and button side by side */
.waitlist {
  --flow-space: var(--space-s);

  border-block-start: 1px solid var(--color-surface-3);
  padding-block-start: var(--space-s);
}

/* Alone in the card, before a drop, nothing stands above it */
.waitlist:first-child {
  border-block-start: 0;
  padding-block-start: 0;
}

.waitlist__title {
  font-size: var(--step-1);
}

.waitlist__row {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);

  > .field {
    flex: 1 1 12rem;
  }
}

/* What joining agrees to: one line, the full wording a click away */
.waitlist__consent {
  summary {
    cursor: pointer;
    list-style: none;

    &::-webkit-details-marker {
      display: none;
    }
  }

  p {
    margin-block-start: var(--space-2xs);
  }
}

.waitlist__more {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
