/* ============================================================
   DEWPOINT MY BOOKINGS
   Canonical component theme: dark navy
   This file owns /my-bookings and its booking confirmation.
   ============================================================ */

body.dp-route-my-bookings,
.dp-myb-route-page,
.dp-myb-page,
.dp-myb-shell {
  --dp-myb-navy: #071838;
  --dp-myb-navy-2: #0b2147;
  --dp-myb-border: #cbd5e1;
  --dp-myb-line: #e2e8f0;
  --dp-myb-surface: #ffffff;
  --dp-myb-soft: #f8fafc;
  --dp-myb-success: #0b7a53;
}

.dp-myb-route-page {
  width: 100%;
  max-width: none;
  min-height: calc(100vh - 170px);
  margin: 0;
  padding: 20px 0 0;
  background: var(--dp-myb-soft);
  color: var(--dp-myb-navy);
}

.dp-myb-page,
.dp-myb-shell {
  width: calc(100% - 48px);
  max-width: 1180px;
  margin: 32px auto 56px;
  padding: var(--kradpc-my-bookings-page-top, 12px) 0 70px;
  color: var(--dp-myb-navy);
  font-family: inherit;
}

.dp-myb-auth-required > button {
  min-width: 130px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--dp-myb-navy);
  border-radius: 10px;
  background: var(--dp-myb-navy);
  color: #ffffff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.dp-myb-heading {
  margin: 0 0 30px;
  color: var(--dp-myb-navy);
}

.dp-myb-heading h1 {
  margin: 0;
  color: var(--dp-myb-navy);
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(2rem, 3.2vw, 3.25rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1.4px;
}

.dp-myb-heading p {
  margin: 9px 0 0;
  color: var(--dp-myb-navy);
  font-size: 15px;
}

.dp-myb-loading {
  min-height: 420px;
  display: grid;
  place-items: center;
  color: var(--dp-myb-navy);
  font-size: 15px;
}

.dp-myb-error {
  margin: 0 0 20px;
  padding: 14px 17px;
  border: 1px solid #f2c9c9;
  border-radius: 12px;
  background: #fff5f5;
  color: #a83c3c;
  font-size: 14px;
}

.dp-myb-hold {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) 170px minmax(270px, .9fr);
  gap: 26px;
  align-items: center;
  margin: 0 0 38px;
  padding: 28px 30px;
  border: 1px solid var(--dp-myb-border);
  border-radius: 18px;
  background: var(--dp-myb-surface);
  box-shadow: 0 12px 30px rgba(7, 24, 56, .07);
}

.dp-myb-hold::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  bottom: 20px;
  width: 4px;
  border-radius: 0 5px 5px 0;
  background: var(--dp-myb-navy);
}

.dp-myb-hold-copy {
  padding-left: 8px;
}

.dp-myb-hold-copy small {
  display: block;
  margin-bottom: 9px;
  color: var(--dp-myb-navy);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.6px;
}

.dp-myb-hold-copy h2 {
  max-width: 520px;
  margin: 0;
  color: var(--dp-myb-navy);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.3;
}

.dp-myb-hold-copy p {
  max-width: 500px;
  margin: 8px 0 0;
  color: var(--dp-myb-navy);
  font-size: 13px;
  line-height: 1.55;
}

.dp-myb-timer {
  padding: 8px 14px;
  border-right: 1px solid var(--dp-myb-line);
  border-left: 1px solid var(--dp-myb-line);
  color: var(--dp-myb-navy);
  text-align: center;
}

.dp-myb-timer small,
.dp-myb-timer span {
  display: block;
  color: var(--dp-myb-navy);
}

.dp-myb-timer small {
  margin-bottom: 5px;
  font-size: 11px;
}

.dp-myb-timer strong {
  display: block;
  color: var(--dp-myb-navy);
  font-size: 31px;
  line-height: 1;
  letter-spacing: 1px;
}

.dp-myb-timer span {
  margin-top: 7px;
  font-size: 8px;
  letter-spacing: 1.4px;
}

.dp-myb-held-summary {
  padding: 18px 20px;
  border: 1px solid var(--dp-myb-border);
  border-radius: 14px;
  background: var(--dp-myb-surface);
  color: var(--dp-myb-navy);
  box-shadow: 0 6px 18px rgba(7, 24, 56, .04);
}

.dp-myb-held-summary > b {
  display: block;
  margin-bottom: 12px;
  color: var(--dp-myb-navy);
  font-size: 12px;
}

.dp-myb-held-summary article {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 9px 0;
  border-top: 1px solid var(--dp-myb-line);
}

.dp-myb-held-summary article b {
  color: var(--dp-myb-navy);
  font-size: 13px;
}

.dp-myb-held-summary article span {
  color: var(--dp-myb-navy);
  font-size: 11px;
}

.dp-myb-held-summary footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--dp-myb-line);
}

.dp-myb-held-summary footer b {
  color: var(--dp-myb-navy);
  font-size: 12px;
}

.dp-myb-held-summary footer strong {
  color: var(--dp-myb-navy);
  font-size: 20px;
}

.dp-myb-hold-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: -6px;
}

.dp-myb-hold-actions button,
.dp-myb-section > header > button,
.dp-myb-help button {
  border: 1px solid var(--dp-myb-navy);
  border-radius: 10px;
  background: var(--dp-myb-surface);
  color: var(--dp-myb-navy);
  font-weight: 700;
  cursor: pointer;
}

.dp-myb-hold-actions button {
  min-height: 42px;
  padding: 0 18px;
  font-size: 13px;
}

.dp-myb-section > header > button:hover,
.dp-myb-help button:hover {
  border-color: var(--dp-myb-navy);
  background: var(--dp-myb-navy);
  color: #ffffff;
}

.dp-myb-hold-actions button.primary {
  min-width: 160px;
  border-color: var(--dp-myb-navy);
  background: var(--dp-myb-navy);
  color: #ffffff;
  box-shadow: 0 7px 18px rgba(7, 24, 56, .18);
}

.dp-myb-hold-actions button:hover {
  transform: translateY(-1px);
}

.dp-myb-hold-actions button:disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
}

.dp-myb-section {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 0 32px;
  overflow: hidden;
  border: 1px solid var(--dp-myb-border);
  border-radius: 17px;
  background: var(--dp-myb-surface);
  color: var(--dp-myb-navy);
  box-shadow: 0 8px 24px rgba(7, 24, 56, .035);
}

.dp-myb-section > header {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 22px;
  border-bottom: 1px solid var(--dp-myb-line);
}

.dp-myb-section > header > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dp-myb-section > header span {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--dp-myb-navy);
  color: #ffffff;
  font-size: 14px;
}

.dp-myb-section > header h2 {
  margin: 0;
  color: var(--dp-myb-navy);
  font-size: 17px;
  font-weight: 800;
}

.dp-myb-section > header i {
  min-width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--dp-myb-navy);
  color: #ffffff;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.dp-myb-section > header > button {
  min-height: 39px;
  padding: 0 15px;
  font-size: 12px;
}

.dp-myb-table {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  box-sizing: border-box;
}

.dp-myb-table-head,
.dp-myb-row {
  min-width: 1120px;
  display: grid;
  grid-template-columns: 1.05fr 1.35fr 1.25fr 1.15fr .95fr 1.1fr .75fr .9fr;
  align-items: center;
  gap: 14px;
}

.dp-myb-table-head {
  min-height: 47px;
  padding: 0 21px;
  border-bottom: 1px solid var(--dp-myb-line);
  background: var(--dp-myb-soft);
}

.dp-myb-table-head span {
  color: var(--dp-myb-navy);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .8px;
}

.dp-myb-row {
  min-height: 78px;
  padding: 11px 21px;
  border-bottom: 1px solid var(--dp-myb-line);
  color: var(--dp-myb-navy);
  font-size: 12px;
}

.dp-myb-row:last-child {
  border-bottom: 0;
}

.dp-myb-row:hover {
  background: var(--dp-myb-soft);
}

.dp-myb-ref {
  color: var(--dp-myb-navy);
  font-size: 11px;
  font-weight: 800;
}

.dp-myb-court {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dp-myb-court b {
  color: var(--dp-myb-navy);
  font-size: 13px;
}

.dp-myb-court small {
  color: var(--dp-myb-navy);
  font-size: 10px;
  font-weight: 600;
}

.dp-myb-dates {
  display: grid;
  gap: 3px;
  color: var(--dp-myb-navy);
  line-height: 1.35;
}

.dp-myb-dates span {
  display: block;
  color: var(--dp-myb-navy);
}

.dp-myb-status,
.dp-myb-payment {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.dp-myb-status.confirmed,
.dp-myb-status.completed,
.dp-myb-payment.paid {
  background: #eaf8f1;
  color: var(--dp-myb-success);
}

.dp-myb-status.reserved {
  background: #eaf0f8;
  color: var(--dp-myb-navy);
}

.dp-myb-status.cancelled {
  background: #fff0f0;
  color: #a83c3c;
}

.dp-myb-status.pending,
.dp-myb-payment.pending {
  background: #fff5e7;
  color: #8a5b12;
}

.dp-myb-payment.refunded {
  background: #edf2f7;
  color: var(--dp-myb-navy);
}

.dp-myb-details {
  min-height: 33px;
  padding: 0 11px;
  border: 1px solid var(--dp-myb-navy);
  border-radius: 8px;
  background: var(--dp-myb-surface);
  color: var(--dp-myb-navy);
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

.dp-myb-details:hover {
  background: var(--dp-myb-navy);
  color: #ffffff;
}

.dp-myb-empty {
  min-height: 120px;
  display: grid;
  place-items: center;
  padding: 25px;
  color: var(--dp-myb-navy);
  font-size: 13px;
}

.dp-myb-help {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  box-sizing: border-box;
  padding: 18px 22px;
  border: 1px solid var(--dp-myb-border);
  border-radius: 15px;
  background: var(--dp-myb-surface);
  color: var(--dp-myb-navy);
}

.dp-myb-help b,
.dp-myb-help p {
  color: var(--dp-myb-navy);
}

.dp-myb-help b {
  font-size: 13px;
}

.dp-myb-help p {
  margin: 5px 0 0;
  font-size: 11px;
}

.dp-myb-help button {
  min-height: 39px;
  padding: 0 15px;
  font-size: 11px;
}

/* Booking confirmation modal */
.dp-myb-modal {
  --dp-myb-navy: #071838;
  --dp-myb-navy-2: #0b2147;
  --dp-myb-border: #cbd5e1;
  --dp-myb-line: #e2e8f0;
  --dp-myb-surface: #ffffff;
  --dp-myb-soft: #f8fafc;
  --dp-myb-success: #0b7a53;
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 112px 18px 28px;
  background: rgba(11, 16, 38, .50);
  backdrop-filter: blur(3px);
}

.dp-myb-modal > section {
  width: min(590px, 100%);
  max-width: 590px;
  max-height: calc(100dvh - 140px);
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid var(--dp-myb-border);
  border-radius: 17px;
  background: var(--dp-myb-surface);
  color: var(--dp-myb-navy);
  box-shadow: 0 20px 55px rgba(15, 23, 42, .24);
}

.dp-myb-modal > section:has(.dp-myb-group-confirmation) {
  width: min(920px, calc(100vw - 32px));
  max-width: 920px;
  max-height: calc(100vh - 32px);
}

.dp-myb-modal > section > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 22px 17px;
  border-bottom: 1px solid var(--dp-myb-border);
  background: var(--dp-myb-surface);
  color: var(--dp-myb-navy);
}

.dp-myb-modal header small {
  display: block;
  margin-bottom: 4px;
  color: var(--dp-myb-navy);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}

.dp-myb-modal header h2 {
  margin: 0;
  color: var(--dp-myb-navy);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.15;
}

.dp-myb-modal header p,
.dp-myb-modal .dp-myb-confirm-ref {
  margin: 4px 0 0;
  color: var(--dp-myb-navy);
  font-size: 12px;
  font-weight: 600;
}

.dp-myb-modal header > button {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--dp-myb-navy);
  border-radius: 10px;
  background: var(--dp-myb-surface);
  color: var(--dp-myb-navy);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.dp-myb-confirm-banner {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 16px 22px 0;
  padding: 12px 14px;
  border: 1px solid var(--dp-myb-navy);
  border-radius: 12px;
  background: var(--dp-myb-surface);
  color: var(--dp-myb-navy);
}

.dp-myb-confirm-banner > span {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--dp-myb-navy);
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
}

.dp-myb-confirm-banner b,
.dp-myb-confirm-banner p {
  color: var(--dp-myb-navy);
}

.dp-myb-confirm-banner b {
  display: block;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.dp-myb-confirm-banner p {
  margin: 3px 0 0;
  font-size: 12px;
  line-height: 1.35;
}

.dp-myb-group-confirmation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 20px;
  margin: 18px 22px;
}

.dp-myb-group-schedules,
.dp-myb-checkin-qr {
  padding: 18px;
  border: 1px solid var(--dp-myb-navy);
  border-radius: 14px;
  background: var(--dp-myb-surface);
  color: var(--dp-myb-navy);
}

.dp-myb-group-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.dp-myb-group-title h3,
.dp-myb-checkin-qr h3 {
  margin: 0;
  color: var(--dp-myb-navy);
  font-size: 18px;
}

.dp-myb-group-title span,
.dp-myb-group-schedules b,
.dp-myb-group-schedules small,
.dp-myb-checkin-qr > b,
.dp-myb-checkin-qr small {
  color: var(--dp-myb-navy);
}

.dp-myb-group-title span {
  font-size: 13px;
  font-weight: 700;
}

.dp-myb-group-schedules article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 0;
  margin: 0;
  padding: 12px 0;
  border-top: 1px solid var(--dp-myb-line);
  border-radius: 0;
}

.dp-myb-group-schedules article > div {
  display: grid;
  gap: 4px;
}

.dp-myb-group-schedules article > div:last-child {
  text-align: right;
}

.dp-myb-group-schedules small {
  font-size: 12px;
  font-weight: 600;
}

.dp-myb-group-schedules small.checked-in {
  color: var(--dp-myb-success);
  font-weight: 800;
}

.dp-myb-checkin-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.dp-myb-checkin-qr img {
  width: 190px;
  height: 190px;
  max-width: 100%;
  display: block;
  border: 10px solid #ffffff;
  border-radius: 12px;
  image-rendering: pixelated;
}

.dp-myb-checkin-qr > b {
  letter-spacing: .08em;
}

.dp-myb-checkin-qr small {
  font-weight: 600;
  line-height: 1.4;
}

.dp-myb-qr-unavailable {
  min-height: 150px;
  display: grid;
  place-items: center;
  padding: 14px;
  border: 1px dashed var(--dp-myb-navy);
  border-radius: 10px;
  color: var(--dp-myb-navy);
}

.dp-myb-modal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 16px 22px 18px;
  background: var(--dp-myb-surface);
}

.dp-myb-modal-grid label {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px 13px;
  border: 1px solid var(--dp-myb-border);
  border-radius: 11px;
  background: var(--dp-myb-surface);
  color: var(--dp-myb-navy);
}

.dp-myb-modal-grid label small,
.dp-myb-modal-grid label b {
  color: var(--dp-myb-navy);
}

.dp-myb-modal-grid label small {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.15;
}

.dp-myb-modal-grid label b {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  word-break: break-word;
}

.dp-myb-present-confirmation {
  margin: -2px 22px 20px;
  padding: 11px 13px;
  border: 1px solid var(--dp-myb-navy);
  border-radius: 11px;
  background: var(--dp-myb-surface);
  color: var(--dp-myb-navy);
  text-align: center;
}

.dp-myb-present-confirmation b,
.dp-myb-present-confirmation small {
  display: block;
  color: var(--dp-myb-navy);
}

.dp-myb-present-confirmation b {
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.dp-myb-present-confirmation small {
  margin-top: 3px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.35;
}

.dp-myb-page .booking-page-head,
.dp-myb-page .booking-page-head small,
.dp-myb-page .booking-page-head h2,
.dp-myb-page .booking-page-head p {
  color: var(--dp-myb-navy);
}

@media (min-width: 901px) {
  .dp-myb-table {
    overflow-x: hidden;
  }

  .dp-myb-table-head,
  .dp-myb-row {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    grid-template-columns:
      minmax(0, 1.10fr)
      minmax(0, 1.20fr)
      minmax(0, 1.32fr)
      minmax(0, 1.10fr)
      minmax(0, .88fr)
      minmax(0, .98fr)
      minmax(0, .58fr)
      minmax(124px, 1.16fr);
    gap: 8px;
    box-sizing: border-box;
  }

  .dp-myb-table-head,
  .dp-myb-row {
    padding-right: 16px;
    padding-left: 16px;
  }

  .dp-myb-table-head > *,
  .dp-myb-row > * {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .dp-myb-ref {
    overflow-wrap: anywhere;
    word-break: break-word;
    font-size: 10px;
  }

  .dp-myb-row {
    font-size: 11px;
  }

  .dp-myb-court b {
    font-size: 12px;
  }

  .dp-myb-court small {
    white-space: normal;
    line-height: 1.25;
  }

  .dp-myb-status,
  .dp-myb-payment {
    max-width: 100%;
    padding-right: 7px;
    padding-left: 7px;
    font-size: 9px;
  }

  .dp-myb-details {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 9px 6px;
    white-space: nowrap;
    text-align: center;
  }
}

@media (max-width: 1000px) {
  .dp-myb-hold {
    grid-template-columns: 1fr 160px;
  }

  .dp-myb-held-summary {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .dp-myb-table {
    overflow-x: hidden;
  }

  .dp-myb-table-head {
    display: none;
  }

  .dp-myb-row {
    width: 100%;
    min-width: 0;
    grid-template-columns: 1fr 1fr;
    gap: 12px 18px;
    padding: 18px;
  }

  .dp-myb-row > * {
    min-width: 0;
  }

  .dp-myb-details {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 10px 8px;
    overflow-wrap: anywhere;
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .dp-myb-page,
  .dp-myb-shell {
    width: calc(100% - 20px);
    max-width: none;
  }
}

@media (max-width: 760px) {
  .dp-myb-modal > section:has(.dp-myb-group-confirmation) {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
  }

  .dp-myb-group-confirmation {
    grid-template-columns: 1fr;
  }

  .dp-myb-checkin-qr {
    order: -1;
  }

  .dp-myb-group-schedules article {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .dp-myb-group-schedules article > div:last-child {
    text-align: left;
  }
}

@media (max-width: 700px) {
  .dp-myb-page,
  .dp-myb-shell {
    padding: var(--kradpc-my-bookings-page-top, 12px) 0 50px;
  }

  .dp-myb-heading h1 {
    font-size: 31px;
  }

  .dp-myb-hold {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px 18px;
  }

  .dp-myb-timer {
    padding: 16px 10px;
    border-top: 1px solid var(--dp-myb-line);
    border-right: 0;
    border-bottom: 1px solid var(--dp-myb-line);
    border-left: 0;
  }

  .dp-myb-held-summary {
    grid-column: auto;
  }

  .dp-myb-hold-actions {
    grid-column: auto;
    display: grid;
    grid-template-columns: 1fr;
  }

  .dp-myb-section > header {
    min-height: auto;
    flex-wrap: wrap;
    padding: 17px;
  }

  .dp-myb-section > header > button,
  .dp-myb-help button {
    width: 100%;
  }

  .dp-myb-help {
    align-items: flex-start;
    flex-direction: column;
  }

  .dp-myb-modal-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .dp-myb-modal {
    padding: 86px 10px calc(16px + env(safe-area-inset-bottom));
  }

  .dp-myb-modal > section {
    width: calc(100% - 4px);
    max-width: 520px;
    max-height: calc(100dvh - 102px - env(safe-area-inset-bottom));
    border-radius: 16px;
  }

  .dp-myb-modal > section > header {
    position: relative;
    z-index: 1;
    padding: 16px 15px 13px;
  }

  .dp-myb-modal header h2 {
    font-size: 19px;
  }

  .dp-myb-confirm-banner {
    align-items: center;
    margin: 13px 14px 0;
    padding: 11px 12px;
  }

  .dp-myb-confirm-banner > span {
    width: 31px;
    height: 31px;
    flex-basis: 31px;
    font-size: 16px;
  }

  .dp-myb-confirm-banner b {
    font-size: 13px;
  }

  .dp-myb-confirm-banner p {
    font-size: 11px;
  }

  .dp-myb-group-confirmation {
    margin: 13px 14px;
  }

  .dp-myb-modal-grid {
    gap: 8px;
    padding: 13px 14px 15px;
  }

  .dp-myb-modal-grid label {
    padding: 10px 11px;
  }

  .dp-myb-modal-grid label small {
    font-size: 9px;
  }

  .dp-myb-modal-grid label b {
    overflow-wrap: anywhere;
    font-size: 12px;
  }

  .dp-myb-present-confirmation {
    margin: -1px 14px 14px;
    padding: 10px 11px;
  }

  .dp-myb-present-confirmation b {
    font-size: 11px;
  }

  .dp-myb-present-confirmation small {
    font-size: 9px;
  }
}

@media (max-width: 390px) {
  .dp-myb-modal-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   PICKLE MANIA MY BOOKINGS 2.9.0
   Unified court reservations and Open Play activity
   ============================================================ */

.pm-myb,
.pm-myb-detail {
  --pm-myb-navy: #071d43;
  --pm-myb-lime: #91d400;
  --pm-myb-lime-dark: #74ae00;
  --pm-myb-soft: #f5f8fc;
  --pm-myb-line: #dce4ee;
  --pm-myb-muted: #69778f;
  box-sizing: border-box;
  width: min(1188px, 100%);
  margin: 0 auto;
  color: var(--pm-myb-navy);
}

.pm-myb *,
.pm-myb *::before,
.pm-myb *::after,
.pm-myb-detail *,
.pm-myb-detail *::before,
.pm-myb-detail *::after {
  box-sizing: border-box;
}

.pm-myb-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin: 0 0 22px;
  padding: 0;
  color: var(--pm-myb-navy);
  background: transparent;
}

.pm-myb-heading h1 {
  margin: 0;
  color: var(--pm-myb-navy);
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: -1.2px;
}

.pm-myb-heading p {
  margin: 7px 0 0;
  color: var(--pm-myb-muted);
  font-size: 14px;
}

.pm-myb-heading > button,
.pm-myb-empty button {
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--pm-myb-lime-dark);
  border-radius: 9px;
  background: var(--pm-myb-lime);
  color: var(--pm-myb-navy);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  box-shadow: 0 8px 20px rgba(145, 212, 0, .18);
}

.pm-myb-status-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0 0 12px;
  overflow: hidden;
  border: 1px solid var(--pm-myb-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(7, 29, 67, .04);
}

.pm-myb-status-tabs button {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 60px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: var(--pm-myb-navy);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
}

.pm-myb-status-tabs button::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 0;
  left: 16px;
  height: 3px;
  border-radius: 4px 4px 0 0;
  background: transparent;
}

.pm-myb-status-tabs button.active {
  color: var(--pm-myb-lime-dark);
}

.pm-myb-status-tabs button.active::after {
  background: var(--pm-myb-lime);
}

.pm-myb-status-tabs button span {
  display: grid;
  place-items: center;
  min-width: 23px;
  height: 23px;
  padding: 0 6px;
  border-radius: 999px;
  background: #edf1f6;
  color: var(--pm-myb-navy);
  font-size: 11px;
}

.pm-myb-status-tabs button.active span {
  background: var(--pm-myb-lime);
}

.pm-myb-type-tabs {
  display: flex;
  gap: 9px;
  margin: 0 0 18px;
}

.pm-myb-type-tabs button {
  min-height: 34px;
  padding: 0 18px;
  border: 1px solid var(--pm-myb-line);
  border-radius: 7px;
  background: #fff;
  color: var(--pm-myb-navy);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
}

.pm-myb-type-tabs button.active {
  border-color: var(--pm-myb-lime-dark);
  background: var(--pm-myb-lime);
}

.pm-myb-error,
.pm-myb-loading,
.pm-myb-empty {
  padding: 22px;
  border: 1px solid var(--pm-myb-line);
  border-radius: 12px;
  background: #fff;
}

.pm-myb-error {
  margin-bottom: 16px;
  border-color: #f0b8b8;
  background: #fff4f4;
  color: #a72d2d;
}

.pm-myb-loading {
  min-height: 220px;
  display: grid;
  place-items: center;
  color: var(--pm-myb-muted);
}

.pm-myb-list-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 26px 0 12px;
}

.pm-myb-list-head h2 {
  margin: 0;
  color: var(--pm-myb-navy);
  font-size: 20px;
  letter-spacing: -.35px;
}

.pm-myb-list-head span {
  color: var(--pm-myb-muted);
  font-size: 12px;
}

.pm-myb-list {
  display: grid;
  gap: 10px;
}

.pm-myb-card {
  position: relative;
  display: grid;
  grid-template-columns: 230px 118px 86px 118px minmax(108px, 1fr) 72px 154px;
  align-items: center;
  gap: 10px;
  min-height: 116px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--pm-myb-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(7, 29, 67, .045);
}

.pm-myb-card.is-featured {
  min-height: 142px;
  padding-top: 34px;
  border-color: var(--pm-myb-lime-dark);
  box-shadow: 0 10px 28px rgba(145, 212, 0, .09);
}

.pm-myb-next-label,
.pm-myb-type-label {
  position: absolute;
  top: 12px;
  left: 18px;
  padding: 3px 7px;
  border: 1px solid #b8dc72;
  border-radius: 5px;
  color: #579300;
  background: #f8ffe9;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .45px;
}

.pm-myb-card.is-open .pm-myb-type-label {
  left: 18px;
}

.pm-myb-card.is-featured.is-open .pm-myb-type-label {
  left: 112px;
}

.pm-myb-card-venue {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.pm-myb-venue-mark {
  display: grid;
  flex: 0 0 58px;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--pm-myb-navy);
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  background-position: center;
  background-size: cover;
}

.pm-myb-card.is-open .pm-myb-venue-mark {
  background-color: var(--pm-myb-lime);
  color: var(--pm-myb-navy);
}

.pm-myb-card-venue > div {
  min-width: 0;
}

.pm-myb-card-venue h3 {
  margin: 0 0 3px;
  overflow: hidden;
  color: var(--pm-myb-navy);
  font-size: 15px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pm-myb-card-venue b {
  display: block;
  margin-bottom: 3px;
  overflow: hidden;
  color: var(--pm-myb-muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pm-myb-card-venue p {
  margin: 0 0 7px;
  overflow: hidden;
  color: var(--pm-myb-muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pm-myb-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: max-content;
  padding: 4px 7px;
  border: 1px solid #aed65d;
  border-radius: 6px;
  color: #4d8c00;
  background: #fbfff2;
  font-size: 9px;
  font-weight: 900;
}

.pm-myb-status i {
  display: grid;
  place-items: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--pm-myb-lime-dark);
  color: #fff;
  font-size: 8px;
  font-style: normal;
}

.pm-myb-status.is-pending_payment,
.pm-myb-status.is-pending_approval {
  border-color: #f0c66f;
  color: #a56700;
  background: #fffaf0;
}

.pm-myb-status.is-pending_payment i,
.pm-myb-status.is-pending_approval i {
  background: #edae2e;
}

.pm-myb-status.is-completed {
  border-color: #cbd5e1;
  color: #5f6b7d;
  background: #f6f8fb;
}

.pm-myb-status.is-completed i {
  background: #7b8798;
}

.pm-myb-status.is-cancelled {
  border-color: #efb1b1;
  color: #b12d2d;
  background: #fff3f3;
}

.pm-myb-status.is-cancelled i {
  background: #cf3b3b;
}

.pm-myb-fact {
  display: grid;
  justify-items: center;
  gap: 6px;
  min-width: 0;
  padding: 0 8px;
  border-left: 1px solid var(--pm-myb-line);
  text-align: center;
}

.pm-myb-fact i {
  color: var(--pm-myb-navy);
  font-size: 17px;
  font-style: normal;
}

.pm-myb-fact span {
  max-width: 100%;
  overflow: hidden;
  color: var(--pm-myb-navy);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.35;
  text-overflow: ellipsis;
}

.pm-myb-amount {
  display: grid;
  justify-items: center;
  gap: 3px;
}

.pm-myb-amount small {
  color: var(--pm-myb-muted);
  font-size: 10px;
}

.pm-myb-amount strong {
  color: var(--pm-myb-navy);
  font-size: 15px;
}

.pm-myb-card-actions {
  display: grid;
  gap: 7px;
}

.pm-myb-card-actions small {
  color: var(--pm-myb-lime-dark);
  text-align: center;
  font-size: 10px;
  font-weight: 800;
}

.pm-myb-card-actions button {
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid #b9c5d4;
  border-radius: 7px;
  background: #fff;
  color: var(--pm-myb-navy);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 850;
}

.pm-myb-card-actions button.primary {
  border-color: var(--pm-myb-lime-dark);
  background: var(--pm-myb-lime);
}

.pm-myb-empty {
  display: grid;
  justify-items: center;
  min-height: 220px;
  text-align: center;
}

.pm-myb-empty > span {
  font-size: 35px;
}

.pm-myb-empty h3 {
  margin: 8px 0 0;
  font-size: 18px;
}

.pm-myb-empty p {
  margin: 5px 0 16px;
  color: var(--pm-myb-muted);
  font-size: 13px;
}

.pm-myb-detail {
  display: grid;
  gap: 14px;
}

.pm-myb-detail .page-back {
  justify-self: start;
  border-color: var(--pm-myb-lime-dark);
  color: var(--pm-myb-navy);
}

.pm-myb-detail-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 18px;
  overflow: hidden;
  border: 1px solid var(--pm-myb-line);
  border-radius: 15px;
  background: #fff;
}

.pm-myb-detail-card > header {
  grid-column: 1 / -1;
  padding: 22px 24px;
  color: #fff;
  background: var(--pm-myb-navy);
}

.pm-myb-detail-card > header small {
  color: var(--pm-myb-lime);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1px;
}

.pm-myb-detail-card > header h2 {
  margin: 5px 0;
  font-size: 24px;
}

.pm-myb-detail-card > header p {
  margin: 0;
  color: #cbd7e6;
}

.pm-myb-detail-status {
  grid-column: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 22px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--pm-myb-line);
}

.pm-myb-detail-status strong {
  font-size: 22px;
}

.pm-myb-detail-schedules {
  grid-column: 1;
  display: grid;
  gap: 8px;
  padding: 0 22px 22px;
}

.pm-myb-detail-schedules article {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 13px 14px;
  border: 1px solid var(--pm-myb-line);
  border-radius: 9px;
  background: var(--pm-myb-soft);
}

.pm-myb-detail-schedules article div {
  display: grid;
  gap: 3px;
}

.pm-myb-detail-schedules small {
  color: var(--pm-myb-muted);
}

.pm-myb-detail-schedules .checked-in {
  color: var(--pm-myb-lime-dark);
  font-size: 11px;
  font-weight: 850;
}

.pm-myb-qr {
  grid-column: 2;
  grid-row: 2 / 4;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 10px;
  margin: 0 22px 22px 0;
  padding: 18px;
  border: 1px solid var(--pm-myb-line);
  border-radius: 12px;
  background: var(--pm-myb-soft);
  text-align: center;
}

.pm-myb-qr h3 {
  margin: 0;
  font-size: 16px;
}

.pm-myb-qr img {
  width: 180px;
  height: 180px;
  padding: 8px;
  border: 1px solid var(--pm-myb-line);
  border-radius: 8px;
  background: #fff;
}

.pm-myb-qr b {
  overflow-wrap: anywhere;
}

.pm-myb-qr small {
  color: var(--pm-myb-muted);
  line-height: 1.45;
}

.pm-myb-qr-empty {
  display: grid;
  place-items: center;
  width: 180px;
  min-height: 120px;
  padding: 14px;
  border: 1px dashed #b9c5d4;
  border-radius: 8px;
  color: var(--pm-myb-muted);
  background: #fff;
  font-size: 11px;
}

@media (max-width: 1180px) {
  .pm-myb-card {
    grid-template-columns: minmax(230px, 1.2fr) repeat(3, minmax(110px, .7fr)) 150px;
  }

  .pm-myb-card .pm-myb-fact:nth-of-type(5),
  .pm-myb-amount {
    display: none;
  }
}

@media (max-width: 900px) {
  .pm-myb-status-tabs {
    display: flex;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .pm-myb-status-tabs button {
    flex: 0 0 150px;
  }

  .pm-myb-card {
    grid-template-columns: minmax(220px, 1.25fr) repeat(2, minmax(110px, .75fr)) 145px;
  }

  .pm-myb-card .pm-myb-fact:nth-of-type(4) {
    display: none;
  }

  .pm-myb-detail-card {
    grid-template-columns: 1fr;
  }

  .pm-myb-qr {
    grid-column: 1;
    grid-row: auto;
    margin: 0 22px 22px;
  }
}

@media (max-width: 680px) {
  .pm-myb,
  .pm-myb-detail {
    width: 100%;
  }

  .pm-myb-heading {
    align-items: flex-start;
  }

  .pm-myb-heading h1 {
    font-size: 29px;
  }

  .pm-myb-heading p {
    max-width: 250px;
    font-size: 12px;
  }

  .pm-myb-heading > button {
    min-height: 40px;
    padding: 0 13px;
    white-space: nowrap;
    font-size: 11px;
  }

  .pm-myb-type-tabs {
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .pm-myb-type-tabs button {
    flex: 0 0 auto;
  }

  .pm-myb-card,
  .pm-myb-card.is-featured {
    grid-template-columns: 1fr 1fr;
    gap: 14px 8px;
    min-height: 0;
    padding: 34px 14px 14px;
  }

  .pm-myb-card-venue {
    grid-column: 1 / -1;
  }

  .pm-myb-card .pm-myb-fact {
    display: grid;
    justify-items: start;
    padding: 9px 10px;
    border: 1px solid var(--pm-myb-line);
    border-radius: 8px;
    text-align: left;
  }

  .pm-myb-card .pm-myb-fact:nth-of-type(4),
  .pm-myb-card .pm-myb-fact:nth-of-type(5) {
    display: grid;
  }

  .pm-myb-amount {
    display: grid;
    justify-items: start;
    align-content: center;
    padding: 9px 10px;
    border: 1px solid var(--pm-myb-line);
    border-radius: 8px;
  }

  .pm-myb-card-actions {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pm-myb-card-actions small {
    grid-column: 1 / -1;
  }

  .pm-myb-card-actions button:only-child {
    grid-column: 1 / -1;
  }

  .pm-myb-list-head {
    align-items: flex-start;
  }

  .pm-myb-list-head h2 {
    max-width: 260px;
    font-size: 18px;
  }

  .pm-myb-detail-status {
    margin: 0 14px;
  }

  .pm-myb-detail-schedules {
    padding: 0 14px 14px;
  }

  .pm-myb-detail-schedules article {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .pm-myb-qr {
    margin: 0 14px 14px;
  }
}

@media (max-width: 390px) {
  .pm-myb-heading {
    display: grid;
  }

  .pm-myb-heading > button {
    justify-self: start;
  }

  .pm-myb-card .pm-myb-fact {
    grid-column: 1 / -1;
  }
}
