/* --- LIGHT DESIGN WITH ORIGINAL FRAMEWORX COLORS (YELLOW #FFF01E & BLUE #2563EB) --- */
:root {
  --fx-bg-light: #FFFFFF;
  --fx-card-bg: #FFFFFF;
  --fx-card-bg-hover: #F8FAFC;
  --fx-card-bg-selected: #FFFBEB;
  --fx-card-border: #E2E8F0;
  --fx-card-border-selected: #0d162b;
  --fx-accent-yellow: #fff01e;
  --fx-accent-yellow-hover: #FACC15;
  --fx-primary-blue: #0d162b;
  --fx-text-main: #0d162b;
  --fx-text-muted: #64748B;
  --fx-radius-lg: 16px;
  --fx-radius-md: 10px;
  --fx-font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --fx-transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.fx-funnel-wrapper {
  font-family: var(--fx-font);
  background: var(--fx-bg-light);
  color: var(--fx-text-main);
  border-radius: var(--fx-radius-lg);
  padding: 40px 24px;
  max-width: 760px;
  margin: 20px auto;
  border: 1px solid var(--fx-card-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
}

.fx-funnel-inner {
  position: relative;
  width: 100%;
}

/* --- STEP HEADER IN FRAMEWORX STYLES --- */
.fx-step-badge-center {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--fx-primary-blue);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.fx-progress-track-light {
  width: 100%;
  max-width: 400px;
  height: 6px;
  background: #E2E8F0;
  border-radius: 10px;
  overflow: hidden;
  margin: 0 auto 28px auto;
}

.fx-progress-fill-light {
  height: 100%;
  width: 0%;
  background: var(--fx-primary-blue);
  border-radius: 10px;
  transition: width 0.3s ease;
}

/* --- SCREENS --- */
.fx-screen {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.fx-screen.is-active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* --- TYPOGRAPHY --- */
.fx-kicker {
  color: var(--fx-primary-blue);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  margin-bottom: 8px;
}

.fx-h2-center {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--fx-text-main) !important;
  text-align: center !important;
  margin: 0 0 12px 0;
  display: grid;
  letter-spacing: -0.5px;
}

.fx-lead-center {
  font-size: 15px;
  line-height: 1.5;
  color: var(--fx-text-muted) !important;
  text-align: center;
  display: grid;
  margin-bottom: 28px;
}

/* --- OPTIONS & CARDS --- */
.fx-options-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.fx-options-grid.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 640px) {
  .fx-options-grid.grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.fx-option-card {
  background: var(--fx-card-bg);
  border: 1px solid var(--fx-card-border);
  border-radius: var(--fx-radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: var(--fx-transition);
  user-select: none;
  color: var(--fx-text-main);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}

.fx-option-card:hover {
  background: var(--fx-card-bg-hover);
  border-color: #CBD5E1;
  transform: translateY(-1px);
}

.fx-option-card.is-selected {
  background: var(--fx-card-bg-selected);
  border-color: var(--fx-card-border-selected);
  box-shadow: 0 0 0 1px var(--fx-card-border-selected);
}

.fx-option-card.is-selected .fx-radio-circle {
  border-color: #0F172A;
  background: var(--fx-accent-yellow);
  color: #0F172A;
}

.fx-option-label {
  display: flex;
  align-items: center;
  gap: 14px;
}

.fx-option-emoji {
  font-size: 20px;
  line-height: 1;
}

.fx-radio-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: bold;
  transition: var(--fx-transition);
  flex-shrink: 0;
  margin-left: 12px;
  color: transparent;
}

/* --- FORM & INPUTS --- */
.fx-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

@media (min-width: 640px) {
  .fx-form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .fx-form-grid .full-width {
    grid-column: span 2;
  }
}

.fx-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.fx-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--fx-text-main);
}

.fx-input, .fx-textarea {
  width: 100%;
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: var(--fx-radius-md) !important;
  padding: 12px 16px !important;
  color: var(--fx-text-main) !important;
  font-family: inherit !important;
  font-size: 15px !important;
  transition: var(--fx-transition);
  outline: none;
  box-sizing: border-box;
}

.fx-input:focus, .fx-textarea:focus {
  border-color: var(--fx-primary-blue) !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}

.fx-textarea {
  min-height: 100px;
  resize: vertical;
}

.fx-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--fx-text-muted);
  cursor: pointer;
  margin-top: 8px;
  line-height: 1.5;
}

.fx-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--fx-primary-blue);
  cursor: pointer;
  margin-top: 2px;
}

.fx-checkbox-label a {
  color: var(--fx-primary-blue);
  text-decoration: underline;
}

.fx-hp-field {
  display: none !important;
}

/* --- SUMMARY CARD --- */
.fx-summary-card {
  background: #F8FAFC;
  border: 1px solid var(--fx-card-border);
  border-radius: var(--fx-radius-md);
  padding: 20px;
  margin-bottom: 24px;
}

.fx-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #E2E8F0;
  font-size: 14px;
}

.fx-summary-row:last-child {
  border-bottom: none;
}

.fx-summary-key {
  color: var(--fx-text-muted);
  font-weight: 500;
  width: 40%;
}

.fx-summary-val {
  color: var(--fx-text-main);
  font-weight: 600;
  width: 60%;
  text-align: right;
}

/* --- ACTIONS & BUTTONS (SIGNATURE FRAMEWORX YELLOW CTA) --- */
.fx-actions-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.fx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  font-size: 16px;
  font-weight: 800;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--fx-transition);
  border: none;
  outline: none;
  text-decoration: none;
}

.fx-btn-primary {
  background: var(--fx-accent-yellow) !important;
  color: #0F172A !important;
  box-shadow: 0 4px 14px rgba(255, 240, 30, 0.4) !important;
  border: 1px solid #0d162b !important;
}

.fx-btn-primary:hover {
  background: var(--fx-accent-yellow-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 240, 30, 0.6) !important;
}

.fx-btn-ghost {
  background: #F1F5F9 !important;
  color: var(--fx-text-muted) !important;
  border: 1px solid var(--fx-card-border) !important;
  font-weight: 600;
}

.fx-btn-ghost:hover {
  color: var(--fx-text-main) !important;
  background: #E2E8F0 !important;
}

.fx-error-banner {
  display: none;
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  color: #991B1B;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-top: 16px;
  text-align: center;
}
