/**
 * Guest booking: match patient portal service package picker (mci-brand service-package block only).
 * Loaded on guest-booking step1 only — avoids full patient CSS overriding site links.
 */
:root {
  --mci-blue: #0b63b6;
  --mci-blue-dark: #084f92;
  --mci-green: #8cc63f;
  --mci-green-dark: #6ea52f;
}

.guest-booking-step1 .service-package-tiers--modern .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.guest-booking-step1 .service-package-tiers--modern .help-block {
  display: block;
  margin-top: 10px;
}

/* —— Service package picker (same as patient portal) —— */
.guest-booking-step1 .service-package-tiers--modern {
  border: none;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(15, 34, 52, 0.1);
  overflow: hidden;
  margin-bottom: 24px;
  background: #fff;
}

.guest-booking-step1 .service-package-tiers--modern > .box-header.service-package-tiers__header.with-border {
  border: none;
  border-bottom: none;
}

.guest-booking-step1 .service-package-tiers--modern > .box-header.service-package-tiers__header {
  border: none;
  padding: 22px 24px 20px;
  background: linear-gradient(125deg, #084f92 0%, #0b63b6 42%, #1a8cff 72%, #6ea52f 100%);
  color: #fff;
}

.guest-booking-step1 .service-package-tiers--modern > .box-header.service-package-tiers__header .box-title {
  float: none;
  margin: 0;
  padding: 0;
  color: #fff;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.guest-booking-step1 .service-package-tiers__req {
  color: #ffe082;
  font-weight: 700;
  margin-inline-start: 4px;
}

.guest-booking-step1 .service-package-tiers__subtitle {
  margin: 10px 0 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 500;
  opacity: 0.94;
  max-width: 46em;
  color: rgba(255, 255, 255, 0.95);
}

.guest-booking-step1 .service-package-tiers__body {
  padding: 22px 24px 24px;
  background: linear-gradient(180deg, #f8fbff 0%, #fff 120px);
}

.guest-booking-step1 .service-package-tiers__grid {
  margin-left: -10px;
  margin-right: -10px;
}

.guest-booking-step1 .service-package-tiers__grid > [class*="col-"] {
  padding-left: 10px;
  padding-right: 10px;
}

html[dir="rtl"] .guest-booking-step1 .service-package-tiers--modern .service-package-tiers__grid--ar-pair {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  direction: ltr;
}

html[dir="rtl"] .guest-booking-step1 .service-package-tiers--modern .service-package-tiers__grid--ar-pair > [class*="col-"] {
  float: none;
  flex: 0 0 50%;
  max-width: 50%;
}

@media (max-width: 991px) {
  html[dir="rtl"] .guest-booking-step1 .service-package-tiers--modern .service-package-tiers__grid--ar-pair > [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.guest-booking-step1 .service-package-tier-card {
  display: block;
  position: relative;
  cursor: pointer;
  font-weight: 400;
  margin: 0 0 18px;
}

.guest-booking-step1 .service-package-tier-card__input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.guest-booking-step1 .service-package-tier-card__body {
  display: block;
  border: 2px solid #d8e8f5;
  border-radius: 14px;
  padding: 18px 18px 16px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(11, 99, 182, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.guest-booking-step1 .service-package-tier-card:hover .service-package-tier-card__body {
  border-color: #7eb8ea;
  box-shadow: 0 8px 28px rgba(11, 99, 182, 0.12);
  transform: translateY(-2px);
}

.guest-booking-step1 .service-package-tier-card__input:focus + .service-package-tier-card__body {
  outline: 2px solid #4a9eff;
  outline-offset: 2px;
}

.guest-booking-step1 .service-package-tier-card__input:checked + .service-package-tier-card__body {
  border-color: var(--mci-green);
  box-shadow: 0 8px 32px rgba(140, 198, 63, 0.22), 0 0 0 1px rgba(140, 198, 63, 0.35);
  background: linear-gradient(165deg, #f6fcf2 0%, #fff 55%);
}

.guest-booking-step1 .service-package-tier-card--vip .service-package-tier-card__input:checked + .service-package-tier-card__body {
  border-color: #c9a227;
  box-shadow: 0 8px 32px rgba(201, 162, 39, 0.2), 0 0 0 1px rgba(201, 162, 39, 0.4);
  background: linear-gradient(165deg, #fffdf5 0%, #fff 55%);
}

.guest-booking-step1 .service-package-tier-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.guest-booking-step1 .service-package-tier-card__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(145deg, #e8f4ff, #d0e8fc);
  color: var(--mci-blue);
  flex-shrink: 0;
}

.guest-booking-step1 .service-package-tier-card--vip .service-package-tier-card__icon-wrap {
  background: linear-gradient(145deg, #fff8e1, #ffe082);
  color: #8d6e00;
}

.guest-booking-step1 .service-package-tier-card__icon {
  font-size: 22px;
  line-height: 1;
}

.guest-booking-step1 .service-package-tier-card__price-badge {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0b63b6, #1a8cff);
  color: #fff;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(11, 99, 182, 0.25);
}

.guest-booking-step1 .service-package-tier-card--vip .service-package-tier-card__price-badge {
  background: linear-gradient(90deg, #b8860b, #d4a017);
  box-shadow: 0 2px 8px rgba(184, 134, 11, 0.3);
}

.guest-booking-step1 .service-package-tier-card__title-text {
  display: block;
  font-size: 21px;
  font-weight: 700;
  color: #1a2f3d;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.guest-booking-step1 .service-package-tier-card__features-label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #5a7fa8;
  margin: 0 0 8px;
}

.guest-booking-step1 .service-package-tier-card__features {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 15px;
  line-height: 1.58;
  font-weight: 600;
  color: #2a4256;
}

.guest-booking-step1 .service-package-tier-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.guest-booking-step1 .service-package-tier-card__features li:last-child {
  margin-bottom: 0;
}

.guest-booking-step1 .service-package-tier-card__check {
  flex-shrink: 0;
  margin-top: 5px;
  color: var(--mci-green);
  font-size: 16px;
}

.guest-booking-step1 .service-package-tier-card--vip .service-package-tier-card__check {
  color: #b8860b;
}

.guest-booking-step1 .service-package-tier-card__select-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #e8f0f7;
  font-size: 14px;
  font-weight: 600;
  color: #4a6c8f;
}

.guest-booking-step1 .service-package-tier-card__select-hint .fa {
  color: var(--mci-blue);
  opacity: 0.85;
}

.guest-booking-step1 .service-package-tier-card--vip .service-package-tier-card__select-hint .fa {
  color: #b8860b;
}

.guest-booking-step1 .service-package-tiers__error {
  margin-top: 14px;
}

.guest-booking-step1 .service-package-bundle-card {
  border: 2px solid #c8e0f5;
  border-radius: 14px;
  padding: 20px 22px;
  background: linear-gradient(165deg, #f0f9ff 0%, #fff 45%);
  box-shadow: 0 4px 20px rgba(11, 99, 182, 0.08);
}

.guest-booking-step1 .service-package-bundle-card__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.guest-booking-step1 .service-package-bundle-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(145deg, #0b63b6, #1a8cff);
  color: #fff;
  font-size: 24px;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(11, 99, 182, 0.35);
}

.guest-booking-step1 .service-package-bundle-card__titles {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.guest-booking-step1 .service-package-bundle-card__name {
  font-size: 22px;
  font-weight: 700;
  color: #1a2f3d;
}

.guest-booking-step1 .service-package-bundle-card__price {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, #0b63b6, #6ea52f);
  padding: 5px 14px;
  border-radius: 999px;
  align-self: flex-start;
}

.guest-booking-step1 .service-package-bundle-card__note {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 500;
}

.guest-booking-step1 .service-package-tier-card__features--static {
  margin-top: 4px;
}

html[dir="rtl"] .guest-booking-step1 .service-package-tiers--modern > .box-header.service-package-tiers__header .box-title {
  text-align: right;
  float: none;
}

html[dir="rtl"] .guest-booking-step1 .service-package-tiers__subtitle {
  text-align: right;
  margin-inline-start: 0;
  margin-inline-end: 0;
}

html[dir="rtl"] .guest-booking-step1 .service-package-tier-card__body {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .guest-booking-step1 .service-package-tier-card__top {
  direction: rtl;
}

html[dir="rtl"] .guest-booking-step1 .service-package-tier-card__title-text,
html[dir="rtl"] .guest-booking-step1 .service-package-tier-card__features-label {
  text-align: right;
}

html[dir="rtl"] .guest-booking-step1 .service-package-tier-card__features {
  direction: rtl;
  text-align: right;
  padding: 0;
}

html[dir="rtl"] .guest-booking-step1 .service-package-tier-card__features li {
  direction: rtl;
  text-align: right;
  justify-content: flex-start;
}

html[dir="rtl"] .guest-booking-step1 .service-package-tier-card__features li span {
  text-align: right;
  flex: 1;
  min-width: 0;
}

html[dir="rtl"] .guest-booking-step1 .service-package-tier-card__check {
  margin-top: 4px;
  margin-inline-end: 0;
  margin-inline-start: 2px;
}

html[dir="rtl"] .guest-booking-step1 .service-package-tier-card__select-hint {
  direction: rtl;
  justify-content: flex-start;
  text-align: right;
}

html[dir="rtl"] .guest-booking-step1 .service-package-bundle-card {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .guest-booking-step1 .service-package-bundle-card__head {
  direction: rtl;
}

html[dir="rtl"] .guest-booking-step1 .service-package-bundle-card__titles {
  text-align: right;
}

html[dir="rtl"] .guest-booking-step1 .service-package-bundle-card__note {
  text-align: right;
}

html[dir="rtl"] .guest-booking-step1 .service-package-bundle-card__price {
  align-self: flex-end;
}

html[dir="rtl"] .guest-booking-step1 .service-package-tier-card__features--static {
  text-align: right;
}
