/* ========== Typography & Colors ========== */
.pfc-shell {
  --font-display: "Freight Display", "FreightDisp Pro", Georgia, "Times New Roman", serif;
  --font-sans: "Freight Sans Pro", "FreightSans Pro", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --bg-left: #081b2f;
  --bg-right: #157291;
  --txt: #ffffff;
  --muted: #cfe1ff;
  --input-bg: #0e2944;
  --input-bd: #1a4168;
  --rail: #123a5e;
  --thumb-bd: #1a6b8a;
  --btn-bg: #ffffff;
  --btn-fg: #0c3243;

  --radius: 16px;
  --radius-sm: 10px;
  --pad: 40px;
  --gap: 24px;

  background: linear-gradient(90deg, var(--bg-left) 0 60%, var(--bg-right) 60%);
  color: var(--txt);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 20px 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
  font-family: var(--font-sans);
}

/* Grid */
.pfc-grid { display: grid; grid-template-columns: 60% 40%; }
.pfc-left, .pfc-right { padding: var(--pad); }

/* Headings (Freight Sans Pro) */
.pfc-field h2 {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: .1px;
  margin: 0 0 12px;
  color: #e6f0ff;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.2;
}

/* KPI headings + values */
.pfc-kpi h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 16px;
  margin: 0 0 6px;
  color: var(--muted);
}
.pfc-val {
  font-family: var(--font-sans);
  font-weight: 600;
  font-variant-numeric: tabular-nums lining-nums;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
  color: var(--txt);
  margin-bottom: 12px;
}
.pfc-k-over, .pfc-k-monthly {
  font-weight: 700;
  font-size: clamp(30px, 3.2vw, 46px);
}

/* Fields */
.pfc-field { margin-bottom: var(--gap); }
.pfc-select,
.pfc-amount {
  width: 100%;
  background: var(--input-bg);
  color: #eaf2ff;
  border: 1px solid #ffffff;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 17px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.pfc-amount:focus {
  border-color: #3aa9cd;
  box-shadow: 0 0 0 3px rgba(58, 169, 205, .25);
}

/* Range / slider */
.pfc-slider { margin-top: 10px; }
.pfc-slider input[type=range] {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: var(--rail);
  outline: none;
  -webkit-appearance: none;
}
.pfc-slider input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 3px solid var(--thumb-bd);
  box-shadow: 0 3px 8px rgba(0,0,0,.35);
  cursor: pointer;
}
.pfc-slider input[type=range]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 3px solid var(--thumb-bd);
  box-shadow: 0 3px 8px rgba(0,0,0,.35);
  cursor: pointer;
}

/* Term selects */
.pfc-row { display: flex; gap: 12px; }
.pfc-row select {
  flex: 1;
  background: var(--input-bg);
  color: #eaf2ff;
  border: 1px solid #ffffff;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 17px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.pfc-row select:focus {
  border-color: #3aa9cd;
  box-shadow: 0 0 0 3px rgba(58,169,205,.25);
}

/* Pill */
.pfc-pill {
  display: inline-block;
  background: var(--input-bg);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 999px;
  margin-top: 8px;
  font-size: 15px;
}

/* CTA Button */
.pfc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 0;
  border-radius: 100px;
  padding: 14px 30px;
  font-weight: 600;
  text-decoration: none;
  font-size: 18px;
  font-family: var(--font-sans);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .15);
  transition: transform .05s ease, box-shadow .15s ease, opacity .2s ease;
}
.pfc-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(0,0,0,.18); }
.pfc-btn:active { transform: translateY(0); box-shadow: 0 6px 18px rgba(0,0,0,.15); }

/* Disclaimer */
.pfc-disclaimer {
  font-family: var(--font-sans);
  font-size: 12px;
  color: #eaf2ff;
  opacity: .9;
  margin-top: 8px;
  line-height: 1.4;
  max-width: 46ch;
}

/* Right column stacking */
.pfc-right .pfc-kpi { margin-bottom: 18px; }

/* Responsive */
@media (max-width:1080px) {
  .pfc-grid { grid-template-columns: 1fr; }
  .pfc-shell { background: var(--bg-left); }
  .pfc-right { background: var(--bg-right); }
}

/* Custom dropdown arrows */
.pfc-select,
.pfc-row select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  position: relative;
  padding-right: 40px; /* make room for arrow */
  background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
  cursor: pointer;
}

