body {
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 30%),
    radial-gradient(circle at bottom right, rgba(16, 185, 129, 0.08), transparent 25%),
    #f8fafc;
}

.htmx-request.htmx-indicator,
.htmx-request .htmx-indicator {
  display: block;
}

.htmx-indicator {
  display: none;
}

.loading-overlay.is-visible {
  display: flex !important;
}

body.is-page-loading {
  overflow: hidden;
}

.sparkle-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
}

.sparkle-loader-icon {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 16px 34px rgba(37, 99, 235, 0.18),
    inset 0 0 0 1px rgba(37, 99, 235, 0.08);
  animation: sparklePulse 1.6s ease-in-out infinite;
}

.sparkle-star {
  font-size: 34px;
  line-height: 1;
  color: #2563eb;
  text-shadow: 0 0 18px rgba(96, 165, 250, 0.3);
  animation: sparkleTwinkle 1.2s ease-in-out infinite;
}

.sparkle-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #60a5fa;
  opacity: 0.85;
  animation: dotPulse 1.4s ease-in-out infinite;
}

.sparkle-dot.dot-1 {
  top: 10px;
  left: 18px;
  animation-delay: 0s;
}

.sparkle-dot.dot-2 {
  top: 16px;
  right: 12px;
  animation-delay: 0.2s;
}

.sparkle-dot.dot-3 {
  right: 18px;
  bottom: 14px;
  animation-delay: 0.4s;
}

.sparkle-dot.dot-4 {
  bottom: 12px;
  left: 16px;
  animation-delay: 0.6s;
}

.sparkle-loader-text {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.sparkle-loader-subtext {
  margin-top: -8px;
  font-size: 13px;
  color: #64748b;
}

.sparkle-loader.sm {
  gap: 10px;
}

.sparkle-loader.sm .sparkle-loader-icon {
  width: 42px;
  height: 42px;
  box-shadow:
    0 10px 24px rgba(37, 99, 235, 0.16),
    inset 0 0 0 1px rgba(37, 99, 235, 0.08);
}

.sparkle-loader.sm .sparkle-star {
  font-size: 22px;
}

.sparkle-loader.sm .sparkle-dot {
  width: 5px;
  height: 5px;
}

.sparkle-loader.sm .sparkle-dot.dot-1 {
  top: 6px;
  left: 9px;
}

.sparkle-loader.sm .sparkle-dot.dot-2 {
  top: 8px;
  right: 7px;
}

.sparkle-loader.sm .sparkle-dot.dot-3 {
  right: 9px;
  bottom: 8px;
}

.sparkle-loader.sm .sparkle-dot.dot-4 {
  bottom: 7px;
  left: 8px;
}

.sparkle-loader.lg {
  gap: 16px;
}

.sparkle-loader.lg .sparkle-loader-icon {
  width: 96px;
  height: 96px;
  box-shadow:
    0 20px 46px rgba(37, 99, 235, 0.2),
    inset 0 0 0 1px rgba(37, 99, 235, 0.1);
}

.sparkle-loader.lg .sparkle-star {
  font-size: 44px;
}

.sparkle-loader.lg .sparkle-dot {
  width: 10px;
  height: 10px;
}

.sparkle-loader.lg .sparkle-dot.dot-1 {
  top: 13px;
  left: 22px;
}

.sparkle-loader.lg .sparkle-dot.dot-2 {
  top: 18px;
  right: 16px;
}

.sparkle-loader.lg .sparkle-dot.dot-3 {
  right: 22px;
  bottom: 17px;
}

.sparkle-loader.lg .sparkle-dot.dot-4 {
  bottom: 15px;
  left: 20px;
}

.loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(248, 251, 255, 0.86);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.loading-card {
  width: min(420px, 100%);
  padding: 34px 28px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid #eaf0f8;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

@keyframes sparklePulse {
  0%, 100% {
    transform: scale(1);
    box-shadow:
      0 16px 34px rgba(37, 99, 235, 0.18),
      inset 0 0 0 1px rgba(37, 99, 235, 0.08);
  }

  50% {
    transform: scale(1.06);
    box-shadow:
      0 20px 42px rgba(37, 99, 235, 0.26),
      inset 0 0 0 1px rgba(37, 99, 235, 0.12);
  }
}

@keyframes sparkleTwinkle {
  0%, 100% {
    transform: rotate(0deg) scale(1);
    opacity: 1;
  }

  50% {
    transform: rotate(10deg) scale(1.15);
    opacity: 0.85;
  }
}

@keyframes dotPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.45;
  }

  50% {
    transform: scale(1.45);
    opacity: 1;
  }
}

/* LOGIN REVAMP: visual polish for the full-screen auth layout. */
.auth-login-page {
  color-scheme: light;
}

.auth-login-visual {
  background-color: #EBF5FF;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(37, 99, 235, 0.1) 1px, transparent 1.7px),
    radial-gradient(circle at 90% -10%, rgba(255,255,255,0.9) 0%, transparent 55%),
    radial-gradient(circle at 10% 110%, rgba(219,234,254,0.6) 0%, transparent 45%);
  background-size: 28px 28px, 100% 100%, 100% 100%;
}


.auth-login-hero {
  height: clamp(18rem, 31vh, 19rem);
}

/* REGISTER REVAMP: keep the desktop register card and trust strip fitting cleanly in shorter viewports. */
.auth-register-page {
  color-scheme: light;
}

@media (min-width: 1024px) and (max-height: 820px) {
  .auth-login-visual h1 {
    font-size: 2.45rem;
  }

  .auth-login-hero {
    height: 16.25rem;
  }

  .auth-login-visual {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }
}

@media (min-width: 1024px) and (max-height: 930px) {
  .auth-register-panel {
    grid-template-rows: 60px minmax(0, 1fr) 72px;
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .auth-register-body {
    padding-top: 0;
    padding-bottom: 0.25rem;
    align-items: flex-start;
  }

  .auth-register-card {
    padding: 0.875rem 2rem;
  }

  .auth-register-card h2 {
    font-size: 1.7rem;
    line-height: 1.1;
  }

  .auth-register-card > p {
    margin-top: 0.25rem;
    font-size: 0.95rem;
  }

  .auth-register-form {
    margin-top: 0.625rem;
    gap: 0.375rem;
  }

  .auth-register-form .space-y-1 {
    gap: 0.1rem;
  }

  .auth-register-form .h-10,
  .auth-register-form .h-10\.5,
  .auth-register-form .h-11 {
    height: 2.375rem;
  }

  .auth-register-form label {
    font-size: 0.95rem;
  }

  .auth-register-form .my-2\.5,
  .auth-register-form .my-3 {
    margin-top: 0.375rem;
    margin-bottom: 0.375rem;
  }

  .auth-register-form .mt-2\.5,
  .auth-register-form .mt-3 {
    margin-top: 0.375rem;
  }

  .auth-register-form .mt-3\.5,
  .auth-register-form .mt-4 {
    margin-top: 0.625rem;
  }

  .auth-register-form .space-y-2 {
    gap: 0.5rem;
  }

  .auth-register-form button[type="button"] {
    font-size: 0.95rem;
  }

  .auth-register-trust {
    padding-top: 0.5rem;
    padding-bottom: 0.125rem;
  }

  .auth-register-trust .h-8 {
    height: 1.625rem;
    width: 1.625rem;
  }

  .auth-register-trust .px-5 {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .auth-register-trust p:first-child {
    font-size: 0.72rem;
    line-height: 0.9rem;
  }

  .auth-register-trust p:last-child {
    margin-top: 0.075rem;
    font-size: 0.65rem;
    line-height: 0.8rem;
  }
}

@media (min-width: 1024px) and (max-height: 860px) {
  .auth-register-panel {
    grid-template-rows: 56px minmax(0, 1fr) 64px;
  }

  .auth-register-card {
    padding: 0.75rem 1.75rem;
  }

  .auth-register-card h2 {
    font-size: 1.55rem;
  }

  .auth-register-form {
    margin-top: 0.5rem;
    gap: 0.25rem;
  }

  .auth-register-form .h-10,
  .auth-register-form .h-10\.5,
  .auth-register-form .h-11 {
    height: 2.25rem;
  }

  .auth-register-form .space-y-2 {
    gap: 0.375rem;
  }

  .auth-register-trust {
    display: none;
  }
}

/* HOME NAV UPDATE: scroll-aware active state for the landing page navigation. */
.home-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  padding: 0.55rem 0.9rem;
  color: #475569;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.home-nav-link::after {
  content: "";
  position: absolute;
  right: 0.85rem;
  bottom: 0.35rem;
  left: 0.85rem;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  border-radius: 9999px;
  background: linear-gradient(90deg, #2563eb, #10b981);
  transition: transform 200ms ease;
}

.home-nav-link:hover {
  color: #2563eb;
  background-color: #eff6ff;
  transform: translateY(-1px);
}

.home-nav-link.is-active {
  color: #2563eb;
  background-color: #dbeafe;
  font-weight: 700;
}

.home-nav-link.is-active::after {
  transform: scaleX(1);
}

/* UI REVAMP: shared dashboard polish without changing backend/component behavior. */
.customer-dashboard {
  --clean-card-border: rgba(226, 232, 240, 0.9);
}

.customer-dashboard input,
.customer-dashboard select {
  color-scheme: light;
}

.customer-dashboard .clean-card {
  border: 1px solid var(--clean-card-border);
}

.customer-dashboard a,
.customer-dashboard button {
  will-change: transform;
}

@media (max-width: 640px) {
  .customer-dashboard {
    margin-inline: -0.25rem;
  }
}

/* UI REVAMP: Home/Index responsive marketing layout inspired by the supplied reference. */
.home-landing {
  color-scheme: light;
}

/* UI THEME UPDATE: soft blue surface with a subtle dot pattern so the landing page feels branded, not plain white. */
.home-blue-theme {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #eaf4ff;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(37, 99, 235, 0.07) 1px, transparent 1.7px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(219, 234, 254, 0.82) 48%, rgba(236, 253, 245, 0.70) 100%);
  background-position: 0 0, 0 0;
  background-size: 30px 30px, 100% 100%;
}

.home-blue-theme::before,
.home-blue-theme::after,
.home-blue-theme .home-bg-pattern {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.home-blue-theme::before,
.home-blue-theme::after {
  border-radius: 9999px;
  filter: blur(8px);
}

.home-blue-theme::before {
  top: 2rem;
  right: -8rem;
  bottom: auto;
  left: auto;
  width: 26rem;
  height: 26rem;
  background: rgba(37, 99, 235, 0.13);
}

.home-blue-theme::after {
  top: auto;
  right: auto;
  left: -9rem;
  bottom: 18rem;
  width: 24rem;
  height: 24rem;
  background: rgba(16, 185, 129, 0.11);
}

.home-blue-theme .home-bg-pattern {
  background-image:
    linear-gradient(115deg, transparent 0%, transparent 42%, rgba(255, 255, 255, 0.48) 42%, rgba(255, 255, 255, 0.48) 44%, transparent 44%, transparent 100%),
    radial-gradient(circle at 18% 22%, rgba(37, 99, 235, 0.09) 0 7rem, transparent 7.1rem),
    radial-gradient(circle at 82% 58%, rgba(16, 185, 129, 0.08) 0 8rem, transparent 8.1rem);
  background-size: 38rem 38rem, 100% 100%, 100% 100%;
  opacity: 0.85;
}

.home-blue-theme > section,
.home-blue-theme > footer {
  position: relative;
  z-index: 2;
}

.home-blue-theme > section:not(.home-cta-band),
.home-blue-theme > footer {
  background-color: transparent !important;
  background-image: none !important;
}

.home-blue-theme > footer {
  border-color: rgba(191, 219, 254, 0.8) !important;
}

/* HOME MOTION UPDATE: gentle reveal motion for landing sections and key cards. */
.home-blue-theme [data-animate-section] {
  opacity: 0;
  transform: translateY(26px) scale(0.995);
  filter: saturate(0.96) blur(1px);
  transition:
    opacity 620ms ease,
    transform 760ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 620ms ease;
}

.home-blue-theme [data-animate-section][data-reveal-direction="up"] {
  transform: translateY(-26px) scale(0.995);
}

.home-blue-theme [data-animate-section].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: saturate(1);
}

.home-blue-theme [data-animate-section] [data-reveal-item] {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  filter: blur(2px);
  will-change: opacity, transform;
  transition:
    opacity 560ms ease,
    transform 720ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 560ms ease;
  transition-delay: 0ms;
}

.home-blue-theme [data-animate-section].is-visible [data-reveal-item].is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  transition-delay: var(--reveal-delay, 0ms);
}

.home-blue-theme [data-animate-section] [data-reveal-item].reveal-lift-soft {
  transform: translateY(22px) scale(0.99);
}

.home-blue-theme [data-animate-section] [data-reveal-item].reveal-slide-right {
  transform: translateX(-28px) translateY(10px);
}

.home-blue-theme [data-animate-section] [data-reveal-item].reveal-slide-left {
  transform: translateX(28px) translateY(10px);
}

.home-blue-theme [data-animate-section][data-reveal-direction="up"] [data-reveal-item].reveal-lift-soft {
  transform: translateY(-22px) scale(0.99);
}

.home-blue-theme [data-animate-section][data-reveal-direction="up"] [data-reveal-item].reveal-slide-right {
  transform: translateX(-24px) translateY(-10px);
}

.home-blue-theme [data-animate-section][data-reveal-direction="up"] [data-reveal-item].reveal-slide-left {
  transform: translateX(24px) translateY(-10px);
}

.home-blue-theme [data-animate-section].is-visible [data-reveal-item].reveal-lift-soft.is-revealed,
.home-blue-theme [data-animate-section].is-visible [data-reveal-item].reveal-slide-right.is-revealed,
.home-blue-theme [data-animate-section].is-visible [data-reveal-item].reveal-slide-left.is-revealed {
  transform: translateX(0) translateY(0);
}

.home-blue-theme [data-animate-section] .rounded-2xl,
.home-blue-theme [data-animate-section] .rounded-3xl,
.home-blue-theme [data-animate-section] .home-step-card {
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    border-color 260ms ease,
    background-color 260ms ease;
}

.home-blue-theme [data-animate-section] .rounded-2xl:hover,
.home-blue-theme [data-animate-section] .rounded-3xl:hover,
.home-blue-theme [data-animate-section] .home-step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.12);
  border-color: rgba(37, 99, 235, 0.18);
}

.home-landing input,
.home-landing select {
  color-scheme: light;
}

.home-landing input[type="datetime-local"] {
  min-width: 0;
}

.home-landing input,
.home-landing select {
  min-width: 0;
}

.home-landing [data-hero-datetime]::-webkit-calendar-picker-indicator {
  opacity: 0.75;
  cursor: pointer;
}

.home-landing [data-hero-datetime]::-webkit-datetime-edit,
.home-landing [data-hero-datetime]::-webkit-date-and-time-value {
  color: #334155;
}

.home-availability-modal[data-home-availability-modal] {
  display: none;
}

.home-availability-modal[data-home-availability-modal].flex {
  display: flex;
}

.thebersih-whatsapp-float {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 3.9rem;
  padding: 0.48rem 1rem 0.48rem 0.48rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #0f172a;
  text-decoration: none;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(14px);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.thebersih-whatsapp-float:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 211, 102, 0.38);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.17);
}

.thebersih-whatsapp-float:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.3);
  outline-offset: 4px;
}

.thebersih-whatsapp-icon {
  position: relative;
  display: grid;
  width: 2.95rem;
  height: 2.95rem;
  flex: 0 0 2.95rem;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 18px rgba(37, 211, 102, 0.26);
}

.thebersih-whatsapp-icon svg {
  width: 1.8rem;
  height: 1.8rem;
}

.thebersih-whatsapp-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.thebersih-whatsapp-copy span {
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 600;
}

.thebersih-whatsapp-copy strong {
  margin-top: 0.12rem;
  color: #0f172a;
  font-size: 0.86rem;
  font-weight: 800;
}

.home-service-picker.is-open {
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.home-service-picker.is-open [data-service-chevron] {
  transform: rotate(180deg);
  color: #2563eb;
}

.home-service-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 0.95rem;
  padding: 0.7rem 0.4rem;
  border: 1px solid transparent;
  background: transparent;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 700;
  transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.home-service-chip:hover {
  transform: translateY(-1px);
  color: #2563eb;
}

.home-service-chip.is-active {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.22);
}

.home-service-option {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.75rem;
  border-radius: 1rem;
  padding: 0.75rem;
  text-align: left;
  transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.home-service-option:hover {
  background: #f8fbff;
  transform: translateY(-1px);
}

.home-service-option.is-active {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(16, 185, 129, 0.08));
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.14);
}

.home-service-option__icon {
  display: grid;
  height: 2.25rem;
  width: 2.25rem;
  flex-shrink: 0;
  place-items: center;
  border-radius: 0.875rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.home-service-option__check {
  margin-left: auto;
  display: grid;
  height: 1.5rem;
  width: 1.5rem;
  flex-shrink: 0;
  place-items: center;
  border-radius: 9999px;
  color: transparent;
  transition: background-color 180ms ease, color 180ms ease;
}

.home-service-option.is-active .home-service-option__check {
  background: #2563eb;
  color: #ffffff;
}

.home-cleaner-portrait {
  position: relative;
  z-index: 4;
  display: grid;
  justify-items: center;
}

.home-cleaner-face {
  position: relative;
  z-index: 2;
  width: 9.75rem;
  height: 9.75rem;
  border-radius: 9999px;
  background:
    radial-gradient(circle at 38% 49%, #111827 0 4px, transparent 5px),
    radial-gradient(circle at 62% 49%, #111827 0 4px, transparent 5px),
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.6), transparent 26%),
    linear-gradient(#f6c7a8, #e9a87d);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.16);
}

.home-cleaner-hair {
  position: absolute;
  inset: -0.35rem 0.95rem auto;
  height: 4.35rem;
  border-radius: 9999px 9999px 42% 42%;
  background: #111827;
}

.home-cleaner-smile {
  position: absolute;
  left: 50%;
  top: 61%;
  width: 2.2rem;
  height: 1.1rem;
  transform: translateX(-50%);
  border-bottom: 3px solid #7c2d12;
  border-radius: 0 0 9999px 9999px;
}

.home-cleaner-neck {
  width: 3.2rem;
  height: 2rem;
  margin-top: -0.2rem;
  border-radius: 0 0 1.4rem 1.4rem;
  background: #e9a87d;
}

.home-cleaner-body::before,
.home-cleaner-body::after {
  content: "";
  position: absolute;
  top: 0;
  width: 5rem;
  height: 11rem;
  border-radius: 9999px;
  background: #2f5ee8;
}

.home-cleaner-body::before {
  left: -1.75rem;
  transform: rotate(18deg);
}

.home-cleaner-body::after {
  right: -1.75rem;
  transform: rotate(-18deg);
}

.home-step-card {
  min-height: 7rem;
}

.home-step-arrow {
  transform: translateY(-0.1rem);
}

@media (max-width: 767px) {
  .home-landing {
    margin-top: -2rem;
  }

  .thebersih-whatsapp-float {
    right: 1rem;
    bottom: calc(1rem + env(safe-area-inset-bottom));
    width: 3.6rem;
    height: 3.6rem;
    min-height: 3.6rem;
    aspect-ratio: 1 / 1;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 999px;
    background: transparent;
    box-shadow: none;
  }

  .thebersih-whatsapp-float::after,
  .thebersih-whatsapp-copy {
    display: none;
  }

  .thebersih-whatsapp-icon {
    position: relative;
    inset: auto;
    width: 3.6rem;
    height: 3.6rem;
    min-width: 3.6rem;
    min-height: 3.6rem;
    flex: 0 0 3.6rem;
    aspect-ratio: 1 / 1;
    transform: none;
    border-width: 0.22rem;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.2);
  }

  .thebersih-whatsapp-icon svg {
    width: 2.15rem;
    height: 2.15rem;
  }

  .thebersih-whatsapp-float:hover {
    transform: translateY(-2px);
    box-shadow: none;
  }

  .home-availability-modal[data-home-availability-modal] {
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(6px);
  }

  .home-availability-sheet {
    position: relative;
    max-height: calc(100dvh - 4.5rem);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-width: 1px 0 0;
    border-radius: 1.75rem 1.75rem 0 0;
    padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom));
    box-shadow: 0 -18px 55px rgba(15, 23, 42, 0.2);
    scrollbar-width: none;
  }

  .home-availability-sheet::-webkit-scrollbar {
    display: none;
  }

  .home-availability-handle {
    width: 2.75rem;
    height: 0.28rem;
    margin: 0 auto 0.9rem;
    border-radius: 999px;
    background: #cbd5e1;
  }

  .home-availability-heading {
    padding: 0 0.15rem;
  }

  .home-availability-heading [data-home-modal-icon] {
    width: 2.75rem;
    height: 2.75rem;
    flex: 0 0 2.75rem;
    border-radius: 0.9rem;
  }

  .home-availability-heading [data-home-modal-icon] svg {
    width: 1.35rem;
    height: 1.35rem;
  }

  .home-availability-heading [data-home-modal-close] {
    width: 2.5rem;
    height: 2.5rem;
    flex: 0 0 2.5rem;
    border-radius: 0.9rem;
    background: #f8fafc;
  }

  .home-availability-heading p {
    font-size: 0.6rem;
    letter-spacing: 0.19em;
  }

  .home-availability-modal [data-home-modal-title] {
    margin-top: 0.2rem;
    max-width: 16rem;
    font-size: 1.22rem;
    line-height: 1.12;
    letter-spacing: -0.025em;
  }

  .home-availability-summary {
    margin-top: 1rem;
    border-radius: 1.25rem;
    padding: 1rem;
  }

  .home-availability-summary > [data-home-modal-message] {
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .home-availability-details {
    margin-top: 1rem;
    gap: 0;
    border-radius: 1rem;
    padding: 0.2rem 0.85rem;
  }

  .home-availability-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    min-height: 3.35rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid #eef2f7;
  }

  .home-availability-detail:last-child {
    border-bottom: 0;
  }

  .home-availability-detail p:first-child {
    font-size: 0.58rem;
    letter-spacing: 0.17em;
  }

  .home-availability-detail p:last-child {
    margin-top: 0;
    max-width: 11.5rem;
    text-align: right;
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .home-availability-actions {
    position: sticky;
    bottom: calc(-1rem - env(safe-area-inset-bottom));
    z-index: 2;
    margin: 1rem -1rem calc(-1rem - env(safe-area-inset-bottom));
    gap: 0.65rem;
    padding: 0.85rem 1rem calc(1rem + env(safe-area-inset-bottom));
    border-top: 1px solid #eef2f7;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -12px 28px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(12px);
  }

  .home-availability-actions [data-home-modal-register] {
    order: -1;
    min-height: 3.1rem;
    border-radius: 1rem;
    font-size: 0.88rem;
  }

  .home-availability-actions [data-home-modal-login] {
    min-height: 2.9rem;
    border-radius: 1rem;
    font-size: 0.86rem;
  }

  .home-service-chip {
    font-size: 0.72rem;
  }

  .home-cleaner-face {
    width: 8.5rem;
    height: 8.5rem;
  }
}

@media (max-width: 390px) {
  .home-availability-sheet {
    max-height: calc(100dvh - 3.5rem);
    border-radius: 1.5rem 1.5rem 0 0;
  }

  .home-availability-modal [data-home-modal-title] {
    max-width: 13rem;
    font-size: 1.1rem;
  }

  .home-availability-summary > [data-home-modal-message] {
    font-size: 0.84rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-nav-link,
  .home-nav-link::after,
  .home-blue-theme [data-animate-section],
  .home-blue-theme [data-animate-section] [data-reveal-item],
  .home-blue-theme [data-animate-section] .rounded-2xl,
  .home-blue-theme [data-animate-section] .rounded-3xl,
  .home-blue-theme [data-animate-section] .home-step-card {
    transition: none;
    filter: none !important;
    opacity: 1 !important;
  }

  .home-nav-link:hover,
  .home-blue-theme [data-animate-section],
  .home-blue-theme [data-animate-section] [data-reveal-item],
  .home-blue-theme [data-animate-section] .rounded-2xl:hover,
  .home-blue-theme [data-animate-section] .rounded-3xl:hover,
  .home-blue-theme [data-animate-section] .home-step-card:hover {
    transform: none !important;
  }
}

/* =============================================
   MY BOOKINGS — mobile-only premium redesign
   ============================================= */
@media (max-width: 767px) {
  .bk-page-wrap {
    margin: -16px;
    min-height: 100vh;
    background:
      radial-gradient(circle at top right, rgba(37,99,235,0.10), transparent 34%),
      linear-gradient(180deg, #ffffff 0%, #F7FAFF 36%, #F8FBFF 100%);
  }
  .bk-title-section {
    padding: 22px 24px 18px !important;
    margin-bottom: 0 !important;
    position: relative;
  }
  .bk-title-section h1 {
    font-size: 36px !important;
    font-weight: 900 !important;
    letter-spacing: -0.04em !important;
    color: #020617 !important;
    margin: 0 !important;
  }
  .bk-title-section p {
    margin: 10px 0 0 !important;
    font-size: 15px !important;
    color: #64748B !important;
  }
  .bk-filter-card {
    margin: 0 18px 20px !important;
    padding: 16px 18px !important;
    border-radius: 26px !important;
    background: #ffffff !important;
    border: 1px solid #EAF0F8 !important;
    box-shadow: 0 18px 38px rgba(15,23,42,0.07) !important;
    overflow: hidden !important;
  }
  .bk-tabs,
  .booking-tabs,
  .status-tabs,
  .booking-status-tabs {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    gap: 10px !important;
    padding-bottom: 0 !important;
    margin-bottom: 16px !important;
    border-bottom: none !important;
    padding: 0 !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }
  .bk-tabs > div,
  .booking-tabs > div,
  .status-tabs > div,
  .booking-status-tabs > div {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 10px !important;
    min-width: max-content !important;
  }
  .bk-tabs::-webkit-scrollbar,
  .booking-tabs::-webkit-scrollbar,
  .status-tabs::-webkit-scrollbar,
  .booking-status-tabs::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }
  .bk-tab,
  .booking-tab,
  .status-tab,
  .booking-status-tab {
    flex: 0 0 auto !important;
    height: 42px !important;
    padding: 0 16px !important;
    border-radius: 999px !important;
    border: 1.5px solid #E2E8F0 !important;
    background: #ffffff !important;
    color: #475569 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    white-space: nowrap !important;
    text-decoration: none !important;
  }
  .bk-tab.bk-tab-active {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 8px 20px rgba(37,99,235,0.28) !important;
  }
  .bk-search-form {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    gap: 12px !important;
    align-items: center !important;
    padding: 0 !important;
  }
  .bk-search-box {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    height: 52px !important;
    border-radius: 999px !important;
    border: 1px solid #DDE6F3 !important;
    background: #F8FAFF !important;
    padding: 0 18px !important;
  }
  .bk-search-box svg {
    position: static !important;
    transform: none !important;
    width: 17px !important;
    height: 17px !important;
    flex-shrink: 0;
  }
  .bk-search-box input {
    flex: 1 !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    font-size: 15px !important;
    box-shadow: none !important;
    width: 100% !important;
  }
  .bk-filter-btn {
    height: 52px !important;
    padding: 0 18px !important;
    border-radius: 999px !important;
    border: 1px solid #DDE6F3 !important;
    background: #ffffff !important;
    color: #2563EB !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    white-space: nowrap !important;
  }
  .bk-card {
    margin: 0 18px 18px !important;
    padding: 20px !important;
    border-radius: 26px !important;
    background: #ffffff !important;
    border: 1px solid #EAF0F8 !important;
    box-shadow: 0 14px 34px rgba(15,23,42,0.08) !important;
    display: grid !important;
    grid-template-columns: 82px minmax(0,1fr) auto !important;
    gap: 0 16px !important;
    align-items: start !important;
  }
  .bk-card-icon-outer {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }
  .bk-completed-check {
    display: none !important;
  }
  .bk-card-icon-inner {
    width: 82px !important;
    height: 82px !important;
    border-radius: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .bk-card-icon-png {
    background: linear-gradient(135deg, #EEF4FF 0%, #F8FBFF 100%) !important;
    overflow: hidden !important;
    box-shadow:
      inset 0 0 0 1px rgba(37, 99, 235, 0.08),
      0 12px 26px rgba(37, 99, 235, 0.10) !important;
  }
  .bk-card-icon-png.bk-card-icon-deep {
    background: linear-gradient(135deg, #ECFDF5 0%, #F0FDFA 100%) !important;
    box-shadow:
      inset 0 0 0 1px rgba(16, 185, 129, 0.10),
      0 12px 26px rgba(16, 185, 129, 0.10) !important;
  }
  .bk-service-png {
    width: 72px !important;
    height: 72px !important;
    object-fit: contain !important;
    display: block !important;
    pointer-events: none !important;
    user-select: none !important;
  }
  .bk-card-main {
    grid-column: 2 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
  }
  .bk-card-title {
    font-size: 17px !important;
    font-weight: 900 !important;
    color: #020617 !important;
    margin: 0 0 4px !important;
  }
  .bk-card-cleaner {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    color: #64748B !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    margin: 0 0 14px !important;
  }
  .bk-card-info-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
  }
  .bk-card-info-row {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
  }
  .bk-card-info-icon {
    width: 28px !important;
    height: 28px !important;
    border-radius: 999px !important;
    background: #F1F5F9 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
  }
  .bk-card-footer {
    grid-column: 3 !important;
    grid-row: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    min-width: 108px !important;
    gap: 0 !important;
    flex-shrink: 0 !important;
  }
  .bk-status-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    min-height: 28px !important;
    padding: 0 12px !important;
    border-radius: 999px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
    margin-bottom: 10px !important;
  }
  .bk-status-pending    { background: #FFF7E6 !important; color: #D97706 !important; border: 1.5px solid #FCD58D !important; }
  .bk-status-confirmed  { background: #ECFDF5 !important; color: #059669 !important; border: 1.5px solid #A7F3D0 !important; }
  .bk-status-inprogress { background: #EEF4FF !important; color: #2563EB !important; border: 1.5px solid #BFDBFE !important; }
  .bk-status-completed  { background: #ECFDF5 !important; color: #059669 !important; border: 1.5px solid #A7F3D0 !important; }
  .bk-status-cancelled  { background: #FEF2F2 !important; color: #EF4444 !important; border: 1.5px solid #FECACA !important; }
  .bk-amount-wrap { text-align: right !important; }
  .bk-amount-label {
    display: block !important;
    font-size: 12px !important;
    color: #94A3B8 !important;
    font-weight: 700 !important;
    margin: 0 0 4px !important;
  }
  .bk-amount {
    font-size: 23px !important;
    line-height: 1.05 !important;
    font-weight: 900 !important;
    color: #020617 !important;
    margin: 0 0 14px !important;
  }
  .bk-view-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    height: 40px !important;
    padding: 0 15px !important;
    border-radius: 999px !important;
    border: 1.5px solid #CFE0FF !important;
    background: #ffffff !important;
    color: #2563EB !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
  }
  .bk-view-btn-label-full { display: none !important; }
  .bk-view-btn-label-short { display: inline !important; }
  .bk-view-btn-inprogress {
    background: #2563EB !important;
    color: #ffffff !important;
    border-color: transparent !important;
  }
  .bk-view-btn-review {
    border-color: #A7F3D0 !important;
    color: #059669 !important;
  }
  .bk-empty {
    margin: 0 18px !important;
    border-radius: 26px !important;
  }
  .bk-pagination {
    padding: 0 18px 24px !important;
  }
}

@media (min-width: 400px) and (max-width: 767px) {
  .bk-view-btn-label-full { display: inline !important; }
  .bk-view-btn-label-short { display: none !important; }
}

@media (max-width: 430px) {
  .bk-card {
    grid-template-columns: 74px 1fr !important;
    gap: 14px !important;
    padding: 18px !important;
    margin: 0 18px 16px !important;
  }
  .bk-card-icon-inner {
    width: 72px !important;
    height: 72px !important;
    border-radius: 20px !important;
  }
  .bk-service-png {
    width: 62px !important;
    height: 62px !important;
  }
  .bk-card-title {
    font-size: 19px !important;
    line-height: 1.14 !important;
  }
  .bk-card-cleaner {
    font-size: 13px !important;
    margin: 0 0 12px !important;
  }
  .bk-card-info-row {
    font-size: 14px !important;
  }
  .bk-card-footer {
    grid-column: 2 !important;
    grid-row: 2 !important;
    align-items: flex-start !important;
    min-width: 0 !important;
    margin-top: 14px !important;
    padding-top: 14px !important;
    border-top: 1px solid #EAF0F8 !important;
  }
  .bk-amount-wrap {
    text-align: left !important;
  }
  .bk-amount {
    margin: 0 0 12px !important;
  }
}

@media (max-width: 390px) {
  .bk-title-section h1 { font-size: 30px !important; }
  .bk-card {
    grid-template-columns: 74px 1fr !important;
    gap: 14px !important;
    padding: 18px !important;
    border-radius: 22px !important;
    margin: 0 18px 16px !important;
  }
  .bk-card-icon-inner { width: 72px !important; height: 72px !important; border-radius: 20px !important; }
  .bk-service-png { width: 62px !important; height: 62px !important; }
  .bk-card-main { grid-column: 2 !important; display: block !important; }
  .bk-card-footer {
    grid-column: 2 !important;
    grid-row: 2 !important;
    align-items: flex-start !important;
    min-width: 0 !important;
    margin-top: 14px !important;
    padding-top: 14px !important;
    border-top: 1px solid #EAF0F8 !important;
  }
  .bk-card-title { font-size: 19px !important; }
  .bk-amount { font-size: 22px !important; }
}

/* SUBSCRIPTION WIZARD: mobile-only compact checkout experience. */
@media (max-width: 767px) {
  .subscription-mobile-header {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    min-height: 72px;
    padding: 12px 18px;
    border-bottom: 1px solid #eaf0f8;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.05);
  }

  .subscription-mobile-header > a:nth-child(2) {
    justify-self: center;
  }

  .subscription-mobile-back,
  .subscription-mobile-header-spacer {
    width: 42px;
    height: 42px;
  }

  .subscription-mobile-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #ffffff;
    color: #475569;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
  }

  .subscription-mobile-logo {
    width: auto;
    height: 30px;
    object-fit: contain;
  }

  main:has(.subscription-wizard) {
    padding: 0 !important;
    background: #f8fbff;
  }

  .subscription-wizard {
    width: 100%;
    min-height: calc(100vh - 72px);
    margin: 0 !important;
    padding: 18px 18px 28px !important;
    overflow: visible !important;
    border-radius: 0 !important;
    background:
      radial-gradient(circle at 96% 3%, rgba(96, 165, 250, 0.13), transparent 28%),
      linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
    box-shadow: none !important;
    --tw-ring-shadow: 0 0 #0000 !important;
  }

  .subscription-hero-copy {
    display: none;
  }

  #subscription-progress {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    max-width: 360px;
    margin: 0 auto 22px !important;
    padding: 0 3px;
  }

  #subscription-progress::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 15px;
    right: 13%;
    left: 13%;
    height: 2px;
    border-radius: 999px;
    background: #e6edf7;
  }

  .subscription-progress-item {
    position: relative;
    z-index: 1;
    min-width: 0;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #94a3b8 !important;
  }

  .subscription-progress-number {
    position: relative;
    width: 30px !important;
    height: 30px !important;
    margin-bottom: 6px !important;
    border: 2px solid #e2e8f0;
    background: #ffffff !important;
    color: #94a3b8;
    font-size: 12px;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.04);
  }

  .subscription-progress-label {
    display: block;
    overflow: hidden;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .subscription-progress-item.is-active .subscription-progress-number,
  .subscription-progress-item.is-complete .subscription-progress-number {
    border-color: #2563eb;
    background: #2563eb !important;
    color: #ffffff;
    box-shadow: 0 7px 15px rgba(37, 99, 235, 0.24);
  }

  .subscription-progress-item.is-active .subscription-progress-label {
    color: #2563eb;
  }

  .subscription-progress-item.is-complete .subscription-progress-number {
    background: #dbeafe !important;
    color: #2563eb;
  }

  .subscription-panel {
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    --tw-ring-shadow: 0 0 #0000 !important;
  }

  .subscription-step.hidden,
  #subscription-back.hidden,
  #subscription-next.hidden,
  #subscription-pay.hidden {
    display: none !important;
  }

  .subscription-mobile-step-heading,
  .subscription-step-heading,
  .subscription-review-heading {
    display: block;
    margin: 0 0 18px;
    text-align: center;
  }

  .subscription-mobile-step-heading h2,
  .subscription-step-heading h2,
  .subscription-review-heading h2 {
    margin: 0;
    color: #0f172a;
    font-size: 23px !important;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.035em;
  }

  .subscription-mobile-step-heading p,
  .subscription-step-heading p,
  .subscription-review-heading p {
    max-width: 290px;
    margin: 7px auto 0 !important;
    color: #64748b;
    font-size: 13px !important;
    line-height: 1.45;
  }

  .subscription-review-heading > span {
    display: none;
  }

  .subscription-plan-copy {
    position: relative;
    padding: 20px;
    border: 2px solid #93b4ff;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.08);
  }

  .subscription-plan-copy::after {
    content: "Most Popular";
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #dbeafe;
    color: #2563eb;
    font-size: 9px;
    font-weight: 900;
  }

  .subscription-plan-copy > p:first-child {
    padding-right: 88px;
    color: #2563eb;
    font-size: 11px;
    letter-spacing: 0.13em;
  }

  .subscription-plan-copy h2 {
    max-width: 78%;
    font-size: 22px !important;
  }

  .subscription-plan-copy > p:nth-child(3) {
    margin-top: 8px !important;
    font-size: 13px;
    line-height: 1.55;
  }

  .subscription-plan-copy > div {
    margin-top: 14px !important;
    gap: 7px !important;
  }

  .subscription-plan-copy > div span {
    padding: 7px 10px !important;
    font-size: 11px;
  }

  .subscription-plan-price {
    padding: 18px !important;
    border: 1px solid #dbe7f5;
    border-radius: 18px !important;
    background: linear-gradient(135deg, #f8fbff, #eef5ff) !important;
    color: #0f172a !important;
    text-align: center;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  }

  .subscription-plan-price p:first-child,
  .subscription-plan-price p:last-child {
    color: #64748b !important;
  }

  .subscription-plan-price p:nth-child(2) {
    font-size: 30px !important;
  }

  .subscription-field-grid {
    margin-top: 0 !important;
    gap: 14px !important;
    padding: 18px;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
  }

  .subscription-field-grid label span,
  .subscription-panel > label > span {
    margin-bottom: 7px !important;
    color: #475569;
    font-size: 12px !important;
  }

  .subscription-field-grid input,
  .subscription-panel select {
    height: 48px !important;
    border-radius: 12px !important;
    background: #ffffff;
    font-size: 13px;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.01);
  }

  .subscription-day-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    margin-top: 0 !important;
    gap: 9px !important;
  }

  .subscription-day-grid label span {
    height: 48px !important;
    border-radius: 13px !important;
    font-size: 12px !important;
    box-shadow: 0 5px 14px rgba(15, 23, 42, 0.04);
  }

  .subscription-panel[data-step="3"] > label {
    margin-top: 18px !important;
  }

  .subscription-schedule-preview {
    margin-top: 18px !important;
    padding: 15px !important;
    border: 1px solid #dbeafe;
    border-radius: 16px !important;
    background: #f3f7ff !important;
  }

  #schedule-preview {
    margin-top: 8px !important;
    font-size: 12px !important;
    line-height: 1.55;
  }

  .subscription-review-grid {
    display: block !important;
    margin-top: 0 !important;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
  }

  .subscription-review-address-card {
    display: block !important;
  }

  .subscription-review-card {
    padding: 16px !important;
    border: 0 !important;
    border-bottom: 1px solid #eaf0f8 !important;
    border-radius: 0 !important;
  }

  .subscription-review-card:last-child {
    border-bottom: 0 !important;
  }

  .subscription-review-card > p:first-child {
    color: #64748b !important;
    font-size: 11px !important;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.09em;
  }

  .subscription-review-card > p:not(:first-child) {
    font-size: 13px;
    line-height: 1.5;
  }

  .subscription-review-note {
    border: 1px solid #dbeafe;
    font-size: 12px !important;
    line-height: 1.5;
  }

  .subscription-actions {
    position: sticky;
    z-index: 20;
    bottom: 0;
    margin: 22px -18px -28px !important;
    padding: 14px 18px calc(14px + env(safe-area-inset-bottom));
    border-top: 1px solid #e2e8f0;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -16px 32px rgba(15, 23, 42, 0.07);
    backdrop-filter: blur(14px);
  }

  .subscription-actions button {
    display: inline-flex;
    min-width: 0;
    flex: 1;
    align-items: center;
    justify-content: center;
    height: 48px !important;
    padding: 0 15px !important;
    border-radius: 13px !important;
    font-size: 13px;
  }

  #subscription-next:only-child,
  #subscription-next.ml-auto {
    flex: 1.8;
  }

  #subscription-pay {
    flex: 1.8;
    background: linear-gradient(135deg, #2563eb, #3b82f6) !important;
  }
}

@media (max-width: 390px) {
  .subscription-wizard {
    padding-right: 14px !important;
    padding-left: 14px !important;
  }

  .subscription-mobile-step-heading h2,
  .subscription-step-heading h2,
  .subscription-review-heading h2 {
    font-size: 21px !important;
  }

  .subscription-actions {
    margin-right: -14px !important;
    margin-left: -14px !important;
    padding-right: 14px;
    padding-left: 14px;
  }

  .subscription-progress-label {
    font-size: 9px;
  }
}

/* Customer My Bookings: premium mobile presentation */
@media (max-width: 767px) {
  .bk-page-wrap {
    min-height: calc(100dvh - 92px);
    margin: 0 -1rem -1rem !important;
    padding: 0 0 max(30px, env(safe-area-inset-bottom));
    overflow: hidden;
    background:
      radial-gradient(circle at 100% 6%, rgba(96, 165, 250, 0.17), transparent 28%),
      linear-gradient(180deg, #f8fbff 0%, #f4f8ff 48%, #f8fbff 100%);
  }

  .bk-mobile-hero-shell {
    margin: 0 !important;
    padding: 16px 16px 18px !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .bk-mobile-hero {
    min-height: 154px;
    padding: 25px 24px !important;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 28px !important;
    background:
      radial-gradient(circle at 88% 16%, rgba(255, 255, 255, 0.19), transparent 25%),
      linear-gradient(132deg, #1d4ed8 0%, #2563eb 54%, #0ea5a7 118%) !important;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.22) !important;
  }

  .bk-mobile-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.22;
    background-image: radial-gradient(rgba(255, 255, 255, 0.8) 1px, transparent 1px);
    background-size: 18px 18px;
    mask-image: linear-gradient(90deg, transparent 22%, #000 100%);
  }

  .bk-mobile-hero-kicker {
    height: 27px;
    padding: 0 11px !important;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.14) !important;
    color: #eff6ff !important;
    backdrop-filter: blur(10px);
  }

  .bk-mobile-hero-title {
    margin-top: 14px !important;
    font-size: 32px !important;
    font-weight: 900 !important;
    letter-spacing: -0.04em !important;
  }

  .bk-mobile-hero-count {
    margin-top: 8px !important;
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: 14px !important;
    font-weight: 600;
  }

  .bk-mobile-hero-icon {
    width: 64px !important;
    height: 64px !important;
    border-radius: 20px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15), 0 12px 25px rgba(15, 23, 42, 0.13);
  }

  .bk-mobile-filter {
    margin: 0 16px 18px !important;
    padding: 14px !important;
    border: 1px solid rgba(219, 231, 245, 0.95);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
  }

  .bk-mobile-tabs {
    display: flex !important;
    flex-flow: row nowrap !important;
    gap: 8px !important;
    margin: 0 -2px;
    padding: 1px 2px 3px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .bk-mobile-tabs::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .bk-mobile-tab {
    flex: 0 0 auto !important;
    height: 40px !important;
    padding: 0 16px !important;
    white-space: nowrap !important;
    scroll-snap-align: start;
    border-radius: 999px !important;
    font-size: 13px !important;
  }

  .bk-mobile-search-row {
    gap: 10px !important;
    margin-top: 11px;
    padding-top: 12px;
    border-top: 1px solid #edf2f8;
  }

  .bk-mobile-search input {
    height: 50px !important;
    border-color: #dce6f2 !important;
    border-radius: 16px !important;
    background: #f8fbff !important;
    font-size: 14px !important;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.02);
  }

  .bk-mobile-filter-btn {
    width: 50px !important;
    height: 50px !important;
    border-color: #dbe7f5 !important;
    border-radius: 16px !important;
    color: #2563eb !important;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.09) !important;
  }

  .bk-mobile-empty {
    position: relative;
    min-height: 350px;
    margin: 0 16px !important;
    padding: 44px 24px 38px !important;
    overflow: hidden;
    border: 1px solid #e3ebf5 !important;
    border-radius: 28px !important;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.98)) !important;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
  }

  .bk-mobile-empty::before {
    content: "";
    position: absolute;
    top: -76px;
    left: 50%;
    width: 230px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.17), transparent 67%);
    transform: translateX(-50%);
    pointer-events: none;
  }

  .bk-mobile-empty-orb {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
  }

  .bk-mobile-empty-orb-one {
    right: 28px;
    top: 39px;
    width: 8px;
    height: 8px;
    background: #93c5fd;
    box-shadow: 18px 20px 0 -2px #bfdbfe;
  }

  .bk-mobile-empty-orb-two {
    bottom: 39px;
    left: 31px;
    width: 7px;
    height: 7px;
    background: #6ee7b7;
    box-shadow: -13px -18px 0 -1px #a7f3d0;
  }

  .bk-mobile-empty-icon {
    position: relative;
    z-index: 1;
    width: 78px !important;
    height: 78px !important;
    border: 1px solid #dbeafe;
    border-radius: 24px !important;
    background: linear-gradient(145deg, #eff6ff, #dbeafe) !important;
    color: #2563eb;
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.15);
  }

  .bk-mobile-empty-icon svg {
    width: 36px !important;
    height: 36px !important;
    color: #2563eb !important;
    stroke-width: 1.7;
  }

  .bk-mobile-empty-title {
    position: relative;
    z-index: 1;
    margin-top: 25px !important;
    color: #0f172a !important;
    font-size: 22px !important;
    font-weight: 900 !important;
    line-height: 1.2;
    letter-spacing: -0.025em;
  }

  .bk-mobile-empty-copy {
    position: relative;
    z-index: 1;
    max-width: 290px;
    margin-top: 10px !important;
    color: #64748b !important;
    font-size: 14px !important;
    line-height: 1.6;
  }

  .bk-mobile-empty-cta {
    position: relative;
    z-index: 1;
    min-width: 230px;
    height: 52px;
    margin-top: 24px !important;
    padding: 0 22px !important;
    border-radius: 16px !important;
    background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    box-shadow: 0 14px 26px rgba(37, 99, 235, 0.24) !important;
  }
}

@media (max-width: 390px) {
  .bk-mobile-hero-shell {
    padding: 13px 12px 15px !important;
  }

  .bk-mobile-hero {
    min-height: 145px;
    padding: 22px 20px !important;
    border-radius: 25px !important;
  }

  .bk-mobile-hero-title {
    font-size: 29px !important;
  }

  .bk-mobile-hero-icon {
    width: 58px !important;
    height: 58px !important;
  }

  .bk-mobile-filter,
  .bk-mobile-empty {
    margin-right: 12px !important;
    margin-left: 12px !important;
  }

  .bk-mobile-tab {
    height: 38px !important;
    padding: 0 14px !important;
  }

  .bk-mobile-empty {
    min-height: 338px;
    padding-right: 20px !important;
    padding-left: 20px !important;
  }

  .bk-mobile-empty-cta {
    width: 100%;
    min-width: 0;
  }
}
