/* Booking Wizard Styles */
:root {
  --primary-blue: #1D5177;
  --secondary-blue: #2E77A6;
  --accent-blue: #3BB2E0;
  --accent-orange: #F57820;
  --text-dark: #1a1a2e;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --border-light: #e2e8f0;
  --success-green: #10b981;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, var(--bg-light) 0%, #e0f2fe 100%);
  min-height: 100vh;
  padding: 8px;
  color: var(--text-dark);
}

#wizard-container { max-width: 440px; margin: 0 auto; }

.wizard-card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.wizard-header {
  padding: 10px 16px;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}

.company-logo { height: 32px; margin-bottom: 6px; }

.progress-bar {
  height: 4px;
  background: var(--border-light);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 4px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-blue));
  transition: width 0.3s ease;
}

.step-indicator { font-size: 11px; color: var(--text-muted); }

.wizard-content { padding: 14px 16px; padding-bottom: 80px; }

.step-title { font-size: 17px; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.step-subtitle { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }

/* Trust Strip */
.trust-strip {
  font-size: 11px;
  color: #6B7280;
  text-align: center;
  padding: 5px 12px;
  background: #F9FAFB;
  border-top: 1px solid #E5E7EB;
  border-bottom: 1px solid #E5E7EB;
  margin: -14px -16px 10px -16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px 12px;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.trust-check {
  color: #F57820;
  font-weight: bold;
  margin-right: 4px;
}

/* Social Proof */
.social-proof {
  font-size: 12px;
  color: #4B5563;
  text-align: center;
  margin-bottom: 8px;
}
.social-proof .star { color: #FBBF24; }

/* Service Grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}

@media (max-width: 480px) {
  .service-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .service-card {
    flex-direction: row;
    text-align: left;
    padding: 14px 16px;
    min-height: 56px;
    gap: 12px;
  }
  .service-card .service-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }
  .service-card .service-name {
    font-size: 15px;
  }
  .service-card .service-desc {
    font-size: 12px;
  }
  .service-card .service-check {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
  }
}

@media (max-width: 360px) {
  .service-grid { grid-template-columns: 1fr; }
}

.service-card {
  position: relative;
  padding: 10px 8px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  text-align: center;
  cursor: pointer;
  transition: all 150ms ease;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.service-card:hover {
  border-color: var(--primary-blue);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.service-card:active,
.service-card.touching {
  background: rgba(29,81,119,0.05);
  border-color: var(--primary-blue);
  transform: scale(0.98);
}

.service-card.selected {
  border-color: var(--primary-blue);
  border-left-width: 4px;
  background: linear-gradient(135deg, rgba(29,81,119,0.05), rgba(59,178,224,0.05));
}

.service-card.selected .service-check {
  opacity: 1;
  transform: scale(1);
}

.service-check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  background: var(--primary-blue);
  color: white;
  border-radius: 50%;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.5);
  transition: all 150ms ease;
}

.service-icon-wrap {
  width: 32px;
  height: 32px;
  margin-bottom: 4px;
  color: var(--icon-color, var(--primary-blue));
}

.service-svg {
  width: 32px;
  height: 32px;
}

.service-icon { width: 32px; height: 32px; margin-bottom: 4px; }
.service-icon-small { width: 24px; height: 24px; margin-right: 6px; }
.service-name { font-weight: 600; font-size: 13px; margin-bottom: 2px; color: var(--text-dark); }
.service-desc { font-size: 11px; color: #6B7280; line-height: 1.2; }

/* Help Card (Not Sure full-width) */
.help-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 150ms ease;
  margin-top: 0;
}

.help-card:hover {
  border-color: var(--primary-blue);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.help-card.selected {
  border-color: var(--primary-blue);
  background: linear-gradient(135deg, rgba(29,81,119,0.05), rgba(59,178,224,0.05));
}

.help-icon {
  width: 28px;
  height: 28px;
  color: var(--primary-blue);
  flex-shrink: 0;
}

.help-icon .service-svg,
.help-icon-img {
  width: 28px;
  height: 28px;
}

.help-content { flex: 1; text-align: left; }
.help-title { font-weight: 600; font-size: 13px; color: var(--text-dark); }
.help-desc { font-size: 11px; color: #6B7280; }
.help-arrow { font-size: 16px; color: var(--text-muted); }

/* Sticky Footer */
.sticky-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-top: 1px solid #E5E7EB;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.08);
  padding: 6px 12px 8px;
  z-index: 100;
}

.footer-help-text {
  font-size: 10px;
  color: #6B7280;
  text-align: center;
  margin-bottom: 4px;
}

.footer-buttons {
  display: flex;
  gap: 8px;
  max-width: 440px;
  margin: 0 auto;
}

.footer-btn {
  flex: 1;
  padding: 8px 12px;
  min-height: 48px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 200ms ease;
}

.footer-btn-call {
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--text-dark);
}

.footer-btn-call:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

.footer-btn-callback {
  background: var(--primary-blue);
  border: none;
  color: white;
}

.footer-btn-callback:hover {
  background: var(--secondary-blue);
}

/* Callback Modal */
.callback-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
}

.callback-modal {
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  width: 100%;
  max-width: 400px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  background: var(--bg-light);
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  color: var(--text-muted);
}

.modal-title { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.modal-subtitle { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }

.callback-form .form-group { margin-bottom: 16px; }
.callback-form .form-label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; }
.callback-form .form-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 14px;
}
.callback-form .form-textarea { resize: vertical; min-height: 60px; font-family: inherit; }

.callback-time-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.time-option {
  flex: 1;
  min-width: calc(50% - 4px);
}

.time-option input { display: none; }

.time-option span {
  display: block;
  padding: 10px 12px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 13px;
  cursor: pointer;
  transition: all 150ms ease;
}

.time-option input:checked + span {
  border-color: var(--primary-blue);
  background: rgba(29,81,119,0.05);
  color: var(--primary-blue);
}

.callback-datetime-input { margin-top: 8px; }

.callback-submit-btn { width: 100%; margin-top: 8px; }

.callback-success {
  text-align: center;
  padding: 20px 0;
}

.callback-success .success-icon {
  width: 48px;
  height: 48px;
  background: var(--success-green);
  color: white;
  border-radius: 50%;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.callback-success h3 { margin-bottom: 8px; }
.callback-success p { color: var(--text-muted); margin-bottom: 20px; }

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

.animate-fade-in {
  opacity: 0;
  animation: fadeIn 300ms ease forwards;
}

.animate-slide-up {
  opacity: 0;
  animation: slideUp 300ms ease forwards;
}

/* Progress bar animation */
.progress-fill {
  transition: width 600ms ease-out;
}

/* Question Flow Animations */
.slide-out-left {
  animation: slideOutLeft 200ms ease-in forwards;
}
.slide-out-right {
  animation: slideOutRight 200ms ease-in forwards;
}
.slide-in-left {
  animation: slideInLeft 300ms ease-out forwards;
}
.slide-in-right {
  animation: slideInRight 300ms ease-out forwards;
}

@keyframes slideOutLeft {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(-20px); }
}
@keyframes slideOutRight {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(20px); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Question Flow Container */
.question-flow-container {
  padding: 24px;
}

.q-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.q-progress-dots {
  display: flex;
  gap: 6px;
  flex: 1;
}

.q-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-light);
  transition: all 0.2s;
}

.q-dot.completed {
  background: var(--success-green);
}

.q-dot.current {
  background: var(--accent-orange);
  transform: scale(1.25);
}

.q-counter {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
}

.q-skip-link {
  font-size: 13px;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s;
}

.q-skip-link:hover {
  color: var(--primary-blue);
  background: var(--bg-light);
}

/* Question Card */
.question-card {
  animation: fadeIn 0.3s ease;
}

.q-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.q-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.q-helper {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

/* Question Options */
.q-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.q-options.hidden {
  display: none;
}

.q-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: white;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.15s;
  text-align: left;
  font-size: 15px;
  color: var(--text-dark);
}

.q-option:hover {
  border-color: var(--secondary-blue);
  background: var(--bg-light);
}

.q-option.selected {
  border-color: var(--primary-blue);
  background: rgba(29, 81, 119, 0.08);
}

.q-option.selected-flash {
  animation: selectFlash 0.3s ease;
}

@keyframes selectFlash {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); background: rgba(29, 81, 119, 0.15); }
  100% { transform: scale(1); }
}

.q-option.safety-concern.selected {
  border-color: #EF4444;
  background: rgba(239, 68, 68, 0.08);
}

.q-option-icon {
  font-size: 20px;
  width: 28px;
  text-align: center;
  flex-shrink: 0;
}

.q-option-label {
  flex: 1;
  line-height: 1.4;
}

.q-options.small .q-option {
  padding: 10px 14px;
  font-size: 14px;
}

/* Follow-up Questions */
.q-followup {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  animation: fadeIn 0.3s ease;
}

.q-followup-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.q-followup-helper {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* Reassurance Messages */
.q-reassurance {
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: var(--radius-sm);
  color: #047857;
  font-size: 14px;
  line-height: 1.5;
  animation: fadeIn 0.3s ease;
}

.q-partner-note,
.q-financing-note {
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(59, 178, 224, 0.1);
  border-radius: var(--radius-sm);
  color: var(--secondary-blue);
  font-size: 14px;
  line-height: 1.5;
  animation: fadeIn 0.3s ease;
}

/* Safety Alert */
.safety-alert {
  margin-top: 20px;
  padding: 16px;
  background: rgba(239, 68, 68, 0.1);
  border: 2px solid #EF4444;
  border-radius: var(--radius-md);
  animation: fadeIn 0.3s ease;
}

.safety-title {
  font-size: 16px;
  font-weight: 700;
  color: #DC2626;
  margin-bottom: 8px;
}

.safety-message {
  font-size: 14px;
  color: #991B1B;
  margin-bottom: 12px;
  line-height: 1.5;
}

.safety-call-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #DC2626;
  color: white;
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
}

/* ATTOM Pre-fill */
.q-attom-prefill {
  margin-bottom: 20px;
  padding: 16px;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: var(--radius-md);
  animation: fadeIn 0.3s ease;
}

.attom-badge {
  font-size: 13px;
  font-weight: 600;
  color: #B45309;
  margin-bottom: 8px;
}

.attom-detail {
  font-size: 14px;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.attom-confirm {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.attom-confirm-btn {
  padding: 8px 16px;
  background: var(--success-green);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

.attom-correct-btn {
  padding: 8px 16px;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 14px;
}

/* Estimate Suggestion */
.q-estimate-suggestion {
  margin-top: 16px;
  padding: 14px 16px;
  background: rgba(59, 178, 224, 0.1);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.5;
  animation: fadeIn 0.3s ease;
}

.suggest-estimate-btn {
  display: block;
  margin-top: 10px;
  padding: 8px 16px;
  background: var(--accent-blue);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

.suggest-estimate-btn:disabled {
  background: var(--success-green);
  cursor: default;
}

/* Textarea Question */
.q-textarea-wrapper {
  position: relative;
}

.q-textarea {
  width: 100%;
  padding: 14px 16px;
  padding-right: 50px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-family: inherit;
  resize: vertical;
  min-height: 100px;
  transition: border-color 0.2s;
}

.q-textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
}

.voice-input-btn {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 36px;
  height: 36px;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.voice-input-btn:hover {
  background: var(--primary-blue);
  color: white;
  border-color: var(--primary-blue);
}

.voice-input-btn.recording {
  background: #EF4444;
  color: white;
  border-color: #EF4444;
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* AI Insight Card */
.ai-insight-card {
  padding: 24px;
  background: linear-gradient(135deg, rgba(59, 178, 224, 0.1), rgba(29, 81, 119, 0.1));
  border-radius: var(--radius-lg);
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  animation: fadeIn 0.5s ease;
}

.ai-insight-card.loading {
  cursor: default;
}

.ai-badge {
  font-size: 13px;
  font-weight: 600;
  color: var(--secondary-blue);
  margin-bottom: 12px;
}

.ai-message {
  font-size: 16px;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 16px;
}

.ai-tap-hint {
  font-size: 12px;
  color: var(--text-muted);
}

.ai-timer-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--accent-orange);
  width: 100%;
  animation: timerShrink linear forwards;
}

@keyframes timerShrink {
  from { width: 100%; }
  to { width: 0%; }
}

.ai-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--border-light);
  border-top-color: var(--primary-blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 12px;
}

/* Question Nav Buttons */
.q-nav-buttons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.btn-back-text {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 14px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.btn-back-text:hover {
  color: var(--text-dark);
  background: var(--bg-light);
}

.btn-continue {
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
}

.btn-continue:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.selected-service {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-weight: 600;
}

/* Form Elements */
.form-group { margin-bottom: 12px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; color: var(--text-dark); }
.form-group .required { color: #ef4444; }

.form-group input, .form-group textarea {
  width: 100%;
  padding: 9px 12px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 15px;
  transition: border-color 0.2s;
}

.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary-blue); }
.form-row { display: flex; gap: 10px; }
.form-row .form-group { flex: 1; }
.form-group-small { flex: 0 0 100px !important; }
.helper-text { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.phone-input { font-size: 18px !important; text-align: center; letter-spacing: 1px; }

/* Phone Step Enhancements */
.phone-field-group { margin-bottom: 16px; }

.phone-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.phone-valid-indicator {
  position: absolute;
  right: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #10B981;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.2s ease;
}

.phone-valid-indicator.show {
  opacity: 1;
  transform: translateX(0);
}

.privacy-text {
  color: #9CA3AF;
  font-size: 12px;
  text-align: center;
}

/* Phone Nav Buttons */
.phone-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.btn-back-link {
  background: none;
  border: none;
  color: #9CA3AF;
  font-size: 14px;
  cursor: pointer;
  padding: 8px 0;
  transition: color 0.15s ease;
}

.btn-back-link:hover {
  color: #6B7280;
}

.btn-continue {
  flex: 0 0 auto;
  min-width: 140px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 0.15s ease;
}

.btn-continue.btn-muted {
  opacity: 0.4;
}

.btn-continue:not(.btn-muted) {
  opacity: 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Trust Block */
.trust-block {
  text-align: center;
  padding: 20px 16px;
  background: #F9FAFB;
  border-radius: var(--radius-md);
  margin-top: 8px;
}

.trust-block-reviews {
  font-size: 14px;
  color: #4B5563;
  margin-bottom: 12px;
}

.trust-block-testimonial {
  font-size: 13px;
  color: #9CA3AF;
}

.testimonial-quote {
  font-style: italic;
  display: block;
  margin-bottom: 4px;
}

.testimonial-author {
  font-size: 12px;
  color: #6B7280;
}

/* ========================================
   STEP 3 - INFO STEP ENHANCEMENTS
   ======================================== */

/* Membership Welcome Banners */
.welcome-banner {
  display: flex;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.banner-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.banner-content {
  flex: 1;
}

.banner-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.banner-subtitle {
  font-size: 14px;
  color: #6B7280;
}

/* Member Banner - Celebratory */
.member-banner {
  background: linear-gradient(135deg, rgba(16,185,129,0.12), rgba(59,178,224,0.12));
  border: 1px solid rgba(16,185,129,0.3);
}

.member-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.benefit {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #047857;
  background: rgba(16,185,129,0.1);
  padding: 4px 10px;
  border-radius: 100px;
}

.benefit-icon {
  color: #10B981;
  font-weight: 700;
}

/* Non-Member Banner */
.nonmember-banner {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
}

.membership-teaser {
  margin-top: 10px;
}

.teaser-text {
  font-size: 13px;
  color: #F59E0B;
  background: rgba(245,158,11,0.1);
  padding: 6px 12px;
  border-radius: 6px;
  display: inline-block;
}

/* Last Service Reference */
.last-service-ref {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #6B7280;
  margin-bottom: 16px;
  padding: 10px 14px;
  background: #F9FAFB;
  border-radius: var(--radius-sm);
}

.last-service-icon {
  font-size: 16px;
}

/* Customer Summary Card */
.customer-summary-card {
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  overflow: hidden;
}

.summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: #F9FAFB;
  border-bottom: 1px solid #E5E7EB;
}

.summary-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-dark);
}

.edit-info-btn {
  background: none;
  border: none;
  color: var(--primary-blue);
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
}

.summary-content {
  padding: 14px 16px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #F3F4F6;
}

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

.summary-label {
  font-size: 13px;
  color: #9CA3AF;
}

.summary-value {
  font-size: 13px;
  color: var(--text-dark);
  font-weight: 500;
  text-align: right;
}

.edit-form-container {
  padding: 16px;
  background: #FAFAFA;
  border-top: 1px solid #E5E7EB;
}

/* Info Nav Buttons */
.info-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
}

/* Consent Checkboxes */
.consent-section {
  margin: 20px 0;
  padding: 16px;
  background: #FAFAFA;
  border-radius: var(--radius-md);
}

.consent-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  padding: 8px 0;
}

.consent-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--primary-blue);
  cursor: pointer;
}

.consent-text {
  font-size: 13px;
  color: #4B5563;
  line-height: 1.4;
}

/* Partner/Spouse Section */
.partner-section {
  margin: 16px 0;
}

.partner-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1px dashed #D1D5DB;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  width: 100%;
  font-size: 14px;
  color: #6B7280;
  cursor: pointer;
  transition: all 0.15s ease;
}

.partner-toggle:hover {
  border-color: #9CA3AF;
  color: #4B5563;
}

.toggle-icon {
  font-size: 16px;
  font-weight: 700;
  color: #9CA3AF;
}

.partner-form {
  margin-top: 12px;
  padding: 16px;
  background: #FAFAFA;
  border-radius: var(--radius-md);
}

/* Responsible Party Section */
.responsible-party-section {
  margin: 16px 0 8px 30px;
  padding: 16px;
  background: #FEF3C7;
  border-radius: var(--radius-md);
  border-left: 3px solid #F59E0B;
}

.responsible-party-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 13px;
  color: #92400E;
}

.notice-icon {
  font-size: 16px;
}

.responsible-party-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.responsible-party-form .form-group label {
  font-size: 12px;
  font-weight: 500;
  color: #4B5563;
  margin-bottom: 4px;
  display: block;
}

.responsible-party-form input,
.responsible-party-form select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #D1D5DB;
  border-radius: var(--radius-sm);
  font-size: 14px;
}

.responsible-party-form input:focus,
.responsible-party-form select:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Billing Address Section */
.billing-address-section {
  margin: 16px 0;
  padding: 16px;
  background: #F0F9FF;
  border-radius: var(--radius-md);
  border: 1px solid #BAE6FD;
}

.billing-toggle {
  margin-bottom: 0 !important;
}

.billing-address-form {
  margin-top: 16px;
}

.billing-accounts-label {
  font-size: 12px;
  font-weight: 500;
  color: #6B7280;
  margin-bottom: 8px;
}

.billing-accounts-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.billing-account-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.15s ease;
}

.billing-account-option:hover {
  border-color: #93C5FD;
  background: #F8FAFC;
}

.billing-account-option.selected {
  border-color: var(--primary-blue);
  background: #EFF6FF;
}

.billing-option-check {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--primary-blue);
  font-weight: 700;
}

.billing-option-content {
  flex: 1;
}

.billing-option-name {
  font-size: 14px;
  font-weight: 500;
  color: #1F2937;
}

.billing-option-address,
.billing-option-email {
  font-size: 12px;
  color: #6B7280;
  margin-top: 2px;
}

.billing-account-option.add-new .billing-option-name {
  color: var(--primary-blue);
}

.billing-edit-btn {
  background: none;
  border: none;
  padding: 4px 8px;
  font-size: 14px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.15s ease;
}

.billing-edit-btn:hover {
  opacity: 1;
}

.new-billing-form {
  padding-top: 16px;
  border-top: 1px solid #E5E7EB;
}

.new-billing-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.new-billing-form .form-row-3 {
  grid-template-columns: 1fr 70px 90px;
}

.new-billing-form .form-group label {
  font-size: 12px;
  font-weight: 500;
  color: #4B5563;
  margin-bottom: 4px;
  display: block;
}

.new-billing-form input,
.new-billing-form select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #D1D5DB;
  border-radius: var(--radius-sm);
  font-size: 14px;
}

.new-billing-form input:focus,
.new-billing-form select:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* New Customer Form Enhancements */
.new-customer-form .form-row-3 {
  display: grid;
  grid-template-columns: 1fr 70px 90px;
  gap: 12px;
}

.form-group-city { flex: 1; }
.form-group-state { flex: 0 0 70px; }
.form-group-zip { flex: 0 0 90px; }

.label-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  color: #9CA3AF;
  background: #F3F4F6;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  text-transform: uppercase;
}

.skip-link {
  float: right;
  background: none;
  border: none;
  color: #9CA3AF;
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
}

.skip-link:hover {
  color: #6B7280;
}

.form-group.skipped input {
  opacity: 0.5;
  background: #F9FAFB;
}

/* State Select */
#state {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 14px;
  background: white;
  cursor: pointer;
}

/* Address Autocomplete */
.autocomplete-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 100;
  max-height: 200px;
  overflow-y: auto;
  display: none;
}

.address-suggestion {
  padding: 12px 14px;
  cursor: pointer;
  border-bottom: 1px solid #F3F4F6;
  transition: background 0.1s ease;
}

.address-suggestion:last-child {
  border-bottom: none;
}

.address-suggestion:hover {
  background: #F3F4F6;
}

.suggestion-street {
  display: block;
  font-size: 14px;
  color: var(--text-dark);
  font-weight: 500;
}

.suggestion-city {
  display: block;
  font-size: 12px;
  color: #9CA3AF;
  margin-top: 2px;
}

/* Inline Validation Errors */
.field-error {
  display: none;
  font-size: 12px;
  color: #EF4444;
  margin-top: 4px;
}

.field-invalid {
  border-color: #EF4444 !important;
}

.field-invalid:focus {
  box-shadow: 0 0 0 3px rgba(239,68,68,0.1) !important;
}

/* Address Warning */
.address-warning {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #D97706;
  background: rgba(251,191,36,0.1);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  margin-top: 8px;
  animation: fadeIn 0.2s ease;
}

/* Address Correction Modal */
.address-correction-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.address-correction-modal {
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.correction-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.correction-suggestion {
  padding: 16px;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  line-height: 1.5;
}

.correction-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-correction-use {
  padding: 14px 20px;
  background: var(--primary-blue);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.btn-correction-keep {
  padding: 12px 20px;
  background: transparent;
  color: #6B7280;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-md);
  font-size: 14px;
  cursor: pointer;
}

/* Half-muted button (tappable but indicates incomplete) */
.btn-half-muted {
  opacity: 0.5;
}

/* Form group position relative for autocomplete */
.new-customer-form .form-group {
  position: relative;
}

/* Welcome Back Message (legacy) */
.welcome-back {
  background: linear-gradient(135deg, rgba(16,185,129,0.1), rgba(59,178,224,0.1));
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 20px;
  font-size: 14px;
}

/* Address Selection */
.address-selection { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }

.address-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
}

.address-option:hover { border-color: var(--primary-blue); background: var(--bg-light); }
.address-option.selected {
  border-color: var(--primary-blue);
  background: linear-gradient(135deg, rgba(29,81,119,0.05), rgba(59,178,224,0.05));
}

.address-option-check {
  width: 24px; height: 24px;
  border: 2px solid var(--border-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--primary-blue); flex-shrink: 0;
}

.address-option.selected .address-option-check { background: var(--primary-blue); border-color: var(--primary-blue); color: white; }
.address-option-content { flex: 1; }
.address-option-address { font-weight: 600; font-size: 14px; color: var(--text-dark); }
.address-option-city { font-size: 13px; color: var(--text-muted); }
.address-option.new-address { border-style: dashed; }
.address-option.new-address .address-option-address { color: var(--primary-blue); }

/* Membership badge on address cards */
.address-option.has-membership {
  border-color: rgba(102, 126, 234, 0.3);
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.03), rgba(118, 75, 162, 0.03));
}

.address-membership-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 4px 10px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  font-size: 11px;
  color: white;
  font-weight: 600;
}

.address-membership-badge .badge-icon {
  font-size: 12px;
}

.address-membership-badge .badge-count {
  opacity: 0.9;
  font-size: 10px;
  margin-left: 2px;
}

/* Buttons */
.nav-buttons { display: flex; gap: 10px; margin-top: 16px; }

.btn-primary, .btn-secondary, .btn-confirm {
  flex: 1;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.btn-primary, .btn-confirm {
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
  color: white;
}

.btn-primary:hover:not(:disabled), .btn-confirm:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-primary:disabled, .btn-confirm:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-secondary {
  background: var(--bg-light);
  color: var(--text-dark);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover { background: var(--border-light); }

/* Schedule Section */
.schedule-section {
  margin-bottom: 14px;
}

.schedule-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

/* Quick Dates */
.quick-dates {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quick-date-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s;
}

.quick-date-option:first-child {
  border-color: var(--accent-blue);
  background: linear-gradient(135deg, rgba(59,178,224,0.05), rgba(29,81,119,0.05));
}

.quick-date-option:hover {
  border-color: var(--primary-blue);
  background: var(--bg-light);
}

.quick-date-option.selected {
  border-color: var(--primary-blue);
  background: var(--primary-blue);
  color: white;
}

.quick-date-label {
  font-weight: 600;
  font-size: 15px;
}

.quick-date-detail {
  font-size: 14px;
  color: var(--text-muted);
}

.quick-date-option.selected .quick-date-detail {
  color: rgba(255,255,255,0.8);
}

/* Calendar Picker */
.calendar-picker {
  position: relative;
}

.date-input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 16px;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.2s;
}

.date-input:hover {
  border-color: var(--primary-blue);
}

.date-input:focus {
  outline: none;
  border-color: var(--primary-blue);
}

/* Time Slots */
.time-slots { display: flex; flex-direction: column; gap: 6px; }

.time-slot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s;
}

.time-slot:hover { border-color: var(--primary-blue); }
.time-slot.selected {
  border-color: var(--primary-blue);
  background: linear-gradient(135deg, rgba(29,81,119,0.05), rgba(59,178,224,0.05));
}

.time-icon { font-size: 20px; }
.time-label { font-weight: 600; flex: 1; font-size: 14px; }
.time-range { color: var(--text-muted); font-size: 13px; }

/* Confirmation Card */
.confirmation-card {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 14px;
}

.confirm-section {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}

.confirm-section:last-child { border-bottom: none; }
.confirm-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; margin-bottom: 4px; }
.confirm-value { font-weight: 500; line-height: 1.4; }

/* Success Screen */
.success-card { text-align: center; padding: 40px 24px; }

.success-icon {
  width: 80px; height: 80px;
  background: var(--success-green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 40px; color: white;
  margin: 0 auto 20px;
}

.success-title { font-size: 24px; margin-bottom: 8px; }
.success-subtitle { color: var(--text-muted); margin-bottom: 24px; }

.success-details {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
  text-align: left;
}

.success-row { display: flex; gap: 12px; padding: 8px 0; }
.success-label { color: var(--text-muted); min-width: 100px; }
.success-value { font-weight: 500; }
.success-note { font-size: 14px; color: var(--text-muted); margin-bottom: 8px; }

.success-contact { margin-top: 24px; }
.success-contact p { color: var(--text-muted); margin-bottom: 12px; }

.btn-call-large {
  display: inline-block;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
  color: white;
  font-size: 18px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s;
}

.btn-call-large:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* Footer */
.wizard-footer {
  max-width: 480px;
  margin: 20px auto 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

.btn-callback {
  display: inline-block;
  margin-top: 12px;
  padding: 12px 24px;
  background: white;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-callback:hover { border-color: var(--primary-blue); background: var(--bg-light); }

/* Spinner */
.spinner {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Error Card */
.error-card { text-align: center; padding: 40px 24px; }
.error-card h2 { color: #ef4444; margin-bottom: 8px; }
.error-card p { color: var(--text-muted); }

/* Symptom/Qualifying Chips */
.symptom-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.symptom-chip {
  padding: 10px 16px;
  border: 2px solid var(--border-light);
  border-radius: 24px;
  background: white;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.2s ease;
}

.symptom-chip:hover {
  border-color: var(--primary-blue);
  background: var(--bg-light);
}

.symptom-chip.selected {
  border-color: var(--primary-blue);
  background: var(--primary-blue);
  color: white;
}

/* Duration Options */
.duration-group { margin-top: 20px; }

.duration-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.duration-chip {
  padding: 8px 14px;
  border: 2px solid var(--border-light);
  border-radius: 20px;
  background: white;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.2s ease;
}

.duration-chip:hover {
  border-color: var(--secondary-blue);
  background: var(--bg-light);
}

.duration-chip.selected {
  border-color: var(--secondary-blue);
  background: var(--secondary-blue);
  color: white;
}

/* =================================
   CCR INTAKE FORM STYLES
   ================================= */

.selected-service-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-light);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.selected-service-badge .service-icon-small {
  width: 24px;
  height: 24px;
}

.intake-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 16px;
}

.intake-section {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 16px;
}

.intake-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.intake-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--primary-blue);
  color: white;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}

.intake-label-small {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.intake-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.intake-chip {
  padding: 10px 16px;
  border: 2px solid var(--border-light);
  border-radius: 24px;
  background: white;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.2s ease;
}

.intake-chip:hover {
  border-color: var(--primary-blue);
  background: var(--bg-light);
}

.intake-chip.selected {
  border-color: var(--primary-blue);
  background: var(--primary-blue);
  color: white;
}

.intake-chips.small .intake-chip,
.intake-chip.small {
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 16px;
}

.intake-followup {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-light);
}

/* Equipment Age Chips */
.equipment-age-chips {
  gap: 10px;
}

.equipment-age-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 18px;
  border-radius: 12px;
}

.equipment-age-chip .chip-icon {
  font-size: 16px;
}

/* Equipment Location Grid */
.equipment-locations {
  padding: 16px;
}

.location-group {
  margin-bottom: 16px;
}

.location-group:last-child {
  margin-bottom: 0;
}

.location-sublabel {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: block;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

@media (max-width: 600px) {
  .location-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.location-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 6px;
  border: 2px solid var(--border-light);
  border-radius: 10px;
  background: white;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.location-chip:hover {
  border-color: var(--primary-blue);
  background: var(--bg-light);
}

.location-chip.selected {
  border-color: var(--primary-blue);
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary-blue);
}

.location-chip .loc-icon {
  font-size: 20px;
  margin-bottom: 4px;
}

.location-chip .loc-label {
  line-height: 1.2;
}

/* Intake Input */
.intake-input {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid var(--border-light);
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-dark);
  margin-top: 10px;
  transition: border-color 0.2s ease;
}

.intake-input:focus {
  outline: none;
  border-color: var(--primary-blue);
}

.intake-input::placeholder {
  color: var(--text-muted);
}

/* Access Info Styles */
.access-group {
  margin-bottom: 16px;
}

.access-group:last-child {
  margin-bottom: 0;
}

.access-sublabel {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: block;
}

/* Ladder Buttons */
.ladder-group {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.ladder-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.ladder-btn {
  padding: 10px 20px;
  border: 2px solid var(--border-light);
  border-radius: 10px;
  background: white;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.2s ease;
}

.ladder-btn:hover {
  border-color: var(--text-muted);
}

.ladder-btn.selected.yes {
  border-color: #f59e0b;
  background: rgba(245, 158, 11, 0.1);
  color: #b45309;
}

.ladder-btn.selected.no {
  border-color: var(--success-green);
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}

.ladder-length-row {
  margin-top: 10px;
}

/* Intake Textarea */
.intake-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--border-light);
  border-radius: 10px;
  font-size: 14px;
  color: var(--text-dark);
  resize: vertical;
  min-height: 60px;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.intake-textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
}

.intake-textarea::placeholder {
  color: var(--text-muted);
}

/* =================================
   PRICING STEP STYLES
   ================================= */

/* Value Statements */
.value-statements {
  margin-bottom: 16px;
}

.value-card {
  display: flex;
  gap: 10px;
  padding: 10px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  margin-bottom: 6px;
}

.value-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.value-title {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.value-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Pricing Section */
.pricing-section {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
}

.pricing-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.pricing-label {
  font-weight: 600;
  font-size: 16px;
}

.pricing-amount {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-blue);
}

.pricing-amount s {
  color: var(--text-muted);
  font-size: 18px;
  margin-right: 8px;
}

.pricing-note {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Member Pricing */
.member-pricing {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
}

.member-badge {
  display: inline-block;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 12px;
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefits-list li {
  padding: 8px 0;
  font-size: 15px;
}

.savings {
  color: var(--success-green);
  font-weight: 600;
}

/* Upsell Card */
.upsell-card {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border: 2px solid var(--accent-blue);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 20px;
}

.upsell-badge {
  display: inline-block;
  background: var(--accent-orange);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 12px;
  margin-bottom: 10px;
}

.upsell-card h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--primary-blue);
}

.upsell-benefits {
  list-style: none;
  padding: 0;
  margin: 12px 0;
}

.upsell-benefits li {
  padding: 4px 0;
  padding-left: 20px;
  position: relative;
  font-size: 14px;
}

.upsell-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success-green);
  font-weight: bold;
}

.upsell-price {
  font-size: 15px;
  margin-bottom: 16px;
}

.upsell-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-join-club {
  width: 100%;
  padding: 14px;
  font-size: 16px;
}

/* Payment Options */
.payment-options {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.payment-options h4 {
  margin-bottom: 12px;
  font-size: 16px;
}

.payment-choice {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.payment-option {
  display: flex;
  flex-direction: column;
  padding: 16px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s;
}

.payment-option:hover {
  border-color: var(--secondary-blue);
}

.payment-option.selected {
  border-color: var(--primary-blue);
  background: rgba(29, 81, 119, 0.05);
}

.payment-option input {
  position: absolute;
  opacity: 0;
}

.payment-label {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 4px;
}

.payment-desc {
  font-size: 13px;
  color: var(--text-muted);
}

/* System Count */
.system-count {
  margin: 20px 0;
}

.system-count label {
  display: block;
  font-weight: 500;
  margin-bottom: 10px;
}

.count-buttons {
  display: flex;
  gap: 10px;
}

.count-btn {
  flex: 1;
  padding: 12px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  background: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.count-btn:hover {
  border-color: var(--secondary-blue);
}

.count-btn.selected {
  border-color: var(--primary-blue);
  background: var(--primary-blue);
  color: white;
}

/* Maintenance Cards */
.maintenance-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.maintenance-card {
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.maintenance-card:hover {
  border-color: var(--secondary-blue);
}

.maintenance-card.selected {
  border-color: var(--primary-blue);
  background: rgba(29, 81, 119, 0.05);
}

.maintenance-card.best-value {
  border-color: var(--success-green);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(16, 185, 129, 0.1));
}

.best-value-badge {
  position: absolute;
  top: -10px;
  right: 16px;
  background: var(--success-green);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
}

.card-header {
  font-weight: 700;
  font-size: 18px;
  color: var(--primary-blue);
  margin-bottom: 8px;
}

.card-price {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.card-price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
}

.card-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card-features li {
  padding: 4px 0;
  font-size: 13px;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
}

.card-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success-green);
}

/* Free Estimate Section */
.free-estimate {
  text-align: center;
}

.free-badge {
  display: inline-block;
  background: var(--success-green);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 16px;
}

.info-box {
  background: #fef3c7;
  border: 1px solid #f59e0b;
  border-radius: var(--radius-md);
  padding: 14px;
  margin: 16px 0;
  text-align: left;
}

.info-box p {
  font-size: 14px;
  margin: 0;
}

.financing-option {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  text-align: left;
}

.financing-option h4 {
  margin-bottom: 8px;
}

.financing-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.addon-option {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.addon-option h4 {
  margin-bottom: 8px;
}

.addon-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-content {
  background: white;
  border-radius: var(--radius-lg);
  max-width: 420px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--text-muted);
  line-height: 1;
}

.modal-close:hover {
  color: var(--text-dark);
}

.modal-header {
  padding-bottom: 16px;
  border-bottom: 1px solid #E5E7EB;
  margin-bottom: 16px;
}

.modal-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1F2937;
  margin: 0;
}

.modal-body {
  padding: 0 0 16px 0;
}

.modal-body .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.modal-body .form-row-3 {
  grid-template-columns: 1fr 70px 90px;
}

.modal-body .form-group {
  margin-bottom: 12px;
}

.modal-body .form-group label {
  font-size: 12px;
  font-weight: 500;
  color: #4B5563;
  margin-bottom: 4px;
  display: block;
}

.modal-body input,
.modal-body select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #D1D5DB;
  border-radius: var(--radius-sm);
  font-size: 14px;
}

.modal-body input:focus,
.modal-body select:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid #E5E7EB;
}

.modal-footer .btn-secondary {
  padding: 10px 20px;
  background: #F3F4F6;
  color: #374151;
  border: none;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease;
}

.modal-footer .btn-secondary:hover {
  background: #E5E7EB;
}

.modal-footer .btn-primary {
  padding: 10px 20px;
  background: var(--primary-blue);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease;
}

.modal-footer .btn-primary:hover {
  background: var(--secondary-blue);
}

.modal-content h2 {
  text-align: center;
  margin-bottom: 16px;
  color: var(--primary-blue);
}

.promo-banner {
  background: linear-gradient(135deg, var(--accent-orange), #ea580c);
  color: white;
  text-align: center;
  padding: 10px;
  border-radius: var(--radius-md);
  font-weight: 700;
  margin-bottom: 20px;
}

/* Plan Cards in Modal */
.plan-selection h4 {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.plan-cards {
  display: flex;
  gap: 10px;
}

.plan-card {
  flex: 1;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.plan-card:hover {
  border-color: var(--secondary-blue);
}

.plan-card.selected {
  border-color: var(--primary-blue);
  background: rgba(29, 81, 119, 0.05);
}

.plan-name {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 6px;
}

.plan-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-blue);
}

.plan-price span {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  font-size: 11px;
  color: var(--text-muted);
}

.plan-features li {
  padding: 2px 0;
}

.system-count-modal {
  margin: 20px 0;
}

.system-count-modal h4 {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.billing-frequency {
  margin: 20px 0;
}

.billing-frequency h4 {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.frequency-options {
  display: flex;
  gap: 10px;
}

.freq-option {
  flex: 1;
  padding: 12px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.freq-option:hover {
  border-color: var(--secondary-blue);
}

.freq-option.selected {
  border-color: var(--primary-blue);
  background: rgba(29, 81, 119, 0.05);
}

.freq-option input {
  position: absolute;
  opacity: 0;
}

.freq-option span {
  font-weight: 600;
}

.freq-option small {
  display: block;
  font-size: 11px;
  color: var(--success-green);
  margin-top: 4px;
}

.modal-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  margin: 20px 0;
  font-weight: 600;
}

.total-amount {
  font-size: 24px;
  color: var(--primary-blue);
}

.btn-enroll {
  width: 100%;
  padding: 16px;
  font-size: 18px;
}

.modal-terms {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
}

.modal-terms a {
  color: var(--secondary-blue);
}

/* Welcome Member Banner */
.welcome-member-banner {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  text-align: center;
  font-size: 15px;
}

/* Confirm Section Highlight */
.confirm-section.highlight {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border-radius: var(--radius-sm);
  margin: -8px;
  padding: 16px;
  margin-bottom: 8px;
}

.confirm-section.highlight .confirm-value {
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 18px;
}

/* ================================================
   INLINE MEMBERSHIP ENROLLMENT FORM
   ================================================ */

.membership-enrollment-form {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 2px solid #86efac;
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 20px 0;
}

.membership-form-header {
  text-align: center;
  margin-bottom: 20px;
}

.membership-form-header h3 {
  font-size: 18px;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.membership-promo-badge {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  display: inline-block;
  margin-top: 8px;
}

/* Plan Selection Tiles */
.membership-plans {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.membership-plan-tile {
  flex: 1;
  background: white;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.membership-plan-tile:hover {
  border-color: var(--success-green);
}

.membership-plan-tile.selected {
  border-color: var(--success-green);
  background: rgba(16, 185, 129, 0.08);
}

.membership-plan-tile .plan-name {
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 4px;
}

.membership-plan-tile .plan-diagnostic {
  font-size: 11px;
  color: var(--text-muted);
}

/* Enrollment Options Row */
.enrollment-options-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.enrollment-option-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.enrollment-option-group select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 14px;
  background: white;
  cursor: pointer;
}

/* System Count Buttons */
.system-buttons {
  display: flex;
  gap: 6px;
}

.system-btn {
  flex: 1;
  padding: 10px 0;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.system-btn:hover {
  border-color: var(--secondary-blue);
}

.system-btn.selected {
  border-color: var(--primary-blue);
  background: rgba(29, 81, 119, 0.1);
  color: var(--primary-blue);
}

/* Promo Code Input */
.promo-code-row {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.promo-code-row input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 14px;
  text-transform: uppercase;
}

.promo-code-row input::placeholder {
  text-transform: none;
}

.promo-apply-btn {
  padding: 10px 16px;
  background: var(--secondary-blue);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
}

.promo-apply-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.promo-success {
  color: var(--success-green);
  font-size: 12px;
  margin-top: 4px;
}

.promo-error {
  color: #ef4444;
  font-size: 12px;
  margin-top: 4px;
}

/* Quote Summary Card */
.quote-summary {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 16px;
}

.quote-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 14px;
}

.quote-row.discount {
  color: var(--success-green);
}

.quote-row.total {
  border-top: 2px solid var(--border-light);
  margin-top: 8px;
  padding-top: 12px;
  font-weight: 700;
  font-size: 18px;
}

.quote-row.total .quote-value {
  color: var(--success-green);
}

.quote-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
  text-align: center;
}

/* Card Payment Section */
.card-payment-section {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 16px;
}

.card-section-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Stax iframe containers */
.card-field-container {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  height: 44px;
  padding: 0 12px;
  margin-bottom: 12px;
  overflow: hidden;
}

.card-field-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.card-field-container:focus-within {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(29, 81, 119, 0.1);
}

.card-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

.card-row select {
  padding: 10px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 14px;
  background: white;
}

.card-row .card-field-container {
  margin-bottom: 0;
}

.card-loading, .card-error {
  text-align: center;
  padding: 20px;
  font-size: 14px;
}

.card-loading {
  color: var(--text-muted);
}

.card-error {
  color: #ef4444;
}

.tokenize-btn {
  width: 100%;
  padding: 12px;
  background: var(--primary-blue);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 12px;
}

.tokenize-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.card-secured-text {
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 10px;
}

.card-success {
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
  color: var(--success-green);
  font-weight: 600;
}

/* Terms Checkbox */
.terms-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}

.terms-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--success-green);
}

.terms-row label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

.terms-row a {
  color: var(--secondary-blue);
  text-decoration: underline;
}

/* Enroll Button */
.enroll-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.enroll-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.enroll-btn:not(:disabled):hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Skip enrollment link */
.skip-enrollment {
  text-align: center;
  margin-top: 12px;
}

.skip-enrollment button {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
}

.skip-enrollment button:hover {
  color: var(--text-dark);
}

/* Enrollment Success Banner */
.enrollment-success-banner {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 16px;
  border-radius: var(--radius-md);
  margin: 20px 0;
  text-align: center;
}

.enrollment-success-banner h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.enrollment-success-banner p {
  font-size: 14px;
  opacity: 0.9;
}

/* =================================
   SKELETON LOADING STATE
   ================================= */

.wizard-skeleton {
  max-width: 440px;
  margin: 0 auto;
}

.wizard-skeleton .wizard-card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.skeleton-header {
  padding: 10px 16px;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}

.skeleton-logo {
  width: 100px;
  height: 32px;
  background: var(--bg-light);
  border-radius: 4px;
  margin: 0 auto 6px;
  animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.skeleton-progress {
  height: 6px;
  background: var(--border-light);
  border-radius: 3px;
  margin-bottom: 8px;
}

.skeleton-step {
  width: 160px;
  height: 16px;
  background: var(--bg-light);
  border-radius: 4px;
  margin: 0 auto;
  animation: skeleton-pulse 1.5s ease-in-out infinite;
  animation-delay: 100ms;
}

.skeleton-content {
  padding: 14px 16px;
}

.skeleton-trust {
  height: 28px;
  background: #F9FAFB;
  margin: -14px -16px 10px -16px;
  animation: skeleton-pulse 1.5s ease-in-out infinite;
  animation-delay: 150ms;
}

.skeleton-title {
  width: 80%;
  height: 22px;
  background: var(--bg-light);
  border-radius: 6px;
  margin-bottom: 4px;
  animation: skeleton-pulse 1.5s ease-in-out infinite;
  animation-delay: 200ms;
}

.skeleton-subtitle {
  width: 90%;
  height: 16px;
  background: var(--bg-light);
  border-radius: 4px;
  margin-bottom: 12px;
  animation: skeleton-pulse 1.5s ease-in-out infinite;
  animation-delay: 250ms;
}

.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}

.skeleton-card {
  height: 80px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.skeleton-card:nth-child(1) { animation-delay: 300ms; }
.skeleton-card:nth-child(2) { animation-delay: 350ms; }
.skeleton-card:nth-child(3) { animation-delay: 400ms; }
.skeleton-card:nth-child(4) { animation-delay: 450ms; }
.skeleton-card:nth-child(5) { animation-delay: 500ms; }
.skeleton-card:nth-child(6) { animation-delay: 550ms; }

.skeleton-help {
  height: 40px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  animation: skeleton-pulse 1.5s ease-in-out infinite;
  animation-delay: 600ms;
}

@keyframes skeleton-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Hide skeleton when wizard loads */
#wizard-container:not(:empty) ~ #wizard-skeleton,
#wizard-container:not(:empty) + #wizard-skeleton {
  display: none;
}

#wizard-skeleton {
  display: block;
}

#wizard-container:not(:empty) ~ #wizard-skeleton {
  display: none;
}

/* Fix: Skeleton should hide when container has content */
body:has(#wizard-container:not(:empty)) #wizard-skeleton {
  display: none;
}

/* ========== STEP 5: SCHEDULING REDESIGN ========== */

.schedule-step-container {
  padding: 0;
}

.member-priority-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: linear-gradient(135deg, #FFF7ED 0%, #FFFBEB 100%);
  border: 1px solid #FDE68A;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.member-priority-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.member-priority-content strong {
  display: block;
  color: #92400E;
  font-size: 15px;
  margin-bottom: 4px;
}

.member-priority-content p {
  color: #B45309;
  font-size: 13px;
  margin: 0;
}

.callback-scheduling-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #EEF2FF;
  border: 1px solid #C7D2FE;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.callback-scheduling-banner .callback-icon {
  font-size: 20px;
}

.callback-scheduling-banner p {
  margin: 0;
  color: #4338CA;
  font-size: 13px;
}

.schedule-helper {
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
  margin-bottom: 20px;
}

.schedule-mode-explainer {
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary, #64748b);
  margin: -8px 0 16px;
  padding: 8px 16px;
  background: var(--surface-secondary, #f8fafc);
  border-radius: var(--radius-sm, 8px);
  border: 1px solid var(--border-light, #e2e8f0);
}

.schedule-mode-explainer strong {
  color: var(--text-primary, #1e293b);
}

.urgency-nudge {
  background: #FEF3C7;
  border: 1px solid #FCD34D;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 20px;
  text-align: center;
}

.urgency-nudge p {
  margin: 0 0 8px 0;
  color: #92400E;
  font-size: 13px;
}

.urgency-call-link {
  color: #B45309;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.urgency-call-link:hover {
  text-decoration: underline;
}

/* Schedule loading state */
.schedule-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  color: var(--text-muted);
}

.schedule-loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border-light);
  border-top-color: var(--primary-blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 16px;
}

.schedule-loading p {
  font-size: 14px;
  margin: 0;
}

/* Schedule dates grid */
.schedule-dates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.schedule-date-column {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.schedule-date-header {
  padding: 12px 8px;
  text-align: center;
  background: #F3F4F6;
  border-bottom: 1px solid var(--border-light);
}

.schedule-day-name {
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-dark);
}

.schedule-date-display {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.schedule-time-slots {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
}

.schedule-slot-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 8px;
  background: white;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}

.schedule-slot-btn:hover:not(:disabled) {
  border-color: var(--primary-blue);
  background: #F0F9FF;
}

.schedule-slot-btn.selected {
  border-color: var(--primary-blue);
  background: var(--primary-blue);
  color: white;
}

.schedule-slot-btn.selected .slot-time {
  color: white;
}

.schedule-slot-btn.slot-full {
  background: #F9FAFB;
  border-color: #E5E7EB;
  cursor: not-allowed;
  opacity: 0.6;
}

.schedule-slot-btn.selected-flash {
  animation: slotSelectFlash 0.3s ease;
}

@keyframes slotSelectFlash {
  0% { transform: scale(1); }
  50% { transform: scale(0.95); }
  100% { transform: scale(1); }
}

.slot-time {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
}

.slot-scarcity {
  font-size: 10px;
  color: #DC2626;
  font-weight: 500;
  background: #FEE2E2;
  padding: 2px 6px;
  border-radius: 10px;
}

.slot-unavailable {
  font-size: 10px;
  color: #6B7280;
}

/* Show more dates button */
.show-more-dates-btn {
  display: block;
  width: 100%;
  padding: 12px;
  background: none;
  border: 2px dashed var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s ease;
  margin-bottom: 16px;
}

.show-more-dates-btn:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

.additional-dates {
  margin-bottom: 16px;
}

.additional-dates.hidden {
  display: none;
}

/* Custom date picker section */
.pick-date-section {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--surface-secondary, #f8fafc);
  border: 1px solid var(--border-light, #e2e8f0);
  border-radius: var(--radius-sm, 8px);
}

.pick-date-label {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary, #64748b);
  white-space: nowrap;
}

.custom-date-input {
  flex: 1;
  max-width: 200px;
  padding: 8px 12px;
  border: 1px solid var(--border-light, #e2e8f0);
  border-radius: var(--radius-sm, 8px);
  font-size: 14px;
  color: var(--text-primary, #1e293b);
  background: #fff;
  cursor: pointer;
}

.custom-date-input:focus {
  outline: none;
  border-color: var(--primary-blue, #3b82f6);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.custom-date-slots-container {
  margin-top: 8px;
}

.custom-date-slots-container.hidden {
  display: none;
}

/* Member scheduling nudge */
.member-scheduling-nudge {
  background: #F0FDF4;
  border: 1px solid #86EFAC;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 20px;
}

.member-scheduling-nudge p {
  margin: 0;
  color: #166534;
  font-size: 13px;
}

/* Fallback schedule styling */
.fallback-schedule {
  padding: 16px 0;
}

.fallback-schedule .schedule-section {
  margin-bottom: 20px;
}

.fallback-schedule .schedule-label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.fallback-schedule .calendar-picker {
  margin-bottom: 16px;
}

.fallback-schedule .date-input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 16px;
}

.fallback-schedule .date-input:focus {
  outline: none;
  border-color: var(--primary-blue);
}

.fallback-schedule .time-slots {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fallback-schedule .time-slot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: white;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
}

.fallback-schedule .time-slot:hover {
  border-color: var(--primary-blue);
}

.fallback-schedule .time-slot.selected {
  border-color: var(--primary-blue);
  background: #F0F9FF;
}

.fallback-schedule .time-label {
  font-weight: 600;
  color: var(--text-dark);
}

.fallback-schedule .time-range {
  color: var(--text-muted);
  font-size: 13px;
}

/* Schedule error state */
.schedule-error {
  text-align: center;
  padding: 16px;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.schedule-error p {
  margin: 0;
  color: #991B1B;
  font-size: 14px;
}

/* ========== STEP 6: VALUE BUILD STYLES ========== */

/* Appointment Confirmation Banner */
.step6-appointment-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
  border: 1px solid #93C5FD;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.appointment-check {
  width: 36px;
  height: 36px;
  background: var(--primary-blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.appointment-info {
  flex: 1;
}

.appointment-title {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.appointment-datetime {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.appointment-edit-btn {
  background: transparent;
  border: 1px solid var(--primary-blue);
  color: var(--primary-blue);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.appointment-edit-btn:hover {
  background: var(--primary-blue);
  color: white;
}

/* Value Build Section */
.step6-value-section {
  margin-bottom: 24px;
}

.step6-section-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 16px 0;
}

.step6-value-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step6-value-card {
  display: flex;
  gap: 10px;
  padding: 10px;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  animation: slideUp 0.3s ease forwards;
}

.step6-value-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.step6-value-content {
  flex: 1;
}

.step6-value-title {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.step6-value-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Diagnostic Fee Section */
.step6-diagnostic-section {
  padding: 16px;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.diagnostic-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.diagnostic-label {
  font-size: 14px;
  color: var(--text-secondary);
}

.diagnostic-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
}

.diagnostic-explanation {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 8px 0;
  line-height: 1.4;
}

.diagnostic-note {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  font-style: italic;
}

/* Membership Upsell Section */
.step6-membership-upsell {
  background: linear-gradient(135deg, #FEF3C7, #FDE68A);
  border: 2px solid #F59E0B;
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 16px;
}

.upsell-header {
  text-align: center;
  margin-bottom: 16px;
}

.upsell-badge {
  display: inline-block;
  background: #F59E0B;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
}

.upsell-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.upsell-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.4;
}

/* Plan Selection Tiles */
.step6-plan-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.step6-plan-tile {
  position: relative;
  background: white;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.step6-plan-tile:hover {
  border-color: var(--primary-blue);
  transform: translateY(-2px);
}

.step6-plan-tile.selected {
  border-color: var(--primary-blue);
  background: #EFF6FF;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.step6-plan-tile.recommended {
  border-color: #F59E0B;
}

.plan-recommended-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #F59E0B;
  color: white;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 10px;
  white-space: nowrap;
}

.plan-tile-name {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 3px;
  font-size: 13px;
}

.plan-tile-diagnostic {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 3px;
}

.plan-tile-savings {
  font-size: 11px;
  color: var(--success-color);
  font-weight: 500;
  min-height: 14px;
}

.plan-tile-benefits {
  list-style: none;
  padding: 0;
  margin: 8px 0 0 0;
  text-align: left;
  font-size: 11px;
  color: var(--text-secondary);
}

.plan-tile-benefits li {
  margin-bottom: 2px;
}

/* Plan Configurator */
.step6-configurator {
  background: white;
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 16px;
}

.configurator-option {
  margin-bottom: 16px;
}

.configurator-option.full-width {
  margin-bottom: 20px;
}

.configurator-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

@media (max-width: 480px) {
  .configurator-row {
    grid-template-columns: 1fr;
  }
}

.configurator-option label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.configurator-option select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 14px;
  background: white;
}

.system-selector {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.system-btn {
  flex: 1;
  min-width: 50px;
  padding: 10px 8px;
  border: 2px solid var(--border-light);
  background: white;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  color: var(--text-dark);
}

.system-btn:hover {
  border-color: var(--secondary-blue);
  background: #f8f9fa;
}

.system-btn.selected {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  color: white;
}

/* Promo Code Section */
.promo-code-section {
  margin-bottom: 14px;
}

.promo-code-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.promo-code-row input {
  flex: 1;
  padding: 10px 12px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 13px;
  background: white;
  transition: border-color 0.15s ease;
}

.promo-code-row input:focus {
  outline: none;
  border-color: var(--primary-blue);
}

.promo-apply-btn {
  padding: 10px 16px;
  background: var(--primary-blue);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.promo-apply-btn:hover {
  background: var(--secondary-blue);
  transform: translateY(-1px);
}

.promo-apply-btn:active {
  transform: translateY(0);
}

#promo-feedback {
  font-size: 12px;
  margin-top: 0;
  min-height: 18px;
  line-height: 1.4;
}

#promo-feedback.promo-success {
  color: var(--success-color);
  font-weight: 500;
}

#promo-feedback.promo-error {
  color: var(--error-color);
}

#promo-feedback.promo-hint {
  color: var(--accent-orange);
  font-weight: 500;
}

/* Toggle Buttons for Tune-Ups and Billing */
.toggle-buttons {
  display: flex;
  gap: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--border-light);
  background: white;
}

.toggle-btn {
  flex: 1;
  padding: 10px 12px;
  background: white;
  border: none;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  color: var(--text-muted);
  white-space: nowrap;
  text-align: center;
}

.toggle-btn:not(:last-child) {
  border-right: 2px solid var(--border-light);
}

.toggle-btn:hover:not(.selected) {
  background: #f8f9fa;
  color: var(--text-dark);
}

.toggle-btn.selected {
  background: var(--primary-blue);
  color: white;
}

.toggle-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.25);
  padding: 2px 6px;
  border-radius: 10px;
  font-size: 10px;
  margin-left: 4px;
  font-weight: 500;
}

/* Quote Card */
.step6-quote-card {
  background: #f8f9fa;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 16px;
}

.quote-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 13px;
}

.quote-row.total {
  border-top: 2px solid var(--border-light);
  margin-top: 6px;
  padding-top: 8px;
  font-weight: 700;
  font-size: 15px;
}

.quote-original {
  color: var(--text-muted);
  text-decoration: line-through;
}

.quote-discount {
  color: var(--success-color);
  font-weight: 500;
}

.quote-final {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-blue);
}

.quote-period {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
}

.quote-includes {
  font-size: 13px;
  color: var(--text-secondary);
  text-align: center;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-light);
}

/* Payment Section */
.step6-payment-section {
  background: white;
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 16px;
}

.card-section-title {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.card-field-row {
  margin-bottom: 12px;
}

.card-field-container {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0 12px;
  height: 44px;
  background: white;
}

.card-number-container {
  width: 100%;
}

.card-cvv-container {
  width: 80px;
  flex-shrink: 0;
}

.card-row {
  display: flex;
  gap: 8px;
}

.card-exp-select {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 14px;
  background: white;
}

.tokenize-btn {
  width: 100%;
  padding: 12px;
  background: var(--primary-blue);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 12px;
  transition: all 0.15s ease;
}

.tokenize-btn:hover {
  background: #2563EB;
}

.tokenize-btn:disabled {
  background: var(--text-muted);
  cursor: not-allowed;
}

.card-secured-text {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
}

.card-loading {
  text-align: center;
  padding: 20px;
  color: var(--text-muted);
}

.card-loading.card-error {
  color: var(--error-color);
}

.card-success {
  padding: 16px;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  border-radius: var(--radius-sm);
  color: #065F46;
  font-weight: 500;
  text-align: center;
}

/* Terms Section */
.step6-terms-section {
  margin-bottom: 16px;
}

.terms-checkbox-label {
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
}

.terms-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.terms-checkbox-label a {
  color: var(--primary-blue);
}

/* Enroll Button */
.step6-enroll-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #22C55E, #16A34A);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.step6-enroll-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(34, 197, 94, 0.4);
}

.step6-enroll-btn:disabled {
  background: var(--text-muted);
  box-shadow: none;
  cursor: not-allowed;
}

/* Decline Section */
.step6-decline-section {
  text-align: center;
  margin-bottom: 24px;
}

.step6-decline-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
  padding: 8px;
}

.step6-decline-btn:hover {
  color: var(--text-secondary);
}

/* Decline Nudge */
.step6-decline-nudge {
  background: #FEF3C7;
  border: 1px solid #FCD34D;
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
}

.nudge-content {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.nudge-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.nudge-text {
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.4;
}

.nudge-actions {
  display: flex;
  gap: 12px;
}

.nudge-accept-btn {
  flex: 1;
  padding: 10px;
  background: var(--primary-blue);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
}

.nudge-decline-btn {
  flex: 1;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer;
}

/* Non-Member Payment */
.step6-nonmember-payment {
  background: white;
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
}

.payment-choice-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 16px 0;
}

.payment-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.payment-option-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  background: white;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.15s ease;
}

.payment-option-card:hover {
  border-color: var(--primary-blue);
}

.payment-option-card.selected {
  border-color: var(--primary-blue);
  background: #EFF6FF;
}

.payment-option-card input {
  display: none;
}

.payment-option-icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.payment-option-label {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.payment-option-desc {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

/* Cross-Sell Section — Duct Cleaning Offer */
.step6-crosssell-section {
  background: linear-gradient(135deg, #F0FDF4, #DCFCE7);
  border: 1px solid #86EFAC;
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 24px;
}
.step6-crosssell-section.dc-added {
  border-color: #22C55E;
  background: linear-gradient(135deg, #ECFDF5, #D1FAE5);
}
.crosssell-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.crosssell-icon { font-size: 20px; }
.crosssell-title { font-weight: 600; color: var(--text-primary); }

/* Offer Card */
.dc-offer-card {
  background: white;
  border-radius: var(--radius-sm);
  padding: 16px;
}
.dc-offer-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.dc-offer-icon { font-size: 28px; }
.dc-offer-title-group { flex: 1; }
.dc-offer-title { margin: 0; font-size: 17px; font-weight: 700; color: var(--text-primary); }
.dc-offer-badge {
  display: inline-block;
  background: #EF4444;
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  margin-top: 4px;
}

/* Benefits List */
.dc-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
.dc-benefits li {
  padding: 4px 0;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Pricing Block */
.dc-pricing-block {
  background: #F9FAFB;
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 14px;
  text-align: center;
}
.dc-price-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.dc-price-original {
  font-size: 18px;
  color: #9CA3AF;
  text-decoration: line-through;
}
.dc-price-original small, .dc-price-final small { font-size: 12px; }
.dc-price-arrow { color: #9CA3AF; font-size: 16px; }
.dc-price-final {
  font-size: 22px;
  font-weight: 700;
  color: #059669;
}
.dc-discount-tag {
  background: #FEE2E2;
  color: #DC2626;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
}
.dc-savings-text {
  font-size: 13px;
  color: #059669;
  font-weight: 600;
  margin-top: 6px;
}

/* Membership Upsell */
.dc-membership-upsell {
  background: linear-gradient(135deg, #FEF3C7, #FDE68A);
  border: 1px solid #F59E0B;
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 14px;
}
.dc-upsell-callout {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}
.dc-upsell-icon { font-size: 24px; }
.dc-upsell-content { flex: 1; font-size: 14px; color: #92400E; line-height: 1.5; }
.dc-upsell-price { margin-top: 4px; font-size: 13px; }
.dc-upsell-btn {
  display: block;
  width: 100%;
  padding: 10px;
  background: #F59E0B;
  color: white;
  font-weight: 700;
  font-size: 14px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s;
}
.dc-upsell-btn:hover { background: #D97706; }

/* System Count Selector */
.dc-system-selector {
  margin-bottom: 14px;
}
.dc-system-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 8px;
}
.dc-system-buttons {
  display: flex;
  gap: 8px;
}
.dc-count-btn {
  flex: 1;
  padding: 8px 0;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: white;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.dc-count-btn:hover { border-color: var(--primary-blue); }
.dc-count-btn.selected {
  background: var(--primary-blue);
  color: white;
  border-color: var(--primary-blue);
}

/* Total Row */
.dc-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid #E5E7EB;
  margin-bottom: 12px;
}
.dc-total-label { font-size: 14px; color: var(--text-secondary); }
.dc-total-price { font-size: 20px; font-weight: 700; color: #059669; }

/* Urgency Bar */
.dc-urgency {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 14px;
  font-size: 13px;
  color: #991B1B;
  line-height: 1.4;
}
.dc-urgency-icon { font-size: 18px; flex-shrink: 0; }

/* Add Button */
.dc-add-btn {
  display: block;
  width: 100%;
  padding: 14px;
  background: #059669;
  color: white;
  font-weight: 700;
  font-size: 16px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s;
}
.dc-add-btn:hover { background: #047857; }

/* Added Confirmation */
.dc-added-confirmation {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ECFDF5;
  border: 1px solid #34D399;
  border-radius: var(--radius-sm);
  padding: 12px;
}
.dc-added-check { font-size: 20px; }
.dc-added-text { flex: 1; font-weight: 600; color: #065F46; }
.dc-remove-btn {
  background: none;
  border: 1px solid #D1D5DB;
  color: #6B7280;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  cursor: pointer;
}
.dc-remove-btn:hover { background: #F3F4F6; }
.dc-schedule-note {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 10px;
}

/* Step 7 — Duct Cleaning Review Section */
.review-section-ductcleaning {
  border: 2px solid #059669;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #F0FDF4, #ECFDF5);
  margin-top: 16px;
}
.dc-review-summary {
  margin-bottom: 16px;
}
.dc-review-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
}
.dc-review-price { font-weight: 700; color: #059669; font-size: 18px; }
.dc-review-discount { font-size: 12px; color: #059669; font-weight: 500; margin-top: 2px; }
.dc-review-remove {
  color: #EF4444 !important;
  font-size: 13px;
}

/* Duct Cleaning Schedule Section */
.dc-schedule-section { margin-bottom: 16px; }
.dc-schedule-title { font-size: 15px; font-weight: 600; margin: 0 0 4px; }
.dc-schedule-desc { font-size: 13px; color: var(--text-secondary); margin: 0 0 12px; }
.dc-schedule-fields { display: flex; flex-direction: column; gap: 12px; }
.dc-field-group {}
.dc-field-label { display: block; font-size: 12px; font-weight: 600; color: var(--text-secondary); margin-bottom: 4px; }
.dc-date-select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 14px;
  background: white;
}
.dc-time-buttons { display: flex; gap: 8px; }
.dc-time-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: white;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.dc-time-btn small { font-size: 11px; font-weight: 400; color: var(--text-secondary); }
.dc-time-btn:hover { border-color: var(--primary-blue); }
.dc-time-btn.selected {
  background: var(--primary-blue);
  color: white;
  border-color: var(--primary-blue);
}
.dc-time-btn.selected small { color: rgba(255,255,255,0.8); }

/* Duct Cleaning Payment Section */
.dc-payment-section { margin-top: 16px; border-top: 1px solid #E5E7EB; padding-top: 16px; }
.dc-payment-title { font-size: 15px; font-weight: 600; margin: 0 0 8px; }
.dc-payment-desc { font-size: 13px; color: var(--text-secondary); margin: 0 0 12px; }
.dc-card-on-file {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background: white;
  border: 1px solid #34D399;
  border-radius: var(--radius-sm);
  font-size: 14px;
}
.dc-card-check { font-size: 18px; }
.dc-card-reuse { margin-left: auto; font-size: 13px; color: #059669; font-weight: 600; }

/* Highlight pulse animation for scrolling to membership section */
@keyframes highlight-pulse-anim {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.5); }
  50% { box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}
.highlight-pulse {
  animation: highlight-pulse-anim 0.8s ease 2;
}

/* Member VIP Banner */
.step6-member-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: linear-gradient(135deg, #FEF3C7, #FDE68A);
  border: 2px solid #F59E0B;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.member-vip-badge {
  font-size: 32px;
}

.member-banner-content {
  flex: 1;
}

.member-banner-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.member-banner-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Member Benefits Card */
.step6-benefits-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
}

.benefits-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 16px 0;
}

.benefits-list-large {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}

.benefit-item:last-child {
  border-bottom: none;
}

.benefit-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.benefit-text {
  flex: 1;
  font-size: 14px;
  color: var(--text-primary);
}

.benefit-savings {
  background: #ECFDF5;
  color: #065F46;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

/* Value Reminder (shortened for members) */
.step6-value-reminder {
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
}

.step6-value-reminder h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 12px 0;
}

.value-reminder-cards {
  display: flex;
  gap: 12px;
}

.value-reminder-card {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  background: white;
  border-radius: var(--radius-sm);
}

.value-reminder-icon {
  font-size: 20px;
}

.value-reminder-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
}

/* Free Estimate Banner */
.step6-free-estimate {
  background: linear-gradient(135deg, #ECFDF5, #D1FAE5);
  border: 1px solid #6EE7B7;
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
}

.free-estimate-badge {
  display: inline-block;
  background: #22C55E;
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.estimate-checklist {
  list-style: none;
  padding: 0;
  margin: 12px 0 0 0;
}

.estimate-checklist li {
  padding: 6px 0;
  font-size: 14px;
  color: var(--text-primary);
}

/* Reminders Section */
.step6-reminders {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
}

.step6-reminders h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 12px 0;
}

.reminder-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.reminder-list li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-secondary);
}

/* Financing Banner */
.step6-financing {
  background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
  border: 1px solid #93C5FD;
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
  text-align: center;
}

.financing-badge {
  display: inline-block;
  background: var(--primary-blue);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

.step6-financing p {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
}

/* ========================================
   STEP 7 - REVIEW & CONFIRM SCREEN
   ======================================== */

/* Summary Card */
.review-summary-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Section Styling */
.review-section {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
}

.review-section:last-child {
  border-bottom: none;
}

.review-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.review-section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.review-edit-btn {
  background: none;
  border: none;
  padding: 4px 8px;
  font-size: 13px;
  color: var(--primary-blue);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease;
}

.review-edit-btn:hover {
  background: #EFF6FF;
}

/* Section Content */
.review-section-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.review-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.review-icon {
  font-size: 16px;
  flex-shrink: 0;
  width: 24px;
  text-align: center;
}

.review-value {
  font-size: 15px;
  color: var(--text-primary);
  line-height: 1.4;
}

.review-detail {
  font-size: 13px;
  color: var(--text-secondary);
  padding-left: 34px;
}

.review-subtext {
  font-size: 13px;
  color: var(--text-muted);
  margin: 4px 0 0 0;
  padding-left: 34px;
}

/* Highlighted Section (Cost) */
.review-section-highlight {
  background: linear-gradient(135deg, #F0FDF4, #DCFCE7);
}

/* Cost Rows */
.cost-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.cost-row-success {
  color: var(--success-green);
}

.cost-label {
  font-size: 15px;
  color: var(--text-primary);
}

.cost-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.cost-original {
  text-decoration: line-through;
  color: var(--text-muted);
  font-weight: 400;
}

.cost-savings {
  display: block;
  font-size: 12px;
  color: var(--success-green);
  font-weight: 600;
  margin-top: 2px;
}

.cost-subtext {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.cost-note {
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--border-light);
}

/* Membership Section */
.review-section-membership {
  background: linear-gradient(135deg, #FFFBEB, #FEF3C7);
}

.review-membership-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: linear-gradient(135deg, #F59E0B, #D97706);
  color: white;
  border-radius: var(--radius-md);
  margin-bottom: 8px;
}

.membership-star {
  font-size: 18px;
}

.membership-label {
  font-size: 14px;
  font-weight: 600;
}

.membership-benefits-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0 0;
}

.membership-benefits-list li {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 4px 0;
}

/* Callback Section */
.review-section-callback {
  background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
}

.review-callback-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  background: white;
  border: 2px solid #3B82F6;
  border-radius: var(--radius-md);
}

.callback-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.callback-content {
  flex: 1;
}

.callback-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.callback-text {
  font-size: 13px;
  color: #16A34A;
  font-weight: 500;
}

/* Notification Preferences */
.review-notifications {
  background: #F9FAFB;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
}

.notifications-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 0 0 12px 0;
}

.notification-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.notification-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: white;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-primary);
}

.notification-icon {
  font-size: 16px;
  flex-shrink: 0;
}

.notification-item span:nth-child(2) {
  flex: 1;
}

.notification-check {
  color: var(--success-green);
  font-weight: 700;
  font-size: 16px;
}

/* Review Actions */
.review-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.btn-confirm-large {
  width: 100%;
  padding: 18px 24px;
  background: linear-gradient(135deg, var(--primary-blue), #2563EB);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  transition: all 0.2s ease;
}

.btn-confirm-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.btn-confirm-large:active {
  transform: translateY(0);
}

.btn-confirm-large:disabled {
  background: var(--text-muted);
  box-shadow: none;
  cursor: not-allowed;
}

.btn-text-muted {
  background: none;
  border: none;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s ease;
}

.btn-text-muted:hover {
  color: var(--text-primary);
}

.review-disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin: 8px 0 0 0;
  line-height: 1.5;
}

/* ========================================
   SUCCESS SCREEN STYLES
   ======================================== */

/* Confetti Animation */
.confetti-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 10;
}

.confetti-piece {
  position: absolute;
  top: -10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  animation: confetti-fall 3s ease-out forwards;
}

@keyframes confetti-fall {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(500px) rotate(720deg);
    opacity: 0;
  }
}

/* Success Header */
.success-card {
  position: relative;
  text-align: center;
}

.success-header {
  margin-bottom: 24px;
}

.success-emoji {
  font-size: 48px;
  margin-bottom: 12px;
  animation: bounce 0.5s ease-out;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.success-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
}

/* Job Confirmation Card */
.success-job-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
  text-align: left;
}

.success-job-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 15px;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-light);
}

.success-job-row:last-child {
  border-bottom: none;
}

.success-icon-sm {
  font-size: 18px;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.success-job-row.success-callback {
  background: #EFF6FF;
  margin: 8px -16px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: var(--primary-blue);
  font-weight: 500;
}

.success-job-row.success-member {
  background: #FFFBEB;
  margin: 8px -16px -16px -16px;
  padding: 12px 16px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  color: #B45309;
  font-weight: 500;
}

/* Confirmation Sent */
.success-confirmations {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
  text-align: left;
}

.confirmations-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 0 0 12px 0;
}

.confirmation-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.confirmation-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-primary);
}

.confirmation-item span:first-child {
  font-size: 16px;
}

.confirmation-item span:nth-child(2) {
  flex: 1;
}

.confirmation-check {
  color: var(--success-green);
  font-weight: 700;
  font-size: 16px;
}

/* Success Sections */
.success-section {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
  text-align: left;
}

.success-section-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 16px 0;
}

/* What Happens Next Steps */
.success-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.success-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  background: #F9FAFB;
  border-radius: var(--radius-sm);
}

.step-number {
  width: 24px;
  height: 24px;
  background: var(--primary-blue);
  color: white;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.step-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* How to Prepare Checklist */
.success-checklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
}

.checklist-box {
  font-size: 16px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.checklist-item.checked .checklist-box {
  color: var(--success-green);
}

.checklist-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.success-reminder {
  margin-top: 12px;
  padding: 12px;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: #92400E;
}

/* Action Buttons */
.success-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.btn-success-action {
  flex: 1;
  padding: 14px 16px;
  background: var(--primary-blue);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-success-action:hover {
  background: #2563EB;
  transform: translateY(-2px);
}

.btn-success-action-secondary {
  flex: 1;
  padding: 14px 16px;
  background: white;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-success-action-secondary:hover {
  background: #F9FAFB;
  border-color: var(--text-muted);
}

/* Calendar Modal */
.calendar-options-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.2s ease;
}

.calendar-options-modal.hidden {
  display: none;
}

.calendar-options-content {
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  width: 90%;
  max-width: 320px;
  position: relative;
}

.calendar-options-content h3 {
  margin: 0 0 16px 0;
  font-size: 18px;
  text-align: center;
}

.calendar-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-muted);
  cursor: pointer;
}

.calendar-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-calendar-option {
  padding: 14px 16px;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-calendar-option:hover {
  background: #F9FAFB;
  border-color: var(--primary-blue);
}

/* New Member Welcome Section */
.success-membership-welcome {
  background: linear-gradient(135deg, #FFFBEB, #FEF3C7);
  border: 2px solid #F59E0B;
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
  text-align: left;
}

.membership-welcome-title {
  font-size: 18px;
  font-weight: 700;
  color: #92400E;
  margin: 0 0 8px 0;
}

.membership-welcome-text {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 12px 0;
}

.membership-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}

.membership-benefits li {
  font-size: 14px;
  color: var(--text-primary);
  padding: 4px 0;
}

.membership-portal-link {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0 0 8px 0;
}

.membership-portal-link a {
  color: var(--primary-blue);
}

.membership-email-note {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

/* Success Footer */
.success-footer {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.success-footer-question {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0 0 12px 0;
}

.success-footer-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.btn-footer-call {
  flex: 1;
  padding: 12px 16px;
  background: var(--primary-blue);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-footer-callback {
  flex: 1;
  padding: 12px 16px;
  background: white;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.success-footer-manage {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 16px 0;
}

.success-footer-manage a {
  color: var(--primary-blue);
}

.success-footer-company {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

/* Review Seed Toast */
.review-seed-toast {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 400px;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  transition: bottom 0.3s ease;
}

.review-seed-toast.visible {
  bottom: 20px;
}

.review-seed-toast p {
  font-size: 14px;
  color: var(--text-primary);
  margin: 0 0 12px 0;
  line-height: 1.5;
}

.review-seed-actions {
  display: flex;
  gap: 12px;
}

.btn-review-seed {
  flex: 1;
  padding: 10px 16px;
  background: var(--primary-blue);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.btn-review-seed-dismiss {
  padding: 10px 16px;
  background: none;
  color: var(--text-muted);
  border: none;
  font-size: 14px;
  cursor: pointer;
}


/* ============================================
   TERMS & CONDITIONS MODAL
   ============================================ */

.terms-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}

.terms-modal {
  background: white;
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

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

.terms-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
  flex-shrink: 0;
}

.terms-modal-header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.terms-modal-close {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--bg-light);
  border-radius: 50%;
  font-size: 24px;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.terms-modal-close:hover {
  background: var(--border-light);
  color: var(--text-primary);
}

.terms-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  -webkit-overflow-scrolling: touch;
}

.terms-modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-light);
  flex-shrink: 0;
  display: flex;
  justify-content: center;
}

.terms-modal-footer .btn-primary {
  min-width: 200px;
}

/* Terms Content Styling */
.terms-content {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-primary);
}

.terms-content h1 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 4px 0;
  color: var(--primary-blue);
  text-align: center;
}

.terms-content .terms-tagline {
  font-size: 16px;
  font-style: italic;
  color: var(--text-muted);
  text-align: center;
  margin: 0 0 4px 0;
}

.terms-content .terms-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin: 0 0 8px 0;
}

.terms-content h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px 0;
  text-align: center;
}

.terms-content .terms-effective {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin: 0 0 20px 0;
}

.terms-content h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 24px 0 12px 0;
  color: var(--text-primary);
  border-bottom: 2px solid var(--primary-blue);
  padding-bottom: 6px;
}

.terms-content h4 {
  font-size: 14px;
  font-weight: 600;
  margin: 16px 0 8px 0;
  color: var(--text-primary);
}

.terms-content p {
  margin: 0 0 12px 0;
}

.terms-content ul,
.terms-content ol {
  margin: 0 0 16px 0;
  padding-left: 24px;
}

.terms-content li {
  margin-bottom: 8px;
}

/* Promo Banner */
.terms-promo-banner {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  text-align: center;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 20px;
}

.terms-promo-banner .promo-icon {
  margin-right: 8px;
}

/* Important Box */
.terms-important-box {
  background: #fef3c7;
  border: 1px solid #f59e0b;
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
}

.terms-important-box h3 {
  margin: 0 0 12px 0;
  border: none;
  padding: 0;
  font-size: 15px;
  color: #92400e;
}

.terms-important-box ol {
  margin: 0;
  padding-left: 20px;
}

.terms-important-box li {
  margin-bottom: 6px;
  font-size: 13px;
  color: #78350f;
}

/* Warning Box */
.terms-warning-box {
  background: #fef2f2;
  border: 1px solid #ef4444;
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
}

.terms-warning-box h3,
.terms-warning-box h4 {
  margin: 0 0 8px 0;
  border: none;
  padding: 0;
  font-size: 14px;
  color: #991b1b;
}

.terms-warning-box p {
  margin: 0;
  font-size: 13px;
  color: #7f1d1d;
}

/* Definitions List */
.terms-definitions {
  list-style: none;
  padding: 0;
}

.terms-definitions li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
}

.terms-definitions li:last-child {
  border-bottom: none;
}

/* Tables */
.terms-table-wrapper {
  overflow-x: auto;
  margin: 12px 0 20px 0;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.terms-benefits-table,
.terms-pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.terms-benefits-table th,
.terms-pricing-table th {
  background: var(--primary-blue);
  color: white;
  padding: 10px 12px;
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
}

.terms-benefits-table td,
.terms-pricing-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-light);
}

.terms-benefits-table tr:last-child td,
.terms-pricing-table tr:last-child td {
  border-bottom: none;
}

.terms-benefits-table tr:nth-child(even),
.terms-pricing-table tr:nth-child(even) {
  background: var(--bg-light);
}

.terms-benefits-table .benefit-name {
  font-weight: 500;
  min-width: 180px;
}

/* Not Included Box */
.terms-not-included {
  background: #f3f4f6;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  margin: 16px 0;
}

.terms-not-included h4 {
  margin: 0 0 8px 0;
  font-size: 13px;
  color: var(--text-primary);
}

.terms-not-included p {
  margin: 0 0 4px 0;
  font-size: 13px;
  color: var(--text-muted);
}

.terms-not-included em {
  font-size: 12px;
}

/* Contact Info */
.terms-contact {
  list-style: none;
  padding: 0;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 16px;
}

.terms-contact li {
  margin-bottom: 8px;
}

.terms-contact li:last-child {
  margin-bottom: 0;
}

/* Acceptance Section */
.terms-acceptance {
  background: #ecfdf5;
  border: 1px solid #10b981;
  border-radius: var(--radius-md);
  padding: 16px;
  margin-top: 24px;
}

.terms-acceptance h3 {
  margin: 0 0 8px 0;
  border: none;
  padding: 0;
  font-size: 15px;
  color: #065f46;
}

.terms-acceptance p {
  margin: 0;
  font-size: 13px;
  color: #047857;
}

/* Terms Link Styling */
.terms-link {
  color: var(--primary-blue);
  text-decoration: underline;
  cursor: pointer;
}

.terms-link:hover {
  color: var(--primary-blue-dark);
}

/* Mobile Responsive */
@media (max-width: 600px) {
  .terms-modal-overlay {
    padding: 10px;
  }

  .terms-modal {
    max-height: 95vh;
    border-radius: var(--radius-md);
  }

  .terms-modal-header {
    padding: 16px;
  }

  .terms-modal-header h2 {
    font-size: 18px;
  }

  .terms-modal-body {
    padding: 16px;
  }

  .terms-content {
    font-size: 13px;
  }

  .terms-content h1 {
    font-size: 20px;
  }

  .terms-content h2 {
    font-size: 16px;
  }

  .terms-content h3 {
    font-size: 14px;
  }

  .terms-benefits-table,
  .terms-pricing-table {
    font-size: 11px;
  }

  .terms-benefits-table th,
  .terms-pricing-table th,
  .terms-benefits-table td,
  .terms-pricing-table td {
    padding: 8px 6px;
  }

  .terms-benefits-table .benefit-name {
    min-width: 120px;
  }
}

/* ========== MAINTENANCE STEP 6 ========== */

/* System Count Selector */
.maint-system-selector {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.maint-system-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}
.maint-system-buttons {
  display: flex;
  gap: 6px;
}
.maint-sys-btn {
  width: 40px;
  height: 36px;
  border-radius: 8px;
  border: 2px solid #E5E7EB;
  background: white;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.15s ease;
}
.maint-sys-btn:hover { border-color: var(--primary-blue); }
.maint-sys-btn.selected {
  border-color: var(--primary-blue);
  background: var(--primary-blue);
  color: white;
}

/* Three-Card Grid */
.maint-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

/* Individual Card */
.maint-option-card {
  position: relative;
  background: white;
  border: 2px solid #E5E7EB;
  border-radius: var(--radius-sm);
  padding: 20px 16px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}
.maint-option-card:hover {
  border-color: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.maint-option-card.selected {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}

/* Comfort Club Card - special glow */
.maint-club-card {
  border-color: #F59E0B;
  background: linear-gradient(to bottom, #FFFBEB, white);
}
.maint-club-card.selected {
  border-color: #F59E0B;
  box-shadow: 0 0 0 3px rgba(245,158,11,0.2);
}

/* Card Badge */
.maint-card-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-blue);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 12px;
  white-space: nowrap;
  letter-spacing: 0.3px;
}
.maint-best-value {
  background: linear-gradient(135deg, #F59E0B, #D97706);
}

/* Card Header & Pricing */
.maint-card-header {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  text-align: center;
}
.maint-card-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-blue);
  text-align: center;
  margin-bottom: 4px;
}
.maint-club-card .maint-card-price { color: #D97706; }
.maint-price-unit {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}
.maint-price-per {
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.maint-price-strike {
  text-decoration: line-through;
  color: #9CA3AF;
  font-size: 18px;
  font-weight: 500;
}
.maint-promo-applied {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #059669;
  margin-bottom: 8px;
}

/* Savings Math Box */
.maint-savings-math {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 12px;
}
.maint-savings-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 3px 0;
  color: var(--text-secondary);
}
.maint-savings-highlight {
  font-weight: 700;
  color: #059669;
  font-size: 15px;
  border-top: 1px solid #BBF7D0;
  padding-top: 6px;
  margin-top: 4px;
}
.maint-savings-note {
  font-size: 12px;
  color: #059669;
  margin-top: 6px;
  text-align: center;
}

/* Feature Lists */
.maint-card-features {
  list-style: none;
  padding: 0;
  margin: 12px 0;
  flex: 1;
}
.maint-card-features li {
  font-size: 13px;
  padding: 3px 0;
  color: var(--text-secondary);
}
.maint-club-features li { color: #92400E; }

/* Select Buttons */
.maint-select-btn {
  display: block;
  width: 100%;
  padding: 10px;
  border: 2px solid var(--primary-blue);
  border-radius: 8px;
  background: white;
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s ease;
  margin-top: auto;
}
.maint-select-btn:hover,
.maint-option-card.selected .maint-select-btn {
  background: var(--primary-blue);
  color: white;
}
.maint-club-btn {
  border-color: #F59E0B;
  color: #92400E;
  background: #FEF3C7;
}
.maint-club-btn:hover,
.maint-club-card.selected .maint-club-btn {
  background: #F59E0B;
  color: white;
  border-color: #F59E0B;
}


/* Enrollment Section */
.maint-enrollment-section {
  margin-bottom: 24px;
  transition: all 0.3s ease;
}
.maint-enrollment-section.hidden { display: none; }
.maint-enroll-form {
  background: white;
  border: 2px solid var(--primary-blue);
  border-radius: var(--radius-sm);
  padding: 24px 20px;
}
.maint-enroll-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 18px;
  text-align: center;
}
.maint-enroll-btn {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  font-weight: 700;
  margin-top: 12px;
}
.maint-enroll-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.maint-decline-section {
  text-align: center;
  margin-top: 12px;
}
.maint-decline-link {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  padding: 8px;
}
.maint-decline-link:hover { color: var(--text-primary); }

/* Member Banner */
.maint-member-banner {
  background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
  border: 2px solid #93C5FD;
  border-radius: var(--radius-sm);
  padding: 28px 24px;
  text-align: center;
  margin-bottom: 20px;
}
.maint-member-icon { font-size: 40px; margin-bottom: 8px; }
.maint-member-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px;
}
.maint-member-subtitle {
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.maint-member-note {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Member Benefits */
.maint-member-benefits {
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin-bottom: 20px;
}
.maint-member-benefits h4 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 600;
}
.maint-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.maint-benefits-list li {
  padding: 5px 0;
  font-size: 14px;
  color: var(--text-primary);
}
.benefit-check { margin-right: 6px; }

/* Responsive: Stack cards on mobile */
@media (max-width: 768px) {
  .maint-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .maint-option-card { padding: 18px 14px 14px; }
  .maint-card-price { font-size: 24px; }
  .maint-member-banner { padding: 22px 16px; }
  .maint-member-title { font-size: 19px; }
  .maint-enroll-form { padding: 18px 14px; }
}

/* Exact Time Schedule Picker */
.exact-schedule-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0;
}

.exact-date-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 10px;
}

@media (min-width: 480px) {
  .exact-date-cards {
    grid-template-columns: repeat(5, 1fr);
  }
}

.exact-date-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  border: 2px solid #E5E7EB;
  border-radius: var(--radius-md);
  background: var(--bg-light);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 13px;
  min-height: 70px;
}

.exact-date-card:hover {
  border-color: var(--primary-blue);
  background: #F0F9FF;
}

.exact-date-card.selected {
  border-color: var(--primary-blue);
  background: var(--primary-blue);
  color: white;
}

.exact-date-day {
  font-weight: 600;
  font-size: 12px;
  margin-bottom: 4px;
}

.exact-date-display {
  font-size: 11px;
  opacity: 0.8;
}

.exact-time-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: #F9FAFB;
  border-radius: var(--radius-md);
  border: 1px solid #E5E7EB;
}

.exact-time-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

@media (min-width: 480px) {
  .exact-time-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.exact-time-btn {
  padding: 10px 6px;
  border: 2px solid #E5E7EB;
  border-radius: var(--radius-sm);
  background: var(--bg-light, #fff);
  font-size: 14px;
  font-family: inherit;
  font-weight: 500;
  color: var(--text-primary, #1e293b);
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
  white-space: nowrap;
}

.exact-time-btn:hover {
  border-color: var(--primary-blue);
  background: rgba(59, 130, 246, 0.04);
}

.exact-time-btn.selected {
  border-color: var(--primary-blue);
  background: var(--primary-blue);
  color: #fff;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.25);
}

.exact-time-hint {
  font-size: 12px;
  color: var(--text-muted);
}

.exact-time-confirmation {
  padding: 10px 12px;
  background: #ECFDF5;
  border-left: 3px solid #10B981;
  border-radius: 4px;
  font-size: 13px;
  color: #047857;
}

/* Step 6 Installation Overhaul */
.step6-installation-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step6-appointment-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: linear-gradient(135deg, #ECFDF5 0%, #F0FDF4 100%);
  border: 2px solid #10B981;
  border-radius: var(--radius-md);
}

.appointment-check {
  font-size: 28px;
  font-weight: bold;
  color: #10B981;
}

.appointment-info {
  flex: 1;
}

.appointment-title {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 15px;
}

.appointment-datetime {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

.appointment-edit-btn {
  padding: 8px 12px;
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s ease;
}

.appointment-edit-btn:hover {
  border-color: var(--primary-blue);
  background: #F0F9FF;
}

.step6-what-to-expect {
  padding: 20px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  border: 1px solid #E5E7EB;
}

.step6-section-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 12px 0;
}

.step6-duration {
  margin-bottom: 16px;
}

.duration-badge {
  display: inline-block;
  padding: 6px 12px;
  background: #FEF3C7;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: #92400E;
}

.step6-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 12px 0;
}

.step6-checklist li {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-primary);
}

.check-icon {
  color: #10B981;
  font-weight: bold;
  flex-shrink: 0;
}

.step6-conclusion {
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
  margin: 12px 0 0 0;
  padding-top: 12px;
  border-top: 1px solid #E5E7EB;
}

.step6-cost-section {
  padding: 16px;
  background: linear-gradient(135deg, #FEF3C7 0%, #FEF08A 100%);
  border: 2px solid #FBBF24;
  border-radius: var(--radius-md);
}

.cost-badge {
  display: block;
  font-weight: 600;
  color: #92400E;
  font-size: 15px;
  margin-bottom: 8px;
}

.cost-description {
  font-size: 14px;
  color: #78350F;
  margin: 0;
}

.step6-reminders {
  padding: 16px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  border: 1px solid #E5E7EB;
}

.reminder-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.reminder-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: white;
  border-radius: var(--radius-sm);
  border: 1px solid #E5E7EB;
}

.reminder-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.reminder-content {
  flex: 1;
}

.reminder-content strong {
  display: block;
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.reminder-content p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

.step6-promotions {
  padding: 16px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  border: 1px solid #E5E7EB;
}

.promotions-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.promo-item {
  font-size: 14px;
  color: var(--text-primary);
  padding: 8px 0;
}

.step6-comfort-club {
  padding: 0;
}

.comfort-club-card {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: linear-gradient(135deg, #F3E8FF 0%, #FAF5FF 100%);
  border: 2px solid #A78BFA;
  border-radius: var(--radius-md);
}

.cc-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.cc-content {
  flex: 1;
}

.cc-content strong {
  display: block;
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.cc-content p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

.step6-cross-sell {
  padding: 0;
}

.cross-sell-card {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: linear-gradient(135deg, #DBEAFE 0%, #EFF6FF 100%);
  border: 2px solid #60A5FA;
  border-radius: var(--radius-md);
}

.cross-sell-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.cross-sell-content {
  flex: 1;
}

.cross-sell-content strong {
  display: block;
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.cross-sell-content p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

/* ========================================
   SMART RECOMMENDATION SCREEN
   (IAQ + Duct Cleaning product cards)
   ======================================== */

.smart-recommendation-screen {
  padding: 0;
}

.smart-recommendation-screen .q-title {
  font-size: 20px;
  margin-bottom: 16px;
}

.rec-health-callout {
  background: linear-gradient(135deg, #FEF2F2, #FFF1F2);
  border: 1px solid #FECACA;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-size: 13px;
  color: #991B1B;
  line-height: 1.5;
  margin-bottom: 16px;
}

.rec-product-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.rec-product-card {
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  background: white;
  transition: all 0.2s ease;
  cursor: pointer;
}

.rec-product-card:hover {
  border-color: var(--secondary-blue);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.rec-product-card.checked {
  border-color: var(--primary-blue);
  background: linear-gradient(135deg, rgba(29, 81, 119, 0.04), rgba(59, 178, 224, 0.06));
  box-shadow: 0 0 0 3px rgba(29, 81, 119, 0.1);
}

.rec-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.rec-card-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.rec-card-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
}

.rec-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 10px 0;
}

.rec-card-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 8px 0 0;
  border-top: 1px solid var(--border-light);
}

.rec-card-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary-blue);
  cursor: pointer;
  flex-shrink: 0;
}

.rec-card-checkbox span {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-blue);
}

.rec-product-card.checked .rec-card-checkbox span {
  color: var(--primary-blue);
}

.rec-hint {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
  padding: 4px 8px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
}

/* ========================================
   DUCT CLEANING BRIDGE SCREEN
   (Bundle upsell from IAQ flow)
   ======================================== */

.bridge-screen {
  padding: 0;
}

.bridge-screen .q-title {
  font-size: 20px;
  margin-bottom: 8px;
}

.bridge-context {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.5;
}

.bridge-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 12px 0;
}

.bridge-benefits li {
  padding: 4px 0;
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.4;
}

.bridge-pitch {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
  font-style: italic;
}

.bridge-offer-card {
  background: linear-gradient(135deg, #F0FDF4, #ECFDF5);
  border: 2px solid #86EFAC;
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 16px;
  text-align: center;
}

.bridge-offer-header {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.bridge-offer-price {
  font-size: 24px;
  font-weight: 800;
  color: var(--success-green);
  margin-bottom: 4px;
}

.bridge-original {
  font-size: 14px;
  font-weight: 400;
  color: #9CA3AF;
  text-decoration: line-through;
}

.bridge-offer-savings {
  font-size: 13px;
  font-weight: 600;
  color: var(--success-green);
  margin-bottom: 12px;
}

.bridge-system-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}

.bridge-sys-btn {
  width: 42px;
  height: 42px;
  border: 2px solid var(--border-light);
  background: white;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  color: var(--text-dark);
}

.bridge-sys-btn:hover {
  border-color: var(--secondary-blue);
  background: #f8f9fa;
}

.bridge-sys-btn.selected {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  color: white;
}

.bridge-sys-label {
  font-size: 13px;
  color: var(--text-muted);
}

.bridge-total {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.bridge-add-btn {
  width: 100%;
  padding: 14px 20px;
  background: var(--success-green);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.bridge-add-btn:hover {
  background: #059669;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.bridge-skip-btn {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 10px;
  background: transparent;
  color: var(--text-muted);
  border: none;
  font-size: 13px;
  cursor: pointer;
  text-align: center;
  transition: color 0.2s;
}

.bridge-skip-btn:hover {
  color: var(--text-dark);
}

/* Reschedule Banner */
.reschedule-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
  border: 2px solid #3B82F6;
  border-radius: var(--radius-md);
}

.reschedule-banner-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.reschedule-banner-content {
  flex: 1;
  min-width: 0;
}

.reschedule-banner-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.reschedule-banner-text {
  font-size: 13px;
  color: var(--text-secondary);
}

.reschedule-banner-btn {
  flex-shrink: 0;
  padding: 8px 16px;
  background: #3B82F6;
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.reschedule-banner-btn:hover {
  background: #2563EB;
  transform: translateY(-1px);
}

.reschedule-banner-btn:active {
  transform: translateY(0);
}

/* ── Schedule Restriction Notice (plumbing/appliance M-F 8-5) ── */
.schedule-restriction-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #FFF7ED;
  border: 1px solid #FDBA74;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 13px;
  color: #9A3412;
}

/* ── Reschedule Banner ── */
.reschedule-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #EEF2FF;
  border: 1px solid #C7D2FE;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.reschedule-banner-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.reschedule-banner-content {
  flex: 1;
}

.reschedule-banner-title {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-dark);
}

.reschedule-banner-text {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

.reschedule-banner-btn {
  padding: 8px 16px;
  background: #4F46E5;
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.reschedule-banner-btn:hover {
  background: #4338CA;
}

/* Blanket Building Coverage Banner */
.blanket-coverage-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  border: 1px solid #6ee7b7;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}
.blanket-coverage-icon {
  font-size: 28px;
  flex-shrink: 0;
}
.blanket-coverage-title {
  font-size: 16px;
  font-weight: 700;
  color: #065f46;
  margin-bottom: 4px;
}
.blanket-coverage-text {
  font-size: 14px;
  color: #047857;
  line-height: 1.4;
}