/* Website Carbon Footprint Calculator Scoped Styles */
.wcfc-main {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #1f2937;
  line-height: 1.5;
}

.wcfc-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.wcfc-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.wcfc-title-row h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
}

.wcfc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.wcfc-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wcfc-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
}

.wcfc-input,
.wcfc-select {
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.95rem;
  background: #ffffff;
  color: inherit;
}

.wcfc-input:focus,
.wcfc-select:focus {
  outline: none;
  border-color: #059669;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

.wcfc-preset-row {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.wcfc-preset-label {
  font-size: 0.85rem;
  color: #6b7280;
}

.wcfc-btn-sm {
  padding: 6px 12px;
  font-size: 0.8rem;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  background: #f9fafb;
  cursor: pointer;
  color: #374151;
  transition: all 0.15s ease;
}

.wcfc-btn-sm:hover {
  background: #e5e7eb;
  border-color: #9ca3af;
}

.wcfc-results-hero {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 24px;
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
  border: 1px solid #a7f3d0;
  border-radius: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 20px;
  text-align: center;
}

.wcfc-grade-badge {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #059669;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 800;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.wcfc-hero-metrics {
  text-align: left;
}

.wcfc-hero-val {
  font-size: 2.2rem;
  font-weight: 800;
  color: #065f46;
}

.wcfc-hero-sub {
  font-size: 0.95rem;
  color: #047857;
  font-weight: 500;
}

.wcfc-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.wcfc-stat-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px;
  text-align: center;
}

.wcfc-stat-val {
  font-size: 1.5rem;
  font-weight: 700;
  color: #047857;
  margin-bottom: 4px;
}

.wcfc-stat-lbl {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.wcfc-equivalents-card {
  background: #fdfdfd;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 20px;
}

.wcfc-equiv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.wcfc-equiv-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 8px;
}

.wcfc-equiv-icon {
  font-size: 1.8rem;
}

.wcfc-equiv-num {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
}

.wcfc-equiv-desc {
  font-size: 0.8rem;
  color: #6b7280;
}

