/* ================================================
   Inner Circle Form - Multi-Step Wizard
   ================================================ */

/* Note: Color variables are centralized in dashboard.css
   These are kept here as fallback in case inner-circle.css loads independently */
:root {
  --mcc-primary: #1AB69D;
  --mcc-primary-alt: #31B978;
  --mcc-secondary: #EE4A62;
  /* Wellness Colors - Centralized in dashboard.css, use those values */
  --mcc-body-color: #1AB69D;        /* Teal for Body */
  --mcc-mind-color: #F8941F;        /* Orange for Mind */
  --mcc-heart-color: #8E56FF;       /* Purple for Heart */
  --mcc-finance-color: #F59E0B;     /* Amber color for finances */
}

.mcc-inner-circle-wrapper {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem 1rem;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

/* Progress Bar */
.mcc-progress-wrapper {
  margin-bottom: 3rem;
}

.mcc-progress-bar-track {
  width: 100%;
  height: 8px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.mcc-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--mcc-primary) 0%, var(--mcc-primary-alt) 100%);
  border-radius: 999px;
  transition: width 0.4s ease;
  width: 11.11%; /* 1 of 9 steps */
}

.mcc-progress-text {
  text-align: center;
  font-size: 1rem;
  color: #6b7280;
  margin: 0;
  font-weight: 500;
}

/* Form Container */
.mcc-form-container {
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  padding: 3rem 2rem;
  position: relative;
  min-height: 500px;
}

/* Steps */
.mcc-step {
  display: none;
  animation: fadeIn 0.4s ease;
}

.mcc-step.active {
  display: block;
}

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

.mcc-step-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

/* Icon Wrapper */
.mcc-icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-size: 2rem;
  color: #ffffff;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.mcc-icon-body {
  background: linear-gradient(135deg, var(--mcc-body-color), #4fd68c);
}

.mcc-icon-mind {
  background: linear-gradient(135deg, var(--mcc-mind-color), #ffb84d);
}

.mcc-icon-heart {
  background: linear-gradient(135deg, var(--mcc-heart-color), #b694ff);
}

.mcc-icon-finance {
  background: linear-gradient(135deg, var(--mcc-finance-color), #fbbf24);
}

.mcc-icon-user {
  background: linear-gradient(135deg, #8b5cf6, #a78bfa);
}

/* Intro Text (explanatory paragraphs) */
.mcc-intro-text {
  background: linear-gradient(135deg, #f0fdf4 0%, #f0fdfa 100%);
  border-left: 4px solid var(--mcc-primary);
  border-radius: 0.75rem;
  padding: 1.5rem 1.75rem;
  margin: 0 0 2rem 0;
  text-align: left;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.mcc-intro-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 0.75rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mcc-intro-paragraph {
  font-size: 1rem;
  line-height: 1.7;
  color: #4b5563;
  margin: 0;
  text-align: left;
}

/* Titles */
.mcc-step-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 1rem 0;
  line-height: 1.3;
}

.mcc-step-subtitle {
  font-size: 1.125rem;
  color: #6b7280;
  margin: 0 0 2.5rem 0;
  line-height: 1.6;
}

/* Slider */
.mcc-slider-wrapper {
  margin: 3rem 0;
}

.mcc-score-slider {
  margin: 2rem 0;
}

/* noUiSlider customization */
.noUi-target {
  background: #e5e7eb;
  border-radius: 999px;
  border: none;
  box-shadow: none;
  height: 12px;
}

.noUi-connects {
  border-radius: 999px;
}

.noUi-connect {
  background: linear-gradient(90deg, var(--mcc-primary) 0%, var(--mcc-primary-alt) 100%);
}

.noUi-handle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  border: 4px solid var(--mcc-primary);
  box-shadow: 0 2px 8px rgba(26, 182, 157, 0.3);
  cursor: grab;
  top: -8px;
  right: -14px;
}

.noUi-handle:before,
.noUi-handle:after {
  display: none;
}

.noUi-handle:active {
  cursor: grabbing;
}

.noUi-tooltip {
  background: var(--mcc-primary);
  color: #ffffff;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.mcc-score-value {
  font-size: 3rem;
  font-weight: 700;
  color: var(--mcc-primary);
  margin: 1.5rem 0 0 0;
  text-align: center;
}

/* Form Inputs */
.mcc-textarea,
.mcc-input {
  width: 100%;
  padding: 1rem;
  font-size: 1.063rem;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  transition: all 0.2s;
  resize: none;
}

.mcc-textarea:focus,
.mcc-input:focus {
  outline: none;
  border-color: var(--mcc-primary);
  box-shadow: 0 0 0 3px rgba(26, 182, 157, 0.1);
}

.mcc-textarea {
  min-height: 150px;
  line-height: 1.6;
}

/* Intentions List */
#body-intentions-list,
#mind-intentions-list,
#heart-intentions-list,
#finance-intentions-list {
  margin-bottom: 1.5rem;
}

.mcc-intention-input-wrapper {
  margin-bottom: 1rem;
  position: relative;
}

/* Guest Info Input Group */
.mcc-input-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.mcc-label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}

.mcc-input[type="text"],
.mcc-input[type="email"] {
  width: 100%;
}

.mcc-intention-input-wrapper:last-child {
  margin-bottom: 0;
}

.mcc-btn-add {
  background: transparent;
  border: 2px dashed #d1d5db;
  color: #6b7280;
  padding: 0.875rem 1.5rem;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  width: 100%;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

.mcc-btn-add:hover {
  border-color: var(--mcc-primary);
  color: var(--mcc-primary);
  background: rgba(26, 182, 157, 0.05);
}

/* Navigation Buttons */
.mcc-nav-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
  justify-content: center;
}

.mcc-btn {
  padding: 1rem 2rem;
  font-size: 1.063rem;
  font-weight: 600;
  border-radius: 0.75rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

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

.mcc-btn-primary {
  background: linear-gradient(135deg, var(--mcc-primary) 0%, var(--mcc-primary-alt) 100%);
  color: #ffffff;
  box-shadow: 0 4px 6px -1px rgba(26, 182, 157, 0.3);
}

.mcc-btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px -1px rgba(26, 182, 157, 0.4);
}

.mcc-btn-secondary {
  background: #f3f4f6;
  color: #6b7280;
}

.mcc-btn-secondary:hover:not(:disabled) {
  background: #e5e7eb;
  color: #1f2937;
}

.mcc-btn-success {
  background: linear-gradient(135deg, var(--mcc-primary-alt) 0%, #22c55e 100%);
  color: #ffffff;
  box-shadow: 0 4px 6px -1px rgba(49, 185, 120, 0.3);
}

.mcc-btn-success:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px -1px rgba(49, 185, 120, 0.4);
}

/* Loading State */
.mcc-btn-loading {
  position: relative;
  pointer-events: none;
}

.mcc-btn-loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -8px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spinner 0.6s linear infinite;
}

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

/* Error Message */
.mcc-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  padding: 1rem;
  border-radius: 0.5rem;
  text-align: center;
  font-size: 1rem;
}

/* Success Message */
.mcc-success-message {
  text-align: center;
  padding: 3rem 2rem;
}

.mcc-success-message i {
  font-size: 4rem;
  color: var(--mcc-primary-alt);
  margin-bottom: 1.5rem;
}

.mcc-success-message h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 1rem 0;
}

.mcc-success-message p {
  font-size: 1.125rem;
  color: #6b7280;
  margin: 0;
}

/* Responsive */
@media (max-width: 640px) {
  .mcc-inner-circle-wrapper {
    padding: 1rem 0.5rem;
  }
  
  .mcc-form-container {
    padding: 2rem 1.5rem;
  }
  
  .mcc-intro-text {
    padding: 1.25rem 1.25rem;
    margin: 0 0 1.5rem 0;
  }
  
  .mcc-intro-heading {
    font-size: 1.125rem;
  }
  
  .mcc-intro-paragraph {
    font-size: 0.938rem;
    line-height: 1.6;
  }
  
  .mcc-step-title {
    font-size: 1.5rem;
  }
  
  .mcc-step-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .mcc-icon-wrapper {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .mcc-nav-buttons {
    flex-direction: column;
  }
  
  .mcc-btn {
    width: 100%;
    justify-content: center;
  }
}

