/* Lead Popup Modal Styles */

/* Overlay */
.lead-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
  overflow-y: auto;
}

/* Modal Container */
.lead-modal-container {
  position: relative;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px 32px;
  animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Close Button */
.lead-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 32px;
  color: #9ca3af;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.lead-modal-close:hover {
  background-color: #f3f4f6;
  color: #374151;
}

/* Step Indicator */
.lead-step-indicator {
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
  text-align: center;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Typography */
.lead-modal-title {
  font-size: 28px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
  line-height: 1.3;
}

.lead-modal-subtitle {
  font-size: 16px;
  color: #6b7280;
  margin-bottom: 32px;
  line-height: 1.6;
}

/* Form */
.lead-form {
  width: 100%;
}

.lead-form-group {
  margin-bottom: 20px;
}

.lead-form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
}

.lead-form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 15px;
  color: #111827;
  transition: all 0.2s;
  box-sizing: border-box;
}

.lead-form-group input:focus {
  outline: none;
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

/* Checkbox */
.lead-form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}

.lead-form-checkbox input[type="checkbox"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
}

.lead-form-checkbox label {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.5;
  cursor: pointer;
}

/* Buttons */
.lead-btn {
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  width: 100%;
  text-align: center;
}

.lead-btn-primary {
  background-color: #f97316;
  color: white;
}

.lead-btn-primary:hover:not(:disabled) {
  background-color: #ea580c;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.lead-btn-primary:disabled {
  background-color: #d1d5db;
  cursor: not-allowed;
}

.lead-btn-secondary {
  background-color: white;
  color: #f97316;
  border: 2px solid #f97316;
}

.lead-btn-secondary:hover {
  background-color: #fff7ed;
}

.lead-btn-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

/* Trust Text */
.lead-trust-text {
  text-align: center;
  font-size: 13px;
  color: #6b7280;
  margin-top: 16px;
  line-height: 1.5;
}

.lead-trust-text span {
  margin-right: 4px;
}

/* Step 2 Specific Styles */
.lead-form-section {
  margin-bottom: 32px;
}

.lead-section-label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 16px;
}

.lead-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.lead-checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lead-checkbox-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
}

.lead-checkbox-item label {
  font-size: 14px;
  color: #374151;
  cursor: pointer;
  line-height: 1.4;
}

/* Peptide Categories */
.lead-peptide-category {
  margin-bottom: 24px;
  padding: 16px;
  background-color: #f9fafb;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.lead-peptide-category h4 {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 12px;
}

.lead-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Disclaimer */
.lead-disclaimer {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.6;
  padding: 16px;
  background-color: #f9fafb;
  border-radius: 8px;
  border-left: 3px solid #f97316;
  margin-bottom: 24px;
}

/* Success State */
.lead-success-content {
  text-align: center;
  padding: 40px 20px;
}

.lead-success-icon {
  width: 80px;
  height: 80px;
  background-color: #10b981;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  margin: 0 auto 24px;
  animation: successPop 0.5s ease-out;
}

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

/* Mobile Responsive */
@media (max-width: 640px) {
  .lead-modal-container {
    padding: 32px 24px;
    max-height: 95vh;
  }

  .lead-modal-title {
    font-size: 24px;
  }

  .lead-modal-subtitle {
    font-size: 15px;
  }

  .lead-checkbox-grid {
    grid-template-columns: 1fr;
  }

  .lead-btn-group {
    flex-direction: column;
  }

  .lead-peptide-category {
    padding: 12px;
  }
}

@media (max-width: 480px) {
  .lead-modal-container {
    padding: 24px 16px;
  }

  .lead-modal-title {
    font-size: 22px;
  }
}

/* Scrollbar Styling */
.lead-modal-container::-webkit-scrollbar {
  width: 8px;
}

.lead-modal-container::-webkit-scrollbar-track {
  background: #f3f4f6;
  border-radius: 4px;
}

.lead-modal-container::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 4px;
}

.lead-modal-container::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}
