/* ==========================================================
   BC PNP Entrepreneur Base Program — Points Calculator
   Visual layer aligned with the Dovercourt template
   ========================================================== */

.bc-pnp-page {
  background: #f6f8fb;
}

.bc-pnp-banner {
  position: relative;
  padding: 160px 0 60px;
  background: linear-gradient(135deg, #0d1a36 0%, #1a3061 50%, #28506c 100%);
  color: #ffffff;
  overflow: hidden;
  margin-top: 0;
}

/* Ensure banner clears the fixed header */
.bc-pnp-page .page-wrapper {
  padding-top: 0;
}

.bc-pnp-page .main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}
.bc-pnp-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 360px at 80% 0%, rgba(255, 255, 255, 0.10), transparent 60%);
  pointer-events: none;
}
.bc-pnp-banner .auto-container {
  position: relative;
  z-index: 1;
}
.bc-pnp-banner .breadcrumb-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  margin-bottom: 14px;
}
.bc-pnp-banner .breadcrumb-link:hover {
  color: #ffffff;
}
.bc-pnp-banner h1 {
  color: #ffffff;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 10px;
}
.bc-pnp-banner .lede {
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  max-width: 760px;
  line-height: 1.6;
}
.bc-pnp-banner .ref-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  margin-top: 16px;
  text-decoration: none;
  backdrop-filter: blur(6px);
}
.bc-pnp-banner .ref-pill:hover {
  background: rgba(255, 255, 255, 0.20);
  color: #ffffff;
}

/* ===== Calculator layout ===== */
.bc-pnp-calculator-section {
  padding: 60px 0 100px;
}

.bc-pnp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: flex-start;
}
@media (max-width: 991px) {
  .bc-pnp-grid {
    grid-template-columns: 1fr;
  }
}

.bc-pnp-main {
  min-width: 0;
}

/* ===== Sticky summary panel ===== */
.bc-pnp-summary {
  position: sticky;
  top: 100px;
  background: #ffffff;
  border: 1px solid #e6ebf3;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 14px 40px rgba(13, 26, 54, 0.10);
}
@media (max-width: 991px) {
  .bc-pnp-summary {
    position: static;
  }
}

.bc-pnp-summary h3 {
  font-size: 14px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #64748b;
  margin: 0 0 14px;
  font-weight: 700;
}

.score-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px dashed #e6ebf3;
}
.score-row:last-of-type {
  border-bottom: none;
}
.score-row .label {
  font-size: 13.5px;
  color: #0f172a;
  font-weight: 500;
}
.score-row .max {
  font-size: 11.5px;
  color: #94a3b8;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.score-row .value {
  font-size: 22px;
  font-weight: 800;
  color: #0d1a36;
  font-family: 'Inter', 'Poppins', sans-serif;
}

.score-row.total {
  margin-top: 12px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #0d1a36 0%, #1a3061 50%, #28506c 100%);
  color: #ffffff;
  border-radius: 12px;
  border-bottom: none;
}
.score-row.total .label,
.score-row.total .max {
  color: rgba(255, 255, 255, 0.86);
}
.score-row.total .value {
  color: #ffffff;
  font-size: 28px;
}

.eligibility-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.eligibility-pill.ok {
  background: rgba(22, 163, 74, 0.12);
  color: #15803d;
  border: 1px solid rgba(22, 163, 74, 0.25);
}
.eligibility-pill.warn {
  background: rgba(234, 88, 12, 0.10);
  color: #b45309;
  border: 1px solid rgba(234, 88, 12, 0.20);
}
.eligibility-pill.bad {
  background: rgba(144, 29, 22, 0.10);
  color: #901d16;
  border: 1px solid rgba(144, 29, 22, 0.22);
}

.eligibility-notes {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.55;
  color: #64748b;
}
.eligibility-notes ul {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
}
.eligibility-notes li {
  padding-left: 18px;
  position: relative;
  margin-bottom: 4px;
}
.eligibility-notes li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: #28506c;
  font-weight: 800;
}

.bc-pnp-actions {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bc-pnp-actions .reset-btn {
  background: #ffffff;
  color: #0d1a36;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.bc-pnp-actions .reset-btn:hover {
  background: #f6f8fb;
  border-color: #0d1a36;
}

/* ===== Section card ===== */
.bc-pnp-section {
  background: #ffffff;
  border: 1px solid #e6ebf3;
  border-radius: 18px;
  padding: 28px;
  margin-bottom: 22px;
  box-shadow: 0 4px 14px rgba(13, 26, 54, 0.06);
}

.bc-pnp-section.group-heading {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 8px 0 6px;
  margin-bottom: 6px;
}
.bc-pnp-section.group-heading h2 {
  font-size: 22px;
  font-weight: 800;
  color: #0d1a36;
  margin: 0;
  letter-spacing: -0.01em;
}
.bc-pnp-section.group-heading .group-meta {
  margin-top: 4px;
  font-size: 13px;
  color: #64748b;
}

.bc-pnp-section .sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.bc-pnp-section .sec-head h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0d1a36;
  margin: 0;
}
.bc-pnp-section .sec-head .sec-meta {
  font-size: 12.5px;
  color: #64748b;
  margin-top: 4px;
}
.bc-pnp-section .sec-head .sec-points {
  display: flex;
  align-items: center;
  gap: 10px;
}
.bc-pnp-section .sec-head .sec-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f6f8fb;
  border: 1px solid #e6ebf3;
  color: #0d1a36;
  font-weight: 700;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
}
.bc-pnp-section .sec-head .sec-badge.min-warn {
  background: rgba(144, 29, 22, 0.08);
  border-color: rgba(144, 29, 22, 0.20);
  color: #901d16;
}

/* ===== Question rows ===== */
.bc-question {
  padding: 14px 0 16px;
  border-bottom: 1px solid #f1f5f9;
}
.bc-question:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.bc-question .q-label {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: #0d1a36;
  margin-bottom: 10px;
}
.bc-question .q-hint {
  display: block;
  font-size: 12.5px;
  color: #64748b;
  margin-bottom: 10px;
  font-weight: 400;
}

/* Visual radio cards - 2 columns on web, 1 column on mobile */
.bc-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (max-width: 768px) {
  .bc-options {
    grid-template-columns: 1fr;
  }
}
.bc-option {
  position: relative;
  cursor: pointer;
}
.bc-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.bc-option .opt-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid #e6ebf3;
  border-radius: 12px;
  background: #ffffff;
  font-size: 13.5px;
  color: #0f172a;
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
  line-height: 1.4;
}
.bc-option:hover .opt-card {
  border-color: #28506c;
}
.bc-option input:checked + .opt-card {
  border-color: #0d1a36;
  background: linear-gradient(135deg, rgba(13, 26, 54, 0.04) 0%, rgba(40, 80, 108, 0.06) 100%);
  box-shadow: 0 0 0 2px rgba(13, 26, 54, 0.06);
}
.bc-option .pts {
  flex-shrink: 0;
  background: #f6f8fb;
  color: #0d1a36;
  font-weight: 800;
  font-size: 12.5px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid #e6ebf3;
  letter-spacing: 0.02em;
}
.bc-option input:checked + .opt-card .pts {
  background: #0d1a36;
  color: #ffffff;
  border-color: #0d1a36;
}
.bc-option .pts.minus {
  color: #b45309;
}

/* Notes / cap explanations */
.bc-note {
  margin-top: 10px;
  padding: 10px 12px;
  background: #f6f8fb;
  border-left: 3px solid #28506c;
  border-radius: 8px;
  font-size: 12.5px;
  color: #475569;
  line-height: 1.55;
}

/* Result CTA strip */
.bc-cta-card {
  margin-top: 28px;
  padding: 26px;
  border-radius: 18px;
  background: linear-gradient(135deg, #0d1a36 0%, #1a3061 50%, #28506c 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.bc-cta-card h4 {
  color: #ffffff;
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
}
.bc-cta-card p {
  color: rgba(255, 255, 255, 0.86);
  margin: 0;
  font-size: 14px;
  max-width: 560px;
}
.bc-cta-card .theme-btn {
  flex-shrink: 0;
}

/* Footnote / disclaimer */
.bc-disclaimer {
  margin-top: 30px;
  padding: 18px 22px;
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  color: #64748b;
  font-size: 12.5px;
  line-height: 1.6;
}
.bc-disclaimer strong {
  color: #0d1a36;
}
.bc-disclaimer a {
  color: #0d1a36;
  text-decoration: underline;
}
