/* estimator.css - Estimator-specific Component Styles */

/* Capabilities Grid - Updated styling */
#smartfence-embed-root .capabilities { 
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Increased min-width */
  gap: 0.75rem; /* Increased gap */
  margin: 1.5rem 0; /* Increased margin */
}

#smartfence-embed-root .capability-item { 
  display: flex;
  align-items: center;
  gap: 0.75rem; /* Increased gap */
  padding: 0.875rem 1rem; /* Increased padding */
  background-color: var(--bg-tertiary);
  border-radius: var(--border-radius-sm);
  text-align: left;
  font-size: 0.9375rem; /* Increased font size */
  border: 1px solid var(--border-color); /* Added border */
}

#smartfence-embed-root .capability-item i { 
  color: var(--primary-color);
  font-size: 1.125rem; /* Increased icon size */
  flex-shrink: 0;
}

#smartfence-embed-root .capability-item span { 
  line-height: 1.4;
}

/* Question Containers - Updated to match estimator */
#smartfence-embed-root .question-container { 
  padding: 2rem 1rem; /* Match estimator .content-section */
}

#smartfence-embed-root .question-container h4 { 
  font-size: 1.5rem; /* Match estimator .section-header h3 */
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

#smartfence-embed-root .question-subtext { 
  font-size: 1rem; /* Match estimator .section-header p */
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.5;
}

/* Estimator Intro Styles */
#smartfence-embed-root .estimator-intro { 
  padding: 2rem 1rem;
  text-align: center;
}

#smartfence-embed-root .estimator-intro h3 { 
  font-size: 1.5rem; /* Match section headers */
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

#smartfence-embed-root .estimator-intro > p { 
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.5;
  font-size: 1rem; /* Increased from 0.875rem */
}

#smartfence-embed-root .process-overview { 
  display: flex;
  flex-direction: column;
  gap: 1rem; /* Increased gap */
  margin: 0 auto;
  max-width: 500px; /* Increased from 400px */
  text-align: left;
}

#smartfence-embed-root .process-step { 
  display: flex;
  align-items: flex-start;
  gap: 1rem; /* Increased gap */
}

#smartfence-embed-root .step-number { 
  background-color: var(--primary-color);
  color: white;
  width: 28px; /* Increased from 24px */
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  flex-shrink: 0;
}

#smartfence-embed-root .step-text { 
  color: var(--text-secondary);
  font-size: 0.9375rem; /* Increased from 0.875rem */
  line-height: 1.4;
  padding-top: 4px; /* Adjusted for better alignment */
}

/* Estimate Result */
#smartfence-embed-root .estimate-result { 
  background-color: var(--bg-tertiary);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin: 1rem 0;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

#smartfence-embed-root .estimate-result h3 { 
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

#smartfence-embed-root .estimate-header { 
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--border-color);
}

#smartfence-embed-root .estimate-type { 
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

#smartfence-embed-root .estimate-type i { 
  color: var(--primary-color);
  font-size: 1.5rem;
}

#smartfence-embed-root .estimate-total { 
  text-align: right;
}

#smartfence-embed-root .total-label { 
  display: block;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

#smartfence-embed-root .total-amount { 
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
}

/* Specifications Grid */
#smartfence-embed-root .specifications-grid { 
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

#smartfence-embed-root .spec-item { 
  background-color: var(--bg-primary);
  padding: 1rem;
  border-radius: var(--border-radius-sm);
  text-align: center;
  border: 1px solid var(--border-color);
}

#smartfence-embed-root .spec-item i { 
  color: var(--primary-light);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

#smartfence-embed-root .spec-label { 
  display: block;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

#smartfence-embed-root .spec-value { 
  display: block;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1rem;
}

/* Cost Breakdown */
#smartfence-embed-root .cost-breakdown { 
  background-color: var(--bg-primary);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-color);
}

#smartfence-embed-root .cost-breakdown h4 { 
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

#smartfence-embed-root .breakdown-items { 
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

#smartfence-embed-root .breakdown-item { 
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

#smartfence-embed-root .breakdown-item:last-child { 
  border-bottom: none;
  padding-top: 1rem;
  font-weight: 600;
  font-size: 1.125rem;
  border-top: 2px solid var(--border-color);
}

#smartfence-embed-root .breakdown-row { 
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
}

#smartfence-embed-root .breakdown-row.total { 
  border-top: 2px solid var(--primary-color);
  margin-top: 1rem;
  padding-top: 1rem;
  font-weight: 700;
  font-size: 1.125rem;
}

#smartfence-embed-root .item-description { 
  color: var(--text-secondary);
}

#smartfence-embed-root .item-cost { 
  color: var(--text-primary);
  font-weight: 500;
}

/* Estimate Notes */
#smartfence-embed-root .estimate-notes { 
  background-color: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: var(--border-radius);
  padding: 1rem;
  margin-bottom: 1.5rem;
}

#smartfence-embed-root .estimate-notes p { 
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

#smartfence-embed-root .estimate-notes p:last-child { 
  margin-bottom: 0;
}

#smartfence-embed-root .estimate-notes i { 
  color: #0284c7;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

#smartfence-embed-root .estimate-validity { 
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* Next Steps */
#smartfence-embed-root .next-steps { 
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border-color);
}

#smartfence-embed-root .next-steps h4 { 
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

#smartfence-embed-root .contact-options { 
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}