/* Batch 6 — conversion UX polish (profile booking / connect / sticky) */

.acm-connect-modal .modal-content {
  max-height: min(92vh, 720px);
}

.acm-connect-modal .modal-body {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
}

.acm-connect-modal .acm-btn,
#booking-card .acm-btn {
  min-height: 44px;
}

#booking-success-overlay .acm-btn,
#connectRequestSuccess .acm-btn {
  min-height: 44px;
}

@media (max-width: 991.98px) {
  #booking-card {
    scroll-margin-bottom: calc(var(--acm-bottom-nav-h, 64px) + 88px + env(safe-area-inset-bottom, 0px));
  }

  .acm-booking-aside {
    margin-bottom: calc(var(--acm-bottom-nav-h, 64px) + 24px);
  }

  /* Keep booking submit above sticky CTA / bottom nav when keyboard opens */
  #ac-premium-booking-form {
    padding-bottom: 8px;
  }
}

.mkt-sticky-cta {
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
}

.mkt-sticky-cta .acmo-op-apply {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
