/* JumpStart Intake - Custom Styles */
/* Extends intake-core.css with JumpStart-specific styling */

/* Slider Groups */
.slider-group {
  padding: 12px 0;
}

.slider-group input[type="range"] {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--bg-input);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.slider-group input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  border: 3px solid var(--bg-card);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.slider-group input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 3px 10px rgba(230, 57, 70, 0.4);
}

.slider-group input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  border: 3px solid var(--bg-card);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  font-size: 0.75rem;
  color: var(--text-light);
}

.slider-labels span:nth-child(2) {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  min-width: 32px;
  text-align: center;
}

/* Agreement Container */
.agreement-container {
  margin-bottom: 24px;
}

.agreement-scroll {
  max-height: 400px;
  overflow-y: auto;
  padding: 24px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  line-height: 1.7;
}

.agreement-scroll::-webkit-scrollbar {
  width: 8px;
}

.agreement-scroll::-webkit-scrollbar-track {
  background: var(--bg);
  border-radius: 4px;
}

.agreement-scroll::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

.agreement-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--text-light);
}

.agreement-scroll h3 {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 8px;
  text-align: center;
}

.agreement-scroll h4 {
  font-size: 0.95rem;
  color: var(--primary);
  margin-top: 20px;
  margin-bottom: 8px;
}

.agreement-scroll p {
  margin-bottom: 12px;
  color: var(--text);
}

.agreement-scroll ul {
  margin-left: 20px;
  margin-bottom: 12px;
}

.agreement-scroll ul li {
  margin-bottom: 6px;
  color: var(--text);
}

.agreement-scroll strong {
  color: var(--primary);
}

.agreement-date {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 20px;
}

/* Agreement Acknowledgments */
.agreement-acknowledgments {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
}

.agreement-acknowledgments h4 {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 8px;
}

.acknowledgment-note {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.agreement-checkbox {
  background: transparent;
  border: none;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.agreement-checkbox:last-of-type {
  border-bottom: none;
}

.agreement-checkbox:hover {
  background: transparent;
}

.agreement-acknowledgments .form-group {
  margin-bottom: 0;
}

.agreement-acknowledgments .form-group.error .agreement-checkbox {
  background: rgba(230, 57, 70, 0.1);
  border-radius: var(--radius);
  padding: 12px;
  margin: -12px;
  border-bottom: none;
}

/* Signature Section */
.signature-section {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
}

.signature-section h4 {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 16px;
}

.signature-section input {
  font-family: 'Brush Script MT', 'Segoe Script', cursive;
  font-size: 1.25rem;
}

.signature-date {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.signature-date span:last-child {
  color: var(--text);
  font-weight: 500;
}

/* Testimonials Section */
.testimonials-section {
  background: linear-gradient(135deg, rgba(74, 144, 226, 0.1) 0%, rgba(74, 144, 226, 0.05) 100%);
  border: 1px solid rgba(74, 144, 226, 0.3);
  border-radius: var(--radius);
  padding: 20px;
}

.testimonials-section h4 {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 12px;
}

.testimonials-section .checkbox-label {
  background: transparent;
  border: none;
  padding: 0;
}

.testimonials-section .checkbox-label:hover {
  background: transparent;
}

/* Results Modal - JumpStart specific */
.results-modal-content {
  text-align: center;
  max-width: 500px;
}

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

.results-message {
  color: var(--text-light);
  margin-bottom: 32px;
  font-size: 1rem;
  line-height: 1.6;
}

.next-steps {
  background: var(--bg-input);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}

.next-steps h3 {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 12px;
}

.next-steps p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.next-steps .btn-large {
  padding: 16px 32px;
  font-size: 1.1rem;
  width: 100%;
}

.results-note {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* Price Highlight (results modal) */
.price-highlight {
  background: linear-gradient(135deg, var(--primary), #c0392b);
  border-radius: var(--radius);
  padding: 20px;
  margin: 16px 0 20px;
  text-align: center;
}

.price-highlight .price {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
}

.price-highlight .price-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 4px;
}

#payment-btn {
  width: 100%;
  padding: 16px 32px;
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 8px;
}

/* Cal.com Scheduler Embed (Phase 6) */
#calcom-scheduler {
  border-radius: var(--radius);
  overflow: hidden;
  margin: 16px 0;
}

/* Conditional Fields */
.conditional-field {
  animation: slideDown 0.3s ease;
}

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

/* Phone Verification */
.phone-verify-group {
  display: flex;
  align-items: center;
  margin-top: 8px;
}

.phone-verify-group .btn-sm {
  padding: 6px 16px;
  font-size: 0.85rem;
}

.otp-input-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 12px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.otp-input-group label {
  width: 100%;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0;
}

.otp-input-group input {
  flex: 1;
  min-width: 120px;
  max-width: 180px;
}

.otp-input-group .btn-sm {
  padding: 8px 20px;
  font-size: 0.85rem;
}

.phone-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  padding: 4px 12px;
  background: rgba(39, 174, 96, 0.15);
  color: #27ae60;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 20px;
  border: 1px solid rgba(39, 174, 96, 0.3);
}

/* Form Group Error State for Agreement */
.form-group.error .checkbox-label {
  border-color: var(--danger);
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .agreement-scroll {
    max-height: 300px;
    padding: 16px;
  }

  .agreement-acknowledgments,
  .signature-section,
  .testimonials-section {
    padding: 16px;
  }

  .slider-labels span:first-child,
  .slider-labels span:last-child {
    font-size: 0.65rem;
  }
}
