/* =====================================================
   ISN Scheduler Widget — NextDay Inspect Brand v2
   =====================================================
   Font: Poppins. Colors: Navy + Orange. Buttons match
   the NDI "GET STARTED →" / "BOOK TODAY" style.
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Caveat:wght@700&display=swap');

/* ===== Design Tokens ===== */
:root {
  --ndi-navy: #1B2A4A;
  --ndi-navy-light: #2D4A7A;
  --ndi-orange: #FF6B00;
  --ndi-orange-hover: #E85D00;
  --ndi-orange-soft: rgba(255, 107, 0, 0.06);
  --ndi-purple: #6B46C1;
  --ndi-bg: #FFFFFF;
  --ndi-surface: #F8F9FB;
  --ndi-border: #E2E6EC;
  --ndi-border-hover: #CBD1DA;
  --ndi-text: #1B2A4A;
  --ndi-text-body: #4A5568;
  --ndi-text-muted: #8896A6;
  --ndi-success: #10B981;
  --ndi-error: #EF4444;
  --ndi-warning: #F59E0B;
  --ndi-radius: 16px;
  --ndi-radius-sm: 10px;
  --ndi-shadow: 0 4px 24px rgba(27, 42, 74, 0.08);
  --ndi-shadow-hover: 0 8px 32px rgba(27, 42, 74, 0.12);
}

.isn-scheduler-widget {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ndi-text-body);
  background: transparent;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.isn-scheduler-widget * {
  box-sizing: border-box;
}

/* ===== Neighborhood Silhouette: handled by parent page (WPCode snippet) ===== */

/* Ensure widget body content sits above the background */
.isn-scheduler-widget .isn-stepper-nav,
.isn-scheduler-widget .isn-widget-body {
  position: relative;
  z-index: 1;
}

/* ===== WordPress / Elementor Theme Isolation =====
   Prevents theme and page-builder styles from leaking into the widget.
   Every rule uses !important to guarantee specificity over theme globals. */

.isn-scheduler-widget *,
.isn-scheduler-widget *::before,
.isn-scheduler-widget *::after {
  box-sizing: border-box !important;
}

/* Reset all form elements */
.isn-scheduler-widget input[type="text"],
.isn-scheduler-widget input[type="email"],
.isn-scheduler-widget input[type="tel"],
.isn-scheduler-widget input[type="number"],
.isn-scheduler-widget input[type="date"],
.isn-scheduler-widget input[type="time"],
.isn-scheduler-widget input[type="search"],
.isn-scheduler-widget input[type="url"],
.isn-scheduler-widget input[type="password"],
.isn-scheduler-widget textarea,
.isn-scheduler-widget select {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 16px !important;
  /* must be ≥16px to prevent iOS auto-zoom on focus */
  font-weight: 400 !important;
  color: var(--ndi-text) !important;
  background-color: var(--ndi-bg) !important;
  border: 1.5px solid var(--ndi-border) !important;
  border-radius: 8px !important;
  padding: 12px 16px !important;
  line-height: 1.5 !important;
  height: auto !important;
  min-height: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.isn-scheduler-widget input:focus,
.isn-scheduler-widget textarea:focus,
.isn-scheduler-widget select:focus {
  border-color: var(--ndi-orange) !important;
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.08) !important;
  outline: none !important;
}

.isn-scheduler-widget input::placeholder,
.isn-scheduler-widget textarea::placeholder {
  color: #C0C8D2 !important;
  font-weight: 400 !important;
  opacity: 1 !important;
}

/* Reset button text/font properties to prevent Elementor overrides */
.isn-scheduler-widget button,
.isn-scheduler-widget .isn-btn {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  line-height: 1.5 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  text-decoration: none !important;
  cursor: pointer !important;
  outline: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  opacity: 1 !important;
  background-image: none !important;
}

/* Kill Elementor hover overrides on all widget buttons */
.isn-scheduler-widget button:hover,
.isn-scheduler-widget button:focus,
.isn-scheduler-widget button:active,
.isn-scheduler-widget .isn-btn:hover,
.isn-scheduler-widget .isn-btn:focus,
.isn-scheduler-widget .isn-btn:active {
  opacity: 1 !important;
  text-decoration: none !important;
  outline: none !important;
  background-image: none !important;
}

/* Reset headings */
.isn-scheduler-widget h1,
.isn-scheduler-widget h2,
.isn-scheduler-widget h3,
.isn-scheduler-widget h4,
.isn-scheduler-widget h5,
.isn-scheduler-widget h6 {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  color: var(--ndi-navy) !important;
  line-height: 1.3 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}

/* Reset paragraphs and text */
.isn-scheduler-widget p,
.isn-scheduler-widget span,
.isn-scheduler-widget label,
.isn-scheduler-widget div {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}

/* Reset links */
.isn-scheduler-widget a {
  text-decoration: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Prevent Elementor's global widget spacing */
.isn-scheduler-widget .elementor-widget-container {
  margin: 0 !important;
  padding: 0 !important;
}

/* Override Elementor select arrow styling */
.isn-scheduler-widget select.isn-form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%238896A6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 15px !important;
  padding-right: 40px !important;
}

/* Override radio/checkbox resets from themes */
.isn-scheduler-widget input[type="radio"],
.isn-scheduler-widget input[type="checkbox"] {
  width: auto !important;
  padding: 0 !important;
  border: revert !important;
  border-radius: revert !important;
  background-color: revert !important;
  -webkit-appearance: auto !important;
  -moz-appearance: auto !important;
  appearance: auto !important;
}

/* ===== Progress Bar Navigation ===== */
.isn-scheduler-widget .isn-stepper-nav {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 8px 32px;
  margin-bottom: 0px;
}

.isn-scheduler-widget .isn-stepper-nav.isn-stepper-visible {
  display: flex;
  animation: ndiStepperReveal 0.5s ease forwards;
}

@keyframes ndiStepperReveal {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.isn-progress-bar-container {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  max-width: 600px !important;
  margin: 0 auto !important;
  position: relative !important;
}

.isn-progress-track {
  flex: 1 !important;
  height: 6px !important;
  background: #E8ECF1 !important;
  border-radius: 3px !important;
  position: relative !important;
  overflow: hidden !important;
  margin: 0 -22px !important;
  z-index: 1 !important;
}

.isn-progress-fill {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  height: 100% !important;
  background: linear-gradient(90deg, var(--ndi-orange) 0%, #ff8c3a 50%, var(--ndi-orange) 100%) !important;
  background-size: 200% auto !important;
  border-radius: 3px !important;
  transition: width 0.4s ease-in-out !important;
  animation: ndiShine 2s linear infinite !important;
  width: 0%;
}

@keyframes ndiShine {
  to {
    background-position: 200% center !important;
  }
}


.isn-progress-icon-wrapper {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 16px !important;
  border: 3px solid #E8ECF1 !important;
  background: #fff !important;
  color: var(--ndi-text-muted) !important;
  transition: all 0.3s ease !important;
  flex-shrink: 0 !important;
  box-shadow: 0 2px 8px rgba(27, 42, 74, 0.04) !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
  z-index: 2 !important;
}

.isn-progress-icon-wrapper.active {
  border-color: var(--ndi-orange) !important;
  background: var(--ndi-orange) !important;
  color: #fff !important;
  box-shadow: 0 0 0 6px rgba(255, 107, 0, 0.15), 0 4px 12px rgba(255, 107, 0, 0.25) !important;
  transform: scale(1.1) !important;
  animation: ndiPulseGlow 3s infinite ease-in-out !important;
}

@keyframes ndiPulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 6px rgba(255, 107, 0, 0.15), 0 4px 12px rgba(255, 107, 0, 0.25) !important;
    transform: scale(1.1) !important;
  }
  50% {
    box-shadow: 0 0 0 10px rgba(255, 107, 0, 0.08), 0 6px 16px rgba(255, 107, 0, 0.3) !important;
    transform: scale(1.13) !important;
  }
}


.isn-progress-labels {
  text-align: center;
  margin-top: 6px;
}

.isn-step-counter {
  display: none !important;
  font-size: 12px;
  font-weight: 600;
  color: var(--ndi-navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 600px) {
  .isn-progress-icon-wrapper {
    width: 36px;
    height: 36px;
    font-size: 14px;
    border-width: 2px;
  }
}

/* ===== Start Over (inline in actions bar) ===== */
.isn-start-over-inline {
  background: none;
  border: none;
  color: var(--ndi-text-muted);
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 6px;
  transition: all 0.2s ease;
  margin-right: auto;
  white-space: nowrap;
}

.isn-start-over-inline:hover {
  color: var(--ndi-error);
  background: rgba(239, 68, 68, 0.06);
}

.isn-start-over-inline i {
  margin-right: 4px;
  font-size: 11px;
}

/* ===== Resume Session Banner ===== */
.isn-resume-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #F0F5FF;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 10px;
  padding: 10px 14px;
  margin: 16px auto 6px;
  max-width: 480px;
  position: relative;
  animation: isnSlideIn 0.35s ease;
}

.isn-resume-icon {
  font-size: 15px;
  color: #2563eb;
  flex-shrink: 0;
}

.isn-resume-preview {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  color: var(--ndi-text-muted);
  flex: 1;
  min-width: 0;
}

.isn-resume-preview strong {
  color: var(--ndi-navy);
  font-weight: 600;
}

.isn-resume-btn {
  background: none;
  border: none;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--ndi-orange);
  cursor: pointer;
  white-space: nowrap;
  padding: 4px 2px;
  transition: opacity 0.2s ease;
  flex-shrink: 0;
}

.isn-resume-btn:hover {
  opacity: 0.75;
}

.isn-resume-btn i {
  margin-left: 3px;
  font-size: 11px;
}

.isn-resume-dismiss {
  background: none;
  border: 1px solid var(--ndi-border);
  color: var(--ndi-text-muted);
  cursor: pointer;
  padding: 5px 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  border-radius: 6px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.isn-resume-dismiss:hover {
  color: var(--ndi-error);
  border-color: var(--ndi-error);
  background: rgba(239, 68, 68, 0.04);
}

@keyframes isnSlideIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Widget Body ===== */
.isn-widget-body {
  padding: 12px 48px 24px;
  position: relative;
  min-height: 320px;
}

@media (max-width: 600px) {
  .isn-widget-body {
    padding: 16px 20px 28px;
  }
}

/* ===== Step Sections ===== */
.isn-step-section {
  display: none;
  animation: ndiFadeIn 0.4s ease forwards;
  text-align: center;
}

.isn-step-section .isn-form-group,
.isn-step-section .isn-grid-2,
.isn-step-section .isn-verify-banner,
.isn-step-section .isn-match-popup {
  text-align: left;
}

.isn-step-section .isn-form-group:has(.isn-icon-select-grid),
.isn-step-section .isn-form-group:has(.isn-multi-select-row),
.isn-step-section .isn-form-group:has(.isn-utility-row) {
  text-align: center;
}

.isn-step-section .isn-form-group:has(.isn-icon-select-grid) label,
.isn-step-section .isn-form-group:has(.isn-multi-select-row) label,
.isn-step-section .isn-form-group:has(.isn-utility-row) label {
  text-align: center;
}

.isn-step-section.active {
  display: block;
}

@keyframes ndiFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ===== Typography ===== */
.isn-scheduler-widget h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--ndi-navy);
  margin: 0 0 6px 0;
  line-height: 1.3;
}

/* Save indicator badge — spinner → checkmark next to title */
.isn-save-badge {
  display: inline-block;
  margin-left: 10px;
  font-size: 14px;
  vertical-align: middle;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.isn-save-badge.isn-save-active {
  opacity: 1;
  color: var(--ndi-text-muted);
}

.isn-save-badge.isn-save-done {
  opacity: 1;
  color: var(--ndi-success);
}

.isn-scheduler-widget p.isn-subtitle {
  font-size: 14px;
  color: var(--ndi-text-muted);
  margin: 0 0 16px 0;
  line-height: 1.65;
  font-weight: 400;
}

.isn-hint {
  font-size: 12px;
  color: var(--ndi-text-muted);
  margin: 4px auto 12px;
  line-height: 1.5;
  font-weight: 400;
  max-width: 480px;
  text-align: left;
}

.isn-disclaimer {
  font-size: 11px;
  color: var(--ndi-text-muted);
  margin: 6px auto 0;
  line-height: 1.55;
  font-weight: 400;
  font-style: italic;
}

.isn-disclaimer i {
  color: var(--ndi-navy-light);
  margin-right: 4px;
  font-style: normal;
  font-size: 11px;
  opacity: 0.7;
}

/* ===== Form Elements ===== */
.isn-form-group {
  margin-bottom: 22px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.isn-input-loading-wrap {
  position: relative;
}

.isn-input-loading-wrap .isn-form-control {
  padding-right: 36px;
}

.isn-input-loader {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--ndi-orange);
}

.isn-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ndi-navy);
  margin-bottom: 8px;
}

.isn-form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  color: var(--ndi-text);
  background: var(--ndi-bg);
  border: 1.5px solid var(--ndi-border);
  border-radius: 8px;
  transition: all 0.2s ease;
  outline: none;
}

/* ── iOS auto-zoom prevention ────────────────────────────────────
   iOS Safari zooms the viewport when ANY input/select/textarea with
   font-size < 16px receives focus.  We force 16px on EVERY focusable
   form element unconditionally (the visual difference vs 14px is
   negligible).  No media-query gate — inside an iframe the reported
   width can be unreliable on some devices.
   ─────────────────────────────────────────────────────────────── */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="search"],
input[type="url"],
input[type="password"],
input[type="date"],
input[type="time"],
input[type="datetime-local"],
select,
textarea,
.isn-form-control,
.isn-code-input,
.pac-target-input {
  font-size: 16px !important;
  touch-action: manipulation;
  /* kill 300ms tap-delay / double-tap zoom */
}

.isn-form-control:focus {
  border-color: var(--ndi-orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.08);
}

.isn-form-control::placeholder {
  color: #C0C8D2;
  font-weight: 400;
}

select.isn-form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%238896A6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 15px;
  padding-right: 40px;
}

/* ===== Grid ===== */
.isn-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 500px) {
  .isn-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* ===== Role Selection Cards ===== */
.isn-selection-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* Legacy Scheduler Inline Banner */
.ndi-legacy-banner {
  max-width: 480px;
  margin: 0 auto 16px;
  animation: ndiFadeIn 0.4s ease;
}

.ndi-legacy-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #f8f9fb;
  border: 1px solid #e2e8f0;
  border-left: 3px solid #6366f1;
  border-radius: 8px;
}

.ndi-legacy-content {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.ndi-legacy-icon {
  font-size: 14px;
  color: #6366f1;
  flex-shrink: 0;
}

.ndi-legacy-msg {
  font-size: 12px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

.ndi-legacy-msg strong {
  color: #1e1b4b;
  font-weight: 600;
}

.ndi-legacy-link {
  color: #6366f1;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.ndi-legacy-link:hover {
  text-decoration: underline;
}

.ndi-legacy-close {
  width: 24px;
  height: 24px;
  background: transparent;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  color: #94a3b8;
  line-height: 1;
  padding: 0;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.ndi-legacy-close:hover {
  border-color: #6366f1;
  color: #6366f1;
  background: #f1f5f9;
}

@media (max-width: 520px) {
  .isn-selection-cards {
    grid-template-columns: 1fr;
  }

  .ndi-legacy-banner {
    max-width: 100%;
  }

  /* Move resume banner above role cards when buttons stack */
  #isn-step-1.active {
    display: flex;
    flex-direction: column;
  }

  #isn-step-1 h2 {
    order: 1;
  }

  #isn-step-1 .isn-subtitle {
    order: 2;
  }

  #isn-step-1 .ndi-legacy-banner {
    order: 3;
  }

  #isn-step-1 .isn-resume-panel {
    order: 4;
    margin: 8px 0 12px;
    max-width: 100%;
  }

  #isn-step-1 .isn-selection-cards {
    order: 5;
    width: 100%;
    max-width: 100%;
  }

  #isn-step-1 .isn-actions {
    order: 6;
  }
}

/* ── Agent Welcome Back Card ── */
.isn-agent-welcome {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 24px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #FFF7ED 0%, #FFFBF5 100%);
  border: 1.5px solid var(--ndi-orange);
  border-radius: 14px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  animation: ndiFadeIn 0.4s ease;
}

.isn-agent-welcome-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--ndi-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.isn-agent-welcome-avatar i {
  font-size: 28px;
  color: #fff;
}

.isn-agent-welcome h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ndi-navy);
  margin: 0 0 4px;
}

.isn-agent-welcome-sub {
  font-size: 14px;
  color: var(--ndi-text-muted);
  margin: 0 0 12px;
}

.isn-agent-welcome-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  background: #fff;
  border: 1px solid var(--ndi-border);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ndi-navy);
}

.isn-agent-welcome-badge i {
  color: var(--ndi-orange);
}

.isn-agent-welcome-notme {
  margin-top: 12px;
  background: none;
  border: none;
  color: var(--ndi-text-muted);
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
  font-family: 'Poppins', sans-serif;
  transition: color 0.2s;
}

.isn-agent-welcome-notme:hover {
  color: var(--ndi-navy);
}

.isn-card-radio {
  display: none !important;
}

.isn-card-label {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 18px 14px !important;
  background: var(--ndi-bg) !important;
  border: 2px solid var(--ndi-border) !important;
  border-radius: var(--ndi-radius-sm) !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
}

.isn-card-label:hover {
  border-color: var(--ndi-orange) !important;
  transform: translateY(-2px) !important;
  box-shadow: var(--ndi-shadow) !important;
}

.isn-card-label i {
  width: 42px !important;
  height: 42px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 18px !important;
  color: var(--ndi-navy) !important;
  background: var(--ndi-surface) !important;
  border-radius: 10px !important;
  margin-bottom: 10px !important;
  transition: all 0.25s ease !important;
}

.isn-card-label span {
  font-weight: 600 !important;
  font-size: 13px !important;
  color: var(--ndi-navy) !important;
}

.isn-card-radio:checked+.isn-card-label {
  border-color: var(--ndi-orange) !important;
  background: var(--ndi-orange-soft) !important;
}

.isn-card-radio:checked+.isn-card-label i {
  background: var(--ndi-orange) !important;
  color: #fff !important;
}

/* ===== Icon Select Grid (Property Type, Access, Occupancy, Contact) ===== */
.isn-icon-select-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

#isn-access-grid {
  grid-template-columns: repeat(4, 1fr) !important;
}

.isn-icon-select-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 4px;
  gap: 4px;
  background: var(--ndi-bg);
  border: 1.5px solid var(--ndi-border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: 'Poppins', sans-serif;
  color: var(--ndi-text-muted);
  min-width: 0;
  width: 100%;
}

.isn-icon-select-btn i {
  font-size: 16px;
  transition: all 0.25s ease;
}

.isn-icon-select-btn span {
  font-size: 9.5px;
  font-weight: 600;
  text-align: center;
  line-height: 1.25;
}

.isn-icon-select-btn:hover {
  border-color: var(--ndi-border-hover);
  transform: translateY(-1px);
}

.isn-icon-select-btn.active {
  border-color: var(--ndi-orange);
  background: var(--ndi-orange-soft);
  color: var(--ndi-navy);
}

.isn-icon-select-btn.active i {
  color: var(--ndi-orange);
}

@media (max-width: 480px) {
  #isn-access-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 380px) {
  #isn-access-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ===== Attendance Multi-Select ===== */
.isn-multi-select-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 480px;
  margin: 0 auto;
}

.isn-attend-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 24px;
  gap: 8px;
  background: var(--ndi-bg);
  border: 2px solid var(--ndi-border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Poppins', sans-serif;
  color: var(--ndi-text-muted);
  flex: 1;
  min-width: 120px;
}

.isn-attend-btn i {
  font-size: 22px;
  transition: all 0.2s;
}

.isn-attend-btn span {
  font-size: 12px;
  font-weight: 600;
}

.isn-attend-btn:hover {
  border-color: var(--ndi-border-hover);
}

.isn-attend-btn.active {
  border-color: var(--ndi-orange);
  background: var(--ndi-orange-soft);
  color: var(--ndi-navy);
}

.isn-attend-btn.active i {
  color: var(--ndi-orange);
}

/* ===== Utility Toggle Buttons ===== */
.isn-utility-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 480px;
  margin: 0 auto;
}

.isn-util-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 10px !important;
  gap: 4px !important;
  border: 2.5px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: 'Poppins', sans-serif;
  flex: 1;
  min-width: 80px !important;
}

.isn-util-btn i {
  font-size: 18px !important;
  transition: all 0.2s;
}

.isn-util-btn span {
  font-size: 11px !important;
  font-weight: 600;
}

.isn-util-btn.isn-util-on {
  background: #ECFDF5;
  border-color: #86EFAC;
  color: #065F46;
}

.isn-util-btn.isn-util-on i {
  color: var(--ndi-success);
}

.isn-util-btn.isn-util-off {
  background: #FEF2F2;
  border-color: #FCA5A5;
  color: #991B1B;
}

.isn-util-btn.isn-util-off i {
  color: var(--ndi-error);
}

/* ===== Lockbox Panel ===== */
.isn-lockbox-panel {
  background: #FFFBF5;
  border: 1px solid #FED7AA;
  border-radius: 8px;
  padding: 16px 20px;
  margin-top: 14px;
  animation: ndiFadeIn 0.3s ease;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Access Selected Summary ===== */
.isn-access-selected {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border: 2px solid var(--ndi-orange);
  background: var(--ndi-orange-soft);
  border-radius: 10px;
  max-width: 480px;
  margin: 0 auto;
  animation: ndiFadeIn 0.3s ease;
}

.isn-access-selected-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.isn-access-selected-info i {
  font-size: 22px;
  color: var(--ndi-orange);
}

.isn-access-selected-info strong {
  font-size: 15px;
  color: var(--ndi-navy);
}

.isn-btn-sm {
  padding: 8px 16px !important;
  font-size: 11px !important;
  letter-spacing: 0.08em !important;
}

/* ===== Mobile Step Counter ===== */
.isn-mobile-step-counter {
  display: none;
}

@media (max-width: 768px) {
  .isn-mobile-step-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ndi-navy);
    background: var(--ndi-orange-soft);
    border: 1px solid var(--ndi-orange);
    border-radius: 20px;
    padding: 8px 20px;
    white-space: nowrap;
  }
}

/* ===== Scroll Indicator Arrow ===== */
.isn-scroll-indicator {
  display: none;
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9998;
  animation: ndiScrollBounce 1.5s ease-in-out infinite;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.isn-scroll-indicator i {
  font-size: 18px;
  color: var(--ndi-text-muted);
  background: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

@keyframes ndiScrollBounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-6px);
  }
}

.isn-mobile-price-banner {
  display: none !important;
}

/* ===== Mobile Overrides ===== */
@media (max-width: 768px) {

  /* — Stepper: clean horizontal progress bar — */
  .isn-stepper-nav {
    padding: 0 !important;
  }

  /* Disable step animation on mobile — it creates a stacking context that traps position:fixed */
  .isn-scheduler-widget .isn-step-section {
    animation: none !important;
    opacity: 1 !important;
  }

  /* Only add bottom clearance padding to the add-ons & packages page (Step 8) */
  .isn-scheduler-widget #isn-step-8 {
    padding-bottom: 180px !important;
  }

  /* Also disable stepper nav animation — its transform can break position:fixed in iOS iframes */
  .isn-stepper-nav,
  .isn-stepper-nav.isn-stepper-visible {
    animation: none !important;
    transform: none !important;
  }

  /* (resume banner stays below cards at this width — buttons are still side-by-side) */

  /* — Full-width inputs — */
  .isn-scheduler-widget .isn-grid-2 {
    grid-template-columns: 1fr !important;
  }

  .isn-scheduler-widget .isn-form-group {
    max-width: 100% !important;
  }

  .isn-scheduler-widget .isn-widget-body {
    padding: 16px 20px 100px !important;
  }

  /* Hide Start Over from mobile sticky footer */
  .isn-start-over-inline {
    display: none !important;
  }

  /* — Mobile: buttons are rendered on PARENT page, hide in-iframe copies — */
.isn-mobile-price-banner {
  display: none !important;
}

  /* — Mobile: buttons layout for dev version — */
  .isn-scheduler-widget .isn-actions {
    display: none !important; /* overridden in template to display: flex !important for dev */
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: #ffffff !important;
    border-top: 1px solid var(--ndi-border, #E5E7EB) !important;
    padding: 12px 16px !important;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important;
    margin: 0 !important;
    max-width: 100% !important;
    z-index: 1000 !important;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08) !important;
    box-sizing: border-box !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
  }

  /* Actions buttons 50/50 Split */
  .isn-scheduler-widget .isn-actions .isn-btn {
    flex: 1 1 0% !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    padding: 14px 16px !important;
    font-size: 14px !important;
    height: auto !important;
  }

  /* Step 1 Role Selection - Hide Actions Footer */
  #isn-step-1 .isn-actions {
    display: none !important;
  }

  /* Mobile price banner styling */
  .isn-mobile-price-banner {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--ndi-navy, #0A2540) !important;
    margin-bottom: 8px !important;
    padding-bottom: 6px !important;
    border-bottom: 1px solid rgba(229, 231, 235, 0.5) !important;
  }

  .isn-mobile-total-val {
    color: var(--ndi-orange, #F37021) !important;
    font-weight: 700 !important;
  }

  /* — Mobile: make date picker trigger more obvious — */
  .isn-multi-date-trigger:not(.isn-has-dates):not(.isn-open) {
    border: 2px dashed var(--ndi-orange);
    background: #FFF7ED;
    color: var(--ndi-navy);
    animation: ndiDatePulse 2s ease-in-out infinite;
  }

  .isn-multi-date-trigger:not(.isn-has-dates):not(.isn-open)::after {
    content: 'Tap to select';
    margin-left: auto;
    font-size: 11px;
    font-weight: 600;
    color: var(--ndi-orange);
    letter-spacing: 0.03em;
  }

  .isn-multi-date-trigger:not(.isn-has-dates):not(.isn-open) .isn-chevron {
    display: none;
  }
}

@keyframes ndiDatePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(234,88,12,0.15); }
  50% { box-shadow: 0 0 0 6px rgba(234,88,12,0.08); }
}

/* ============================================================
   BUTTONS — Matching NDI "GET STARTED →" / "BOOK TODAY" style
   ============================================================ */
.isn-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #F0F2F5;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.ndi-schedule-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  color: var(--ndi-navy, #1B2A4A);
  background: linear-gradient(135deg, #FFF7ED 0%, #FFFBF5 100%);
  border: 1.5px solid var(--ndi-orange, #FF6B00);
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.01em;
  line-height: 1.2;
  box-shadow: 0 2px 6px rgba(255, 107, 0, 0.08);
}

.ndi-schedule-tag i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  font-size: 11px;
  color: #fff;
  background: var(--ndi-orange, #FF6B00);
  border-radius: 50%;
  flex-shrink: 0;
  animation: ndiTagPulse 2.5s ease-in-out infinite;
}

@keyframes ndiTagPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.35); }
  50% { box-shadow: 0 0 0 5px rgba(255, 107, 0, 0); }
}

.isn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 2px solid transparent;
  outline: none;
  text-decoration: none;
}

.isn-btn i {
  font-size: 12px;
}

/* Primary = solid orange filled (like "BOOK TODAY" / orange "GET STARTED →") */
.isn-btn-primary {
  background: var(--ndi-orange);
  color: #fff;
  border-color: var(--ndi-orange);
}

.isn-btn-primary:hover {
  background: var(--ndi-orange-hover);
  border-color: var(--ndi-orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.35);
}

/* Outline = navy bordered (like outline "GET STARTED →") */
.isn-btn-outline {
  background: transparent;
  color: var(--ndi-navy);
  border-color: var(--ndi-navy);
}

.isn-btn-outline:hover {
  background: var(--ndi-navy);
  color: #fff;
}

/* Small variant */
.isn-btn-sm {
  padding: 7px 16px;
  font-size: 11px;
  letter-spacing: 0.08em;
  border-radius: 5px;
}

/* ===== Verification Banner ===== */
.isn-verify-banner {
  background: #F7FAFF;
  border: 1.5px solid #BFDBFE;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.isn-verify-banner>i {
  color: var(--ndi-orange);
  font-size: 20px;
  margin-top: 2px;
  flex-shrink: 0;
}

.isn-verify-banner-content {
  flex: 1;
}

.isn-verify-banner-content h4 {
  margin: 0 0 4px 0;
  color: var(--ndi-navy);
  font-size: 15px;
  font-weight: 700;
}

.isn-verify-banner-content>p {
  margin: 0 0 14px 0;
  color: var(--ndi-text-body);
  font-size: 13px;
}

.isn-verify-actions {
  display: flex;
  gap: 8px;
}

.isn-verify-item {
  padding: 12px 0;
  border-top: 1px solid #DBEAFE;
  width: 100%;
}

.isn-verify-item:first-of-type {
  border-top: none;
  padding-top: 0;
}

.isn-verify-item p {
  margin: 0 0 8px 0 !important;
  font-size: 13px;
  color: var(--ndi-text-body);
}

.isn-verify-update-field {
  margin-top: 8px;
}

.isn-verify-update-field .isn-form-control {
  padding: 8px 12px;
  font-size: 13px;
}

/* ===== Match Popup (appears inline after auto-search) ===== */
.isn-match-popup {
  margin: 16px auto;
  animation: ndiFadeIn 0.35s ease;
  max-width: 480px;
}

.isn-match-popup-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #F0FDF4, #ECFDF5);
  border: 1.5px solid #86EFAC;
  border-radius: 10px;
  padding: 16px 20px;
  flex-wrap: wrap;
}

.isn-match-popup-text {
  flex: 1;
  min-width: 180px;
}

.isn-match-popup-text strong {
  display: block;
  font-size: 14px;
  color: var(--ndi-navy);
  margin-bottom: 2px;
}

.isn-match-popup-text span {
  font-size: 12px;
  color: var(--ndi-text-body);
}

.isn-match-popup-actions {
  display: flex;
  gap: 8px;
}

/* ===== Toggle Group ===== */
/* Agent Yes/No segmented pill toggle */
.isn-agent-pill {
  display: flex;
  position: relative;
  background: var(--ndi-bg);
  border-radius: 24px;
  padding: 3px;
  border: 1.5px solid var(--ndi-border);
  overflow: hidden;
}

.isn-agent-pill-radio {
  display: none;
}

.isn-agent-pill-label {
  flex: 1;
  text-align: center;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  color: var(--ndi-text-muted);
  border-radius: 22px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.isn-agent-pill-label i {
  font-size: 12px;
}

.isn-agent-pill-radio:checked+.isn-agent-pill-label {
  background: var(--ndi-navy);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(27, 42, 74, 0.18);
}

/* Agent warning */
.isn-agent-warning {
  margin-top: 10px;
  padding: 10px 14px;
  background: #FFF7ED;
  border: 1px solid #FDBA74;
  border-radius: 8px;
  font-size: 12px;
  color: #92400E;
  line-height: 1.5;
  animation: ndiFadeIn 0.3s ease;
}

.isn-agent-warning i {
  color: #F59E0B;
  margin-right: 6px;
}


/* Radon time window panel (standalone) */
.isn-radon-tw {
  max-width: 520px;
  margin: 0 auto 16px;
  animation: ndiFadeIn 0.3s ease;
}

.isn-radon-tw-inner {
  padding: 16px 18px;
  background: #FFF5F5;
  border: 1px solid #FCA5A5;
  border-radius: 10px;
}

.isn-radon-tw-inner h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--ndi-navy);
  margin: 0 0 6px;
}

.isn-radon-tw-inner h4 i {
  color: #EF4444;
  margin-right: 6px;
}

/* Service time window panel */
.isn-service-tw {
  max-width: 520px;
  margin: 0 auto 16px;
  animation: ndiFadeIn 0.3s ease;
}

.isn-service-tw-inner {
  padding: 16px 18px;
  background: #FFFBF5;
  border: 1px solid #FED7AA;
  border-radius: 10px;
}

.isn-service-tw-inner h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--ndi-navy);
  margin: 0 0 6px;
}

.isn-service-tw-inner h4 i {
  color: var(--ndi-orange);
  margin-right: 6px;
}

/* Step 4: Property & Location — uniform layout */
#isn-step-4 .isn-form-group {
  max-width: 100%;
}

#isn-step-4 .isn-icon-select-grid {
  max-width: 100%;
}

#isn-step-4 .isn-grid-2 {
  max-width: 100%;
}


.isn-courtesy-note {
  margin-top: 12px;
  margin-bottom: 0;
  padding-top: 10px;
  border-top: 1px dashed #FED7AA;
  color: var(--ndi-text-muted);
}

.isn-courtesy-note i {
  color: var(--ndi-orange);
}

/* ===== Warning Text ===== */
.isn-warning-text {
  color: var(--ndi-error);
  font-size: 12px;
  margin-top: 12px;
  display: none;
  line-height: 1.5;
  font-weight: 500;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.isn-warning-text.isn-show-warning {
  display: block;
  animation: ndiFadeIn 0.3s ease;
}

/* ===== Tooltip ===== */
.isn-tooltip-wrapper {
  position: relative;
  display: inline-block;
  margin-left: 6px;
  color: var(--ndi-orange);
  cursor: help;
}

.isn-tooltip-text {
  visibility: hidden;
  width: 260px;
  background-color: var(--ndi-navy);
  color: #fff;
  text-align: left;
  border-radius: 8px;
  padding: 12px 16px;
  position: absolute;
  z-index: 9999;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  box-shadow: 0 8px 24px rgba(27, 42, 74, 0.25);
}

.isn-tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -6px;
  border-width: 6px;
  border-style: solid;
  border-color: var(--ndi-navy) transparent transparent transparent;
}

.isn-tooltip-wrapper:hover .isn-tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* ===== Step Advance Loader ===== */
.isn-step-loader {
  position: absolute;
  inset: 0;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  animation: ndiFadeIn 0.2s ease;
}

.isn-step-loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.isn-step-loader-inner span {
  font-size: 14px;
  font-weight: 600;
  color: var(--ndi-navy);
}

/* ===== Loading Overlay ===== */
.isn-loading-overlay {
  position: absolute;
  inset: 0;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
}

.isn-loading-content {
  text-align: center;
  padding: 40px 20px;
}

.isn-house-anim {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 28px;
}

.isn-house-icon {
  font-size: 50px;
  color: var(--ndi-orange);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  animation: ndiHouseBounce 2.2s ease-in-out infinite;
}

.isn-house-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--ndi-orange-soft);
  border: 2px solid rgba(255, 107, 0, 0.1);
  transform: translate(-50%, -50%);
  animation: ndiPulse 2.2s ease-in-out infinite;
}

.isn-sparkle {
  position: absolute;
  font-size: 15px;
  color: var(--ndi-navy);
  opacity: 0;
}

.isn-sparkle-1 {
  top: 8px;
  right: 8px;
  animation: ndiSparkle 3.5s ease-in-out 0s infinite;
}

.isn-sparkle-2 {
  bottom: 12px;
  left: 8px;
  animation: ndiSparkle 3.5s ease-in-out 1.2s infinite;
}

.isn-sparkle-3 {
  top: 10px;
  left: 12px;
  animation: ndiSparkle 3.5s ease-in-out 2.4s infinite;
}

.isn-loading-msg {
  font-size: 17px;
  font-weight: 600;
  color: var(--ndi-navy);
  margin-bottom: 20px;
  animation: ndiMsgFade 0.6s ease;
}

.isn-loading-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.isn-loading-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ndi-orange);
  opacity: 0.25;
}

.isn-loading-dots span:nth-child(1) {
  animation: ndiDot 1.4s ease-in-out 0s infinite;
}

.isn-loading-dots span:nth-child(2) {
  animation: ndiDot 1.4s ease-in-out 0.2s infinite;
}

.isn-loading-dots span:nth-child(3) {
  animation: ndiDot 1.4s ease-in-out 0.4s infinite;
}

/* ===== Primary Service Grid (Always Visible) — Premium Redesign ===== */
.isn-service-grid-container {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.isn-service-category-panel {
  background: #ffffff;
  border: 1px solid var(--ndi-border);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(27, 42, 74, 0.02);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.isn-service-category-panel:hover {
  box-shadow: 0 10px 24px rgba(27, 42, 74, 0.04);
  border-color: var(--ndi-border-hover);
}

.isn-service-category-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #f8fafc;
  border-bottom: 1px solid var(--ndi-border);
}

.isn-service-category-header i {
  color: var(--ndi-orange);
  font-size: 14px;
}

.isn-service-category-header span {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ndi-navy);
}

.isn-sdd-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(115px, 1fr)) !important;
  gap: 8px !important;
  padding: 10px !important;
}

.isn-sdd-tile {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 12px 6px !important;
  background: #ffffff !important;
  border: 1.5px solid var(--ndi-border) !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  font-family: 'Poppins', sans-serif !important;
  color: var(--ndi-text-muted) !important;
  text-align: center !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 1px 3px rgba(27, 42, 74, 0.02) !important;
  margin: 0 !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
}

.isn-sdd-tile i {
  font-size: 20px !important;
  color: var(--ndi-navy-light) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.isn-sdd-tile span {
  font-size: 10px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  color: var(--ndi-navy) !important;
  display: block !important;
}

.isn-sdd-tile:hover {
  border-color: var(--ndi-orange) !important;
  background: var(--ndi-orange-soft) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(234, 88, 12, 0.08) !important;
}

.isn-sdd-tile:hover i {
  color: var(--ndi-orange) !important;
  transform: scale(1.08) !important;
}

.isn-sdd-tile.isn-sdd-selected {
  border-color: var(--ndi-orange) !important;
  background: linear-gradient(135deg, #FFFDF9 0%, #FFF5EB 100%) !important;
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.12), inset 0 0 0 1px rgba(234, 88, 12, 0.05) !important;
}

.isn-sdd-tile.isn-sdd-selected i {
  color: var(--ndi-orange) !important;
}

.isn-sdd-tile.isn-sdd-selected span {
  color: var(--ndi-navy) !important;
  font-weight: 700 !important;
}

.isn-sdd-tile.isn-sdd-selected::after {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 6px;
  right: 6px;
  font-size: 8px;
  color: #fff;
  background: var(--ndi-orange);
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(234, 88, 12, 0.2);
}

.isn-sdd-tile.isn-sdd-hidden {
  display: none !important;
}

.isn-sdd-custom {
  border-style: dashed !important;
  background: var(--ndi-bg) !important;
}

.isn-sdd-custom:hover {
  border-color: var(--ndi-orange) !important;
  color: var(--ndi-orange) !important;
}

@media (max-width: 768px) {
  .isn-sdd-grid {
    grid-template-columns: repeat(auto-fill, minmax(95px, 1fr)) !important;
    gap: 8px !important;
    padding: 10px !important;
  }
  .isn-sdd-tile {
    padding: 10px 4px !important;
    gap: 4px !important;
  }
  .isn-sdd-tile i {
    font-size: 16px !important;
  }
  .isn-sdd-tile span {
    font-size: 9.5px !important;
  }
}

@media (max-width: 480px) {
  .isn-sdd-grid {
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)) !important;
    gap: 8px !important;
    padding: 10px 8px !important;
  }
}

/* Service description after selection (disabled to prevent layout expansion) */
.isn-service-desc {
  display: none !important;
}

/* Inline time window (compact) */
.isn-time-window-inline {
  margin-top: 10px;
  padding: 14px 16px;
  background: #FFFBF5;
  border: 1px solid #FED7AA;
  border-radius: 8px;
  animation: ndiFadeIn 0.3s ease;
  overflow: hidden;
}

/* Time range picker (start – end) */
.isn-tw-range {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  min-width: 0;
}

.isn-tw-range-compact {
  gap: 6px;
}

.isn-tw-dash {
  font-size: 16px;
  font-weight: 600;
  color: var(--ndi-text-muted);
  padding-bottom: 10px;
  flex-shrink: 0;
}

/* Time window display (auto-computed end time) */
.isn-tw-display {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ndi-navy);
  letter-spacing: 0.01em;
}

.isn-tw-display i {
  color: var(--ndi-orange);
  margin-right: 4px;
}

/* ===== Custom Service Input ===== */
.isn-custom-service-panel {
  background: var(--ndi-surface);
  border: 1.5px solid var(--ndi-border);
  border-radius: 10px;
  padding: 20px;
  animation: ndiFadeIn 0.3s ease;
  margin-top: 10px;
}

/* ===== Add-On Sections ===== */
.isn-addon-section {
  border: 1.5px solid var(--ndi-border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
}

.isn-addon-section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ndi-text-muted);
  background: var(--ndi-surface);
  border-bottom: 1px solid var(--ndi-border);
}

.isn-addon-section-header i {
  font-size: 12px;
}

.ndi-state-restriction-notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 560px;
  margin: 22px auto 8px;
  padding: 18px;
  border: 1px solid #fed7aa;
  border-radius: 12px;
  background: #fff7ed;
  color: var(--ndi-text-primary);
}

.ndi-state-restriction-notice[hidden] {
  display: none;
}

.ndi-state-restriction-notice-icon {
  display: flex;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffedd5;
  color: #c2410c;
}

.ndi-state-restriction-notice p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.ndi-state-restriction-notice strong {
  display: block;
  margin-bottom: 3px;
}

/* ===== Add-On Toggle Rows ===== */
.isn-addon-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  cursor: pointer;
  transition: background 0.15s ease;
  border-bottom: 1px solid #F0F2F5;
  user-select: none;
}

.isn-addon-row:last-child,
.isn-addon-row:has(+ .isn-addon-tw) {
  border-bottom: none;
}

.isn-addon-row:hover {
  background: #FAFBFC;
}

.isn-addon-row-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.isn-addon-row-left i {
  font-size: 14px;
  width: 20px;
  text-align: center;
  color: var(--ndi-navy-light);
  transition: color 0.2s;
}

.isn-addon-row-left span {
  font-size: 13px;
  font-weight: 500;
  color: var(--ndi-text-body);
  transition: color 0.2s;
}

/* Toggle switch */
.isn-addon-toggle {
  width: 38px;
  height: 22px;
  border-radius: 12px;
  background: #D1D5DB;
  padding: 2px;
  transition: background 0.25s ease;
  flex-shrink: 0;
}

.isn-addon-toggle-knob {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease;
}

/* Active state */
.isn-addon-row.active .isn-addon-toggle {
  background: var(--ndi-success);
}

.isn-addon-row.active .isn-addon-toggle-knob {
  transform: translateX(16px);
}

.isn-addon-row.active .isn-addon-row-left i {
  color: var(--ndi-success);
}

.isn-addon-row.active .isn-addon-row-left span {
  color: var(--ndi-navy);
  font-weight: 600;
}

.isn-addon-row.isn-addon-hidden {
  display: none;
}

/* Rush Request accent */
.isn-addon-rush {
  border-color: #FDBA74;
  background: #FFFBF5;
}

.isn-addon-row-rush .isn-addon-row-left i {
  color: var(--ndi-orange);
}

.isn-addon-row-rush.active .isn-addon-toggle {
  background: var(--ndi-orange);
}

.isn-addon-row-rush.active .isn-addon-row-left i {
  color: var(--ndi-orange);
}

/* Inline add-on time window */
.isn-addon-tw {
  padding: 10px 16px 14px;
  background: #FFFBF5;
  border-bottom: 1px solid #F0F2F5;
  animation: ndiFadeIn 0.25s ease;
}

.isn-form-control-sm {
  padding: 8px 12px !important;
  font-size: 12px !important;
}

/* ===== Textarea for Notes ===== */
textarea.isn-form-control {
  resize: vertical;
  min-height: 80px;
  line-height: 1.6;
}


/* ===== Keyframes ===== */
@keyframes ndiHouseBounce {

  0%,
  100% {
    transform: translate(-50%, -50%);
  }

  50% {
    transform: translate(-50%, -58%);
  }
}

@keyframes ndiPulse {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.4;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

@keyframes ndiSparkle {

  0%,
  100% {
    opacity: 0;
    transform: scale(0.6) rotate(-10deg);
  }

  50% {
    opacity: 0.8;
    transform: scale(1.1) rotate(5deg);
  }
}

@keyframes ndiDot {

  0%,
  100% {
    opacity: 0.25;
    transform: scale(1);
  }

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

@keyframes ndiMsgFade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Radon Drop-off / Pick-up toggle */
.isn-radon-toggle {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.isn-radon-toggle-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  border: 1.5px solid var(--ndi-border);
  border-radius: 8px;
  background: var(--ndi-bg);
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--ndi-text-muted);
  cursor: pointer;
  transition: all 0.25s;
}

.isn-radon-toggle-btn:hover {
  border-color: var(--ndi-border-hover);
}

.isn-radon-toggle-btn.active {
  background: var(--ndi-navy);
  border-color: var(--ndi-navy);
  color: #fff;
  font-weight: 600;
}

.isn-radon-toggle-btn i {
  font-size: 14px;
}

/* Inspection date/time */
.isn-datetime-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 520px;
  margin: 0 auto 16px;
  text-align: left;
}

/* Stacked variant: full-width columns */
.isn-datetime-group-stacked {
  grid-template-columns: 1fr;
  gap: 10px;
}

.isn-datetime-col label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ndi-navy);
  margin-bottom: 6px;
}

.isn-datetime-col .isn-form-control {
  height: 48px;
}

.isn-datetime-col-full {
  width: 100%;
}

@media (max-width: 500px) {
  .isn-datetime-group {
    grid-template-columns: 1fr;
  }
}

/* ── Multi-Date Picker ── */
.isn-multi-date-picker {
  position: relative;
}

.isn-multi-date-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  background: #fff;
  border: 2px solid var(--ndi-border);
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--ndi-text-muted);
  cursor: pointer;
  transition: all 0.25s ease;
}

.isn-multi-date-trigger i:first-child {
  font-size: 15px;
  color: var(--ndi-orange);
}

.isn-multi-date-trigger .isn-chevron {
  margin-left: auto;
  font-size: 11px;
  transition: transform 0.25s;
}

.isn-multi-date-trigger.isn-open .isn-chevron {
  transform: rotate(180deg);
}

.isn-multi-date-trigger:hover {
  border-color: var(--ndi-border-hover);
}

.isn-multi-date-trigger.isn-has-dates {
  border-color: var(--ndi-orange);
  color: var(--ndi-navy);
  font-weight: 600;
  background: #FFF7ED;
}

.isn-multi-date-dropdown {
  margin-top: 8px;
  padding: 14px;
  background: #fff;
  border: 1.5px solid var(--ndi-border);
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  animation: ndiFadeIn 0.2s ease;
}

.isn-multi-date-inputs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}

.isn-date-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.isn-date-input-row .isn-form-control {
  flex: 1;
}

/* Overlay label — the sole visible text before a date is picked */
.isn-date-input-row::before {
  content: 'Select a day';
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #9CA3AF;
  pointer-events: none;
  z-index: 1;
}

/* Hide overlay once a date has been selected */
.isn-date-input-row.has-date::before {
  display: none;
}

/* Base date input — completely transparent until value is set */
.isn-date-input {
  position: relative;
  min-height: 48px;
  border: 2px dashed var(--ndi-border) !important;
  border-radius: 10px !important;
  font-size: 16px !important;
  padding: 12px 16px !important;
  background: #FAFBFC;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

/* Once a date is chosen, reveal the text */
.isn-date-input-row.has-date .isn-date-input {
  color: var(--ndi-navy) !important;
  -webkit-text-fill-color: var(--ndi-navy);
}

/* Hide the native calendar icon — stretch hit-area to fill the input */
.isn-date-input::-webkit-calendar-picker-indicator {
  opacity: 0;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

/* Hide browser-internal date text parts (Chrome/Edge shadow DOM) */
.isn-date-input::-webkit-datetime-edit,
.isn-date-input::-webkit-datetime-edit-fields-wrapper,
.isn-date-input::-webkit-datetime-edit-text,
.isn-date-input::-webkit-datetime-edit-month-field,
.isn-date-input::-webkit-datetime-edit-day-field,
.isn-date-input::-webkit-datetime-edit-year-field {
  opacity: 0;
}
.isn-date-input-row.has-date .isn-date-input::-webkit-datetime-edit,
.isn-date-input-row.has-date .isn-date-input::-webkit-datetime-edit-fields-wrapper,
.isn-date-input-row.has-date .isn-date-input::-webkit-datetime-edit-text,
.isn-date-input-row.has-date .isn-date-input::-webkit-datetime-edit-month-field,
.isn-date-input-row.has-date .isn-date-input::-webkit-datetime-edit-day-field,
.isn-date-input-row.has-date .isn-date-input::-webkit-datetime-edit-year-field {
  opacity: 1;
}

.isn-date-input:focus,
.isn-date-input:hover {
  border-color: var(--ndi-orange) !important;
  background: #FFF7ED;
}

/* When a date is selected, show solid border */
.isn-date-input:not(:placeholder-shown),
.isn-date-input[data-has-value="true"],
.isn-date-input:valid:not([value=""]) {
  border-style: solid !important;
  border-color: var(--ndi-orange) !important;
  background: #FFF7ED;
  font-weight: 600;
  color: var(--ndi-navy) !important;
  -webkit-text-fill-color: var(--ndi-navy);
}


.isn-date-remove-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  background: #FEE2E2;
  border-radius: 8px;
  color: #EF4444;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.isn-date-remove-btn:hover {
  background: #FECACA;
  color: #DC2626;
}

.isn-add-date-btn {
  width: 100%;
  justify-content: center;
}

/* Date Badges */
.isn-multi-date-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.isn-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #F0F4FF;
  border: 1px solid #BFDBFE;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: #1E40AF;
}

.isn-date-badge i {
  font-size: 10px;
}

.isn-date-badge-primary {
  background: #FFF7ED;
  border-color: var(--ndi-orange);
  color: var(--ndi-orange);
  font-weight: 600;
}

.isn-date-badge-primary i {
  color: var(--ndi-orange);
}

.isn-date-badge small {
  font-size: 10px;
  opacity: 0.75;
  font-weight: 400;
}

@keyframes ndiFadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(-8px);
  }
}

/* Fix: Name fields should match email/phone width */
#isn-step-2 .isn-grid-2,
#isn-step-3 .isn-grid-2 {
  max-width: 100%;
}

/* Fix: Year Built should match other fields */
#isn-step-4 .isn-form-group input[id="isn-prop-year"] {
  max-width: 100%;
}

/* Radon schedule display */
.isn-radon-schedule {
  margin-top: 12px;
}

.isn-radon-dates {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 12px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #FCA5A5;
}

.isn-radon-date-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.isn-radon-date-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ndi-text-muted);
}

.isn-radon-date-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--ndi-navy);
}

.isn-radon-date-time {
  font-size: 12px;
  color: var(--ndi-text-muted);
}

.isn-radon-arrow {
  color: var(--ndi-text-muted);
  font-size: 16px;
}

.isn-radon-warning {
  margin-top: 10px;
  padding: 8px 12px;
  background: #FEF3C7;
  border: 1px solid #F59E0B;
  border-radius: 6px;
  font-size: 12px;
  color: #92400E;
}

.isn-radon-warning i {
  color: #F59E0B;
  margin-right: 4px;
}

/* Service TW auto display */
.isn-tw-auto-display {
  padding: 10px 14px;
  background: #fff;
  border: 1px solid #FED7AA;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ndi-navy);
  text-align: center;
}

.isn-tw-auto-display i {
  color: var(--ndi-orange);
  margin-right: 6px;
}

/* Radon environmental services combined note */
.isn-radon-env-note {
  margin-top: 10px;
  padding: 8px 12px;
  background: #EFF6FF;
  border: 1px solid #93C5FD;
  border-radius: 6px;
  font-size: 12px;
  color: #1E40AF;
}

.isn-radon-env-note i {
  color: #3B82F6;
  margin-right: 4px;
}

/* Access method - inline code input */
.isn-access-selected-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.isn-access-code-input {
  flex: 1;
  min-width: 120px;
  max-width: 180px;
}

.isn-code-input {
  padding: 8px 12px !important;
  font-size: 14px !important;
  text-align: center;
  letter-spacing: 1px;
}

.isn-sentrilock-note {
  margin-top: 8px;
  padding: 6px 10px;
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  border-radius: 6px;
  font-size: 12px;
  color: #92400E;
}

/* Inline time window badges */
.isn-tw-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #FFF7ED;
  border: 1px solid #FED7AA;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ndi-navy);
  margin-top: 6px;
  max-width: 520px;
}

.isn-tw-badge i {
  color: var(--ndi-orange);
  font-size: 12px;
}

.isn-tw-badge-hint {
  font-weight: 400;
  font-size: 12px;
  color: var(--ndi-text-muted);
}

/* Addon row inline time badge */
.isn-addon-tw-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  background: #FFF7ED;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ndi-navy);
  margin-top: 2px;
  width: 100%;
}

.isn-addon-tw-badge i {
  color: var(--ndi-orange);
  font-size: 10px;
}

.isn-addon-row {
  flex-wrap: wrap;
}

/* Addon subtitle (e.g. Rush Request clarification) */
.isn-addon-subtitle {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--ndi-text-muted);
  margin-top: 1px;
  line-height: 1.3;
}

/* Google Places Autocomplete styling */
.pac-container {
  border-radius: 8px;
  border: 1px solid var(--ndi-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  font-family: 'Poppins', sans-serif;
  z-index: 10000;
}

.pac-item {
  padding: 8px 12px;
  font-size: 13px;
  cursor: pointer;
}

.pac-item:hover {
  background: #F0F4FF;
}

.pac-item-query {
  font-weight: 600;
  color: var(--ndi-navy);
}

/* Validation error flash */
.isn-field-error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
  animation: isnFieldShake 0.4s ease;
}

@keyframes isnFieldShake {

  0%,
  100% {
    transform: translateX(0);
  }

  20% {
    transform: translateX(-4px);
  }

  40% {
    transform: translateX(4px);
  }

  60% {
    transform: translateX(-3px);
  }

  80% {
    transform: translateX(3px);
  }
}

/* Owner attendance pill toggle */
#isn-attendance-section .isn-form-group {
  text-align: center;
}

.isn-attend-pill {
  display: flex;
  gap: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--ndi-border);
  max-width: 260px;
  margin: 0 auto;
}

.isn-attend-pill-btn {
  flex: 1;
  padding: 10px 16px;
  border: none;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--ndi-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s;
}

.isn-attend-pill-btn+.isn-attend-pill-btn {
  border-left: 1px solid var(--ndi-border);
}

.isn-attend-pill-btn.active[data-value="yes"] {
  background: #ECFDF5;
  color: #065F46;
}

.isn-attend-pill-btn.active[data-value="no"] {
  background: #FEF2F2;
  color: #991B1B;
}

.isn-attend-pill-btn:hover:not(.active) {
  background: #f8fafc;
}

/* ═══════════════════════════════════════
   PRICING SYSTEM STYLES
   ═══════════════════════════════════════ */

/* ── Tab Bar ── */
.isn-scheduler-widget.isn-scheduler-widget .isn-tab-bar {
  display: flex !important;
  gap: 0 !important;
  margin-bottom: 20px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  border: 1.5px solid var(--ndi-border) !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  max-width: 520px !important;
}

.isn-scheduler-widget.isn-scheduler-widget .isn-tab {
  flex: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 10px 16px !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: var(--ndi-text-muted) !important;
  background: var(--ndi-bg) !important;
  background-color: var(--ndi-bg) !important;
  border: none !important;
  border-radius: 0 !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  position: relative !important;
  box-shadow: none !important;
  transform: none !important;
  margin: 0 !important;
  min-height: 0 !important;
  width: auto !important;
  height: auto !important;
}

.isn-scheduler-widget.isn-scheduler-widget .isn-tab:first-child {
  border-right: 1px solid var(--ndi-border) !important;
}

.isn-scheduler-widget.isn-scheduler-widget .isn-tab i {
  font-size: 12px !important;
}

.isn-scheduler-widget.isn-scheduler-widget .isn-tab:hover:not(.active) {
  background: #f8fafc !important;
  background-color: #f8fafc !important;
  color: var(--ndi-navy) !important;
  transform: none !important;
  box-shadow: none !important;
}

.isn-scheduler-widget.isn-scheduler-widget .isn-tab.active {
  background: var(--ndi-orange-soft) !important;
  background-color: var(--ndi-orange-soft) !important;
  color: var(--ndi-orange) !important;
  font-weight: 600 !important;
}

.isn-scheduler-widget.isn-scheduler-widget .isn-tab.active::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 2.5px !important;
  background: var(--ndi-orange) !important;
  border-radius: 2px 2px 0 0 !important;
}

/* ── Time Slot Toggle ── */
.isn-time-toggle {
  display: flex;
  gap: 8px;
}

/* Wrap variant for 5 buttons */
.isn-time-toggle-wrap {
  flex-wrap: wrap;
}

.isn-time-btn {
  flex: 1 1 auto;
  min-width: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 12px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  color: #6b7280;
  white-space: nowrap;
}

/* 1. Morning - Amber/Yellow Sun Rising */
.isn-time-btn[data-label="Morning"]:hover {
  border-color: #F59E0B;
  color: #B45309;
  background: #FFFDF5;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.08);
}
.isn-time-btn[data-label="Morning"].active {
  border-color: #F59E0B;
  background: linear-gradient(135deg, #FFFDF5 0%, #FEF3C7 100%);
  color: #B45309;
  box-shadow: 0 0 0 1px #F59E0B, 0 4px 12px rgba(245, 158, 11, 0.15);
}
.isn-time-btn[data-label="Morning"] svg,
.isn-time-btn[data-label="Morning"] i {
  color: #F59E0B;
  transition: transform 0.3s ease;
}
.isn-time-btn[data-label="Morning"]:hover svg,
.isn-time-btn[data-label="Morning"]:hover i,
.isn-time-btn[data-label="Morning"].active svg,
.isn-time-btn[data-label="Morning"].active i {
  transform: rotate(15deg) scale(1.1);
}

/* 2. Early Afternoon - High Noon Sky Blue */
.isn-time-btn[data-label="Early Afternoon"]:hover {
  border-color: #0EA5E9;
  color: #0369A1;
  background: #F8FAFC;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.08);
}
.isn-time-btn[data-label="Early Afternoon"].active {
  border-color: #0EA5E9;
  background: linear-gradient(135deg, #F8FAFC 0%, #E0F2FE 100%);
  color: #0369A1;
  box-shadow: 0 0 0 1px #0EA5E9, 0 4px 12px rgba(14, 165, 233, 0.15);
}
.isn-time-btn[data-label="Early Afternoon"] svg,
.isn-time-btn[data-label="Early Afternoon"] i {
  color: #0EA5E9;
  transition: transform 0.3s ease;
}
.isn-time-btn[data-label="Early Afternoon"]:hover svg,
.isn-time-btn[data-label="Early Afternoon"]:hover i,
.isn-time-btn[data-label="Early Afternoon"].active svg,
.isn-time-btn[data-label="Early Afternoon"].active i {
  transform: scale(1.1);
}

/* 3. Afternoon - High Golden Sun */
.isn-time-btn[data-label="Afternoon"]:hover {
  border-color: #F97316;
  color: #C2410C;
  background: #FFFDF9;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.08);
}
.isn-time-btn[data-label="Afternoon"].active {
  border-color: #F97316;
  background: linear-gradient(135deg, #FFFDF9 0%, #FFEDD5 100%);
  color: #C2410C;
  box-shadow: 0 0 0 1px #F97316, 0 4px 12px rgba(249, 115, 22, 0.15);
}
.isn-time-btn[data-label="Afternoon"] svg,
.isn-time-btn[data-label="Afternoon"] i {
  color: #F97316;
  transition: transform 0.3s ease;
}
.isn-time-btn[data-label="Afternoon"]:hover svg,
.isn-time-btn[data-label="Afternoon"]:hover i,
.isn-time-btn[data-label="Afternoon"].active svg,
.isn-time-btn[data-label="Afternoon"].active i {
  transform: translateY(-2px) scale(1.1);
}

/* 4. Late Afternoon - Dusk Sunset Purple */
.isn-time-btn[data-label="Late Afternoon"]:hover {
  border-color: #8B5CF6;
  color: #6D28D9;
  background: #FAF8FF;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.08);
}
.isn-time-btn[data-label="Late Afternoon"].active {
  border-color: #8B5CF6;
  background: linear-gradient(135deg, #FAF8FF 0%, #EDE9FE 100%);
  color: #6D28D9;
  box-shadow: 0 0 0 1px #8B5CF6, 0 4px 12px rgba(139, 92, 246, 0.15);
}
.isn-time-btn[data-label="Late Afternoon"] svg,
.isn-time-btn[data-label="Late Afternoon"] i {
  color: #8B5CF6;
  transition: transform 0.3s ease;
}
.isn-time-btn[data-label="Late Afternoon"]:hover svg,
.isn-time-btn[data-label="Late Afternoon"]:hover i,
.isn-time-btn[data-label="Late Afternoon"].active svg,
.isn-time-btn[data-label="Late Afternoon"].active i {
  transform: translateY(1px) scale(1.05);
}

/* 5. Anytime - Deep Stellar Navy */
.isn-time-btn[data-label="Anytime"]:hover {
  border-color: #334155;
  color: #0F172A;
  background: #F8FAFC;
  box-shadow: 0 4px 12px rgba(51, 65, 85, 0.08);
}
.isn-time-btn[data-label="Anytime"].active {
  border-color: #1E293B;
  background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
  color: #0F172A;
  box-shadow: 0 0 0 1px #1E293B, 0 4px 12px rgba(30, 41, 59, 0.15);
}
.isn-time-btn[data-label="Anytime"] svg,
.isn-time-btn[data-label="Anytime"] i {
  color: #475569;
  transition: transform 0.3s ease;
}
.isn-time-btn[data-label="Anytime"]:hover svg,
.isn-time-btn[data-label="Anytime"]:hover i,
.isn-time-btn[data-label="Anytime"].active svg,
.isn-time-btn[data-label="Anytime"].active i {
  transform: rotate(-15deg) scale(1.1);
}

.isn-time-btn svg,
.isn-time-btn>i {
  flex-shrink: 0;
}

.isn-time-btn span {
  font-weight: 600;
  font-size: 13px;
  line-height: 1.2;
}

.isn-time-btn small {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.7;
}

/* Mobile: 3 top + 2 bottom centered */
@media (max-width: 500px) {
  .isn-time-toggle-wrap {
    justify-content: center;
  }

  .isn-time-toggle-wrap .isn-time-btn {
    min-width: calc(33.33% - 6px);
    flex: 0 1 calc(33.33% - 6px);
  }
}

/* ── Inline Price Badges ── */
.isn-addon-price {
  font-size: 12px;
  font-weight: 600;
  color: var(--ndi-navy);
  margin-left: auto;
  margin-right: 10px;
  white-space: nowrap;
  flex-shrink: 0;
  opacity: 0.85;
}

.isn-addon-price:empty {
  display: none;
}

.isn-price-original {
  text-decoration: line-through;
  color: #EF4444;
  font-weight: 500;
  font-size: 11px;
  margin-right: 4px;
}

.isn-price-discounted {
  color: #059669;
  font-weight: 700;
}

/* ── Inline Total Square Banner (injected above .isn-actions via JS on Step 8) ── */

/* Desktop / Tablet / Mobile: normal flow, centered above buttons, no longer floating */
.isn-total-row {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px 0 8px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  position: relative !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  z-index: auto !important;
  pointer-events: auto !important;
}

.isn-inline-total-banner {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  padding: 12px 24px !important;
  background: #FFF7ED !important;
  border: 1.5px solid var(--ndi-orange) !important;
  border-radius: 8px !important; /* Square/rectangular banner look instead of 50px pill */
  box-shadow: 0 2px 8px rgba(243, 112, 33, 0.08) !important;
  font-family: 'Poppins', sans-serif !important;
}

.isn-inline-total-label {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--ndi-navy) !important;
}

.isn-inline-total-amount {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--ndi-orange) !important;
  letter-spacing: -0.3px !important;
  white-space: nowrap !important;
}

/* Mobile ≤770px: hide the banner completely since it's redundant with footer price */
@media (max-width: 770px) {
  .isn-total-row {
    display: none !important;
  }

  /* Keep scroll indicator centered on mobile */
  .isn-scroll-indicator {
    bottom: 96px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
}

/* ── Water Testing Sub-Panel ── */
.isn-addon-sub-panel {
  padding: 14px 16px;
  background: #FAFBFC;
  border-bottom: 1px solid #F0F2F5;
  animation: ndiFadeIn 0.25s ease;
}

.isn-sub-panel-inner {
  max-width: 480px;
}

.isn-sub-panel-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ndi-navy);
  margin-bottom: 8px;
}

.isn-water-test-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.isn-water-test-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--ndi-bg);
  border: 1.5px solid var(--ndi-border);
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--ndi-text-muted);
  transition: all 0.2s ease;
  text-align: left;
}

.isn-water-test-btn i {
  font-size: 13px;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
  transition: color 0.2s;
}

.isn-water-test-btn:hover {
  border-color: var(--ndi-border-hover);
  background: #f8fafc;
}

.isn-water-test-btn.active {
  border-color: var(--ndi-success);
  background: #F0FDF4;
  color: var(--ndi-navy);
  font-weight: 600;
}

.isn-water-test-btn.active i {
  color: var(--ndi-success);
}

.isn-water-test-badge {
  margin-top: 10px;
  padding: 8px 12px;
  background: #EFF6FF;
  border: 1px solid #93C5FD;
  border-radius: 6px;
  font-size: 12px;
  color: #1E40AF;
  text-align: center;
}

.isn-water-test-badge strong {
  color: #1E3A8A;
}

@media (max-width: 400px) {
  .isn-water-test-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Mold Stepper Sub-Panel ── */
.isn-stepper-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.isn-stepper-row label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ndi-navy);
}

.isn-qty-stepper {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--ndi-border);
  border-radius: 8px;
  overflow: hidden;
}

.isn-qty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 34px;
  border: none;
  background: var(--ndi-surface);
  cursor: pointer;
  font-size: 12px;
  color: var(--ndi-navy);
  transition: background 0.15s;
  font-family: 'Poppins', sans-serif;
}

.isn-qty-btn:hover {
  background: #E5E7EB;
}

.isn-qty-btn:active {
  background: #D1D5DB;
}

.isn-qty-value {
  width: 40px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--ndi-navy);
  border-left: 1px solid var(--ndi-border);
  border-right: 1px solid var(--ndi-border);
  line-height: 34px;
}

.isn-sub-panel-note {
  font-size: 12px;
  color: var(--ndi-text-muted);
  margin-bottom: 12px;
}

.isn-sub-panel-note i {
  color: var(--ndi-orange);
  margin-right: 4px;
}

.isn-sub-panel-note strong {
  color: var(--ndi-navy);
}

/* ── Pricing Breakdown Tab ── */
.isn-pricing-tab-content {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  min-height: 200px;
  animation: ndiFadeIn 0.25s ease;
}

.isn-pricing-breakdown {
  border: 1.5px solid var(--ndi-border);
  border-radius: 10px;
  overflow: hidden;
}

.isn-pricing-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid #F0F2F5;
}

.isn-pricing-row:last-child {
  border-bottom: none;
}

.isn-pricing-row-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.isn-pricing-row-left i {
  font-size: 14px;
  width: 20px;
  text-align: center;
  color: var(--ndi-navy-light);
  flex-shrink: 0;
}

.isn-pricing-row-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ndi-text-body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.isn-pricing-row-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--ndi-navy);
  white-space: nowrap;
  margin-left: 12px;
}

.isn-pricing-row-tbd {
  color: var(--ndi-text-muted);
  font-style: italic;
}

.isn-pricing-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #FFF7ED;
  border-top: 1.5px solid var(--ndi-orange);
  color: var(--ndi-navy);
}

.isn-pricing-total-label {
  font-size: 14px;
  font-weight: 600;
}

.isn-pricing-total-amount {
  font-size: 20px;
  font-weight: 700;
  color: var(--ndi-orange);
  letter-spacing: -0.3px;
}

.isn-pricing-disclaimer {
  font-size: 11px;
  color: var(--ndi-text-muted);
  line-height: 1.5;
  padding: 14px 16px 4px;
  font-style: italic;
}

.isn-pricing-disclaimer i {
  color: var(--ndi-text-muted);
  margin-right: 3px;
  font-style: normal;
  font-size: 10px;
}

.isn-pricing-empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--ndi-text-muted);
  font-size: 13px;
}

.isn-pricing-discount-note {
  padding: 8px 16px;
  background: #F0FDF4;
  font-size: 11px;
  color: #065F46;
  border-bottom: 1px solid #F0F2F5;
}

.isn-pricing-discount-note i {
  color: #059669;
  margin-right: 4px;
}

.isn-sdd-tile.isn-sdd-selected {
  border-color: var(--ndi-orange) !important;
  background: var(--ndi-orange-soft) !important;
  color: var(--ndi-navy) !important;
}

.isn-sdd-tile.isn-sdd-selected i {
  color: var(--ndi-orange) !important;
}

/* ===== Action Bar & Buttons (full !important isolation) ===== */
.isn-scheduler-widget .isn-actions {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  gap: 12px !important;
  padding-top: 16px !important;
  margin-top: 8px !important;
  border-top: 1px solid #E2E6EC !important;
}

.isn-scheduler-widget.isn-scheduler-widget .isn-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 12px 28px !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  line-height: 1.5 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  outline: none !important;
  background-image: none !important;
  opacity: 1 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  transform: none !important;
  background-color: transparent !important;
  color: inherit !important;
}

.isn-scheduler-widget.isn-scheduler-widget .isn-btn-primary {
  background: #FF6B00 !important;
  background-color: #FF6B00 !important;
  color: #fff !important;
  border: none !important;
}

.isn-scheduler-widget.isn-scheduler-widget .isn-btn-primary:hover,
.isn-scheduler-widget.isn-scheduler-widget .isn-btn-primary:focus {
  background: #E85D00 !important;
  background-color: #E85D00 !important;
  color: #fff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3) !important;
  border: none !important;
  opacity: 1 !important;
}

.isn-scheduler-widget.isn-scheduler-widget .isn-btn-outline {
  background: transparent !important;
  background-color: transparent !important;
  color: #4A5568 !important;
  border: 1.5px solid #E2E6EC !important;
}

.isn-scheduler-widget.isn-scheduler-widget .isn-btn-outline:hover,
.isn-scheduler-widget.isn-scheduler-widget .isn-btn-outline:focus {
  border: 1.5px solid #CBD1DA !important;
  background: #F8F9FB !important;
  background-color: #F8F9FB !important;
  color: #1B2A4A !important;
  transform: none !important;
  box-shadow: none !important;
  opacity: 1 !important;
}

.isn-scheduler-widget.isn-scheduler-widget .isn-btn-sm {
  padding: 6px 14px !important;
  font-size: 12px !important;
}

/* ===== Collapsible Panels ===== */
.isn-collapsible-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  padding: 12px 16px !important;
  background: var(--ndi-surface) !important;
  border: 1.5px solid var(--ndi-border) !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  gap: 8px !important;
  margin: 0 !important;
}

.isn-collapsible-header:hover {
  border-color: var(--ndi-border-hover) !important;
  background: #F2F4F7 !important;
}

/* Attention pulse: draws user eye to newly-revealed collapsible (e.g. radon) */
.isn-collapsible-header.isn-collapsible-attention {
  border-color: var(--ndi-orange) !important;
  background: var(--ndi-orange-soft) !important;
  animation: ndiAttentionPulse 1.5s ease-in-out infinite !important;
}

@keyframes ndiAttentionPulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.25);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(234, 88, 12, 0);
  }
}

.isn-collapsible-header.isn-collapsible-open {
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  border-color: var(--ndi-orange) !important;
  background: var(--ndi-orange-soft) !important;
}

.isn-collapsible-title {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--ndi-navy) !important;
}

.isn-collapsible-title i {
  color: var(--ndi-orange);
  margin-right: 6px;
}

.isn-collapsible-chevron {
  font-size: 11px !important;
  color: var(--ndi-text-muted) !important;
  transition: transform 0.25s ease !important;
  flex-shrink: 0;
}

.isn-collapsible-open .isn-collapsible-chevron {
  transform: rotate(180deg) !important;
  color: var(--ndi-orange) !important;
}

.isn-collapsible-badge {
  font-size: 11px !important;
  font-weight: 600 !important;
  color: var(--ndi-success) !important;
  background: rgba(16, 185, 129, 0.08) !important;
  padding: 2px 10px !important;
  border-radius: 50px !important;
  margin-left: auto !important;
  white-space: nowrap !important;
}

.isn-collapsible-body {
  border: 1.5px solid var(--ndi-border);
  border-top: none;
  border-radius: 0 0 10px 10px;
  padding: 14px 16px;
  animation: ndiFadeIn 0.2s ease;
}

/* ===== Inspection Package Selector ===== */
.isn-package-selector {
  max-width: 520px;
  margin: 20px auto 0;
  text-align: left;
}

.isn-package-label {
  display: block;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--ndi-navy) !important;
  margin-bottom: 4px !important;
}

.isn-package-label i {
  color: var(--ndi-orange);
  margin-right: 4px;
}

.isn-package-hint {
  font-size: 12px !important;
  color: var(--ndi-text-muted) !important;
  margin: 0 0 14px 0 !important;
  line-height: 1.5 !important;
}

.isn-package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 600px) {
  .isn-package-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.isn-package-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 18px 12px 16px !important;
  background: var(--ndi-bg) !important;
  border: 1.5px solid var(--ndi-border) !important;
  border-radius: 12px !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  gap: 6px;
  min-height: 0;
}

.isn-package-card:hover {
  border-color: var(--ndi-border-hover) !important;
  box-shadow: 0 4px 16px rgba(27, 42, 74, 0.08) !important;
  transform: translateY(-2px) !important;
}

.isn-package-card.isn-package-active {
  border-color: var(--ndi-orange) !important;
  background: var(--ndi-orange-soft) !important;
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.12), 0 4px 16px rgba(255, 107, 0, 0.1) !important;
}

/* Most Popular card — subtle orange glow */
.isn-package-card.isn-package-popular {
  border-color: var(--ndi-orange) !important;
}

/* Best Value card — navy accent */
.isn-package-card.isn-package-best {
  border-color: var(--ndi-navy-light) !important;
}

.isn-package-badge {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  padding: 2px 10px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 50px;
  white-space: nowrap;
  line-height: 1.4;
}

.isn-package-popular .isn-package-badge {
  background: var(--ndi-orange);
  color: #fff;
}

.isn-package-best .isn-package-badge {
  background: var(--ndi-navy);
  color: #fff;
}

.isn-package-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-bottom: 2px;
  transition: all 0.25s ease;
}

.isn-package-card:not(.isn-package-popular):not(.isn-package-best) .isn-package-icon {
  background: var(--ndi-surface);
  color: var(--ndi-text-muted);
}

.isn-package-popular .isn-package-icon {
  background: rgba(255, 107, 0, 0.1);
  color: var(--ndi-orange);
}

.isn-package-best .isn-package-icon {
  background: rgba(27, 42, 74, 0.08);
  color: var(--ndi-navy);
}

.isn-package-card.isn-package-active .isn-package-icon {
  background: var(--ndi-orange) !important;
  color: #fff !important;
}

.isn-package-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--ndi-navy);
}

.isn-package-includes {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 4px 0;
}

.isn-package-includes span {
  font-size: 11px !important;
  color: var(--ndi-text-body) !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  text-align: left !important;
}

.isn-package-includes i {
  font-size: 9px;
  color: var(--ndi-success);
  margin-right: 4px;
  width: 12px;
  text-align: center;
}

.isn-package-savings {
  margin-top: auto;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ndi-success);
  background: rgba(16, 185, 129, 0.08);
  border-radius: 50px;
  margin-top: 6px;
}

/* Pricing breakdown discount line */
.isn-pricing-package-discount {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: rgba(16, 185, 129, 0.06);
  border-radius: 8px;
  margin-bottom: 8px;
}

.isn-pricing-package-discount .isn-pricing-row-label {
  color: var(--ndi-success) !important;
  font-weight: 600 !important;
}

.isn-pricing-package-discount .isn-pricing-row-price {
  color: var(--ndi-success) !important;
  font-weight: 700 !important;
}

/* ═══════════════════════════════════════
   SQUARE FOOTAGE INFO BANNER
   ═══════════════════════════════════════ */
.isn-sqft-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 10px;
  padding: 12px 16px;
  background: #FFF7ED;
  border-left: 4px solid var(--ndi-orange);
  border-radius: 0 8px 8px 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ndi-text-body);
}

.isn-sqft-banner i {
  color: var(--ndi-orange);
  font-size: 14px;
  margin-top: 3px;
  flex-shrink: 0;
}

.isn-sqft-banner strong {
  color: var(--ndi-navy);
  font-weight: 700;
}

/* ═══════════════════════════════════════
   ORDER SUMMARY CARD (Success Screen)
   ═══════════════════════════════════════ */
.isn-order-summary {
  max-width: 480px;
  margin: 0 auto 24px;
  border: 1.5px solid var(--ndi-border);
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
  background: var(--ndi-bg);
  box-shadow: 0 2px 8px rgba(27, 42, 74, 0.06);
}

.isn-order-summary-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: var(--ndi-surface);
  border-bottom: 1px solid var(--ndi-border);
  font-size: 14px;
  font-weight: 600;
  color: var(--ndi-navy);
}

.isn-order-summary-header i {
  color: var(--ndi-orange);
  font-size: 15px;
}

.isn-order-summary-body {
  padding: 4px 0;
}

.isn-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 20px;
  border-bottom: 1px solid #F0F2F5;
}

.isn-summary-row:last-child {
  border-bottom: none;
}

.isn-summary-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ndi-text-body);
}

.isn-summary-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--ndi-navy);
  white-space: nowrap;
  margin-left: 12px;
}

.isn-summary-discount .isn-summary-label {
  color: var(--ndi-success);
  font-weight: 600;
}

.isn-summary-discount .isn-summary-label i {
  margin-right: 4px;
}

.isn-summary-discount .isn-summary-price {
  color: var(--ndi-success);
  font-weight: 700;
}

.isn-order-summary-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #FFF7ED;
  border-top: 1.5px solid var(--ndi-orange);
}

.isn-summary-total-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ndi-navy);
}

.isn-summary-total-amount {
  font-size: 20px;
  font-weight: 700;
  color: var(--ndi-orange);
  letter-spacing: -0.3px;
}

.isn-summary-note {
  padding: 10px 20px 14px;
  font-size: 11px;
  color: var(--ndi-text-muted);
  line-height: 1.5;
  font-style: italic;
}

.isn-summary-note i {
  color: var(--ndi-text-muted);
  margin-right: 3px;
  font-style: normal;
  font-size: 10px;
}

/* ═══════════════════════════════════════
   PAGE INDICATOR (Step 6 sub-pages)
   ═══════════════════════════════════════ */
.isn-page-indicator {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--ndi-orange);
  background: var(--ndi-orange-soft);
  padding: 2px 10px;
  border-radius: 50px;
  margin-left: 8px;
  vertical-align: middle;
  letter-spacing: 0.02em;
}

/* ═══════════════════════════════════════
   TOUCH DEVICES: Disable hover effects
   Only neutralize hover on elements that are NOT in a selected/active state.
   This prevents 'sticky hover' without breaking tap-to-select visuals.
   ═══════════════════════════════════════ */
@media (hover: none) {
  /* Suppress transform/shadow lift on all interactive elements */
  .isn-card-label:hover,
  .isn-icon-select-btn:hover,
  .isn-attend-btn:hover,
  .isn-sdd-tile:hover,
  .isn-sdd-custom:hover,
  .isn-addon-row:hover,
  .isn-btn:hover,
  .isn-btn-primary:hover,
  .isn-btn-outline:hover,
  .isn-collapsible-header:hover,
  .ndi-legacy-close:hover,
  .ndi-legacy-link:hover {
    transform: none !important;
  }

  /* Only reset colors/borders on UN-selected tiles (so selected state shows instantly) */
  .isn-sdd-tile:not(.isn-sdd-selected):hover {
    border-color: var(--ndi-border);
    background: var(--ndi-bg);
    color: var(--ndi-text-muted);
  }
  .isn-sdd-tile:not(.isn-sdd-selected):hover i {
    color: inherit;
  }

  .isn-card-label:not(.isn-card-active):hover {
    border-color: var(--ndi-border);
    box-shadow: none;
  }

  .isn-icon-select-btn:not(.active):hover {
    border-color: var(--ndi-border);
    background: var(--ndi-bg);
  }

  .isn-addon-row:not(.active):hover {
    border-color: var(--ndi-border);
    background: var(--ndi-bg);
  }
}

/* Custom Styling for the Dynamic Upsell Recommendation Block */
.isn-recommendation-block {
  width: 100%;
  margin-top: 8px;
  padding: 8px 12px;
  background: #EFF6FF; /* soft light blue background */
  border-left: 3px solid #3B82F6; /* premium blue highlight */
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #1E40AF; /* matching blue text */
  box-sizing: border-box;
  animation: ndiFadeIn 0.25s ease;
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
  }
  70% {
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
  }
}

.isn-recommendation-badge {
  background: #3B82F6;
  color: #FFFFFF;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  display: inline-block;
  animation: pulseGlow 2s infinite;
}

.isn-recommendation-reason {
  font-weight: 500;
  line-height: 1.4;
}

/* =====================================================
   QoL Enhancements: Calendar, Validation, and Sidebar
   ===================================================== */

/* Layout Wrap & Responsiveness */
.isn-widget-layout-wrap {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 20px;
  position: relative;
}

@media (min-width: 1024px) {
  .isn-scheduler-widget {
    max-width: 900px !important; /* Center the form layout perfectly by keeping the widget max-width standard */
  }

  .isn-widget-layout-wrap {
    position: relative;
    width: 100%;
  }

  .isn-widget-body {
    width: 100%;
    max-width: 900px;
  }

  /* Summary Sidebar styles removed */
}

/* Custom Interactive Calendar UI */
.isn-multi-date-picker {
  position: relative;
  width: 100%;
}

.isn-multi-date-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--ndi-bg);
  border: 1.5px solid var(--ndi-border);
  border-radius: var(--ndi-radius-sm);
  color: var(--ndi-navy);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  text-align: left;
}

.isn-multi-date-trigger:hover {
  border-color: var(--ndi-border-hover);
}

.isn-multi-date-trigger.isn-open {
  border-color: var(--ndi-orange);
  box-shadow: 0 0 0 3px var(--ndi-orange-soft);
}

.isn-multi-date-trigger.isn-has-dates {
  border-color: var(--ndi-orange);
  background: var(--ndi-orange-soft);
  color: var(--ndi-orange);
}

.isn-multi-date-trigger .isn-chevron {
  transition: transform 0.2s ease;
  font-size: 12px;
  color: var(--ndi-text-muted);
}

.isn-multi-date-trigger.isn-open .isn-chevron {
  transform: rotate(180deg);
}

.isn-multi-date-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  background: #FFFFFF;
  border: 1.5px solid var(--ndi-border);
  border-radius: var(--ndi-radius-sm);
  box-shadow: 0 10px 30px rgba(27, 42, 74, 0.12), 0 4px 12px rgba(27, 42, 74, 0.04);
  padding: 18px;
  margin-top: 8px;
  z-index: 100;
}

/* Mobile: full-screen centered modal */
@media (max-width: 600px) {
  .isn-multi-date-dropdown {
    position: fixed !important;
    top: 50% !important;
    left: 4% !important;
    right: 4% !important;
    bottom: auto !important;
    width: auto !important;
    max-height: 80vh !important;
    overflow-y: auto !important;
    z-index: 10001 !important;
    margin: 0 !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
    padding: 20px !important;
    /* Use negative margin to center vertically without transform (avoids fixed-positioning issues on ::before) */
    transform: translateY(-50%) !important;
  }

  /* Dark backdrop overlay */
  .isn-multi-date-dropdown::before {
    content: '';
    position: fixed;
    top: -100vh;
    left: -100vw;
    width: 300vw;
    height: 300vh;
    background: rgba(27, 42, 74, 0.5);
    z-index: -1;
    pointer-events: none;
  }
}

.isn-calendar-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.isn-calendar-nav-btn {
  background: transparent;
  border: none;
  color: var(--ndi-navy);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.isn-calendar-nav-btn:hover {
  background: var(--ndi-surface);
}

.isn-calendar-month-year {
  font-weight: 700;
  color: var(--ndi-navy);
  font-size: 15px;
}

.isn-calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--ndi-border);
  padding-bottom: 6px;
}

.isn-calendar-weekdays div {
  font-size: 12px;
  font-weight: 600;
  color: var(--ndi-text-muted);
}

.isn-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.isn-calendar-day-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1;
  border: none;
  background: transparent;
  color: var(--ndi-navy);
  font-size: 13px;
  font-weight: 500;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.isn-calendar-day-btn:hover {
  background: var(--ndi-orange-soft);
  color: var(--ndi-orange);
}

.isn-calendar-day-disabled {
  color: var(--ndi-text-muted);
  opacity: 0.3;
  pointer-events: none;
  cursor: not-allowed;
}

.isn-calendar-day-selected {
  background: var(--ndi-orange) !important;
  color: #FFFFFF !important;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(255, 107, 0, 0.3);
}

.isn-calendar-day-empty {
  width: 100%;
  aspect-ratio: 1;
}

.isn-multi-date-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.isn-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--ndi-surface);
  border: 1.5px solid var(--ndi-border);
  color: var(--ndi-navy);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  animation: fadeIn 0.2s ease-in;
}

.isn-date-badge-primary {
  background: var(--ndi-orange-soft);
  border-color: var(--ndi-orange);
  color: var(--ndi-orange);
}

.isn-date-badge small {
  font-weight: 400;
  font-size: 10px;
  opacity: 0.85;
}

/* Inline Field Validation Styling */
.isn-input-valid {
  border-color: var(--ndi-success) !important;
  background: rgba(16, 185, 129, 0.03) !important;
}

.isn-input-invalid {
  border-color: var(--ndi-error) !important;
  background: rgba(239, 68, 68, 0.03) !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.08) !important;
}

.isn-validation-msg {
  color: var(--ndi-error);
  font-size: 11px;
  font-weight: 500;
  margin-top: 4px;
  display: none;
  animation: fadeIn 0.2s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-3px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Crash-Resilient Session Restore Panel (Upgrade 5) ===== */
.isn-resume-panel {
  position: relative !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(243, 112, 33, 0.04) !important;
  border: 1px dashed var(--ndi-orange, #F37021) !important;
  border-radius: 8px !important;
  padding: 12px 36px 12px 16px !important;
  margin: 16px auto !important;
  max-width: 480px !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 4px 12px rgba(243, 112, 33, 0.05) !important;
  animation: slideDownFade 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.isn-resume-panel:hover {
  background: rgba(243, 112, 33, 0.07) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 16px rgba(243, 112, 33, 0.1) !important;
}

.isn-resume-banner-content {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ndi-navy);
  font-size: 13px;
  font-weight: 500;
  text-align: left;
}

.isn-resume-banner-icon {
  color: var(--ndi-orange);
  font-size: 16px;
  flex-shrink: 0;
  animation: pulseIcon 2.5s infinite ease-in-out;
}

.isn-resume-banner-text {
  line-height: 1.4;
}

.isn-resume-preview-inline {
  display: inline;
  font-size: 12px;
  color: var(--ndi-text-muted, #6B7280);
  margin-left: 6px;
  font-weight: 400;
}

.isn-resume-preview-inline strong {
  color: var(--ndi-navy);
  font-weight: 600;
}

.isn-resume-close {
  position: absolute !important;
  top: 50% !important;
  right: 8px !important;
  transform: translateY(-50%) !important;
  background: transparent !important;
  border: none !important;
  color: #94a3b8 !important;
  font-size: 20px !important;
  font-weight: 300 !important;
  cursor: pointer !important;
  line-height: 1 !important;
  padding: 4px !important;
  transition: color 0.2s ease !important;
  z-index: 10 !important;
}

.isn-resume-close:hover {
  color: var(--ndi-orange) !important;
}

@keyframes pulseIcon {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.8;
  }
}

@keyframes slideDownFade {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 576px) {
  .isn-resume-panel {
    max-width: 95% !important;
    padding: 10px 32px 10px 12px !important;
    font-size: 12px !important;
  }
  .isn-resume-banner-content {
    font-size: 12px !important;
    gap: 8px !important;
  }
  .isn-resume-banner-icon {
    font-size: 14px !important;
  }
  .isn-resume-preview-inline {
    font-size: 11px !important;
    margin-left: 4px !important;
  }
}

/* ===== Google Places Static Map Card (Upgrade 3) ===== */
.isn-places-map-container {
  margin: 16px auto;
  max-width: 100%;
  border: 1px solid var(--ndi-border);
  border-radius: 10px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transform: scale(0.95);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease-out;
}

.isn-places-map-container.isn-map-visible {
  transform: scale(1);
  opacity: 1;
}

.isn-places-map-header {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--ndi-orange-soft);
  color: var(--ndi-navy);
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ndi-border);
}

.isn-places-map-header i {
  color: var(--ndi-orange);
  font-size: 14px;
}

.isn-places-map-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 50%; /* 2:1 aspect ratio */
  background: #f8fafc;
}

.isn-places-map-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}

/* ===== Package Comparison Matrix (Upgrade 4) ===== */
.isn-package-compare-toggle-wrap {
  display: flex;
  justify-content: center;
  margin: 12px auto 16px;
}

.isn-compare-toggle-btn {
  background: rgba(27, 42, 74, 0.04);
  color: var(--ndi-navy);
  border: 1px solid var(--ndi-border);
  border-radius: 20px;
  padding: 8px 18px;
  font-size: 11px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.isn-compare-toggle-btn:hover {
  background: var(--ndi-navy);
  color: #fff;
  border-color: var(--ndi-navy);
}

.isn-compare-toggle-btn.active {
  background: var(--ndi-navy);
  color: #fff;
  border-color: var(--ndi-navy);
}

.isn-package-matrix {
  width: 100%;
  margin: 0 auto 20px;
  max-width: 680px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.isn-package-matrix.isn-matrix-visible {
  opacity: 1;
  transform: translateY(0);
}

.isn-matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 12px;
}

.isn-matrix-table th {
  background: #f8fafc;
  padding: 10px 12px;
  font-weight: 700;
  color: var(--ndi-navy);
  border-bottom: 1.5px solid var(--ndi-border);
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.05em;
}

.isn-matrix-table th:first-child {
  text-align: left;
  font-size: 11px;
}

.isn-matrix-table td {
  padding: 11px 12px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  color: var(--ndi-text-body);
  transition: background-color 0.15s ease;
}

.isn-matrix-table tr:hover td {
  background-color: rgba(243, 112, 33, 0.03);
}

.isn-matrix-feature {
  text-align: left;
  font-weight: 600;
  color: var(--ndi-navy) !important;
  display: flex;
  align-items: center;
  gap: 8px;
}

.isn-matrix-feature i {
  color: var(--ndi-orange);
  width: 14px;
  text-align: center;
}

.isn-matrix-check {
  color: var(--ndi-success);
  font-size: 14px;
}

.isn-matrix-dash {
  color: var(--ndi-text-muted);
  opacity: 0.4;
}

/* ===== Field loading spinner for ISN Realty autofill ===== */
.isn-scheduler-widget .isn-field-loading {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 38 38' stroke='%23FF6B00'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg transform='translate%281 1%29' stroke-width='3'%3E%3Ccircle stroke-opacity='.2' cx='18' cy='18' r='18'/%3E%3Cpath d='M36 18c0-9.94-8.06-18-18-18'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 18 18' to='360 18 18' dur='1s' repeatCount='indefinite'/%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  background-size: 18px !important;
  padding-right: 38px !important;
}

/* ===== Step 4: Redesigned Property Details Layout ===== */
.isn-prop-row-3 {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 16px !important;
  max-width: 100% !important;
  margin-bottom: 12px !important;
}

.isn-places-map-wrapper {
  padding-bottom: 30% !important; /* Shrunk aspect ratio to prevent scrolling */
}

@media (max-width: 768px) {
  .isn-prop-row-3 {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    margin-bottom: 8px !important;
  }
  .isn-places-map-wrapper {
    padding-bottom: 35% !important; /* Aspect ratio on mobile */
  }
}

/* ===== Time Selection & Date Trigger Theme Overrides & Isolation ===== */

/* 1. Base Time Button Overrides */
.isn-scheduler-widget.isn-scheduler-widget .isn-time-btn {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #6b7280 !important;
  border: 2px solid #e5e7eb !important;
  box-shadow: none !important;
}

/* Hover and active states for Morning */
.isn-scheduler-widget.isn-scheduler-widget .isn-time-btn[data-label="Morning"]:hover {
  border-color: #F59E0B !important;
  color: #B45309 !important;
  background: #FFFDF5 !important;
}
.isn-scheduler-widget.isn-scheduler-widget .isn-time-btn[data-label="Morning"].active {
  border-color: #F59E0B !important;
  background: linear-gradient(135deg, #FFFDF5 0%, #FEF3C7 100%) !important;
  background-color: #FEF3C7 !important;
  color: #B45309 !important;
  box-shadow: 0 0 0 1px #F59E0B, 0 4px 12px rgba(245, 158, 11, 0.15) !important;
}

/* Hover and active states for Early Afternoon */
.isn-scheduler-widget.isn-scheduler-widget .isn-time-btn[data-label="Early Afternoon"]:hover {
  border-color: #0EA5E9 !important;
  color: #0369A1 !important;
  background: #F8FAFC !important;
}
.isn-scheduler-widget.isn-scheduler-widget .isn-time-btn[data-label="Early Afternoon"].active {
  border-color: #0EA5E9 !important;
  background: linear-gradient(135deg, #F8FAFC 0%, #E0F2FE 100%) !important;
  background-color: #E0F2FE !important;
  color: #0369A1 !important;
  box-shadow: 0 0 0 1px #0EA5E9, 0 4px 12px rgba(14, 165, 233, 0.15) !important;
}

/* Hover and active states for Afternoon */
.isn-scheduler-widget.isn-scheduler-widget .isn-time-btn[data-label="Afternoon"]:hover {
  border-color: #F97316 !important;
  color: #C2410C !important;
  background: #FFFDF9 !important;
}
.isn-scheduler-widget.isn-scheduler-widget .isn-time-btn[data-label="Afternoon"].active {
  border-color: #F97316 !important;
  background: linear-gradient(135deg, #FFFDF9 0%, #FFEDD5 100%) !important;
  background-color: #FFEDD5 !important;
  color: #C2410C !important;
  box-shadow: 0 0 0 1px #F97316, 0 4px 12px rgba(249, 115, 22, 0.15) !important;
}

/* Hover and active states for Late Afternoon */
.isn-scheduler-widget.isn-scheduler-widget .isn-time-btn[data-label="Late Afternoon"]:hover {
  border-color: #8B5CF6 !important;
  color: #6D28D9 !important;
  background: #FAF8FF !important;
}
.isn-scheduler-widget.isn-scheduler-widget .isn-time-btn[data-label="Late Afternoon"].active {
  border-color: #8B5CF6 !important;
  background: linear-gradient(135deg, #FAF8FF 0%, #EDE9FE 100%) !important;
  background-color: #EDE9FE !important;
  color: #6D28D9 !important;
  box-shadow: 0 0 0 1px #8B5CF6, 0 4px 12px rgba(139, 92, 246, 0.15) !important;
}

/* Hover and active states for Anytime */
.isn-scheduler-widget.isn-scheduler-widget .isn-time-btn[data-label="Anytime"]:hover {
  border-color: #334155 !important;
  color: #0F172A !important;
  background: #F8FAFC !important;
}
.isn-scheduler-widget.isn-scheduler-widget .isn-time-btn[data-label="Anytime"].active {
  border-color: #1E293B !important;
  background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%) !important;
  background-color: #E2E8F0 !important;
  color: #0F172A !important;
  box-shadow: 0 0 0 1px #1E293B, 0 4px 12px rgba(30, 41, 59, 0.15) !important;
}

/* 2. Date Trigger Button Isolation Overrides */
.isn-scheduler-widget.isn-scheduler-widget .isn-multi-date-trigger {
  background: var(--ndi-bg) !important;
  background-color: var(--ndi-bg) !important;
  color: var(--ndi-navy) !important;
  border: 1.5px solid var(--ndi-border) !important;
}
.isn-scheduler-widget.isn-scheduler-widget .isn-multi-date-trigger:hover {
  border-color: var(--ndi-border-hover) !important;
}
.isn-scheduler-widget.isn-scheduler-widget .isn-multi-date-trigger.isn-open {
  border-color: var(--ndi-orange) !important;
  box-shadow: 0 0 0 3px var(--ndi-orange-soft) !important;
}
.isn-scheduler-widget.isn-scheduler-widget .isn-multi-date-trigger.isn-has-dates {
  border-color: var(--ndi-orange) !important;
  background: var(--ndi-orange-soft) !important;
  background-color: var(--ndi-orange-soft) !important;
  color: var(--ndi-orange) !important;
}
.isn-scheduler-widget.isn-scheduler-widget .isn-multi-date-trigger .isn-chevron {
  color: var(--ndi-text-muted) !important;
}
.isn-scheduler-widget.isn-scheduler-widget .isn-multi-date-trigger.isn-has-dates .isn-chevron {
  color: var(--ndi-orange) !important;
}

/* 3. Sticky/Frozen Stepper Nav Override */
.isn-scheduler-widget.isn-scheduler-widget .isn-stepper-nav {
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
  background: rgba(255, 255, 255, 0.95) !important;
  border-bottom: 1px solid var(--ndi-border) !important;
  margin-bottom: 16px !important;
}

/* 4. Mobile Overrides (Flat Hugging Progress Line) */
@media (max-width: 768px) {
  /* Collapse the stepper nav into a thin flat bar hugging the header */
  .isn-stepper-nav {
    border-bottom: none !important;
    padding: 0 !important;
    height: 4px !important;
    min-height: 4px !important;
    max-height: 4px !important;
    overflow: hidden !important;
    margin-bottom: 0 !important;
  }
  .isn-stepper-nav.isn-stepper-visible {
    display: flex !important;
  }
  .isn-progress-icon-wrapper,
  .isn-progress-labels,
  .isn-step-counter,
  .isn-mobile-step-counter {
    display: none !important;
  }
  /* Fill the entire stepper nav with the progress bar */
  .isn-progress-bar-container {
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    margin: 0 !important;
    gap: 0 !important;
    padding: 0 !important;
  }
  .isn-progress-track {
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
    background: #E8ECF1 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .isn-progress-fill {
    border-radius: 0 !important;
    height: 100% !important;
  }
}

/* 5. Constant Widget Width to Prevent Progress Banner Shifting */
.isn-scheduler-widget.isn-scheduler-widget {
  width: 100% !important;
  max-width: 900px !important;
  margin: 0 auto !important;
}

/* ===== Step 4 Grid Layout, Alignment & Spacing Fixes ===== */
.isn-scheduler-widget #isn-step-4 .isn-form-group {
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 12px !important;
  width: 100% !important;
}

.isn-scheduler-widget #isn-step-4 .isn-form-group label {
  margin-bottom: 4px !important;
}

.isn-scheduler-widget .isn-prop-row-3 {
  margin-bottom: 8px !important;
}

.isn-scheduler-widget .isn-prop-row-3 .isn-form-group {
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 12px !important;
  width: 100% !important;
}

.isn-scheduler-widget .isn-prop-row-3 .isn-form-control,
.isn-scheduler-widget .isn-prop-row-3 select.isn-form-control,
.isn-scheduler-widget .isn-prop-row-3 input.isn-form-control {
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Force all dropdowns/selects and inputs within the widget to stretch to their containers */
.isn-scheduler-widget select.isn-form-control,
.isn-scheduler-widget input.isn-form-control,
.isn-scheduler-widget .isn-form-control {
  width: 100% !important;
  box-sizing: border-box !important;
}

/* ===== Connected & Pop-out Multi-date Picker ===== */
.isn-scheduler-widget .isn-multi-date-picker {
  position: relative !important;
}

.isn-scheduler-widget .isn-multi-date-dropdown {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  right: 0 !important;
  background: #FFFFFF !important;
  border: 1.5px solid var(--ndi-border) !important;
  border-radius: 10px !important;
  box-shadow: 0 10px 30px rgba(27, 42, 74, 0.12), 0 4px 12px rgba(27, 42, 74, 0.04) !important;
  padding: 18px !important;
  margin-top: 8px !important;
  z-index: 1000 !important;
  animation: isnCalendarPop 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

/* Mobile: override to full-screen modal for inline template too */
@media (max-width: 600px) {
  .isn-scheduler-widget .isn-multi-date-dropdown {
    position: fixed !important;
    top: 50% !important;
    left: 4% !important;
    right: 4% !important;
    bottom: auto !important;
    width: auto !important;
    max-height: 80vh !important;
    overflow-y: auto !important;
    z-index: 10001 !important;
    margin: 0 !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
    padding: 20px !important;
    transform: translateY(-50%) !important;
    animation: none !important;
  }
}

@keyframes isnCalendarPop {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ===== Submit Animation, Overlay, and Pricing Fade-In (Dev Only) ===== */
.isn-submit-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  z-index: 99999 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  flex-direction: column !important;
  opacity: 0;
  transition: opacity 0.3s ease !important;
}

.isn-submit-overlay.active {
  display: flex !important;
  opacity: 1 !important;
}

.isn-submit-status {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 16px !important;
  color: var(--ndi-navy, #0A2540) !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 500 !important;
  font-size: 16px !important;
}

.isn-submit-spinner {
  width: 40px !important;
  height: 40px !important;
  border: 3px solid rgba(243, 112, 33, 0.1) !important;
  border-top: 3px solid var(--ndi-orange, #F37021) !important;
  border-radius: 50% !important;
  animation: isnSpinner 1s linear infinite !important;
}

@keyframes isnSpinner {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.isn-submit-anim-element {
  position: absolute !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  background: var(--ndi-orange, #F37021) !important;
  color: #ffffff !important;
  z-index: 2000 !important;
  box-shadow: 0 4px 10px rgba(243, 112, 33, 0.2) !important;
  transition: none !important;
  pointer-events: none !important;
  box-sizing: border-box !important;
}

.isn-submit-anim-element svg {
  width: 55% !important;
  height: 55% !important;
}

.isn-submit-anim-element.isn-zoom-to-center {
  display: flex !important;
  top: 35% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) scale(4) !important;
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  box-shadow: 0 12px 30px rgba(243, 112, 33, 0.35) !important;
}

.isn-submit-anim-element.isn-zoom-to-center-fadeout {
  opacity: 0 !important;
  transform: translate(-50%, -50%) scale(4.5) !important;
  transition: all 0.4s ease !important;
}

.isn-success-house-icon-wrapper {
  width: 80px !important;
  height: 80px !important;
  border-radius: 50% !important;
  background: var(--ndi-orange, #F37021) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 20px !important;
  box-shadow: 0 4px 14px rgba(243, 112, 33, 0.3) !important;
  animation: successIconBounce 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards !important;
}

@keyframes successIconBounce {
  from {
    transform: scale(0.6);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.ndi-feedback-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100002;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 3vw, 36px);
  background: rgba(75, 85, 99, 0.76);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.ndi-feedback-modal-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

body.ndi-feedback-modal-open {
  overflow: hidden;
}

.ndi-feedback-mobile-tab {
  display: none;
}

.ndi-completion-feedback {
  position: relative;
  max-width: 580px;
  width: min(100%, 580px);
  max-height: min(90vh, 700px);
  overflow-y: auto;
  padding: 32px;
  border: 1.5px solid var(--ndi-border);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.34);
  text-align: left;
  transform: translateY(10px) scale(0.96);
  transition: transform 0.22s ease;
}

.ndi-feedback-modal-overlay.is-visible .ndi-completion-feedback {
  transform: translateY(0) scale(1);
}

.ndi-completion-feedback.is-dismissed {
  display: none;
}

.ndi-completion-feedback.is-submitted {
  padding: 28px 24px;
}

.ndi-feedback-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid transparent;
  border-radius: 8px;
  color: var(--ndi-text-muted);
  background: transparent;
  cursor: pointer;
  font-size: 15px;
}

.ndi-feedback-close:hover,
.ndi-feedback-close:focus-visible {
  color: var(--ndi-navy);
  background: #F8FAFC;
  border-color: var(--ndi-border);
  outline: none;
}

.ndi-feedback-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-right: 34px;
  margin-bottom: 22px;
}

.ndi-feedback-header > i {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--ndi-orange);
  background: #FFF7ED;
  font-size: 20px;
}

.ndi-feedback-header h3 {
  margin: 0 0 5px;
  color: var(--ndi-navy);
  font-size: 22px;
  line-height: 1.25;
  font-weight: 800;
}

.ndi-feedback-header p {
  margin: 0;
  color: var(--ndi-text-muted);
  font-size: 14px;
  line-height: 1.5;
}

.ndi-feedback-rating {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.ndi-feedback-rating-btn {
  min-height: 72px;
  padding: 10px 6px;
  border: 1.5px solid var(--ndi-border);
  border-radius: 8px;
  background: #F8FAFC;
  color: var(--ndi-navy);
  cursor: pointer;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.ndi-feedback-rating-btn:hover,
.ndi-feedback-rating-btn:focus-visible {
  border-color: var(--ndi-orange);
  outline: none;
}

.ndi-feedback-rating-btn.is-selected {
  border-color: var(--ndi-orange);
  background: #FFF7ED;
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.12);
}

.ndi-feedback-rating-btn span {
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.ndi-feedback-rating-btn small {
  color: var(--ndi-text-muted);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
}

.ndi-feedback-comment {
  width: 100%;
  min-height: 86px;
  max-height: 150px;
  resize: vertical;
  padding: 12px 14px;
  border: 1.5px solid var(--ndi-border);
  border-radius: 8px;
  color: var(--ndi-navy);
  background: #ffffff;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.45;
  box-sizing: border-box;
}

.ndi-feedback-comment:focus {
  border-color: var(--ndi-orange);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.12);
  outline: none;
}

.ndi-feedback-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.ndi-feedback-submit,
.ndi-feedback-skip {
  min-height: 46px;
  border-radius: 8px;
  border: 1.5px solid transparent;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}

.ndi-feedback-submit {
  flex: 1;
  color: #ffffff;
  background: var(--ndi-orange);
  border-color: var(--ndi-orange);
}

.ndi-feedback-submit:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.ndi-feedback-skip {
  color: var(--ndi-text-muted);
  background: transparent;
}

.ndi-feedback-skip:hover,
.ndi-feedback-skip:focus-visible {
  color: var(--ndi-navy);
  outline: none;
}

.ndi-feedback-thanks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--ndi-success);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.ndi-exit-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.ndi-exit-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.ndi-exit-card {
  width: min(100%, 430px);
  padding: 26px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
  text-align: center;
  transform: translateY(8px);
  transition: transform 0.2s ease;
}

.ndi-exit-overlay.is-visible .ndi-exit-card {
  transform: translateY(0);
}

.ndi-exit-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--ndi-orange);
  background: #FFF7ED;
  font-size: 22px;
}

.ndi-exit-card h3 {
  margin: 0 0 8px;
  color: var(--ndi-navy);
  font-size: 20px;
  line-height: 1.25;
  font-weight: 800;
}

.ndi-exit-card p {
  margin: 0 0 22px;
  color: var(--ndi-text-body);
  font-size: 14px;
  line-height: 1.55;
}

.ndi-exit-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ndi-exit-primary,
.ndi-exit-secondary {
  min-height: 44px;
  border-radius: 8px;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.ndi-exit-primary {
  color: #ffffff;
  border: 1.5px solid var(--ndi-orange);
  background: var(--ndi-orange);
}

.ndi-exit-secondary {
  color: var(--ndi-text-muted);
  border: 1.5px solid transparent;
  background: transparent;
}

.ndi-exit-primary:focus-visible,
.ndi-exit-secondary:focus-visible {
  outline: 3px solid rgba(234, 88, 12, 0.24);
  outline-offset: 2px;
}

@keyframes ndiSurveyPulse {
  0%, 100% {
    box-shadow: 0 -10px 28px rgba(15, 23, 42, 0.13), 0 0 0 0 rgba(234, 88, 12, 0.24);
  }

  50% {
    box-shadow: 0 -12px 32px rgba(15, 23, 42, 0.18), 0 0 0 7px rgba(234, 88, 12, 0.08);
  }
}

@media (max-width: 520px) {
  .ndi-feedback-modal-overlay {
    align-items: flex-end;
    padding: 16px;
    background: rgba(75, 85, 99, 0.76);
  }

  .ndi-feedback-modal-overlay.is-mobile-collapsed {
    inset: auto 0 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 12px 14px;
    background: transparent;
    pointer-events: none;
  }

  .ndi-feedback-modal-overlay.is-mobile-collapsed.is-visible {
    opacity: 1;
  }

  .ndi-feedback-modal-overlay.is-mobile-collapsed .ndi-completion-feedback {
    display: none;
  }

  .ndi-feedback-mobile-tab {
    width: min(100%, 420px);
    min-height: 48px;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 16px;
    border: 1.5px solid #d1d5db;
    border-top: 3px solid var(--ndi-orange);
    border-radius: 8px 8px 0 0;
    color: var(--ndi-navy);
    background: #ffffff;
    box-shadow: 0 -10px 28px rgba(15, 23, 42, 0.13);
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    cursor: pointer;
    pointer-events: auto;
    animation: ndiSurveyPulse 2.4s ease-in-out infinite;
  }

  .ndi-feedback-modal-overlay.is-mobile-collapsed .ndi-feedback-mobile-tab {
    display: inline-flex;
  }

  .ndi-feedback-mobile-tab i {
    color: var(--ndi-orange);
    font-size: 15px;
    flex-shrink: 0;
  }

  .ndi-completion-feedback {
    width: 100%;
    max-height: calc(100vh - 32px);
    padding: 22px 16px 16px;
    transform: translateY(12px);
  }

  .ndi-feedback-header {
    gap: 10px;
    margin-bottom: 16px;
  }

  .ndi-feedback-header > i {
    width: 38px;
    height: 38px;
    font-size: 17px;
  }

  .ndi-feedback-header h3 {
    font-size: 18px;
  }

  .ndi-feedback-header p {
    font-size: 12px;
  }

  .ndi-feedback-rating {
    gap: 6px;
  }

  .ndi-feedback-rating-btn {
    min-height: 56px;
  }

  .ndi-feedback-rating-btn span {
    font-size: 18px;
  }

  .ndi-feedback-rating-btn small {
    font-size: 9px;
  }

  .ndi-feedback-comment {
    min-height: 68px;
    font-size: 13px;
  }

  .ndi-feedback-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .ndi-exit-card {
    padding: 24px 20px;
  }
}

@keyframes priceBannerFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.isn-mobile-price-banner {
  animation: priceBannerFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

/* ===== Dynamic Summary Popover Overlay, Modal Card & Triggers ===== */

/* Ensure the receipt overlay stacks above fixed/sticky headers when active */
body.ndi-summary-open #ndi-scheduler-wrapper-container,
body.ndi-summary-open #isn-scheduler {
  z-index: 999999 !important;
}

html body.ndi-summary-open #ndi-simple-header,
html body.ndi-summary-open:not(.ndi-step-1-active-body) #ndi-simple-header,
body.ndi-summary-open .site-header,
body.ndi-summary-open header,
body.ndi-summary-open #masthead,
body.ndi-summary-open .elementor-location-header {
  z-index: 1000 !important;
}

/* Overlay backdrop */
.ndi-summary-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: rgba(15, 23, 42, 0.4) !important; /* solid premium dark overlay, no laggy blur filter */
  z-index: 2000 !important;
  display: none;
  animation: ndiFadeIn 0.25s ease forwards !important;
}

@keyframes ndiFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Container to align popover with scheduler boundaries */
.ndi-summary-popover-container {
  width: 100% !important;
  max-width: 900px !important;
  height: 100% !important;
  position: relative !important;
  margin: 0 auto !important;
  pointer-events: none !important;
}

/* Modal Popover Card (Unrolling Receipt style) */
.ndi-summary-popover {
  pointer-events: auto !important;
  position: absolute !important;
  top: 24px !important; /* sits over stepper nav */
  right: 24px !important;
  width: 380px !important;
  max-height: calc(100vh - 48px) !important;
  background: #ffffff !important;
  border-radius: 12px !important;
  box-shadow: 0 20px 40px rgba(27, 42, 74, 0.15) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  border: 1px solid rgba(27, 42, 74, 0.08) !important;
  box-sizing: border-box !important;
  transform-origin: top right !important;
  animation: ndiReceiptDown 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

@keyframes ndiReceiptDown {
  from {
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    transform: translateY(-10px) scale(0.98);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translateY(0) scale(1);
  }
}

.ndi-summary-popover-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 16px 20px !important;
  border-bottom: 1px solid #E2E6EC !important;
  background: #F8F9FB !important;
}

.ndi-summary-popover-header h3 {
  margin: 0 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--ndi-navy, #1B2A4A) !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.ndi-summary-popover-header h3 i {
  color: var(--ndi-orange, #FF6B00) !important;
}

.ndi-summary-popover-close {
  background: none !important;
  border: none !important;
  font-size: 24px !important;
  font-weight: 500 !important;
  color: var(--ndi-text-muted, #8896A6) !important;
  cursor: pointer !important;
  line-height: 1 !important;
  padding: 0 !important;
  transition: color 0.2s ease !important;
}

.ndi-summary-popover-close:hover {
  color: var(--ndi-error, #EF4444) !important;
}

.ndi-summary-popover-body {
  padding: 20px !important;
  overflow-y: auto !important;
  flex-grow: 1 !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
  box-sizing: border-box !important;
  text-align: left !important;
}

.ndi-summary-popover-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 16px 20px !important;
  border-top: 1px solid #E2E6EC !important;
  background: #F8F9FB !important;
}

.ndi-summary-popover-total-label {
  font-weight: 700 !important;
  color: var(--ndi-navy, #1B2A4A) !important;
  font-size: 14px !important;
}

.ndi-summary-popover-total-val {
  font-size: 20px !important;
  font-weight: 800 !important;
  color: var(--ndi-orange, #FF6B00) !important;
}

/* Mobile Trigger Tab (Horizontal, attached on top of actions bar, right aligned) */
.ndi-mobile-summary-trigger {
  display: none !important;
  position: fixed !important;
  bottom: calc(64px + env(safe-area-inset-bottom, 0px)) !important; /* Will be dynamically adjusted by JS, but this is a safe fallback */
  right: 16px !important;
  z-index: 2005 !important;
  width: auto !important;
  height: 32px !important;
  background: #ffffff !important;
  color: var(--ndi-navy, #1B2A4A) !important;
  border: 1px solid rgba(27, 42, 74, 0.12) !important;
  border-bottom: none !important;
  border-radius: 6px 6px 0 0 !important;
  box-shadow: 0 -4px 10px rgba(27, 42, 74, 0.08) !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
  padding: 6px 14px !important;
  font-family: 'Poppins', sans-serif !important;
  gap: 8px !important;
}

.ndi-mobile-summary-trigger:hover {
  background: #F8F9FB !important;
  box-shadow: 0 -6px 12px rgba(27, 42, 74, 0.12) !important;
}

/* Icon stack container (chevron above bars) */
.ndi-trigger-icon-container {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 1px !important;
  line-height: 1 !important;
}

.ndi-trigger-icon-container i.fa-chevron-up,
.ndi-trigger-icon-container i.fa-chevron-down {
  font-size: 8px !important;
  color: var(--ndi-orange, #FF6B00) !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
}

.ndi-trigger-icon-container i.fa-bars {
  font-size: 13px !important;
  color: var(--ndi-navy, #1B2A4A) !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
}

/* Label styling */
.ndi-trigger-label {
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  letter-spacing: 0.05em !important;
  color: var(--ndi-navy, #1B2A4A) !important;
  text-transform: uppercase !important;
}

/* Desktop Trigger Slip (Horizontal, attached under stepper line, right aligned) */
.ndi-desktop-summary-trigger {
  display: none !important;
  position: absolute !important;
  bottom: -32px !important; /* hangs down under stepper nav bottom border */
  right: 24px !important;
  z-index: 1011 !important;
  height: 32px !important;
  padding: 5px 14px !important;
  background: #ffffff !important;
  color: var(--ndi-navy, #1B2A4A) !important;
  border: 1px solid rgba(27, 42, 74, 0.12) !important;
  border-top: none !important;
  border-radius: 0 0 6px 6px !important;
  box-shadow: 0 4px 10px rgba(27, 42, 74, 0.08) !important;
  cursor: pointer !important;
  align-items: center !important;
  gap: 8px !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
  font-family: 'Poppins', sans-serif !important;
}

.ndi-desktop-summary-trigger:hover {
  background: #F8F9FB !important;
  transform: translateY(2px) !important;
  box-shadow: 0 6px 12px rgba(27, 42, 74, 0.12) !important;
}

/* Responsive display and popover adjustments */
@media (max-width: 768px) {
  .ndi-mobile-summary-trigger.ndi-trigger-visible {
    display: flex !important;
  }
  .ndi-desktop-summary-trigger {
    display: none !important;
  }

  .ndi-summary-popover-container {
    max-width: 100% !important;
  }

  .ndi-summary-popover {
    position: absolute !important;
    top: auto !important;
    /* bottom will be set dynamically in JS */
    right: 16px !important;
    width: calc(100% - 32px) !important;
    max-width: 360px !important;
    max-height: calc(100vh - 150px) !important;
    border-radius: 12px !important;
    box-shadow: 0 -10px 30px rgba(27, 42, 74, 0.12) !important;
    transform-origin: bottom right !important;
    animation: ndiReceiptUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
  }

  @keyframes ndiReceiptUp {
    from {
      opacity: 0;
      clip-path: inset(100% 0 0 0);
      transform: translateY(10px) scale(0.98);
    }
    to {
      opacity: 1;
      clip-path: inset(0 0 0 0);
      transform: translateY(0) scale(1);
    }
  }
}

@media (min-width: 769px) {
  .ndi-mobile-summary-trigger {
    display: none !important;
  }
  .ndi-desktop-summary-trigger.ndi-trigger-visible {
    display: flex !important;
  }
}

/* Dynamic Summary Elements styling (Adapted for popover) */
.isn-sidebar-sections {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}

.isn-sidebar-sec {
  border-bottom: 1px dashed var(--ndi-border) !important;
  padding-bottom: 12px !important;
}

.isn-sidebar-sec:last-child {
  border-bottom: none !important;
}

.isn-sidebar-sec-title {
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  color: var(--ndi-text-muted) !important;
  margin-bottom: 6px !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  box-sizing: border-box !important;
}

.isn-sidebar-sec-content {
  font-size: 13.5px !important;
  color: var(--ndi-navy) !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
}

.isn-sidebar-subtext {
  font-size: 12px !important;
  color: var(--ndi-text-muted) !important;
  font-weight: 400 !important;
}

.isn-sidebar-price-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  margin-top: 6px !important;
}

.isn-sidebar-price-item {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  font-size: 12.5px !important;
}

.isn-sidebar-price-name {
  color: var(--ndi-text-body) !important;
  font-weight: 400 !important;
}

.isn-sidebar-price-val {
  color: var(--ndi-navy) !important;
  font-weight: 600 !important;
}

.isn-sidebar-discount .isn-sidebar-price-name,
.isn-sidebar-discount .isn-sidebar-price-val {
  color: var(--ndi-success) !important;
  font-weight: 600 !important;
}

/* Pricing list Show More / Less Toggle Button */
.isn-sidebar-price-toggle-btn {
  background: rgba(27, 42, 74, 0.05) !important;
  border: 1px solid rgba(27, 42, 74, 0.08) !important;
  color: var(--ndi-navy, #1B2A4A) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  font-family: 'Poppins', sans-serif !important;
  cursor: pointer !important;
  margin-top: 12px !important;
  padding: 8px 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  transition: all 0.2s ease !important;
  width: 100% !important;
  border-radius: 6px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  box-sizing: border-box !important;
}

.isn-sidebar-price-toggle-btn:hover {
  background: rgba(27, 42, 74, 0.1) !important;
  color: var(--ndi-orange, #FF6B00) !important;
}

/* Success/Completed Order Screen Styles (Mobile & Staging adjustments) */
html body.ndi-order-completed:not(.ndi-step-1-active-body),
body.ndi-order-completed:not(.ndi-step-1-active-body) {
  padding-top: 60px !important; /* shrink padding-top since header only has the logo */
}

html body.ndi-order-completed #ndi-mobile-header-text,
html body.ndi-order-completed #ndi-simple-logo-divider,
html body.ndi-order-completed #isn-stepper-nav,
html body.ndi-order-completed:not(.ndi-step-1-active-body) #ndi-mobile-header-text,
html body.ndi-order-completed:not(.ndi-step-1-active-body) #ndi-simple-logo-divider,
html body.ndi-order-completed:not(.ndi-step-1-active-body) #isn-stepper-nav,
body.ndi-order-completed #ndi-mobile-header-text,
body.ndi-order-completed #ndi-simple-logo-divider,
body.ndi-order-completed #isn-stepper-nav {
  display: none !important;
}

body.ndi-order-completed #ndi-mobile-summary-trigger,
body.ndi-order-completed #ndi-desktop-summary-trigger,
body.ndi-order-completed .ndi-mobile-summary-trigger,
body.ndi-order-completed .ndi-desktop-summary-trigger {
  display: none !important;
}

body.ndi-summary-open #ndi-mobile-summary-trigger,
body.ndi-summary-open #ndi-desktop-summary-trigger,
body.ndi-summary-open .ndi-mobile-summary-trigger,
body.ndi-summary-open .ndi-desktop-summary-trigger {
  display: none !important;
}

/* ===== Pets present custom styles ===== */
.isn-pet-card {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 12px 16px !important;
  background: #ffffff !important;
  border: 1.5px solid var(--ndi-border) !important;
  border-radius: 10px !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 1px 3px rgba(27, 42, 74, 0.02) !important;
}

.isn-pet-card-left {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.isn-pet-card-left i {
  font-size: 18px !important;
  color: var(--ndi-navy-light) !important;
  transition: color 0.3s ease !important;
}

.isn-pet-card-left span {
  font-size: 13px !important;
  font-weight: 500 !important;
  color: var(--ndi-navy) !important;
}

/* Hover effects */
.isn-pet-card:hover {
  border-color: var(--ndi-border-hover) !important;
  box-shadow: 0 4px 12px rgba(27, 42, 74, 0.04) !important;
}

/* Switch styling */
.isn-switch {
  position: relative !important;
  display: inline-block !important;
  width: 44px !important;
  height: 24px !important;
  flex-shrink: 0 !important;
}

.isn-switch input {
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

.isn-slider {
  position: absolute !important;
  cursor: pointer !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background-color: #D1D5DB !important;
  transition: .3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  border-radius: 24px !important;
}

.isn-slider:before {
  position: absolute !important;
  content: "" !important;
  height: 18px !important;
  width: 18px !important;
  left: 3px !important;
  bottom: 3px !important;
  background-color: white !important;
  transition: .3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  border-radius: 50% !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15) !important;
}

.isn-switch input:checked + .isn-slider {
  background-color: var(--ndi-orange) !important;
}

.isn-switch input:checked + .isn-slider:before {
  transform: translateX(20px) !important;
}

/* Active card state */
.isn-pet-card.active {
  border-color: var(--ndi-orange) !important;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.08) !important;
}

.isn-pet-card.active .isn-pet-card-left i {
  color: var(--ndi-orange) !important;
}

.isn-pet-row-2 {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 16px !important;
  max-width: 100% !important;
}

/* Pet icon card selectors */
.ndi-pet-icons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ndi-pet-icon-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 12px;
  min-width: 60px;
  border: 1.5px solid #e0e4ea;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Poppins', sans-serif;
}

.ndi-pet-icon-btn i {
  font-size: 18px;
  color: #8899aa;
  transition: color 0.2s ease;
}

.ndi-pet-icon-btn span {
  font-size: 10px;
  font-weight: 600;
  color: #8899aa;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: color 0.2s ease;
}

.ndi-pet-icon-btn:hover {
  border-color: #c0c8d4;
  background: #f8f9fb;
}

.ndi-pet-icon-btn.ndi-pet-icon-active {
  border-color: var(--ndi-orange);
  background: #fff5ee;
  box-shadow: 0 2px 8px rgba(255,107,0,0.1);
}

.ndi-pet-icon-btn.ndi-pet-icon-active i {
  color: var(--ndi-orange);
}

.ndi-pet-icon-btn.ndi-pet-icon-active span {
  color: var(--ndi-orange);
}

/* Custom premium dropdown select arrow */
.isn-select-custom {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23FF6B00' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  background-size: 14px !important;
  padding-right: 36px !important;
  cursor: pointer !important;
}

@media (max-width: 500px) {
  .isn-pet-row-2 {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}

/* Compact spacing for Step 6 to optimize vertical space */
#isn-step-6 .isn-form-group {
  margin-bottom: 14px !important;
}

/* Custom not you? link styling */
.isn-not-you-link {
  color: var(--ndi-text-muted) !important;
  text-decoration: none !important;
  border-bottom: 1.5px dashed var(--ndi-text-muted) !important;
  font-weight: 500 !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
  display: inline-block !important;
}
.isn-not-you-link:hover {
  color: var(--ndi-orange) !important;
  border-color: var(--ndi-orange) !important;
}

/* ── Availability Indicators ── */

/* Green dot for available days */
.ndi-avail-dot {
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin: 2px auto 0;
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
}

.ndi-dot-available {
    background-color: #22c55e;
}

/* Amber dot for limited days */
.ndi-dot-limited {
    background-color: #f59e0b;
}

/* Full days - muted appearance */
.isn-calendar-day-btn.ndi-full {
    opacity: 0.35;
    text-decoration: line-through;
    cursor: not-allowed !important;
    pointer-events: none;
}

/* Ensure day cells have relative positioning for dots */
.isn-calendar-day-btn {
    position: relative;
}

/* Duration info banner */
.ndi-duration-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #eff6ff, #f0fdf4);
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    font-size: 13px;
    color: #1e40af;
    margin-bottom: 12px;
}

.ndi-duration-banner i {
    color: #3b82f6;
}

/* Calendar loading shimmer */
.ndi-loading {
    position: relative;
    pointer-events: none;
}

.ndi-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 25%, rgba(255,255,255,0.6) 50%, transparent 75%);
    background-size: 200% 100%;
    animation: ndiShimmer 1.5s infinite;
    border-radius: 8px;
    z-index: 10;
}

@keyframes ndiShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* =====================================================
   NDI Availability Calendar — Premium Inline Calendar
   ===================================================== */

/* ── Duration / Info Banner ── */
.ndi-avail-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: linear-gradient(135deg, #eff6ff 0%, var(--ndi-orange-soft) 100%);
  border: 1px solid #bfdbfe;
  border-radius: var(--ndi-radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--ndi-navy);
  margin-bottom: 16px;
  animation: ndiFadeIn 0.4s ease;
}

.ndi-avail-banner i {
  color: var(--ndi-orange);
  font-size: 16px;
  flex-shrink: 0;
}

.ndi-avail-banner strong {
  color: var(--ndi-orange);
}

/* ── Calendar Card ── */
.ndi-avail-calendar {
  background: transparent;
  padding: 0;
  margin-bottom: 16px;
  overflow: hidden;
  position: relative;
}

/* ── Shimmer Skeleton ── */
.ndi-cal-skeleton {
  animation: ndiFadeIn 0.3s ease;
}

.ndi-cal-skeleton-header {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.ndi-skel-pill {
  width: 160px;
  height: 28px;
  border-radius: 14px;
  background: linear-gradient(90deg, #e5e7eb 25%, #f3f4f6 50%, #e5e7eb 75%);
  background-size: 200% 100%;
  animation: ndiShimmer 1.5s infinite ease-in-out;
}

.ndi-cal-skeleton-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-bottom: 10px;
}

.ndi-skel-wd {
  height: 16px;
  border-radius: 4px;
  background: linear-gradient(90deg, #e5e7eb 25%, #f3f4f6 50%, #e5e7eb 75%);
  background-size: 200% 100%;
  animation: ndiShimmer 1.5s infinite ease-in-out;
}

.ndi-cal-skeleton-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.ndi-skel-day {
  aspect-ratio: 1;
  border-radius: var(--ndi-radius-sm);
  background: linear-gradient(90deg, #e5e7eb 25%, #f3f4f6 50%, #e5e7eb 75%);
  background-size: 200% 100%;
  animation: ndiShimmer 1.5s infinite ease-in-out;
}

/* Stagger the shimmer for a wave effect */
.ndi-skel-day:nth-child(7n+2),
.ndi-skel-wd:nth-child(2) { animation-delay: 0.1s; }
.ndi-skel-day:nth-child(7n+3),
.ndi-skel-wd:nth-child(3) { animation-delay: 0.2s; }
.ndi-skel-day:nth-child(7n+4),
.ndi-skel-wd:nth-child(4) { animation-delay: 0.3s; }
.ndi-skel-day:nth-child(7n+5),
.ndi-skel-wd:nth-child(5) { animation-delay: 0.35s; }
.ndi-skel-day:nth-child(7n+6),
.ndi-skel-wd:nth-child(6) { animation-delay: 0.4s; }
.ndi-skel-day:nth-child(7n),
.ndi-skel-wd:nth-child(7) { animation-delay: 0.45s; }

/* ── Weekly Skeleton ── */
.ndi-cal-skeleton-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.ndi-skel-day-week {
  height: 88px;
  border-radius: var(--ndi-radius);
  background: linear-gradient(90deg, #e5e7eb 25%, #f3f4f6 50%, #e5e7eb 75%);
  background-size: 200% 100%;
  animation: ndiShimmer 1.5s infinite ease-in-out;
}

.ndi-skel-day-week:nth-child(2) { animation-delay: 0.08s; }
.ndi-skel-day-week:nth-child(3) { animation-delay: 0.16s; }
.ndi-skel-day-week:nth-child(4) { animation-delay: 0.24s; }
.ndi-skel-day-week:nth-child(5) { animation-delay: 0.32s; }
.ndi-skel-day-week:nth-child(6) { animation-delay: 0.40s; }
.ndi-skel-day-week:nth-child(7) { animation-delay: 0.48s; }

/* ── Calendar Wrap (real calendar) ── */
.ndi-cal-wrap {
  animation: ndiFadeIn 0.4s ease;
}

/* ── Month Header ── */
.ndi-cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.ndi-cal-month-label,
.ndi-cal-week-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--ndi-navy);
  letter-spacing: -0.01em;
  user-select: none;
  text-align: center;
  min-width: 0;
  white-space: nowrap;
}

.ndi-cal-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--ndi-border);
  border-radius: 10px;
  background: var(--ndi-bg);
  color: var(--ndi-navy);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
}

.ndi-cal-nav-btn:hover {
  background: var(--ndi-surface);
  border-color: var(--ndi-border-hover);
  box-shadow: 0 2px 8px rgba(27, 42, 74, 0.06);
}

.ndi-cal-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

/* ── Weekday Labels ── */
.ndi-cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 6px;
}

.ndi-cal-weekdays > div {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--ndi-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 0;
  user-select: none;
}

/* ── Day Grid (monthly, retained for compat) ── */
.ndi-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

/* ── Weekly Calendar Grid ── */
.ndi-cal-grid-week {
  gap: 8px;
}

/* ── Day Cell ── */
.ndi-cal-day {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border: none;
  border-radius: var(--ndi-radius-sm);
  background: transparent;
  color: var(--ndi-text);
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: default;
  transition: all 0.2s ease;
  padding: 0;
  min-height: 44px;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

/* Weekly day cell overrides — taller card style with border */
.ndi-cal-grid-week .ndi-cal-day {
  aspect-ratio: auto;
  min-height: 88px;
  padding: 12px 4px;
  border: 1.5px solid var(--ndi-border);
  border-radius: var(--ndi-radius);
  background: var(--ndi-bg);
  gap: 4px;
  cursor: default;
}

.ndi-cal-grid-week .ndi-cal-day:not(.ndi-day-past):not(.ndi-day-full) {
  cursor: pointer;
}

.ndi-cal-grid-week .ndi-cal-day:hover:not(.ndi-day-past):not(.ndi-day-full) {
  border-color: var(--ndi-orange);
  box-shadow: 0 4px 16px rgba(255, 107, 0, 0.10);
  transform: translateY(-2px);
}

.ndi-cal-grid-week .ndi-cal-day:active:not(.ndi-day-past):not(.ndi-day-full) {
  transform: translateY(0);
}

/* Weekday label inside weekly day cells */
.ndi-day-weekday {
  font-size: 11px;
  font-weight: 600;
  color: var(--ndi-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1;
}

/* Day number in weekly cells — larger */
.ndi-cal-grid-week .ndi-day-num {
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.ndi-cal-day .ndi-day-num {
  position: relative;
  z-index: 1;
  line-height: 1;
}

/* Availability dot beneath day number */
.ndi-cal-day .ndi-day-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-top: 4px;
  flex-shrink: 0;
}

/* ── Empty spacer cells ── */
.ndi-cal-day-empty {
  aspect-ratio: 1;
  min-height: 44px;
}

/* ── Day States ── */

/* Available — green dot */
.ndi-day-available {
  cursor: pointer;
}

.ndi-day-available .ndi-day-dot {
  background: var(--ndi-success);
  box-shadow: 0 0 4px rgba(16, 185, 129, 0.3);
}

.ndi-day-available:hover {
  background: rgba(16, 185, 129, 0.08);
  transform: scale(1.05);
}

.ndi-day-available:active {
  transform: scale(0.97);
}

/* Limited — amber dot */
.ndi-day-limited {
  cursor: pointer;
}

.ndi-day-limited .ndi-day-dot {
  background: var(--ndi-warning);
  box-shadow: 0 0 4px rgba(245, 158, 11, 0.3);
}

.ndi-day-limited:hover {
  background: rgba(245, 158, 11, 0.08);
  transform: scale(1.05);
}

.ndi-day-limited:active {
  transform: scale(0.97);
}

/* Full — grayed out */
.ndi-day-full {
  color: var(--ndi-text-muted);
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.ndi-day-full .ndi-day-dot {
  background: #d1d5db;
}

/* Past days */
.ndi-day-past {
  color: #d1d5db;
  cursor: not-allowed;
  pointer-events: none;
}

/* Today ring */
.ndi-day-today {
  box-shadow: inset 0 0 0 2px var(--ndi-orange);
  border-radius: var(--ndi-radius-sm);
}

/* Selected day — orange glow */
.ndi-day-selected {
  background: #fff5ee !important;
  color: var(--ndi-navy) !important;
  border: 2px solid var(--ndi-orange) !important;
  box-shadow: 0 2px 10px rgba(255, 107, 0, 0.15) !important;
  transform: scale(1.05);
  border-radius: var(--ndi-radius-sm);
}

.ndi-cal-grid-week .ndi-day-selected {
  border-color: var(--ndi-orange) !important;
  border-radius: var(--ndi-radius) !important;
  transform: translateY(-2px) !important;
}

.ndi-day-selected .ndi-day-dot {
  background: var(--ndi-orange) !important;
  box-shadow: none !important;
}

.ndi-day-selected .ndi-day-weekday {
  color: var(--ndi-orange) !important;
}

.ndi-day-selected:hover {
  transform: scale(1.08);
  background: #ffeed9 !important;
}

/* No-data days (future, but no availability data) */
.ndi-day-nodata {
  color: var(--ndi-navy);
  opacity: 0.85;
  cursor: pointer;
}

.ndi-day-nodata:hover {
  background: var(--ndi-orange-soft);
  opacity: 1;
}

/* ── Legend ── */
.ndi-cal-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--ndi-border);
}

/* Environmental add-on notice */
.ndi-env-addon-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 16px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  font-size: 12.5px;
  color: #1e40af;
  line-height: 1.5;
}

.ndi-env-addon-notice i {
  color: #3b82f6;
  font-size: 14px;
  margin-top: 2px;
  flex-shrink: 0;
}

.ndi-cal-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ndi-text-muted);
  user-select: none;
}

.ndi-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ndi-legend-dot-available {
  background: var(--ndi-success);
}

.ndi-legend-dot-limited {
  background: var(--ndi-warning);
}

.ndi-legend-dot-full {
  background: #d1d5db;
}

/* ── In-Card Selection Panel ── */
.ndi-cal-selection {
  overflow: hidden;
  animation: ndiSlideDown 0.35s ease-out;
}

.ndi-cal-selection-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--ndi-border), transparent);
  margin: 16px 0;
}

.ndi-cal-selected-info {
  text-align: center;
  padding: 4px 0 12px;
}

.ndi-cal-selected-day {
  font-size: 22px;
  font-weight: 700;
  color: var(--ndi-navy);
  line-height: 1.2;
}

.ndi-cal-selected-date {
  font-size: 14px;
  font-weight: 500;
  color: var(--ndi-text-muted);
  margin-top: 2px;
}

.ndi-cal-selected-duration {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ndi-orange);
  margin-top: 8px;
  padding: 4px 14px;
  background: var(--ndi-orange-soft);
  border-radius: 20px;
}

.ndi-cal-selected-duration i {
  font-size: 12px;
}

.ndi-cal-time-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ndi-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  text-align: center;
}

/* ── Time Slots (kept for backwards compat) ── */
.ndi-time-slots {
  overflow: hidden;
  animation: ndiSlideDown 0.35s ease;
  margin-bottom: 8px;
}

.ndi-time-slots-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ndi-navy);
  margin: 0 0 14px 0;
  padding: 0;
}

.ndi-time-slots-title i {
  color: var(--ndi-orange);
  font-size: 16px;
}

.ndi-time-grid {
  display: grid;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ── Inspector Groups ── */
.ndi-inspector-group {
  border: 1px solid var(--ndi-border);
  border-radius: var(--ndi-radius);
  overflow: hidden;
  animation: ndiFadeIn 0.3s ease;
}

.ndi-inspector-name {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--ndi-navy);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.ndi-inspector-name i {
  font-size: 12px;
  opacity: 0.7;
}

.ndi-inspector-slots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 10px;
}

/* ── Time Slot Button ── */
.ndi-time-slot-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 12px;
  border: 1.5px solid var(--ndi-border);
  border-radius: var(--ndi-radius-sm);
  background: var(--ndi-bg);
  color: var(--ndi-text);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.ndi-time-slot-btn small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  opacity: 0.7;
  margin-top: 1px;
}

.ndi-time-slot-btn i,
.ndi-time-slot-btn svg {
  color: var(--ndi-text-muted);
  font-size: 16px;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.ndi-time-slot-btn:hover {
  border-color: var(--ndi-orange);
  background: var(--ndi-orange-soft);
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.1);
  transform: translateY(-1px);
}

.ndi-time-slot-btn:hover i,
.ndi-time-slot-btn:hover svg {
  color: var(--ndi-orange);
}

.ndi-time-slot-btn:active {
  transform: translateY(0);
}

/* Selected time */
.ndi-time-slot-btn.ndi-time-selected {
  background: var(--ndi-orange);
  color: #fff;
  border-color: var(--ndi-orange);
  box-shadow: 0 4px 16px rgba(255, 107, 0, 0.3);
}

.ndi-time-slot-btn.ndi-time-selected i,
.ndi-time-slot-btn.ndi-time-selected svg {
  color: #fff;
}

.ndi-time-slot-btn.ndi-time-selected:hover {
  background: var(--ndi-orange-hover);
  border-color: var(--ndi-orange-hover);
}

/* ── Time Loading & Empty States ── */
.ndi-time-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px 0;
  color: var(--ndi-text-muted);
  font-size: 14px;
}

.ndi-time-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid var(--ndi-border);
  border-top-color: var(--ndi-orange);
  border-radius: 50%;
  animation: ndiSpin 0.8s linear infinite;
}

@keyframes ndiSpin {
  to { transform: rotate(360deg); }
}

.ndi-time-empty {
  text-align: center;
  padding: 24px 0;
  color: var(--ndi-text-muted);
}

.ndi-time-empty i {
  font-size: 32px;
  color: var(--ndi-border);
  margin-bottom: 12px;
}

.ndi-time-empty p {
  margin: 0 0 4px;
  font-size: 14px;
}

.ndi-time-empty-hint {
  font-size: 12px !important;
  opacity: 0.7;
}

/* ── Booking Header (compact date bar) ── */
.ndi-booking-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.ndi-booking-back {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid #e0e0e0;
  background: #fff;
  color: #666;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.ndi-booking-back:hover {
  border-color: #FF6B00;
  color: #FF6B00;
  background: #fff5ee;
}

.ndi-booking-date {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ndi-booking-date-text {
  font-size: 17px;
  font-weight: 700;
  color: #1a2332;
}

.ndi-booking-duration {
  font-size: 12px;
  font-weight: 600;
  color: #FF6B00;
  background: #fff5ee;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}

/* ── Inspector Card (unified wrapper) ── */
.ndi-inspector-card {
  border: 1.5px solid #ffe8d6;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff9f5 0%, #fff 100%);
}

/* ── Inspector Showcase ── */
.ndi-inspector-showcase {
  display: flex;
  align-items: stretch;
  min-height: 140px;
}

.ndi-inspector-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 28px 24px;
  justify-content: center;
  flex: 1;
  order: 1;
}

.ndi-inspector-photo-wrap {
  flex-shrink: 0;
  width: 160px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  order: 2;
}

.ndi-inspector-showcase-photo {
  width: 160px;
  height: auto;
  max-height: 180px;
  object-fit: contain;
  object-position: bottom;
  display: block;
}

.ndi-inspector-showcase-initials {
  width: 100px;
  height: 100px;
  border-radius: 16px;
  background: linear-gradient(135deg, #FF6B00, #ff8533);
  color: #fff;
  font-size: 36px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 2px;
  margin: 20px 10px;
}

.ndi-inspector-label {
  font-size: 12px;
  font-weight: 600;
  color: #FF6B00;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.ndi-inspector-display-name {
  font-size: 28px;
  font-weight: 800;
  color: #1a2332;
  line-height: 1.15;
}

/* ── Inspector Switch (inside the card) ── */
.ndi-inspector-switch {
  border-top: 1px solid #ffe8d6;
}

.ndi-inspector-switch-link {
  font-size: 13px;
  font-weight: 500;
  color: #666;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  background: #fafafa;
  border-bottom: 1px solid transparent;
}

.ndi-inspector-switch-link:hover {
  color: #FF6B00;
  background: #fff5ee;
}

.ndi-inspector-switch-link i {
  font-size: 12px;
}

.ndi-inspector-picker {
  padding: 12px;
  background: #fff;
}

.ndi-inspector-picker-hint {
  font-size: 11px;
  color: #aaa;
  margin-top: 8px;
  text-align: center;
  font-style: italic;
}

.ndi-inspector-picker-hint i {
  color: #ccc;
  margin-right: 3px;
}

/* Inspector block cards */
.ndi-inspector-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}

.ndi-inspector-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  border: 1.5px solid #e8e8e8;
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  overflow: hidden;
}

.ndi-inspector-block:hover {
  border-color: #FF6B00;
  background: #fff9f5;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.1);
}

.ndi-inspector-block.ndi-block-active {
  border-color: #FF6B00;
  background: #fff5ee;
  box-shadow: 0 2px 8px rgba(255, 107, 0, 0.15);
}

.ndi-inspector-block-photo-wrap {
  position: relative;
  width: 100%;
  height: 120px;
  background: linear-gradient(180deg, #f5f5f5 0%, #fafafa 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid #e8e8e8;
}

.ndi-inspector-block-photo {
  width: 100%;
  height: 120px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.ndi-inspector-block-initials {
  width: 100%;
  height: 120px;
  border-radius: 0;
  background: linear-gradient(135deg, #FF6B00, #ff8533);
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 1px;
}

.ndi-inspector-block-name {
  font-size: 13px;
  font-weight: 600;
  color: #1a2332;
  line-height: 1.3;
  text-align: center;
  padding: 6px 6px 10px;
  width: 100%;
}

.ndi-inspector-block-name .ndi-block-first {
  display: block;
}

.ndi-inspector-block-name .ndi-block-last {
  display: block;
}

.ndi-inspector-block.ndi-block-active .ndi-inspector-block-name {
  color: #FF6B00;
}


/* ── Booking Times ── */
.ndi-booking-times {
  margin-top: 4px;
}

.ndi-booking-times-title {
  font-size: 14px;
  font-weight: 600;
  color: #555;
  margin-bottom: 12px;
}

/* ── Inspector Preference Selector ── */
.ndi-inspector-pref {
  margin-bottom: 16px;
}

.ndi-inspector-pref label {
  font-size: 13px;
  color: #666;
  margin-bottom: 6px;
  display: block;
}

.ndi-inspector-pref select,
.ndi-inspector-select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  color: #333;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
  background-position: right 12px center;
  background-repeat: no-repeat;
  transition: border-color 0.2s;
}

.ndi-inspector-pref select:focus,
.ndi-inspector-select:focus {
  border-color: #FF6B00;
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.12);
}

.ndi-inspector-pref-hint {
  font-size: 12px;
  color: #999;
  margin-top: 8px;
  font-style: italic;
}

/* ── Updated Time Slot Grid (Clean) ── */
.ndi-time-grid-clean {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
}

.ndi-time-grid-clean .ndi-time-slot-btn {
  background: #fff;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  padding: 12px 8px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.ndi-time-grid-clean .ndi-time-slot-btn i {
  color: #FF6B00;
  font-size: 14px;
}

.ndi-time-grid-clean .ndi-time-slot-btn:hover {
  border-color: #FF6B00;
  color: #FF6B00;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.12);
}

.ndi-time-grid-clean .ndi-time-slot-btn.ndi-time-selected {
  background: #FF6B00;
  border-color: #FF6B00;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255, 107, 0, 0.25);
}

.ndi-time-grid-clean .ndi-time-slot-btn.ndi-time-selected i {
  color: #fff;
}

.ndi-time-grid-clean .ndi-time-slot-btn.ndi-time-selected:hover {
  background: #e55e00;
}

/* ── Time Sections (Morning/Afternoon) ── */
.ndi-time-grid-clean {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ndi-time-section {
  margin-bottom: 4px;
}

.ndi-time-section-label {
  font-size: 12px;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ndi-time-section-label i {
  color: #FF6B00;
  font-size: 13px;
}

.ndi-time-section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 8px;
}

.ndi-time-section-grid .ndi-time-slot-btn {
  background: #fff;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  padding: 10px 6px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.ndi-time-section-grid .ndi-time-slot-btn:hover {
  border-color: #FF6B00;
  color: #FF6B00;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.12);
}

.ndi-time-section-grid .ndi-time-slot-btn.ndi-time-selected {
  background: #FF6B00;
  border-color: #FF6B00;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255, 107, 0, 0.25);
}

.ndi-time-section-grid .ndi-time-slot-btn.ndi-time-selected:hover {
  background: #e55e00;
}

/* ── Google Review Banner (desktop only) ── */
.ndi-review-banner {
  margin-top: 10px;
  max-width: 100%;
  overflow: hidden;
}

.ndi-review-banner-inner {
  position: relative;
  min-height: 72px;
}

.ndi-review-slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.ndi-review-slide.active {
  opacity: 1;
  position: relative;
  pointer-events: auto;
}

.ndi-review-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #fafbfc 0%, #fff 100%);
  border: 1px solid #e8eaee;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.ndi-review-avatar {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4285F4 0%, #34A853 100%);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
}

.ndi-review-body {
  flex: 1;
  min-width: 0;
}

.ndi-review-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.ndi-review-author {
  font-size: 12.5px;
  font-weight: 600;
  color: #1a1a2e;
  white-space: nowrap;
}

.ndi-review-stars {
  display: flex;
  gap: 1px;
  font-size: 11px;
  color: #FBBC04;
}

.ndi-review-time {
  font-size: 11px;
  color: #9ca3af;
  white-space: nowrap;
  margin-left: auto;
}

.ndi-review-text {
  font-size: 12.5px;
  line-height: 1.45;
  color: #4b5563;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin: 0;
}

.ndi-review-google {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  font-size: 10.5px;
  color: #9ca3af;
}

.ndi-review-google svg {
  width: 12px;
  height: 12px;
}

/* Progress dots */
.ndi-review-dots {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 8px;
}

.ndi-review-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d1d5db;
  transition: background 0.3s ease, transform 0.3s ease;
}

.ndi-review-dot.active {
  background: #FF6B00;
  transform: scale(1.25);
}

/* Hide on mobile */
@media (max-width: 768px) {
  .ndi-review-banner {
    display: none !important;
  }
}

/* ── Inspector Confirmation Card ── */
.ndi-inspector-confirm {
  background: linear-gradient(135deg, #fff9f5 0%, #fff 100%);
  border: 1.5px solid #ffe8d6;
  border-radius: 16px;
  padding: 0;
  margin-top: 8px;
  animation: ndiFadeIn 0.3s ease;
  overflow: hidden;
  position: relative;
}

/* Soft glow in upper-left corner */
.ndi-inspector-confirm::before {
  content: '';
  position: absolute;
  top: -40px;
  left: -40px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255,107,0,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.ndi-confirm-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 220px;
  grid-template-rows: auto auto;
  min-height: 200px;
}

/* Desktop: children of .ndi-confirm-top participate directly in the grid */
.ndi-confirm-top {
  display: contents;
}

.ndi-confirm-info {
  grid-column: 1;
  grid-row: 1;
  padding: 28px 24px 8px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ndi-confirm-label {
  font-size: 13px;
  font-weight: 600;
  color: #FF6B00;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.ndi-confirm-photo-area {
  grid-column: 2;
  grid-row: 1 / -1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  overflow: hidden;
}

.ndi-inspector-confirm-photo {
  width: 100%;
  display: block;
  object-fit: contain;
  object-position: bottom center;
}

.ndi-inspector-confirm-initials {
  width: 100%;
  height: 100%;
  min-height: 200px;
  background: linear-gradient(135deg, #FF6B00, #ff8533);
  color: #fff;
  font-size: 44px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 2px;
}

.ndi-inspector-confirm-name {
  font-size: 24px;
  font-weight: 700;
  color: #1a2332;
  margin-bottom: 6px;
  line-height: 1.2;
}

.ndi-inspector-confirm-time {
  font-size: 15px;
  color: #555;
  margin-bottom: 0;
}

.ndi-inspector-confirm-time i {
  color: #FF6B00;
  margin-right: 4px;
}

/* Bottom section: sits below info in left column on desktop */
.ndi-confirm-bottom {
  grid-column: 1;
  grid-row: 2;
  padding: 4px 24px 20px;
  text-align: left;
}

/* Actions row: badge + change time */
.ndi-confirm-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ndi-inspector-confirm-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f0fdf0;
  color: #16a34a;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}

.ndi-inspector-confirm-badge i {
  font-size: 12px;
}

.ndi-inspector-confirm-change {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #FF6B00;
  font-size: 12.5px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 500;
  padding: 4px 12px;
  border: 1px solid #ffd6b3;
  border-radius: 20px;
  background: #fff;
  transition: all 0.2s ease;
}

.ndi-inspector-confirm-change:hover {
  background: #fff5ee;
  border-color: #FF6B00;
  text-decoration: none;
}

/* "Choose a different inspector" link */
.ndi-choose-different {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: #999;
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.15s ease;
}

.ndi-choose-different:hover {
  color: #FF6B00;
  text-decoration: none;
}

.ndi-choose-different i {
  color: #FF6B00;
  font-size: 12px;
}

/* Inline estimate note */
.ndi-confirm-estimate {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #999;
  font-style: italic;
  margin-bottom: 10px;
  line-height: 1.4;
}

.ndi-confirm-estimate i {
  color: #f59e0b;
  font-size: 13px;
  flex-shrink: 0;
}

/* ── Cascade Loading Shimmer ── */
.ndi-cascade-loading {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ndi-shimmer-bar {
  height: 18px;
  border-radius: 8px;
  background: linear-gradient(90deg, #f0ebe6 25%, #faf5ef 50%, #f0ebe6 75%);
  background-size: 200% 100%;
  animation: ndiShimmer 1.4s ease infinite;
}

.ndi-shimmer-bar.ndi-shimmer-short {
  width: 60%;
}

@keyframes ndiShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Floating Inspector Picker Popup ── */
.ndi-picker-popup {
  margin-top: 10px;
  padding: 20px 16px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.08);
  background: #fff;
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  animation: ndiPickerIn 0.25s ease;
}

@keyframes ndiPickerIn {
  from { opacity: 0; transform: translateY(-10px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.ndi-picker-tiles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.ndi-picker-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 110px;
  border-radius: 12px;
  border: 2px solid rgba(0,0,0,0.06);
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ndi-picker-tile:hover {
  border-color: rgba(255,107,0,0.35);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.ndi-picker-tile-active {
  border-color: #FF6B00;
}

.ndi-picker-tile-active .ndi-picker-tile-name {
  color: #FF6B00;
  font-weight: 700;
}

/* Recommended inspector tile star badge */
.ndi-picker-tile-recommended {
  position: relative;
}

.ndi-picker-star {
  position: absolute;
  top: 4px;
  left: 4px;
  z-index: 3;
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, #FF6B00, #ff8533);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(255,107,0,0.4);
  animation: ndiStarPulse 2s ease-in-out infinite;
}

.ndi-picker-star i {
  color: #fff;
  font-size: 11px;
}

@keyframes ndiStarPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 2px 6px rgba(255,107,0,0.4); }
  50% { transform: scale(1.15); box-shadow: 0 3px 10px rgba(255,107,0,0.6); }
}

/* Photo area inside tile */
.ndi-picker-tile-img {
  position: relative;
  width: 100%;
  height: 90px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: linear-gradient(135deg, #d5dce6 0%, #e8ecf1 40%, #fff 100%);
}

.ndi-picker-tile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Clean line at bottom of photo — separates photo from name */
.ndi-picker-tile-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(0,0,0,0.08);
  pointer-events: none;
}

.ndi-picker-tile-initials {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #FF6B00, #FF9A4D);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 22px;
}

.ndi-picker-tile-name {
  font-size: 12.5px;
  font-weight: 600;
  color: #1a1a1a;
  text-align: center;
  line-height: 1.25;
  padding: 6px 6px 10px;
  word-break: break-word;
}

.ndi-picker-note {
  text-align: center;
  font-size: 11px;
  color: #aaa;
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-style: italic;
}

.ndi-picker-note i {
  font-size: 10px;
  color: #ccc;
}

/* ── Step 7 Redesign Mobile (480px) ── */
@media (max-width: 480px) {
  .ndi-time-grid-clean {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 8px;
  }

  .ndi-time-grid-clean .ndi-time-slot-btn {
    padding: 10px 6px;
    font-size: 13px;
  }

  .ndi-inspector-confirm {
    padding: 0;
  }

  /* Mobile: reset grid to block, use flex for top row */
  .ndi-confirm-layout {
    display: block;
    min-height: auto;
  }

  .ndi-confirm-top {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-height: auto;
  }

  .ndi-confirm-info {
    order: 0;
    padding: 20px 16px;
    flex: 1;
    min-width: 0;
  }

  .ndi-confirm-photo-area {
    order: 1;
    width: 130px;
    height: auto;
    flex-shrink: 0;
    align-items: flex-end;
    justify-content: flex-end;
  }

  .ndi-inspector-confirm-photo {
    width: 130px;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: bottom right;
  }

  .ndi-inspector-confirm-initials {
    width: 130px;
    height: 130px;
    font-size: 28px;
  }

  .ndi-confirm-label {
    font-size: 11px;
    white-space: nowrap;
  }

  .ndi-inspector-confirm-name {
    font-size: 20px;
  }

  .ndi-inspector-confirm-time {
    font-size: 14px;
  }

  /* Bottom section: compact actions bar */
  .ndi-confirm-bottom {
    padding: 12px 16px 16px;
    border-top: 1px solid #f0f0f0;
  }

  .ndi-confirm-estimate {
    font-size: 11px;
    margin-bottom: 8px;
  }

  .ndi-confirm-actions {
    gap: 6px;
  }

  .ndi-choose-different {
    margin-top: 10px;
  }

  /* Weekly calendar: 4 days visible, swipeable */
  .ndi-cal-grid-week {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .ndi-cal-grid-week::-webkit-scrollbar {
    display: none;
  }

  .ndi-cal-grid-week .ndi-cal-day {
    flex: 0 0 calc(25% - 6px);
    min-height: 80px;
    padding: 10px 4px;
    border-radius: 14px;
    scroll-snap-align: start;
    aspect-ratio: auto;
  }

  .ndi-cal-grid-week .ndi-day-num {
    font-size: 22px;
    font-weight: 700;
  }

  .ndi-cal-grid-week .ndi-day-weekday {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
  }
}

/* ── Animations ── */
@keyframes ndiFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes ndiFadeOut {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-8px); }
}

@keyframes ndiSlideDown {
  from { opacity: 0; max-height: 0; transform: translateY(-12px); }
  to   { opacity: 1; max-height: 500px; transform: translateY(0); }
}

/* ── View Transitions ── */
.ndi-cal-view {
  animation: ndiFadeIn 0.3s ease;
}

/* ── Back Link ── */
.ndi-cal-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--ndi-orange);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0;
  margin-bottom: 20px;
  transition: all 0.2s ease;
}

.ndi-cal-back-link:hover {
  color: var(--ndi-orange-hover);
  transform: translateX(-3px);
}

.ndi-cal-back-link i {
  font-size: 12px;
}

/* ── Selected Date Hero ── */
.ndi-cal-selected-hero {
  text-align: center;
  padding: 20px 0 28px;
}

.ndi-cal-selected-dayname {
  font-size: 14px;
  font-weight: 600;
  color: var(--ndi-orange);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 4px;
}

.ndi-cal-selected-datenum {
  font-size: 64px;
  font-weight: 800;
  color: var(--ndi-navy);
  line-height: 1;
  margin-bottom: 4px;
}

.ndi-cal-selected-monthyear {
  font-size: 16px;
  font-weight: 500;
  color: var(--ndi-text-muted);
}

.ndi-cal-selected-duration {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ndi-orange);
  margin-top: 12px;
  padding: 6px 16px;
  background: var(--ndi-orange-soft);
  border-radius: 20px;
}

.ndi-cal-selected-duration i {
  font-size: 12px;
}

/* ── Step 7 Continue Button Disabled State ── */
#ndi-step7-continue:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* ── Mobile Responsive ── */
@media (max-width: 600px) {
  .ndi-avail-calendar {
    padding: 16px 12px;
    border-radius: var(--ndi-radius-sm);
  }

  .ndi-cal-day {
    min-height: 40px;
    font-size: 13px;
    border-radius: 8px;
  }

  .ndi-cal-grid-week .ndi-cal-day {
    min-height: 68px;
    padding: 8px 2px;
  }

  .ndi-cal-grid-week .ndi-day-num {
    font-size: 18px;
  }

  .ndi-cal-grid-week .ndi-day-weekday {
    font-size: 10px;
  }

  .ndi-cal-month-label,
  .ndi-cal-week-label {
    font-size: 14px;
  }

  .ndi-cal-nav-btn {
    width: 32px;
    height: 32px;
  }

  .ndi-time-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .ndi-time-slot-btn {
    padding: 16px 14px;
    font-size: 15px;
  }

  .ndi-cal-legend {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .ndi-avail-banner {
    font-size: 12px;
    padding: 10px 14px;
  }
}

@media (max-width: 380px) {
  .ndi-cal-day {
    min-height: 36px;
    font-size: 12px;
  }

  .ndi-cal-day .ndi-day-dot {
    width: 5px;
    height: 5px;
    margin-top: 3px;
  }

  .ndi-cal-grid-week .ndi-cal-day {
    min-height: 56px;
    padding: 6px 1px;
  }

  .ndi-cal-grid-week .ndi-day-num {
    font-size: 15px;
  }

  .ndi-cal-grid-week .ndi-day-weekday {
    font-size: 9px;
  }

  .ndi-cal-week-label {
    font-size: 13px;
  }

  .ndi-skel-day-week {
    height: 56px;
  }
}

/* ── Environmental Service Scheduler Fallback ── */
.ndi-env-notice-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: linear-gradient(135deg, #fff7ed 0%, #fff 100%);
  border: 1px solid rgba(255, 107, 0, 0.2);
  border-radius: 14px;
  margin-bottom: 8px;
}

.ndi-env-notice-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.ndi-env-notice-text {
  font-size: 14px;
  color: var(--ndi-text-muted, #555);
  line-height: 1.6;
  margin: 0;
}

#ndi-env-scheduler .isn-form-label {
  font-weight: 600;
  font-size: 13px;
  color: var(--ndi-text-primary, #1a1a2e);
  margin-bottom: 6px;
  display: block;
}

#ndi-env-scheduler .isn-form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#ndi-env-scheduler .isn-form-control:focus {
  border-color: var(--ndi-orange, #FF6B00);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
  outline: none;
}

/* ── Agreement Acknowledgement Checkbox ── */
.isn-agreement-ack {
  max-width: 520px;
  margin: 20px auto 0 auto;
  padding: 16px 18px 16px 22px;
  background: #ffffff;
  border: 1.5px solid var(--ndi-border, #e2e8f0);
  border-left: 4px solid var(--ndi-orange, #FF6B00);
  border-radius: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.isn-agreement-ack:hover {
  border-color: var(--ndi-border-hover, #cbd5e1);
  border-left-color: var(--ndi-orange, #FF6B00);
  box-shadow: 0 4px 12px rgba(27, 42, 74, 0.04);
}

.isn-agreement-ack.isn-field-error {
  animation: isn-shake 0.4s ease;
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.isn-agreement-ack-label {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
  user-select: none;
  margin: 0 !important;
  font-weight: 400 !important;
}

.isn-agreement-ack-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.isn-agreement-checkmark {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  border: 2px solid var(--ndi-navy, #1B2A4A);
  border-radius: 6px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.isn-agreement-checkmark i {
  font-size: 12px;
  color: #fff;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.isn-agreement-ack-label input[type="checkbox"]:checked ~ .isn-agreement-checkmark {
  background: var(--ndi-orange, #FF6B00);
  border-color: var(--ndi-orange, #FF6B00);
}

.isn-agreement-ack-label input[type="checkbox"]:checked ~ .isn-agreement-checkmark i {
  opacity: 1;
  transform: scale(1);
}

.isn-agreement-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1.45;
}

.isn-agreement-text > strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--ndi-navy, #1B2A4A);
  letter-spacing: 0.01em;
}

.isn-agreement-text > span {
  font-size: 12.5px;
  color: var(--ndi-text-muted, #64748B);
  line-height: 1.5;
}

.isn-agreement-text > span strong {
  color: var(--ndi-navy, #1B2A4A);
  font-weight: 700;
}

@media (max-width: 600px) {
  .isn-agreement-ack {
    margin-bottom: 80px;
  }
}
