/* ============================================================
   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 {
    box-sizing: border-box;
    position: static;
    inset: auto;
    transform: none;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: start;
    align-self: start;

    width: auto;
    max-width: 100%;
    min-height: 42px;

    margin: 0 0 14px;
    padding: 9px 14px;

    border: 1px solid #98d600;
    border-radius: 10px;

    background: #ffffff;
    color: #0c2448;

    box-shadow: none;

    font: inherit;
    font-size: 11px;
    font-weight: 850;
    line-height: 1.2;
    white-space: nowrap;

    cursor: pointer;
}

.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;
}


/* ============================================================
   PM_MY_BOOKINGS_CANONICAL_SEARCH_GROUP_DATES_CSS_V2
   Default component classes for Search and grouped dates.
   ============================================================ */

.pm-myb-search{
    width:100%;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    gap:8px;
    margin:0 0 12px;
}

.pm-myb-search input{
    width:100%;
    min-width:0;
    min-height:44px;
    padding:9px 13px;
    color:#071d3a;
    background:#ffffff;
    border:1px solid #d9e2ed;
    border-radius:11px;
    outline:none;
    font:inherit;
    font-size:12px;
}

.pm-myb-search input:focus{
    border-color:#98d600;
    box-shadow:0 0 0 3px rgba(152,214,0,.13);
}

.pm-myb-search button{
    min-height:44px;
    padding:9px 17px;
    border:1px solid #98d600;
    border-radius:10px;
    background:#98d600;
    color:#071d3a;
    font:inherit;
    font-size:11px;
    font-weight:850;
    cursor:pointer;
}

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

.pm-myb-group-dates > div{
    min-width:0;
    display:grid;
    gap:3px;
}

.pm-myb-group-dates small{
    color:#6b7d94;
    font-size:9px;
    font-weight:750;
    line-height:1.2;
    text-transform:uppercase;
    letter-spacing:.045em;
}

.pm-myb-group-dates ul,
.pm-myb-grouped-confirmation-dates ul{
    list-style:none;
    display:grid;
    gap:3px;
    margin:0;
    padding:0;
}

.pm-myb-group-dates li{
    color:#071d3a;
    font-size:10.5px;
    font-weight:800;
    line-height:1.3;
}

.pm-myb-grouped-confirmation-dates{
    display:grid;
    gap:7px;
    margin:0;
    padding:12px 14px;
    background:#f7faef;
    border:1px solid #d7e9a9;
    border-radius:10px;
}

.pm-myb-grouped-confirmation-dates > small{
    color:#5b7400;
    font-size:9px;
    font-weight:850;
    letter-spacing:.06em;
}

.pm-myb-grouped-confirmation-dates li{
    position:relative;
    padding-left:13px;
    color:#071d3a;
    font-size:11px;
    font-weight:750;
}

.pm-myb-grouped-confirmation-dates li::before{
    content:"";
    position:absolute;
    top:.55em;
    left:1px;
    width:5px;
    height:5px;
    border-radius:50%;
    background:#98d600;
}

.pm-myb-card-actions .pm-myb-only-action{
    width:100%;
    grid-column:1 / -1;
}

@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;
  }
}

/* ============================================================
   PM_ATVENUE_MYB_PICKLEMANIA_EMBED_V21
   Existing @venue shell + real Pickle Mania My Bookings content.
   ============================================================ */

.pm-atvenue-myb-pm-panel{
    position:relative;
}

/* Convert old shell header to floating close button only. */
.pm-atvenue-myb-pm-panel > .pm-atvenue-myb-head {
    position: absolute;
    z-index: 60;
    top: 12px;
    right: 12px;

    width: 42px;
    height: 42px;
    min-height: 0;

    margin: 0;
    padding: 0;

    border: 0;
    background: transparent;

    pointer-events: none;
}

.pm-atvenue-myb-pm-panel
> .pm-atvenue-myb-head
> div:first-child{
    display:none;
}

.pm-atvenue-myb-pm-panel
> .pm-atvenue-myb-head
.pm-atvenue-myb-close {
    box-sizing: border-box;
    position: static;

    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    margin: 0;
    padding: 0;

    pointer-events: auto;

    border: 1px solid #dbe3ee;
    border-radius: 50%;

    background: #ffffff;
    color: #0c2448;

    box-shadow: 0 4px 14px rgba(12,36,72,.10);

    font-size: 25px;
    font-weight: 500;
    line-height: 1;

    cursor: pointer;
}

.pm-atvenue-myb-pm-panel
> .pm-atvenue-myb-head
.pm-atvenue-myb-close:hover{
    background:#f7f9fc;
    border-color:#0c2448;
}

/* Real Pickle Mania My Bookings content owns the modal body. */
.pm-atvenue-myb-pm-panel
.pm-atvenue-myb-pm-scroll{
    flex:1 1 auto;
    min-height:0;

    padding:0;

    background:#f5f8fc;

    overflow:auto;
}

.pm-atvenue-myb-pm-panel
.pm-atvenue-myb-pm-scroll
.pm-myb,
.pm-atvenue-myb-pm-panel
.pm-atvenue-myb-pm-scroll
.pm-myb-detail {
    width: 100%;
    max-width: none;

    margin: 0;

    padding: 20px 22px 28px;
}

.pm-atvenue-myb-pm-panel
.pm-myb-heading{
    padding-right:64px;
}

.pm-atvenue-myb-pm-panel
.pm-myb-heading > button{
    margin-right:42px;
}

/* Hide old table-specific search field. */
.pm-atvenue-myb-pm-panel
input[placeholder*="Search venue"],
.pm-atvenue-myb-pm-panel
input[placeholder*="Search by venue"],
.pm-atvenue-myb-pm-panel
input[placeholder*="date, or reference"]{
    display:none !important;
}

@media (max-width:700px){

    .pm-atvenue-myb-pm-panel > .pm-atvenue-myb-head {
        top: 10px;
        right: 10px;

        width: 40px;
        height: 40px;
    }

    .pm-atvenue-myb-pm-panel
    > .pm-atvenue-myb-head
    .pm-atvenue-myb-close {
        width: 40px;
        height: 40px;

        font-size: 23px;
    }

    .pm-atvenue-myb-pm-panel
    .pm-atvenue-myb-pm-scroll
    .pm-myb,
    .pm-atvenue-myb-pm-panel
    .pm-atvenue-myb-pm-scroll
    .pm-myb-detail {
        padding:
            14px
            14px
            calc(18px + env(safe-area-inset-bottom));
    }

    .pm-atvenue-myb-pm-panel
    .pm-myb-heading{
        padding-right:50px;
    }

    .pm-atvenue-myb-pm-panel
    .pm-myb-heading > button{
        margin-right:36px;
    }
}


/* ==========================================================
   PM_CANONICAL_MYBOOKINGS_QR_ONLY_V1

   Canonical Regular Booking My Bookings QR experience:
   - action = View QR
   - branded pass only
   - compact white shell
   - no duplicated reference/schedule/helper content
   ========================================================== */

.dp-myb-modal
> section:has(.dp-myb-group-confirmation) {
    position: relative !important;

    width: fit-content !important;
    min-width: 0 !important;

    max-width:
        calc(100vw - 24px) !important;

    max-height:
        calc(100dvh - 24px) !important;

    padding: 8px !important;
    margin: 0 !important;

    border-radius: 22px !important;

    overflow: visible !important;
}


/*
 * Retain only the modal close button.
 */
.dp-myb-modal
> section:has(.dp-myb-group-confirmation)
> header {
    position: absolute !important;

    top: 7px !important;
    right: 7px !important;

    z-index: 20 !important;

    display: block !important;

    width: auto !important;
    min-height: 0 !important;

    padding: 0 !important;
    margin: 0 !important;

    border: 0 !important;
    background: transparent !important;
}

.dp-myb-modal
> section:has(.dp-myb-group-confirmation)
> header
> :not(button) {
    display: none !important;
}

.dp-myb-modal
> section:has(.dp-myb-group-confirmation)
> header
> button {
    position: static !important;

    display: grid !important;
    place-items: center !important;

    width: 36px !important;
    height: 36px !important;

    min-width: 36px !important;
    min-height: 36px !important;

    padding: 0 !important;
    margin: 0 !important;

    border: 0 !important;
    border-radius: 999px !important;

    background:
        rgba(8,24,59,.90) !important;

    color: #fff !important;

    font-size: 24px !important;
    line-height: 1 !important;

    box-shadow:
        0 5px 16px
        rgba(3,15,38,.22) !important;
}


/*
 * The branded PNG already contains:
 * reference, schedule, payment state and booking summary.
 */
.dp-myb-modal
> section:has(.dp-myb-group-confirmation)
> :not(header):not(.dp-myb-group-confirmation) {
    display: none !important;
}

.dp-myb-modal
.dp-myb-group-confirmation {
    display: block !important;

    width: auto !important;

    padding: 0 !important;
    margin: 0 !important;

    gap: 0 !important;

    border: 0 !important;
    background: transparent !important;

    box-shadow: none !important;
}

.dp-myb-modal
.dp-myb-group-confirmation
.dp-myb-group-schedules {
    display: none !important;
}


/*
 * Remove legacy QR-card presentation.
 */
.dp-myb-modal
.dp-myb-group-confirmation
.dp-myb-checkin-qr {
    display: block !important;

    width: auto !important;
    min-width: 0 !important;

    padding: 0 !important;
    margin: 0 !important;

    border: 0 !important;
    border-radius: 16px !important;

    background: transparent !important;

    box-shadow: none !important;
}

.dp-myb-modal
.dp-myb-group-confirmation
.dp-myb-checkin-qr
> h3,

.dp-myb-modal
.dp-myb-group-confirmation
.dp-myb-checkin-qr
> b,

.dp-myb-modal
.dp-myb-group-confirmation
.dp-myb-checkin-qr
> small {
    display: none !important;
}


/*
 * Let the branded pass preserve its generated aspect ratio.
 */
.dp-myb-modal
.dp-myb-group-confirmation
.dp-myb-checkin-qr
> img {
    display: block !important;

    width: auto !important;
    height: auto !important;

    max-width:
        min(
            400px,
            calc(100vw - 40px)
        ) !important;

    max-height:
        calc(100dvh - 40px) !important;

    margin: 0 !important;

    object-fit: contain !important;

    border-radius: 16px !important;

    cursor: zoom-in !important;
}


@media (max-width: 640px) {

    .dp-myb-modal
    > section:has(.dp-myb-group-confirmation) {
        max-width:
            calc(100vw - 10px) !important;

        max-height:
            calc(
                100dvh -
                10px -
                env(safe-area-inset-bottom)
            ) !important;

        padding: 5px !important;

        border-radius: 18px !important;
    }

    .dp-myb-modal
    .dp-myb-group-confirmation
    .dp-myb-checkin-qr
    > img {
        max-width:
            calc(100vw - 20px) !important;

        max-height:
            calc(
                100dvh -
                20px -
                env(safe-area-inset-bottom)
            ) !important;

        border-radius: 14px !important;
    }
}


/* ==========================================================
   PM_MYBOOKINGS_LIVE_SEARCH_ALL_VENUES_V1

   Canonical Pickle Mania My Bookings live search.
   All venues are the natural mother-site scope.
   No venue chips. No Search submit button.
   ========================================================== */

.dp-myb-live-search {
    display: flex;
    align-items: center;
    gap: 10px;

    width: min(100%, 720px);

    min-height: 50px;

    margin: 0 0 20px;
    padding: 0 15px;

    border:
        1px solid
        var(--dp-myb-border);

    border-radius: 14px;

    background:
        var(--dp-myb-surface);

    color:
        var(--dp-myb-navy);

    box-sizing: border-box;

    transition:
        border-color .18s ease,
        box-shadow .18s ease;
}

.dp-myb-live-search:focus-within {
    border-color:
        var(--dp-myb-navy);

    box-shadow:
        0 0 0 3px
        color-mix(
            in srgb,
            var(--dp-myb-navy) 10%,
            transparent
        );
}

.dp-myb-live-search > span {
    flex: 0 0 auto;

    font-size: 22px;
    line-height: 1;

    opacity: .60;

    user-select: none;
    pointer-events: none;
}

.dp-myb-live-search input {
    flex: 1 1 auto;

    width: 100%;
    min-width: 0;
    height: 48px;

    margin: 0;
    padding: 0;

    border: 0;
    outline: 0;

    background: transparent;

    color:
        var(--dp-myb-navy);

    font: inherit;
    font-size: 15px;
}

.dp-myb-live-search input::placeholder {
    color:
        var(--dp-myb-navy);

    opacity: .48;
}

/*
 * Browser-native clear control is allowed.
 * There is intentionally no Search submit button.
 */
.dp-myb-live-search
input::-webkit-search-cancel-button {
    cursor: pointer;
}

@media (max-width: 640px) {

    .dp-myb-live-search {
        width: 100%;

        min-height: 48px;

        margin-bottom: 16px;
        padding: 0 13px;

        border-radius: 12px;
    }

    .dp-myb-live-search input {
        height: 46px;

        font-size: 16px;
    }
}



/* ==========================================================
   PM_ACTIVE_MYBOOKINGS_UNIFY_V1R2
   ACTIVE PICKLE MANIA MY BOOKINGS
   ========================================================== */

.pm-myb-search.pm-myb-live-search {
    display: block !important;

    width: 100% !important;

    margin: 0 0 14px !important;
    padding: 0 !important;

    border: 0 !important;

    background: transparent !important;

    box-shadow: none !important;
}

.pm-myb-search.pm-myb-live-search input {
    display: block !important;

    width: 100% !important;
    min-width: 0 !important;

    min-height: 50px;

    box-sizing: border-box;

    margin: 0 !important;

    padding:
        0 16px !important;

    border:
        1px solid
        #d7dfeb !important;

    border-radius:
        13px !important;

    background:
        #ffffff !important;

    color:
        #082653 !important;

    font: inherit;
    font-size: 15px;

    outline: none;

    transition:
        border-color .18s ease,
        box-shadow .18s ease;
}

.pm-myb-search.pm-myb-live-search
input:focus {
    border-color:
        #8ed800 !important;

    box-shadow:
        0 0 0 3px
        rgba(142,216,0,.14)
        !important;
}

.pm-myb-search.pm-myb-live-search
input::placeholder {
    color: #71809a;

    opacity: .92;
}

.pm-myb-pass-detail {
    width: 100%;
}

.pm-myb-pass-only {
    width: 100%;
    max-width: 820px;

    margin: 12px auto 0;

    padding: 8px;

    box-sizing:
        border-box;

    display: flex;

    flex-direction:
        column;

    align-items:
        center;

    gap: 14px;
}

.pm-myb-pass-only img {
    display: block;

    width: 100%;
    height: auto;

    border-radius: 18px;

    cursor: zoom-in;
}

.pm-myb-pass-download {
    min-width: 180px;
}

.pm-myb-pass-loading {
    width:
        min(100%,680px);

    margin:
        20px auto;

    padding: 28px;

    box-sizing:
        border-box;

    border:
        1px solid
        #d7dfeb;

    border-radius:
        16px;

    background:
        #ffffff;

    color:
        #082653;

    text-align:
        center;

    display:
        grid;

    gap:
        6px;
}

.pm-myb-pass-loading small {
    color:
        #71809a;
}

@media (max-width:640px) {

    .pm-myb-search.pm-myb-live-search
    input {
        min-height:
            48px;

        padding:
            0 14px !important;

        font-size:
            16px;
    }

    .pm-myb-pass-only {
        padding:
            3px;
    }

    .pm-myb-pass-only img {
        border-radius:
            14px;
    }

    .pm-myb-pass-download {
        width:
            100%;
    }
}


/* ==========================================================
   PM_MYBOOKINGS_PASS_CARD_SIZE_V1

   Display-only sizing for branded check-in pass.
   Downloaded PNG remains full resolution.
   ========================================================== */

.pm-myb-pass-detail {
    width: 100%;
}

.pm-myb-pass-only {
    width: min(100%, 460px) !important;
    max-width: 460px !important;

    margin:
        12px auto 0 !important;

    padding:
        6px !important;

    gap:
        12px !important;
}

.pm-myb-pass-only img {
    display: block !important;

    width: 100% !important;
    max-width: 460px !important;
    height: auto !important;

    max-height:
        calc(100dvh - 210px);

    object-fit:
        contain;

    margin:
        0 auto;

    border-radius:
        14px !important;
}

.pm-myb-pass-download {
    width: min(100%, 460px) !important;
    max-width: 460px !important;

    min-height:
        46px;

    margin:
        0 auto;
}


/*
 * Desktop modal should feel like a normal
 * card/pass viewer, not a full poster.
 */
@media (min-width: 641px) {

    .pm-myb-pass-only {
        width:
            460px !important;
    }

    .pm-myb-pass-only img {
        width:
            460px !important;
    }
}


/*
 * Mobile:
 * fit naturally inside viewport with side gutters.
 */
@media (max-width: 640px) {

    .pm-myb-pass-only {
        width:
            min(
                calc(100vw - 36px),
                390px
            ) !important;

        max-width:
            390px !important;

        padding:
            3px !important;
    }

    .pm-myb-pass-only img {
        width:
            100% !important;

        max-width:
            390px !important;

        max-height:
            calc(100dvh - 180px);
    }

    .pm-myb-pass-download {
        width:
            100% !important;

        max-width:
            390px !important;
    }
}

/* PlayMeu Voucher V1.1 — Booking Credit / Rain Credit */
.pm-booking-credit-status,.pm-booking-credit-request{margin-top:14px;padding:14px;border:1px solid #d7dfeb;border-radius:14px;background:#fff;color:#082653}.pm-booking-credit-status{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 14px;align-items:start}.pm-booking-credit-status>div:first-child{display:grid;gap:3px}.pm-booking-credit-status small{font-size:10px;font-weight:850;letter-spacing:.08em;color:#71809a}.pm-booking-credit-status b{font-size:15px}.pm-booking-credit-status p{margin:0;color:#71809a;font-size:12px}.pm-booking-credit-status>strong{font-size:20px;color:#3d7d00}.pm-booking-credit-status.status-pending{border-color:#ead28a;background:#fffaf0}.pm-booking-credit-status.status-rejected{border-color:#f1b8b8;background:#fff6f6}.pm-booking-credit-status.status-approved,.pm-booking-credit-status.status-partially_approved{border-color:#cde4b2;background:#f8fdf2}.pm-booking-credit-voucher{grid-column:1/-1;display:grid;grid-template-columns:1fr auto;gap:3px 12px;padding:11px 12px;border-radius:11px;background:#0d2a4d;color:#fff}.pm-booking-credit-voucher span,.pm-booking-credit-voucher small{font-size:10px;color:#d8e4f2}.pm-booking-credit-voucher b{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.05em;color:#c9f31d}.pm-booking-credit-voucher small{grid-column:1/-1}.pm-booking-credit-note{grid-column:1/-1!important;padding:9px 10px;border-radius:9px;background:rgba(8,38,83,.05);color:#42516a!important}.pm-booking-credit-request{display:grid;gap:11px}.pm-booking-credit-request>div:first-child{display:grid;gap:3px}.pm-booking-credit-request p{margin:0;color:#71809a;font-size:12px}.pm-booking-credit-open,.pm-booking-credit-form-actions .primary{border:0;border-radius:11px;padding:11px 14px;background:#c9f31d;color:#102b20;font-weight:850;cursor:pointer}.pm-booking-credit-open{justify-self:start}.pm-booking-credit-form{display:grid;gap:11px;padding-top:3px}.pm-booking-credit-form label{display:grid;gap:5px}.pm-booking-credit-form label>span{font-size:11px;font-weight:800;color:#566780}.pm-booking-credit-form select,.pm-booking-credit-form textarea{width:100%;box-sizing:border-box;border:1px solid #cfd8e5;border-radius:10px;padding:10px 11px;background:#fff;color:#082653;font:inherit}.pm-booking-credit-form textarea{min-height:86px;resize:vertical}.pm-booking-credit-error{padding:9px 10px;border-radius:9px;background:#fff0f0;border:1px solid #f1b8b8;color:#a32424;font-size:12px;font-weight:650}.pm-booking-credit-form-actions{display:flex;justify-content:flex-end;gap:8px}.pm-booking-credit-form-actions button{border-radius:10px;padding:10px 13px;font-weight:800;cursor:pointer}.pm-booking-credit-form-actions .secondary{border:1px solid #cfd8e5;background:#fff;color:#082653}.pm-booking-credit-form-actions button:disabled,.pm-booking-credit-open:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:640px){.pm-booking-credit-status{grid-template-columns:1fr}.pm-booking-credit-status>strong{justify-self:start}.pm-booking-credit-open{width:100%}.pm-booking-credit-form-actions{display:grid;grid-template-columns:1fr 1fr}.pm-booking-credit-form-actions button{width:100%}}
@media(prefers-color-scheme:dark){.pm-booking-credit-status,.pm-booking-credit-request{background:rgba(255,255,255,.04);color:#eef5ff;border-color:rgba(255,255,255,.16)}.pm-booking-credit-status p,.pm-booking-credit-request p,.pm-booking-credit-form label>span{color:#aebbd0}.pm-booking-credit-status.status-pending{background:rgba(234,210,138,.08)}.pm-booking-credit-status.status-rejected{background:rgba(241,184,184,.06)}.pm-booking-credit-status.status-approved,.pm-booking-credit-status.status-partially_approved{background:rgba(201,243,29,.05)}.pm-booking-credit-form select,.pm-booking-credit-form textarea,.pm-booking-credit-form-actions .secondary{background:rgba(255,255,255,.04);color:#eef5ff;border-color:rgba(255,255,255,.16)}}

/* PlayMeu Booking Credit V1.1 UI Fix R1
   Keep Booking Credit visible as a direct booking action instead of making
   players discover it through the QR/check-in pass. */
.dp-myb-row-actions {
  width: 100%;
  display: grid;
  gap: 6px;
}

.pm-booking-credit-row-open {
  width: 100%;
  min-height: 33px;
  padding: 7px 9px;
  border: 1px solid #2f7d32;
  border-radius: 8px;
  background: #eef9ef;
  color: #225f25;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
}

.pm-booking-credit-row-open:hover,
.pm-booking-credit-row-open:focus-visible {
  background: #2f7d32;
  color: #ffffff;
  outline: none;
}

@media (max-width: 900px) {
  .dp-myb-row-actions {
    grid-column: 1 / -1;
  }

  .pm-booking-credit-row-open {
    min-height: 40px;
    font-size: 10px;
  }
}

