/* Modal Styles */
.leaddata-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1050;
}

.leaddata-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.leaddata-modal-content {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
}

.leaddata-modal-small {
  max-width: 300px;
}

.leaddata-modal-header {
  padding: 20px 20px 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e9ecef;
  margin-bottom: 20px;
}

.leaddata-modal-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
}

.leaddata-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #6c757d;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.leaddata-modal-close:hover {
  color: #000;
}

.leaddata-modal-body {
  padding: 0 20px 20px 20px;
}

.leaddata-text-center {
  text-align: center;
}

/* Form Styles */
.leaddata-form-group {
  margin-bottom: 1rem;
}

.leaddata-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #333;
}

.leaddata-input,
.leaddata-select {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ced4da;
  border-radius: 4px;
  box-sizing: border-box;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.leaddata-input:focus,
.leaddata-select:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.leaddata-checkbox {
  margin-right: 0.5rem;
  transform: scale(1.2);
}

.leaddata-checkbox-label {
  font-size: 0.9rem;
  color: #555;
  cursor: pointer;
}

.leaddata-form-check {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
}

/* Button Styles */
.leaddata-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.leaddata-btn-primary {
  color: #fff;
  background-color: #593cfb;
  border-color: #593cfb;
}

.leaddata-btn-primary:hover {
  background-color: #4a18dc;
  border-color: #593cfb;
}

/* Alert Styles */
.leaddata-alert {
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 4px;
}

.leaddata-alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

/* Link Styles */
.leaddata-link {
  color: #007bff;
  text-decoration: underline;
  cursor: pointer;
  font-size: 0.9rem;
}

.leaddata-link:hover {
  color: #0056b3;
}

.leaddata-notice {
  margin-top: 0.5rem;
  padding: 0.5rem;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  font-size: 0.85rem;
  color: #555;
}

/* Funnel Specific Styles */
.leaddata-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.leaddata-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.leaddata-col-12 {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0 15px;
}

.leaddata-col-6 {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 15px;
}

.leaddata-progress-section {
  position: relative;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

.leaddata-progress-header {
  margin-bottom: 1rem;
}

.leaddata-text-right {
  text-align: right;
}

.leaddata-progress-text {
  font-weight: bold;
  margin: 0;
  display: inline;
}

.leaddata-progress-text-inline {
  margin: 0 0 0 0.5rem;
  display: inline;
}

.leaddata-back-btn {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
}

.leaddata-back-btn:hover {
  color: #0056b3;
  text-decoration: underline;
}

.leaddata-progress {
  height: 8px;
  background-color: #e9ecef;
  border-radius: 4px;
  overflow: hidden;
}

.leaddata-progress-bar {
  height: 100%;
  background-color: #ffc107;
  transition: width 0.3s ease;
}

.leaddata-step {
  display: none;
}

.leaddata-step.active {
  display: block;
}

.leaddata-step-header {
  margin-bottom: 2rem;
}

.leaddata-step-header h2 {
  margin: 0 0 0.5rem 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
}

.leaddata-step-header p {
  margin: 0;
  color: #666;
  font-size: 1rem;
}

.leaddata-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.leaddata-option {
  width: 100%;
}

.leaddata-option-label {
  display: block;
  width: 100%;
  padding: 1.5rem;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  background-color: #fff;
}

.leaddata-option-label:hover {
  border-color: #007bff;
  background-color: #f8f9fa;
}

.leaddata-radio-hidden {
  display: none;
}

.leaddata-radio-hidden:checked + .leaddata-option-content {
  color: #007bff;
  font-weight: 600;
}

.leaddata-radio-hidden:checked ~ .leaddata-option-label,
.leaddata-option-label:has(.leaddata-radio-hidden:checked) {
  border-color: #007bff;
  background-color: #e7f3ff;
}

.leaddata-option-content {
  text-align: center;
}

.leaddata-option-content p {
  margin: 0;
  font-size: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .leaddata-modal-backdrop {
    padding: 10px;
  }
  
  .leaddata-modal-content {
    max-width: 100%;
  }
  
  .leaddata-col-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .leaddata-options-grid {
    grid-template-columns: 1fr;
  }
  
  .leaddata-text-right {
    text-align: left;
    margin-top: 0.5rem;
  }
}

@media (max-width: 480px) {
  .leaddata-modal-header,
  .leaddata-modal-body {
    padding: 15px;
  }
  
  .leaddata-option-label {
    padding: 1rem;
  }
}