
/* Keep the existing member detail usable on narrow/short displays. */
.gymgaja-member-booking-detail {
  width: calc(100vw - 2rem);
  max-width: 24rem;
  max-height: calc(100svh - 2rem);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.gymgaja-member-booking-detail > div { min-width: 0; }
.gymgaja-member-booking-detail > button:last-child {
  top: 8px;
  right: 8px;
  display: grid;
  min-width: 44px;
  min-height: 44px;
  place-items: center;
}
.gymgaja-member-booking-detail__summary > div:first-child {
  min-width: 0;
  align-items: flex-start;
  gap: 12px;
}
.gymgaja-member-booking-detail__summary > div:first-child > div:first-child {
  flex: 1 1 0%;
  min-width: 0;
}
.gymgaja-member-booking-detail__summary > div:first-child > div:first-child > div {
  flex: 0 0 12px;
}
.gymgaja-member-booking-detail__summary > div:first-child > div:first-child > span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.gymgaja-member-booking-detail__summary > div:first-child > :last-child { flex-shrink: 0; }
.gymgaja-member-booking-detail__summary > div:nth-child(2) {
  flex-wrap: wrap;
  row-gap: 8px;
}
