/* =====================================================
   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&display=swap');

/* ===== Design Tokens ===== */
.isn-scheduler-widget {
  --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);

  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ndi-text-body);
  background: transparent;
  max-width: 720px;
  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;
}

/* ===== Icon Stepper Nav ===== */
.isn-scheduler-widget .isn-stepper-nav {
  display: none;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  padding: 20px 32px 36px;
  margin-bottom: 8px;
}

.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-scheduler-widget .isn-stepper-nav::before {
  content: '';
  position: absolute;
  top: 42px;
  left: 32px;
  right: 32px;
  height: 3px;
  background: #ffffff;
  z-index: 0;
}

.isn-scheduler-widget .isn-stepper-fill {
  position: absolute;
  top: 42px;
  left: 32px;
  height: 3px;
  background: linear-gradient(90deg, var(--ndi-orange), #FF9140);
  z-index: 1;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.isn-scheduler-widget .isn-stepper-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  flex: 1;
  cursor: pointer;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0;
  font-family: 'Poppins', sans-serif;
  outline: none;
  transition: all 0.25s ease;
  gap: 0;
  letter-spacing: normal;
  text-transform: none;
  box-shadow: none !important;
  border-radius: 0 !important;
  min-width: 0;
}

.isn-scheduler-widget .isn-stepper-step.isn-stepper-hidden {
  display: none !important;
  flex: 0 !important;
}

.isn-scheduler-widget .isn-stepper-step:hover .isn-stepper-icon {
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(27, 42, 74, 0.12);
}

.isn-scheduler-widget .isn-stepper-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  border: 3px solid #E8ECF1;
  background: #fff;
  color: var(--ndi-text-muted);
  margin-bottom: 8px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.isn-scheduler-widget .isn-stepper-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--ndi-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: color 0.3s ease;
}

/* Stepper states */
.isn-scheduler-widget .isn-stepper-step.completed .isn-stepper-icon {
  border-color: var(--ndi-orange);
  background: var(--ndi-orange);
  color: #fff;
}

.isn-scheduler-widget .isn-stepper-step.completed .isn-stepper-label {
  color: var(--ndi-orange);
}

.isn-scheduler-widget .isn-stepper-step.active .isn-stepper-icon {
  border-color: var(--ndi-orange);
  background: var(--ndi-orange);
  color: #fff;
  box-shadow: 0 0 0 5px rgba(255, 107, 0, 0.12);
  transform: scale(1.08);
}

.isn-scheduler-widget .isn-stepper-step.active .isn-stepper-label {
  color: var(--ndi-orange);
  font-weight: 700;
}

@media (max-width: 600px) {
  .isn-scheduler-widget .isn-stepper-icon {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }

  .isn-scheduler-widget .isn-stepper-label {
    font-size: 8px;
  }

  .isn-scheduler-widget .isn-stepper-nav {
    padding: 12px 12px 28px;
  }

  .isn-scheduler-widget .isn-stepper-nav::before,
  .isn-scheduler-widget .isn-stepper-fill {
    top: 30px;
    left: 12px;
    right: 12px;
  }
}

/* ===== 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: 20px 48px 40px;
  position: relative;
  min-height: 420px;
}

@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 28px 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-banner {
    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;
}

.isn-card-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px 14px;
  background: var(--ndi-bg);
  border: 2px solid var(--ndi-border);
  border-radius: var(--ndi-radius-sm);
  cursor: pointer;
  transition: all 0.25s ease;
}

.isn-card-label:hover {
  border-color: var(--ndi-border-hover);
  transform: translateY(-2px);
  box-shadow: var(--ndi-shadow);
}

.isn-card-label i {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--ndi-navy);
  background: var(--ndi-surface);
  border-radius: 10px;
  margin-bottom: 10px;
  transition: all 0.25s ease;
}

.isn-card-label span {
  font-weight: 600;
  font-size: 13px;
  color: var(--ndi-navy);
}

.isn-card-radio:checked+.isn-card-label {
  border-color: var(--ndi-orange);
  background: var(--ndi-orange-soft);
}

.isn-card-radio:checked+.isn-card-label i {
  background: var(--ndi-orange);
  color: #fff;
}

/* ===== Icon Select Grid (Property Type, Access, Occupancy, Contact) ===== */
.isn-icon-select-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.isn-icon-select-sm {
  grid-template-columns: repeat(auto-fill, minmax(85px, 1fr));
}

.isn-icon-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.isn-icon-select-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 6px;
  gap: 6px;
  background: var(--ndi-bg);
  border: 2px solid var(--ndi-border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Poppins', sans-serif;
  color: var(--ndi-text-muted);
  min-width: 95px;
}

.isn-icon-select-btn i {
  font-size: 20px;
  transition: all 0.2s;
}

.isn-icon-select-btn span {
  font-size: 10px;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
}

.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: 400px) {
  .isn-icon-select-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .isn-icon-select-btn {
    padding: 10px 4px;
  }

  .isn-icon-select-btn i {
    font-size: 16px;
  }
}

/* ===== 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: 20px 20px;
  gap: 8px;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: 'Poppins', sans-serif;
  flex: 1;
  min-width: 100px;
}

.isn-util-btn i {
  font-size: 22px;
  transition: all 0.2s;
}

.isn-util-btn span {
  font-size: 12px;
  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);
  }
}

/* ===== Mobile Overrides ===== */
@media (max-width: 768px) {

  /* — Stepper: clean horizontal bar — */
  .isn-scheduler-widget .isn-stepper-nav {
    padding: 10px 20px !important;
    justify-content: center;
    align-items: center;
    gap: 0 !important;
    flex-wrap: nowrap;
  }

  .isn-scheduler-widget .isn-stepper-nav::before,
  .isn-scheduler-widget .isn-stepper-fill {
    display: none !important;
  }

  .isn-scheduler-widget .isn-stepper-step {
    display: none !important;
  }

  .isn-scheduler-widget .isn-stepper-step.active {
    display: none !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;
  }

  /* Also disable stepper nav animation — its transform can break position:fixed in iOS iframes */
  .isn-scheduler-widget .isn-stepper-nav,
  .isn-scheduler-widget .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-scheduler-widget .isn-actions {
    display: none !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: 36px;
  padding-top: 24px;
  border-top: 1px solid #F0F2F5;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.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) ===== */
.isn-service-grid-container {
  padding: 0;
}

.isn-sdd-category {
  padding: 10px 18px 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ndi-text-muted);
}

.isn-sdd-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  padding: 6px 12px 10px;
}

.isn-sdd-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 12px 4px;
  background: var(--ndi-bg);
  border: 1.5px solid var(--ndi-border);
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  color: var(--ndi-text-muted);
  text-align: center;
  transition: all 0.2s ease;
}

.isn-sdd-tile i {
  font-size: 18px;
  transition: all 0.2s;
}

.isn-sdd-tile span {
  font-size: 9px;
  font-weight: 600;
  line-height: 1.25;
  display: block;
}

.isn-sdd-tile:hover {
  border-color: var(--ndi-orange);
  background: var(--ndi-orange-soft);
  color: var(--ndi-navy);
  transform: translateY(-1px);
}

.isn-sdd-tile:hover i {
  color: var(--ndi-orange);
}

.isn-sdd-tile.isn-sdd-selected {
  border-color: var(--ndi-orange);
  background: var(--ndi-orange-soft);
  color: var(--ndi-navy);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

.isn-sdd-tile.isn-sdd-selected i {
  color: var(--ndi-orange);
}

.isn-sdd-tile.isn-sdd-hidden {
  display: none;
}

.isn-sdd-custom {
  border-style: dashed;
  color: var(--ndi-text-muted);
}

.isn-sdd-custom:hover {
  border-color: var(--ndi-orange);
  color: var(--ndi-orange);
}

@media (max-width: 520px) {
  .isn-sdd-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Service description after selection */
.isn-service-desc {
  font-size: 12px;
  color: var(--ndi-text-body);
  line-height: 1.6;
  margin: 8px 0 0;
  padding: 0 2px;
}

/* 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;
}

/* ===== 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: 20px;
}

.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.2s ease;
  color: #6b7280;
  white-space: nowrap;
}

.isn-time-btn:hover {
  border-color: var(--ndi-orange);
  color: var(--ndi-orange);
  background: #FFFBF5;
}

.isn-time-btn.active {
  border-color: var(--ndi-orange);
  background: #FFF7ED;
  color: var(--ndi-orange);
  box-shadow: 0 0 0 1px var(--ndi-orange);
}

.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 Pill (injected above .isn-actions via JS) ── */

/* Desktop / Tablet: normal flow, centered above buttons */
.isn-total-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 0 8px;
}

.isn-inline-total {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 24px;
  background: #FFF7ED;
  border: 1.5px solid var(--ndi-orange);
  border-radius: 50px;
  box-shadow: 0 2px 12px rgba(255, 107, 0, 0.1);
}

.isn-inline-total i {
  color: var(--ndi-orange);
  font-size: 13px;
}

.isn-inline-total-amount {
  font-size: 17px;
  font-weight: 700;
  color: var(--ndi-orange);
  letter-spacing: -0.3px;
  white-space: nowrap;
}

/* Mobile ≤770px: pill fixed above the fixed action bar */
@media (max-width: 770px) {
  .isn-total-row {
    position: fixed;
    bottom: 90px;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 0;
    justify-content: center;
    pointer-events: none;
  }

  .isn-inline-total {
    pointer-events: auto;
    box-shadow: 0 2px 12px rgba(255, 107, 0, 0.15);
  }

  /* Move scroll indicator beside the pill on mobile */
  .isn-scroll-indicator {
    bottom: 96px !important;
    left: calc(50% + 80px) !important;
    transform: none !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);
  background: var(--ndi-orange-soft);
  color: var(--ndi-navy);
}

.isn-sdd-tile.isn-sdd-selected i {
  color: var(--ndi-orange);
}

/* ===== 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: 28px !important;
  margin-top: 12px !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);
  }
}
