/* Package list: horizontal Swiper (see vsa-packages-web.js renderPackages) */
.vsa-pkg-swiper {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  /* Space inside overflow:hidden viewport so shadows are not clipped */
  padding: 24px 16px;
  box-sizing: border-box;
}

.vsa-pkg-swiper .swiper-slide {
  width: 327px;
  max-width: 85vw;
  height: auto;
  box-sizing: border-box;
  overflow: visible;
  border-radius: 12px;
  /* Shadow on slide: .vsa-pkg-card uses overflow:hidden which clips its own box-shadow */
  box-shadow: 0 1px 20px 0 rgba(0, 0, 0, 0.15);
}

@media (max-width: 767px) {
  .vsa-pkg-swiper {
    padding: 0 0 20px;
  }

  .vsa-pkg-swiper .swiper-slide {
    width: 76vw;
    max-width: 76vw;
    box-shadow: none;
  }

  .vsa-pkg-swiper .vsa-pkg-card {
    box-shadow: none;
  }
}

.vsa-pkg-swiper .vsa-pkg-card {
  margin-bottom: 0;
  width: 100%;
  box-shadow: none;
}

.vsa-pkg-card {
  background: linear-gradient(90deg, #E9F7FE 0%, #F3FCF5 50%, #F9FFE7 100%);
  border: 0;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 0 1px 20px 0 rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.vsa-pkg-title {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  color: #111727;
  font-family: Montserrat, Arial, sans-serif;
}

.vsa-pkg-subtitle {
  font-size: 12px;
  color: #111727;
  line-height: 1.3;
  margin-top: 6px;
  max-width: 190px;
  font-family: Montserrat, Arial, sans-serif;
}

.vsa-pkg-counter {
  margin: 0;
  font-weight: 500;
  font-size: 13px;
  color: #308fff;
  line-height: 20px;
  font-family: Montserrat, Arial, sans-serif;
}

.vsa-pkg-btn {
  border: 0;
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 600;
  background: #308fff;
  color: #fff;
  cursor: pointer;
  width: 100%;
  box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.12);
  margin-top: 12px;
  height: 40px;
  font-size: 14px;
  line-height: 20px;
  position: relative;
  z-index: 2;
}

.vsa-pkg-btn.is-update {
  background: #206ad9;
}

.vsa-pkg-btn.vsa-back {
  background: #6b7280;
}

.vsa-trainers {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.vsa-trainer {
  border: 1px solid #e6e8eb;
  border-radius: 10px;
  background: #fff;
  padding: 10px;
  text-align: left;
  cursor: pointer;
}

.vsa-trainer img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  vertical-align: middle;
  margin-right: 8px;
}

.vsa-calendar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-top: 0;
  padding-bottom: 4px;
}

.vsa-day-col {
  min-width: 68px;
}

.vsa-day-head {
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: center;
  border-radius: 8px;
  padding: 4px 2px;
  background: #fff;
}

.vsa-slot {
  display: block;
  width: 100%;
  text-align: center;
  border: 1px solid #dbe0e6;
  border-radius: 4px;
  margin-bottom: 6px;
  padding: 5px 2px;
  cursor: pointer;
  background: #fff;
  color: #111727;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 500;
}

.vsa-slot.unavailable,
.vsa-slot.booked,
.vsa-slot:disabled {
  opacity: 1;
  cursor: not-allowed;
  background: #dadadb;
  color: #70747d;
}

.vsa-slot.is-selected {
  background: #bcd9f8;
  border-color: #308fff;
  color: #111727;
  box-shadow: inset 0 0 0 1px #308fff;
}

.vsa-slot.available {
  background: #b3f0bc;
  border-color: #b3f0bc;
}

.vsa-slot.is-booked {
  background: repeating-linear-gradient(135deg, #70747d 0px, #70747d 1px, #dadadb 1px, #dadadb 4px) !important;
  border-color: #dadadb;
  color: #70747d;
}

.vsa-actions {
  margin-top: 16px;
  display: flex;
  gap: 8px;
}

.vsa-lessons-left {
  color: #374151;
  margin-top: 8px;
}

.vsa-pkg-card-ui .vsa-pkg-head,
.vsa-pkg-card-ui .vsa-pkg-meta-row,
.vsa-pkg-card-ui .vsa-pkg-subtitle {
  position: relative;
  z-index: 2;
}

.vsa-pkg-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.vsa-pkg-sport-pill {
  background: #fff;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px 4px 6px;
  border-radius: 100px;
  min-height: 22px;
  font-size: 11px;
  line-height: 1.3;
  color: #111727;
  font-family: Montserrat, Arial, sans-serif;
  white-space: nowrap;
}

.vsa-pkg-sport-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.vsa-pkg-sport-dot {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #dbeafe;
  display: inline-block;
}

.vsa-pkg-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  gap: 8px;
}

.vsa-pkg-level {
  font-size: 13px;
  line-height: 1.2;
  color: #308fff;
  font-weight: 500;
  font-family: Montserrat, Arial, sans-serif;
}

.vsa-pkg-card-bg {
  display: none;
}

.vsa-pkg-card-bg.a {
  width: 269px;
  height: 254px;
  right: -103px;
  top: -160px;
  background: radial-gradient(circle at center, rgba(219, 255, 194, 0.95) 0%, rgba(219, 255, 194, 0) 65%);
}

.vsa-pkg-card-bg.b {
  width: 239px;
  height: 239px;
  right: -38px;
  top: 30px;
  background: radial-gradient(circle at center, rgba(176, 239, 255, 0.85) 0%, rgba(176, 239, 255, 0) 68%);
}

.vsa-pkg-card-bg.c {
  width: 303px;
  height: 239px;
  left: -130px;
  top: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle at center, rgba(197, 223, 255, 0.8) 0%, rgba(197, 223, 255, 0) 70%);
}

.vsa-pkg-maintenance {
  background: #fff8e1;
  border: 1px solid #ffe0a3;
  color: #8a5a00;
  padding: 12px 14px;
  border-radius: 8px;
}

.vsa-pkg-error {
  color: #b91c1c;
}

/* Centered full-area loader (packages + booking flow) */
.vsa-pkg-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: min(52vh, 420px);
  padding: 32px 20px;
  box-sizing: border-box;
}

.vsa-pkg-loading-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
}

.vsa-pkg-spinner {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid rgba(48, 143, 255, 0.18);
  border-top-color: #308fff;
  border-right-color: rgba(48, 143, 255, 0.45);
  animation: vsa-pkg-spin 0.75s linear infinite;
  flex-shrink: 0;
}

.vsa-pkg-loading-text {
  margin: 0;
  max-width: 280px;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 500;
  color: #70747d;
  letter-spacing: 0.02em;
}

@keyframes vsa-pkg-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .vsa-pkg-spinner {
    animation-duration: 1.4s;
    border-right-color: rgba(48, 143, 255, 0.18);
  }
}

.vsa-pkg-spinner--sm {
  width: 28px;
  height: 28px;
  border-width: 2px;
}

.vsa-booking-trainers-page {
  max-width: 896px;
  margin: 0 auto;
  padding: 0 10px;
}

@media (min-width: 769px) {
  .vsa-booking-trainers-page {
    padding-top: 24px;
  }
}

/* Trainers: row 1 — back + title; row 2 — search full width */
.vsa-header-bar--trainers .vsa-header-bar-title {
  margin: 0;
  min-width: 0;
}

.vsa-header-bar--trainers .vsa-trainer-search-wrap {
  grid-column: 1 / -1;
  grid-row: 2;
  width: 100%;
  max-width: none;
  justify-self: stretch;
}

.vsa-header-bar--trainers .search {
  position: relative;
  width: 100%;
}

.vsa-booking-trainers-page .vsa-header-bar--trainers .search img {
  top: 0;
  bottom: 0;
  margin: auto;
  position: absolute;
  left: 8px;
  display: flex;
  align-items: center;
  z-index: 2;
}

.vsa-booking-trainers-page .vsa-header-bar--trainers input {
  width: 100%;
  max-width: none;
  border: 0;
  border-radius: 12px;
  background: #f0f0f1;
  color: #111727;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  padding: 8px;
  padding-left: 40px;
  outline: none;
  position: relative;
  box-sizing: border-box;
}

.vsa-booking-trainers-page .vsa-header-bar--trainers input::placeholder {
  color: #a0a2a9;
}

.vsa-back-arrow {
  border: 0;
  background: transparent;
  color: #111727;
  font-size: 22px;
  line-height: 1;
  padding: 2px 6px;
  cursor: pointer;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.vsa-back-arrow img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.vsa-header-bar {
  position: relative;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.vsa-header-bar-title {
  font-family: "Montserrat", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  color: #111727;
  margin: 0;
  text-align: center;
}

.vsa-header-bar .vsa-back-arrow {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  padding-left: 0;
}

.vsa-header-bar.vsa-header-bar--trainers {
  display: grid;
  /* Symmetric side columns so the title sits in the visual center of the row */
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 0;
  row-gap: 16px;
  height: auto;
  min-height: 0;
  margin-bottom: 20px;
  justify-content: initial;
}

.vsa-header-bar.vsa-header-bar--trainers .vsa-back-arrow {
  position: static;
  transform: none;
  top: auto;
  left: auto;
  justify-self: start;
  grid-column: 1;
  grid-row: 1;
}

.vsa-header-bar.vsa-header-bar--trainers .vsa-header-bar-title {
  grid-column: 2;
  grid-row: 1;
  text-align: center;
  justify-self: stretch;
}

.vsa-header-bar-spacer {
  position: absolute;
  right: 0;
  width: 24px;
  height: 24px;
}

.vsa-booking-package-card {
  box-shadow: none;
  margin-bottom: 14px;
  border: 0;
  padding: 12px 16px;
  background: linear-gradient(
    90deg,
    #e9f7fe 0%,
    #f3fcf5 50%,
    #f9ffe7 100%
  );
}

.vsa-booking-package-card .vsa-pkg-card-bg {
  display: none;
}

.vsa-booking-package-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.vsa-booking-classes {
  font-family: Montserrat, Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
  color: #308fff;
  font-weight: 500;
}

.vsa-booking-package-card .vsa-pkg-subtitle {
  max-width: none;
}

.vsa-booking-trainers-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vsa-trainer-card {
  background: #fff;
  border-radius: 12px;
  padding: 0;
  box-shadow: 0 1px 20px 0 rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 0;
  overflow: hidden;
  min-height: 160px;
}

.vsa-trainer-card .trainers_card_left {
  flex-shrink: 0;
}

.vsa-trainer-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Cut-out portrait: full-height left column (transparent PNG/WebP), no circle mask */
.vsa-trainer-card .trainers_card_left.vsa-trainer-avatar-col {
  flex: 0 0 auto;
  width: min(38%, 168px);
  min-width: 120px;
  max-width: 220px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: #f3f4f6;
  align-self: stretch;
}

.vsa-trainer-card .vsa-trainer-avatar-col--empty {
  display: none;
}

.vsa-trainer-avatar {
  width: 100%;
  height: auto;
  max-height: min(320px, 50vh);
  object-fit: contain;
  object-position: bottom center;
  border-radius: 0;
  background: transparent;
  display: block;
}

.vsa-trainer-meta {
  min-width: 0;
  flex: 1;
}

.vsa-trainer-name {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  line-height: 1.2;
  color: #111727;
  font-weight: 600;
  margin-bottom: 10px;
}

.vsa-trainer-langs {
  margin-top: 8px;
  display: flex;
  gap: 2px;
  flex-wrap: wrap;
}

.vsa-trainer-chip {
  background: #dadadb;
  border-radius: 4px;
  color: #70747d;
  font-size: 12px;
  line-height: 24px;
  height: auto;
  padding: 5px 10px;
  display: inline-flex;
  align-items: center;
  font-family: Montserrat;
  font-weight: 400;
  box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.12);
  margin-right: 6px;
}

.vsa-trainer-book-btn {
  margin-top: 0;
  height: auto;
  border-radius: 12px;
  font-size: 14px;
  line-height: 20px;
  padding: 10px 30px;
  width: auto;
}

.vsa-trainer-card p {
  font-family: "Montserrat", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  color: #878e9e;
  margin: 0;
}

.vsa-trainer-specs {
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
}

.vsa-trainer-specs li {
  background: #dde0fd;
  border-radius: 8px;
  padding: 5px 10px;
  margin-bottom: 10px;
  font-family: "Montserrat", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 18px;
  color: #414bb1;
}

.vsa-trainer-actions {
  margin-top: 16px;
  display: block;
}

.vsa-trainer-card .trainers_card_center {
  padding: 16px 20px 16px 18px;
  border-right: 0;
  margin-right: 0;
  flex: 1;
  min-width: 0;
}

@media (max-width: 1024px) {
  .vsa-header-bar-title {
    font-size: 20px;
    line-height: 24px;
  }
  .vsa-trainer-card {
    flex-direction: column;
    margin-bottom: 20px;
    min-height: 0;
  }
  .vsa-trainer-card .trainers_card_left.vsa-trainer-avatar-col {
    width: 100%;
    max-width: none;
    min-height: 180px;
    max-height: 240px;
  }
  .vsa-trainer-avatar {
    max-height: 240px;
    width: auto;
    max-width: 100%;
  }
  .vsa-trainer-card .trainers_card_center {
    padding: 16px;
    margin-top: 0;
    margin-bottom: 0;
    margin-right: 0;
    border: 0;
  }
}

@media (max-width: 767px) {
  .vsa-header-bar-title {
    font-size: 20px;
    line-height: 24px;
  }

  .vsa-trainer-actions .vsa-trainer-book-btn {
    width: 100%;
    box-sizing: border-box;
    display: block;
    text-align: center;
  }
}

@media (min-width: 1440px) {
  .vsa-booking-trainers-page {
    max-width: 920px;
  }
}

.vsa-booking-schedule-page {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 12px 190px;
}

.vsa-schedule-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  color: #111727;
  margin: 0 0 12px 0;
}

.vsa-schedule-title-row {
  display: none;
}

.vsa-booking-counter-card {
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 12px;
  box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.12);
}

.vsa-booking-counter-title {
  color: #70747d;
  font-size: 12px;
  line-height: 1.3;
  font-family: Montserrat, Arial, sans-serif;
}

.vsa-booking-counter-values {
  margin-top: 6px;
  color: #111727;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 700;
  font-family: Montserrat, Arial, sans-serif;
}

.vsa-booking-counter-sep {
  margin: 0 6px;
  color: #a0a2a9;
}

.vsa-booking-counter-sub {
  margin-top: 4px;
  color: #a0a2a9;
  font-size: 12px;
  line-height: 1.3;
  font-family: Montserrat, Arial, sans-serif;
}

.vsa-calendar-wrap {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  max-width: 100%;
}

.vsa-schedule-empty {
  padding: 28px 16px 32px;
  text-align: center;
  font-size: 14px;
  line-height: 1.45;
  color: #70747d;
  font-family: Montserrat, Arial, sans-serif;
}

.vsa-schedule-loading-overlay {
  position: absolute;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: inherit;
  pointer-events: none;
}

.vsa-schedule-loading-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.vsa-schedule-actions .vsa-pkg-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.calendar_booking {
  margin-bottom: 0;
}

.calendar_booking .header {
  background-color: #fff;
  border-top: 1px solid #dadadb;
  border-bottom: 1px solid #dadadb;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: flex-start;
  margin-top: 0;
  margin-bottom: 0;
}

.vsa-calendar-wrap .calendar_booking .header_month {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.vsa-calendar-wrap .calendar_booking .header_day {
  min-height: 48px;
  box-sizing: border-box;
}

.vsa-calendar-wrap .calendar_booking .timerange_item {
  box-sizing: border-box;
  flex-shrink: 0;
}

.calendar_booking .header_month {
  min-width: 50px;
}

.calendar_booking .header_days {
  display: flex;
  overflow-x: auto;
}

.calendar_booking .header_day_col {
  width: 68px;
}

.calendar_booking .month_text {
  font-family: "Montserrat", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 24px;
  display: flex;
  align-items: center;
  text-align: center;
  text-transform: uppercase;
  color: #414552;
  width: 64px;
  justify-content: center;
  height: 48px;
}

.calendar_booking .timerange_item {
  font-family: "Montserrat", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #414552;
  width: 66px;
  height: 24px;
  margin: 1px;
}

.calendar_booking .header_day {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.calendar_booking .header_day .dayOfWeek {
  font-family: "Montserrat", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  text-align: center;
  color: #414552;
  width: 100%;
  margin-bottom: 6px;
  margin-top: 6px;
}

.calendar_booking .header_day .day {
  font-family: "Montserrat", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  color: #414552;
  width: 100%;
  text-align: center;
  margin-bottom: 10px;
}

.calendar_booking .header_day_col .block {
  width: 66px;
  height: 24px;
  background: #fff;
  border-radius: 4px;
  margin: 1px;
  border: 0;
}

.calendar_booking .available {
  background: #b3f0bc !important;
  cursor: pointer;
}

.calendar_booking .unfilledTime {
  background: #dadadb !important;
}

.calendar_booking .unavailable {
  background: repeating-linear-gradient(115deg, #70747d, #d9dbdd 1px, #d9dbdd 4px) !important;
}

.calendar_booking .previosBooking {
  background: rgba(48, 143, 255, 1) !important;
}

.vsa-schedule-actions .vsa-pkg-btn {
  height: 56px;
  font-size: 16px;
  border-radius: 12px;
  margin-top: 0;
}

.vsa-schedule-actions {
  gap: 12px;
}

.vsa-pkg-btn.vsa-pkg-btn-clear {
  background: #fff;
  color: #111727;
  border: 1px solid #e6e8eb;
}

.vsa-schedule-legend {
  margin-top: 12px;
  margin-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 10px;
  align-items: center;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
  color: #a0a2a9;
}

.vsa-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.vsa-legend-dot {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  display: inline-block;
}

.vsa-legend-dot.is-available {
  background: #b3f0bc;
}

.vsa-legend-dot.is-unavailable {
  background: #dadadb;
}

.vsa-legend-dot.is-booked {
  background: repeating-linear-gradient(115deg, #70747d, #d9dbdd 1px, #d9dbdd 4px);
}

.vsa-legend-today {
  margin-left: auto;
  color: #308fff;
  font-weight: 500;
}

.vsa-schedule-bottom {
  position: fixed;
  right: 0;
  bottom: 0;
  width: calc(100% - 300px);
  background: #fff;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 10px 16px 14px;
}

@media (max-width: 1024px) {
  .vsa-booking-schedule-page {
    padding: 0 10px 170px;
  }
  .vsa-schedule-bottom {
    width: 100%;
    left: 0;
    right: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  }
}

.vsa-discount-package-shortcode-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 12px;
  background: #ff8725;
  color: #fff;
  text-decoration: none;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

/* Booking confirmation modal (package flow) */
.vsa-booking-confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(17, 23, 39, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  box-sizing: border-box;
}

.vsa-booking-confirm-dialog {
  position: relative;
  width: 100%;
  max-width: 340px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.vsa-booking-confirm-loading-overlay {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  border-radius: inherit;
  pointer-events: none;
}

.vsa-booking-confirm-loading-overlay .vsa-pkg-spinner {
  pointer-events: none;
}

.vsa-booking-confirm-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.vsa-booking-confirm-inner {
  padding: 20px 18px 16px;
  text-align: center;
}

.vsa-booking-confirm-title {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 600;
  line-height: 22px;
  color: #111727;
}

.vsa-booking-confirm-intro {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #414552;
  text-align: left;
}

.vsa-booking-confirm-slots {
  text-align: left;
}

.vsa-booking-confirm-line {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 20px;
  color: #111727;
}

.vsa-booking-confirm-line .vsa-booking-confirm-subtype {
  color: #2e9f4a;
  font-weight: 500;
}

.vsa-booking-confirm-actions {
  display: flex;
  border-top: 1px solid #e6e8eb;
}

.vsa-booking-confirm-btn {
  flex: 1;
  margin: 0;
  padding: 14px 12px;
  font-size: 17px;
  line-height: 22px;
  font-family: inherit;
  border: none;
  background: #fff;
  color: #308fff;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.vsa-booking-confirm-btn + .vsa-booking-confirm-btn {
  border-left: 1px solid #e6e8eb;
}

.vsa-booking-confirm-cancel {
  font-weight: 400;
}

.vsa-booking-confirm-yes {
  font-weight: 600;
}

.vsa-booking-confirm-btn:active {
  background: #f5f6f8;
}

/* Upgrade user list screen — compact typography & spacing */
#vsa-packages-upgrade-user-list-root {
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  #vsa-packages-upgrade-user-list-root {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    min-height: calc(100vh - 120px);
    padding: 32px 0;
  }
}

.vsa-upgrade-user-list-page {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 10px 16px;
  width: 100%;
}

.vsa-upgrade-user-list-header {
  margin: 4px 0 10px;
}

.vsa-upgrade-user-list-header.vsa-header-bar {
  height: 40px;
  margin-bottom: 4px;
}

.vsa-upgrade-user-list-header .vsa-header-bar-title {
  font-size: 17px;
  line-height: 22px;
  font-weight: 600;
}

.vsa-upgrade-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vsa-upgrade-card {
  margin-bottom: 0;
  padding: 12px 14px 12px;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(17, 23, 39, 0.06);
  background: #fff;
}

.vsa-upgrade-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.vsa-upgrade-card__title {
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
  color: #111727;
  font-family: Montserrat, Arial, sans-serif;
}

.vsa-upgrade-card__sport {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 500;
  color: #3d4451;
  white-space: nowrap;
}

.vsa-upgrade-card__sport-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

.vsa-upgrade-card__meta {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  line-height: 1.35;
  color: #5c6370;
  font-family: Montserrat, Arial, sans-serif;
}

.vsa-upgrade-card__dot {
  color: #9aa1b2;
}

.vsa-upgrade-card .vsa-pkg-level {
  font-size: 13px;
}

.vsa-upgrade-card .vsa-actions {
  margin-top: 10px !important;
}

.vsa-upgrade-card .vsa-pkg-btn {
  min-height: 0;
  height: auto;
  margin-top: 0;
  padding: 9px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  background: #2f8fff;
  box-shadow: none;
}

.vsa-pkg-btn:hover,
.vsa-pkg-btn:focus,
.vsa-pkg-btn:active {
  color: #fff;
}

.vsa-discount-package-shortcode-btn:hover,
.vsa-discount-package-shortcode-btn:focus,
.vsa-discount-package-shortcode-btn:active {
  color: #fff;
}

/* Sport subtype modal (page-booking.php flow) */
.vsa-sport-slot-overlay {
  position: fixed;
  inset: 0;
  z-index: 100001;
  background: rgba(17, 23, 39, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
}

.vsa-sport-slot-dialog {
  width: 100%;
  max-width: 400px;
  min-width: 0;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  position: relative;
  box-sizing: border-box;
}

.vsa-sport-slot-dialog--loading {
  padding: 40px 24px 36px;
  text-align: center;
  font-size: 15px;
  color: #414552;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.vsa-sport-slot-loading-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.vsa-sport-slot-loading-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: #70747d;
  font-weight: 500;
}

.vsa-sport-slot-dialog--pending .vsa-sport-slot-body,
.vsa-sport-slot-dialog--pending .vsa-sport-slot-footer {
  pointer-events: none;
  user-select: none;
}

.vsa-sport-slot-pending-overlay {
  position: absolute;
  inset: 0;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  border-radius: inherit;
  pointer-events: none;
}

.vsa-sport-slot-pending-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.vsa-sport-slot-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.vsa-sport-slot-close:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.vsa-sport-slot-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  color: #a0a2a9;
  cursor: pointer;
  z-index: 2;
}

.vsa-sport-slot-body {
  padding: 40px 20px 16px;
  max-height: min(60vh, 420px);
  overflow-x: hidden;
  overflow-y: auto;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}

.vsa-slot-modal-title {
  font-size: 18px;
  font-weight: 600;
  color: #111727;
  text-align: center;
  margin: 0 0 10px;
  padding: 0 32px;
  box-sizing: border-box;
}

.vsa-slot-modal-desc {
  font-size: 14px;
  line-height: 1.45;
  color: #414552;
  margin: 0 0 16px;
  padding: 0 4px;
  text-align: center;
  word-wrap: break-word;
  overflow-wrap: anywhere;
  box-sizing: border-box;
}

.vsa-slot-modal-prices {
  text-align: left;
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
}

.vsa-slot-modal-row {
  margin-bottom: 10px;
  width: 100%;
  min-width: 0;
}

.vsa-slot-modal-hidden {
  display: none !important;
}

.vsa-sport-slot-dialog .vsa-slot-modal-label {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.4;
  color: #111727;
  box-sizing: border-box;
  gap: 10px;
}

.vsa-sport-slot-dialog .vsa-slot-modal-label > span {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.vsa-sport-slot-dialog input.vsa-slot-modal-radio[type="radio"] {
  display: inline-block !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  margin: 2px 0 0 0 !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
  float: none !important;
  position: static !important;
}

.vsa-slot-modal-price {
  color: #2e9f4a;
  font-weight: 500;
  white-space: nowrap;
}

.vsa-slot-modal-empty {
  margin: 0;
  font-size: 14px;
  color: #70747d;
}

.vsa-sport-slot-footer {
  display: flex;
  border-top: 1px solid #e6e8eb;
  width: 100%;
  min-width: 0;
  flex-shrink: 0;
  overflow: hidden;
}

.vsa-sport-slot-btn {
  flex: 1;
  margin: 0;
  padding: 14px 12px;
  font-size: 16px;
  font-family: inherit;
  border: none;
  background: #fff;
  cursor: pointer;
}

.vsa-sport-slot-btn-cancel {
  color: #308fff;
  font-weight: 400;
  border-right: 1px solid #e6e8eb;
}

.vsa-sport-slot-btn-ok {
  color: #308fff;
  font-weight: 600;
}

.vsa-sport-slot-btn:active {
  background: #f5f6f8;
}

/* ── Booking success screen ─────────────────────────────────── */
.vsa-booking-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 56px 32px 48px;
  min-height: calc(100vh - 160px);
  gap: 0;
  box-sizing: border-box;
}

.vsa-booking-success-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 24px;
  animation: vsa-success-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.vsa-booking-success-icon svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Circle draw animation */
.vsa-success-circle {
  stroke-dasharray: 157;
  stroke-dashoffset: 157;
  animation: vsa-draw-circle 0.55s ease-out 0.1s forwards;
}

/* Checkmark draw animation */
.vsa-success-check {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: vsa-draw-check 0.35s ease-out 0.6s forwards;
}

@keyframes vsa-draw-circle {
  to { stroke-dashoffset: 0; }
}

@keyframes vsa-draw-check {
  to { stroke-dashoffset: 0; }
}

@keyframes vsa-success-pop {
  from { opacity: 0; transform: scale(0.6); }
  to   { opacity: 1; transform: scale(1); }
}

.vsa-booking-success-title {
  margin: 0 0 10px;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #111727;
  letter-spacing: -0.01em;
  animation: vsa-success-fadein 0.4s ease 0.7s both;
}

.vsa-booking-success-sub {
  margin: 0 0 32px;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  color: #70747d;
  max-width: 300px;
  animation: vsa-success-fadein 0.4s ease 0.85s both;
}

.vsa-booking-success-redirect {
  display: flex;
  align-items: center;
  gap: 10px;
  animation: vsa-success-fadein 0.4s ease 1.1s both;
}

.vsa-booking-success-redirect-text {
  font-family: Montserrat, Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #a0a4ad;
  letter-spacing: 0.02em;
}

@keyframes vsa-success-fadein {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .vsa-booking-success-icon,
  .vsa-booking-success-title,
  .vsa-booking-success-sub,
  .vsa-booking-success-redirect {
    animation: none;
  }
  .vsa-success-circle,
  .vsa-success-check {
    stroke-dashoffset: 0;
    animation: none;
  }
}
