@charset "UTF-8";
/* line 2, app/assets/stylesheets/customer/callback_modals.scss */
.cta-container {
  /* CTA JS enables buttons by setting disabled=false + inline opacity,
     it never removes the disabled-btn class. Override pointer-events so
     clicks work once the HTML disabled attribute is removed. */
}

/* line 6, app/assets/stylesheets/customer/callback_modals.scss */
.cta-container .mint-btn:not(:disabled) {
  pointer-events: auto !important;
}

/* line 10, app/assets/stylesheets/customer/callback_modals.scss */
.cta-container .modal-dialog {
  max-width: 520px;
  margin: 1.5rem auto;
}

/* line 15, app/assets/stylesheets/customer/callback_modals.scss */
.cta-container .modal-content {
  border-radius: 18px;
  padding: 34px 36px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.35);
  background: #ffffff;
  position: relative !important;
  top: auto !important;
  height: auto !important;
}

/* line 25, app/assets/stylesheets/customer/callback_modals.scss */
.cta-container .drag-handle {
  display: none;
}

/* line 29, app/assets/stylesheets/customer/callback_modals.scss */
.cta-container .btn-mint-outline {
  background: transparent;
  border: 2px solid #08AF86;
  color: #08AF86;
  border-radius: 10px;
  padding: 10px 18px;
  font-weight: 600;
  width: 100%;
  font-family: Work Sans;
  font-size: 14px;
  cursor: pointer;
}

/* line 42, app/assets/stylesheets/customer/callback_modals.scss */
.cta-container .icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(108, 194, 167, 0.12), rgba(196, 240, 227, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

/* line 53, app/assets/stylesheets/customer/callback_modals.scss */
.cta-container .resend-btn {
  background: transparent;
  border: none;
  color: #08AF86;
  font-weight: 600;
  font-size: 15px;
  font-family: Work Sans;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
}

/* line 64, app/assets/stylesheets/customer/callback_modals.scss */
.cta-container .resend-btn:hover {
  text-decoration: none;
  color: #08AF86;
}

/* line 66, app/assets/stylesheets/customer/callback_modals.scss */
.cta-container .otp-box-cta {
  border: 1px solid #e6e7e8;
  border-radius: 10px;
  height: 48px;
  display: flex;
  align-items: center;
  padding: 0 14px;
}

/* line 75, app/assets/stylesheets/customer/callback_modals.scss */
.cta-container .otp-single {
  border: none;
  outline: none;
  width: 100%;
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 6px;
  background: transparent;
}

/* line 86, app/assets/stylesheets/customer/callback_modals.scss */
.cta-container .otp-single::placeholder {
  color: rgba(0, 0, 0, 0.35);
  font-size: 24px;
  letter-spacing: 8px;
}

/* line 92, app/assets/stylesheets/customer/callback_modals.scss */
.cta-container .otp-single:focus {
  box-shadow: none;
  outline: none;
}

/* line 97, app/assets/stylesheets/customer/callback_modals.scss */
.cta-container .details-card {
  background: #f9fafb;
  border-radius: 10px;
  padding: 16px;
  border: 1px solid #e6e7e8;
}

/* line 104, app/assets/stylesheets/customer/callback_modals.scss */
.cta-container .details-item {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #333;
  font-size: 14px;
  font-family: Work Sans;
}

@media (max-width: 520px) {
  /* line 114, app/assets/stylesheets/customer/callback_modals.scss */
  .cta-container .modal-dialog {
    max-width: 92%;
  }
  /* line 115, app/assets/stylesheets/customer/callback_modals.scss */
  .cta-container .modal-content {
    padding: 20px;
  }
}

/* ── Mobile bottom-sheet for all CTA modals ─────────────────────────────────
   Applies to: callback, site-visit, brochure, best-price, documents,
               download-plan — all of which live inside .cta-container.
   All modals carry the square-modal class, so login_modals.scss rules apply
   automatically. These rules add CTA-specific overrides and fill gaps on pages
   where modal_login.js is not loaded (e.g. favorites, listing).
   ─────────────────────────────────────────────────────────────────────────── */
@media (max-width: 575px) {
  /* iOS: -webkit-fill-available resolves to visual-viewport height on WebKit,
     bypassing the body.modal-open containing-block inflation issue. */
  /* line 129, app/assets/stylesheets/customer/callback_modals.scss */
  html.is-ios .cta-container .modal {
    height: -webkit-fill-available;
  }
  /* Android / fallback: dvh for accurate viewport height.
     No !important on height so the Android keyboard handler (JS) can shrink the
     modal to the visual-viewport height when the soft keyboard opens.
     No overflow:hidden — that would clip the modal-content at the modal boundary
     and hide the Cancel button when the dialog is taller than the visible area. */
  /* line 138, app/assets/stylesheets/customer/callback_modals.scss */
  .cta-container .modal {
    height: 100dvh;
    overscroll-behavior: none;
  }
  /* Anchor dialog to the bottom of the viewport */
  /* line 144, app/assets/stylesheets/customer/callback_modals.scss */
  .cta-container .modal-dialog {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    min-height: unset !important;
    display: block !important;
    align-items: unset !important;
  }
  /* Rounded top corners; scrollable so nothing gets cropped.
     max-height has no !important so the Android keyboard handler in JS can
     override it with the visual-viewport height (content.style.maxHeight).
     CSS !important would win over inline styles and prevent the JS resize. */
  /* line 162, app/assets/stylesheets/customer/callback_modals.scss */
  .cta-container .modal-content {
    position: relative !important;
    top: auto !important;
    height: auto !important;
    border-radius: 20px 20px 0 0 !important;
    max-height: calc(100dvh - 24px);
    overflow-y: auto !important;
    overscroll-behavior: contain;
    padding-top: 28px !important;
    padding-bottom: calc(20px + env(safe-area-inset-bottom)) !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2) !important;
  }
  /* line 175, app/assets/stylesheets/customer/callback_modals.scss */
  .cta-container .drag-handle {
    display: block;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: #CDD0D5;
    border-radius: 2px;
    cursor: grab;
    touch-action: none;
  }
  /* Slide-up entry animation — replaces Bootstrap's drop-in from top */
  /* line 190, app/assets/stylesheets/customer/callback_modals.scss */
  .cta-container .modal.fade .modal-dialog {
    transform: translateY(100%) !important;
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1) !important;
  }
  /* line 195, app/assets/stylesheets/customer/callback_modals.scss */
  .cta-container .modal.show .modal-dialog {
    transform: translateY(0) !important;
  }
  /* Remove 300ms double-tap delay */
  /* line 200, app/assets/stylesheets/customer/callback_modals.scss */
  .cta-container button,
.cta-container a {
    touch-action: manipulation;
  }
  /* Bootstrap ScrollBarHelper injects inline padding-right — strip it */
  /* line 204, app/assets/stylesheets/customer/callback_modals.scss */
  body.modal-open {
    padding-right: 0 !important;
  }
  /* line 205, app/assets/stylesheets/customer/callback_modals.scss */
  .modal {
    padding-right: 0 !important;
  }
  /* Same scroll-reset fix as login_modals.scss — see comment there */
  /* line 208, app/assets/stylesheets/customer/callback_modals.scss */
  body.modal-open {
    overflow-y: auto !important;
  }
  /* iOS position:fixed scroll lock must not be undermined by the rule above */
  /* line 210, app/assets/stylesheets/customer/callback_modals.scss */
  html.is-ios body.modal-open {
    overflow: hidden !important;
  }
  /* Cancel button: bottom safe-area padding so it clears the home-bar on
     iPhone. Not sticky — sticky bottom:0 inside overflow-y:auto drops the
     margin-top when stuck, pushing Cancel into Send OTP on small viewports
     (keyboard open). Normal flow is simpler and never causes overlap. */
  /* line 216, app/assets/stylesheets/customer/callback_modals.scss */
  .cta-container .modal-content > .mt-2:last-child {
    padding-bottom: env(safe-area-inset-bottom);
  }
  /* Tighten vertical rhythm so forms fit without extra scroll */
  /* line 221, app/assets/stylesheets/customer/callback_modals.scss */
  .cta-container .h-title {
    margin-top: 6px !important;
  }
  /* line 222, app/assets/stylesheets/customer/callback_modals.scss */
  .cta-container .sub-text {
    margin-bottom: 10px !important;
  }
  /* line 223, app/assets/stylesheets/customer/callback_modals.scss */
  .cta-container .mb-3 {
    margin-bottom: 8px !important;
  }
  /* line 224, app/assets/stylesheets/customer/callback_modals.scss */
  .cta-container .mb-2 {
    margin-bottom: 6px !important;
  }
  /* line 225, app/assets/stylesheets/customer/callback_modals.scss */
  .cta-container .otp-terms {
    margin-top: 8px !important;
  }
  /* line 226, app/assets/stylesheets/customer/callback_modals.scss */
  .cta-container .mint-btn {
    margin-top: 10px !important;
  }
  /* line 227, app/assets/stylesheets/customer/callback_modals.scss */
  .cta-container .phone-verified-box {
    padding: 8px 12px !important;
  }
  /* line 228, app/assets/stylesheets/customer/callback_modals.scss */
  .cta-container .square-input.with-icon {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }
  /* Prevent iOS auto-zoom on inputs */
  /* line 231, app/assets/stylesheets/customer/callback_modals.scss */
  .cta-container input,
.cta-container .otp-single {
    font-size: 16px !important;
  }
  /* Suppress the details-page topbar (z-index:99999) for the entire CTA modal
     flow. Uses a JS-managed class so the rule holds even during the transition
     from a bottom-sheet to the success popup (Bootstrap removes modal-open
     between the two modals; our class stays until the last CTA modal closes). */
  /* line 238, app/assets/stylesheets/customer/callback_modals.scss */
  body.cta-modal-open .topbar,
body.cta-modal-open .mobile-sticky-search {
    z-index: 1 !important;
  }
}

/* ── /Mobile bottom-sheet ─────────────────────────────────────────────────── */
/* ── Success popup — centered on mobile, not a bottom sheet ─────────────────
   Overrides the bottom-sheet rules above for .cta-success-modal.
   Higher specificity (.cta-container .cta-success-modal vs .cta-container .modal)
   ensures these rules win.
   ─────────────────────────────────────────────────────────────────────────── */
@media (max-width: 575px) {
  /* Center the dialog with absolute positioning — do NOT touch display on the
     modal container (Bootstrap uses display:none to hide it; flex would break that) */
  /* line 253, app/assets/stylesheets/customer/callback_modals.scss */
  .cta-container .cta-success-modal .modal-dialog {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    bottom: auto !important;
    right: auto !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    max-width: 88% !important;
    width: 88% !important;
    min-height: unset !important;
  }
  /* line 266, app/assets/stylesheets/customer/callback_modals.scss */
  .cta-container .cta-success-modal .modal-content {
    border-radius: 18px !important;
    padding: 32px 24px 28px !important;
    max-height: 90dvh !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3) !important;
  }
  /* line 273, app/assets/stylesheets/customer/callback_modals.scss */
  .cta-container .cta-success-modal .drag-handle {
    display: none !important;
  }
  /* Scale-in entry animation (replaces slide-up) */
  /* line 278, app/assets/stylesheets/customer/callback_modals.scss */
  .cta-container .cta-success-modal.fade .modal-dialog {
    transform: translate(-50%, -50%) scale(0.92) !important;
    transition: transform 0.2s ease !important;
  }
  /* line 282, app/assets/stylesheets/customer/callback_modals.scss */
  .cta-container .cta-success-modal.show .modal-dialog {
    transform: translate(-50%, -50%) scale(1) !important;
  }
}

/* ── /Success popup ───────────────────────────────────────────────────────── */
