/* ===== GrowNiti style – Full Personal Finance Snapshot ===== */

:root {
  --gn-bg: #020617;
  --gn-card: #020617;
  --gn-card-inner: #020617;
  --gn-border: #1f2937;
  --gn-text: #e5e7eb;
  --gn-muted: #9ca3af;
  --gn-accent: #38bdf8;
  --gn-accent-soft: rgba(56, 189, 248, 0.18);
  --gn-primary: #2563eb;
  --gn-primary-soft: rgba(37, 99, 235, 0.15);
  --gn-danger: #ef4444;
  --gn-danger-soft: rgba(239, 68, 68, 0.18);
  --gn-amber: #f97316;
  --gn-amber-soft: rgba(249, 115, 22, 0.18);
  --gn-green: #22c55e;
  --gn-green-soft: rgba(34, 197, 94, 0.18);
  --gn-yellow: #eab308;
  --gn-yellow-soft: rgba(234, 179, 8, 0.18);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body.gn-body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #0f172a 0, #020617 55%);
  color: var(--gn-text);
}

.gn-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  padding: 10px 16px;
  background: rgba(15, 23, 42, 0.96);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
  backdrop-filter: blur(16px);
}

.gn-topbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gn-logo {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  border: 2px solid rgba(148, 163, 184, 0.5);
  object-fit: cover;
}

.gn-topbar-title {
  display: flex;
  flex-direction: column;
}

.gn-brand {
  font-weight: 600;
  letter-spacing: 0.03em;
}

.gn-tagline {
  font-size: 11px;
  color: var(--gn-muted);
}

.gn-main {
  max-width: 1120px;
  margin: 16px auto 32px;
  padding: 0 12px 32px;
}

.gn-card {
  background: radial-gradient(circle at top left, #0b1120 0, #020617 55%);
  border-radius: 20px;
  padding: 18px 18px 24px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.9);
}

/* Banner */

.pf-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(56, 189, 248, 0.16),
    rgba(37, 99, 235, 0.1)
  );
  border: 1px solid rgba(56, 189, 248, 0.4);
  margin-bottom: 20px;
}

.pf-banner-icon img {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  /*background: radial-gradient(circle at 20% 20%, #22c55e, #16a34a);*/
  padding: 10px;
}

.pf-banner-text h1 {
  margin: 0 0 4px;
  font-size: 20px;
}

.pf-banner-text p {
  margin: 0;
  font-size: 13px;
  color: var(--gn-muted);
}

/* Layout */

.pf-layout {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}

.pf-column {
  background: rgba(15, 23, 42, 0.8);
  border-radius: 16px;
  padding: 12px 14px 16px;
  border: 1px solid rgba(31, 41, 55, 0.9);
}

.pf-section {
  margin-bottom: 12px;
}

.pf-section-title {
  font-size: 14px;
  margin: 0 0 8px;
  font-weight: 600;
}

.pf-subheading {
  font-size: 13px;
  color: var(--gn-muted);
  margin: 10px 0 4px;
}

.pf-grid {
  display: grid;
  gap: 10px;
}

.pf-grid-2 {
  grid-template-columns: minmax(0, 1fr);
}

/* Fields */

.pf-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
}

.pf-field span {
  color: var(--gn-muted);
}

.pf-field input {
  border-radius: 10px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: radial-gradient(circle at top, #020617 0, #020617 40%);
  padding: 8px 9px;
  font-size: 13px;
  color: var(--gn-text);
  outline: none;
}

.pf-field input:focus {
  border-color: var(--gn-accent);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.6);
}

/* Buttons */

.pf-actions {
  display: flex;
  gap: 10px;
  margin: 16px 4px 4px;
  flex-wrap: wrap;
}

.pf-btn {
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 13px;
  padding: 8px 18px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pf-btn-primary {
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  color: #eef2ff;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.55);
}

.pf-btn-primary:hover {
  filter: brightness(1.08);
}

.pf-btn-secondary {
  background: rgba(31, 41, 55, 0.9);
  color: var(--gn-text);
  border: 1px solid rgba(55, 65, 81, 0.9);
}

.pf-btn-ghost {
  background: transparent;
  color: var(--gn-text);
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 6px 14px;
  font-size: 12px;
}

.pf-btn-ghost:hover {
  border-color: var(--gn-accent);
}

/* Output */

.pf-output {
  margin-top: 10px;
  padding: 12px 14px 6px;
  border-radius: 16px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: radial-gradient(circle at top left, #020617 0, #020617 60%);
}

.pf-summary-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr);
  margin-bottom: 10px;
}

.pf-summary-item {
  padding: 8px 9px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px dashed rgba(55, 65, 81, 0.9);
}

.pf-summary-item span {
  display: block;
  font-size: 11px;
  color: var(--gn-muted);
  margin-bottom: 2px;
}

.pf-summary-item strong {
  font-size: 13px;
}

/* Feasibility pill */

.pf-feasibility {
  margin: 10px 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.5;
  background: rgba(15, 23, 42, 0.9);
  border-left: 4px solid rgba(148, 163, 184, 0.7);
}

/* color states */
.pf-feasibility.ok {
  border-left-color: var(--gn-green);
  background: var(--gn-green-soft);
}

.pf-feasibility.stretch {
  border-left-color: var(--gn-yellow);
  background: var(--gn-yellow-soft);
}

.pf-feasibility.ambitious {
  border-left-color: var(--gn-amber);
  background: var(--gn-amber-soft);
}

.pf-feasibility.aggressive {
  border-left-color: var(--gn-danger);
  background: var(--gn-danger-soft);
}

.pf-feasibility.impossible {
  border-left-color: #f97316;
  background: rgba(148, 27, 12, 0.5);
}

/* Charts */

.pf-charts {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin-bottom: 8px;
}

.pf-chart-card {
  padding: 10px 10px 12px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(31, 41, 55, 0.9);
}

.pf-chart-card h3 {
  margin: 0 0 6px;
  font-size: 13px;
}

/* Table */

.pf-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid rgba(31, 41, 55, 0.9);
}

.pf-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 460px;
}

.pf-table th,
.pf-table td {
  padding: 8px 10px;
  font-size: 12px;
  border-bottom: 1px solid rgba(31, 41, 55, 0.9);
}

.pf-table th {
  text-align: left;
  background: rgba(15, 23, 42, 0.95);
  font-weight: 500;
}

.pf-table tbody tr:nth-child(even) td {
  background: rgba(15, 23, 42, 0.8);
}

.pf-note {
  margin-top: 6px;
  font-size: 11px;
  color: var(--gn-muted);
}

/* Responsive */

@media (min-width: 768px) {
  .pf-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pf-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.1fr);
  }

  .pf-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pf-charts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .gn-main {
    padding: 0 8px 24px;
  }
  .gn-card {
    padding: 14px 12px 18px;
  }
  .pf-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  #pfPdfBtn {
    align-self: stretch;
    justify-content: center;
    width: 100%;
  }
}


/* START:NAV BAR */

/* ---- Unified button sizing (desktop ↑ / mobile ↓) ---- */
:root{
  /* fluid tokens that auto-scale with screen width */
  --btn-fs: clamp(14px, 1.05vw, 18px);
  --btn-py: clamp(10px, 0.9vw, 14px);
  --btn-px: clamp(14px, 1.6vw, 28px);
  --btn-radius: 12px;
}

/* apply to your existing buttons (adjust selectors if needed) */
.ai-cta,
.gn-btn,
.gnc-cta,
.btn-primary {
  font-size: var(--btn-fs);
  padding: var(--btn-py) var(--btn-px);
  min-height: 44px;                 /* good tap target */
  border-radius: var(--btn-radius);
  font-weight: 600;
}

/* Make small-screen buttons stretch nicely */
@media (max-width: 600px){
  .ai-cta,
  .gn-btn,
  .btn-primary {
    width: 100%;
  }
}

/* Make the Generate plan button feel substantial on desktop only */
@media (min-width: 992px){
  #aiPlanBtn{
    width: 25%;
    max-width: 720px;               /* tweak if you want wider/narrower */
    margin-inline: auto;            /* centers it in its row */
  }
}

/* Optional: nicer hover, but only on pointer devices */
@media (hover:hover){
  .ai-cta:hover,
  .gn-btn:hover,
  .btn-primary:hover {
    transform: translateY(-1px);
  }
}
</style>


  <style>
    :root{
      --bg:#0f172a;--panel:#111827;--muted:#94a3b8;--text:#e5e7eb;
      --chip:#1f2937;--brand:#60a5fa;--border:#334155
    }
    *{box-sizing:border-box}
    body{margin:0;font-family:Inter,system-ui,Segoe UI,Roboto,Arial,sans-serif;background:var(--bg);color:var(--text)}

    /* Container + cards */
    .af-container{max-width:1180px}
    .af-card{background:var(--panel);border:1px solid #1f2937;border-radius:1rem}
    .af-chip{display:inline-block;background:var(--chip);border:1px solid #233046;color:#c7d2fe;border-radius:999px;padding:.25rem .625rem;font-size:.75rem}
    .text-muted-af{color:var(--muted)!important}
    .btn-af{border:1px solid #2563eb;background:#1d4ed8;color:#fff}
    .btn-af-ghost{background:#0b1220;border-color:#334155;color:#e5e7eb}
    .badge-af{font-size:.7rem;color:#fde68a;background:#3f3f46;border:1px solid #52525b;padding:.125rem .5rem;border-radius:999px}
    .hero-title{line-height:1.2}
    .kv{display:flex;align-items:center;justify-content:space-between;margin:.4rem 0}
    .kv .k{color:var(--muted);font-size:.8125rem}
    .kv .v{font-weight:600}

    /* Footer */
    .footer-min{border-top:1px solid #1f2937;background:var(--panel)}
    .footer-min a{color:#c7d2fe;text-decoration:none}

    /* Navbar */
    .navbar{backdrop-filter:saturate(120%) blur(6px);border-bottom:1px solid #1f2937;background:var(--bg);transition:box-shadow .2s ease}
    .navbar.navbar-elevate{box-shadow:0 10px 24px rgba(0,0,0,.25)}
    .brand-logo{width:34px;height:34px;display:grid;place-items:center;border-radius:.65rem;background:#1d4ed8;color:#fff;font-weight:800}

    /* Nav link styles + active highlight */
    .navbar .nav-link{
      position:relative;border-radius:.5rem;padding:.5rem .65rem;
      color:#9fb8e7 !important;transition:background .15s ease,color .15s ease
	  
    }
    .navbar .nav-link:hover{background:rgba(255,255,255,.06);color:#e8efff !important}
    .navbar .nav-link.active{
      color:#fff !important;font-weight:600;background:rgba(96,165,250,.12)
    }
    .navbar .nav-link.active::after{
      content:"";position:absolute;left:.55rem;right:.55rem;bottom:.2rem;
      height:2px;border-radius:2px;background:var(--brand)
    }
    .navbar .nav-link.disabled{color:#7a8aa8 !important;opacity:.6;cursor:default}

    /* Theme select */
    .form-select.theme{background-color:var(--panel);border-color:var(--border);color:var(--text)}

    /* Print */
    @media print{
      body{background:#fff;color:#000}
      .navbar,.btn,.form-select{display:none!important}
      .container{max-width:100%!important}
      .af-card{border:none}
    }
	
<!-- END: Anayra AI Assistant – Styles -->


/* Position fix for floating Ask AnayraFin button */
#askAnayraFinBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  transition: bottom 0.4s ease;
}

/* When the install banner is visible */
body.install-banner-visible #askAnayraFinBtn {
  bottom: 100px; /* move it up when banner shows */
}

/* Responsive tweak for small screens */
@media (max-width: 600px) {
  #askAnayraFinBtn {
    bottom: 15px;
    right: 15px;
  }
  body.install-banner-visible #askAnayraFinBtn {
    bottom: 90px;
  }
}


#gnSmartPlan {
  
  margin: 40px auto 0 auto;  /* space from top and center horizontally */
  
}


/* AI avatar container */
.ai-bot{
  display:flex; align-items:center; justify-content:center;
  width:56px; height:56px;
  border-radius:14px;
  background:linear-gradient(180deg,#0b1220,#0e1a2b);
  box-shadow:0 6px 20px rgba(56,189,248,.25), inset 0 0 0 1px rgba(148,163,184,.15);
}

/* The image itself */
.ai-bot img{
  width:40px; height:40px; object-fit:contain;
  filter: drop-shadow(0 0 6px #38bdf8);
}

/* Slightly larger in the generator card */
#aiSmartPlan .ai-bot img{ width:35px; height:35px; }

/* Optional: subtle “thinking” pulse */
@keyframes aiPulse { 0%,100%{box-shadow:0 0 0 0 rgba(56,189,248,.30)} 50%{box-shadow:0 0 0 10px rgba(56,189,248,.00)} }
.ai-bot{ animation: aiPulse 2.8s ease-in-out infinite; }

  </style>
  
  <style>
  /* …keep your existing styles… */

  /* Card header with logo */
  #afInstallCard .head{
    display:flex; align-items:center; gap:10px; margin-bottom:8px;
  }
  #afInstallCard .brand {
  width: 48px;         /* increased from 32px */
  height: 48px;        /* increased from 32px */
  border-radius: 12px; /* smoother rounded edges */
  background: #fff;
  padding: 4px;
  flex: 0 0 auto;
  box-shadow: 0 3px 10px rgba(0,0,0,0.25); /* subtle depth */
}

  #afInstallCard .titleWrap h4{ margin:0; font-size:1rem }
  #afInstallCard .titleWrap p { margin:2px 0 0; font-size:.85rem; opacity:.95 }
  #afInstallCard .titleWrap { transform: translateY(2px); }

</style>

  
  	<!-- START: Anayra AI Assistant – Styles -->
<link rel="preconnect" href="https://cdn.jsdelivr.net">
<script src="https://cdn.jsdelivr.net/npm/chart.js@4.4.1"></script>
<style>
  :root{
    --af-bg:#0d1117; --af-panel:#0f141b; --af-text:#c9d1d9; --af-muted:#9aa4ae; --af-border:#30363d; --af-accent:#1f6feb;
  }
  /* Launcher button */
  .af-launcher{
    position:fixed; right:16px; bottom:16px; z-index:1035;
    background:var(--af-accent); color:#fff; border:0; border-radius:999px;
    padding:12px 18px; font-weight:700; box-shadow:0 12px 30px rgba(31,111,235,.35);
  }
  /* Assistant container: bottom sheet (mobile), right drawer (desktop) */
  .af-asst{ position:fixed; z-index:1036; background:var(--af-panel); color:var(--af-text); border:1px solid var(--af-border);
            display:flex; flex-direction:column; max-height:100%; transition:transform .28s ease; }
  @media (max-width: 900px){
    .af-asst{ left:0; right:0; bottom:0; border-radius:16px 16px 0 0; transform:translateY(105%); }
    .af-asst.af-open{ transform:translateY(0); }
  }
  @media (min-width: 901px){
    .af-asst{ top:0; right:0; width:min(520px,100%); height:100%; border-left:1px solid var(--af-border); transform:translateX(105%); }
    .af-asst.af-open{ transform:translateX(0); }
  }
  .af-hd{ padding:12px 16px; border-bottom:1px solid var(--af-border); display:flex; gap:8px; align-items:center; justify-content:space-between; }
  .af-title{ font-weight:700; }
  .af-body{ padding:14px; overflow:auto; }
  .af-row{ display:flex; gap:10px; flex-wrap:wrap; }
  .af-col{ flex:1 1 160px; }
  .af-label{ display:block; font-size:.85rem; color:var(--af-muted); margin-bottom:6px }
  .af-input{ width:100%; padding:10px 12px; border-radius:10px; border:1px solid var(--af-border); background:#161b22; color:var(--af-text); }
  .af-btn{ border:0; background:var(--af-accent); color:#fff; padding:10px 14px; border-radius:10px; font-weight:600; cursor:pointer }
  .af-btn.ghost{ background:transparent; border:1px solid var(--af-border); }
  .af-muted{ color:var(--af-muted) }
  .af-kpi{ font-weight:800; color:#58a6ff }
  .af-card{ background:#0f141b; border:1px solid var(--af-border); border-radius:14px; padding:14px; margin-top:14px }
  .af-chip{ display:inline-block; padding:2px 8px; border-radius:999px; background:#0b1320; border:1px solid #1b2535; font-size:.8rem; color:#8fb6ff }
  canvas.af-canvas{ width:100%; height:240px !important }
  
  
 
/* --- Move Ask AnayraFin button when banner is visible --- */
#askAnayraFinBtn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 10001; /* always on top */
  transition: bottom 0.3s ease;
}

/* when Install banner shows */
body.install-banner-visible #askAnayraFinBtn {
  bottom: 100px; /* lift the button up */
}

/* small phones adjustment */
@media (max-width: 600px) {
  #askAnayraFinBtn { right: 15px; bottom: 15px; }
  body.install-banner-visible #askAnayraFinBtn { bottom: 85px; }
}

.brand-logo-img {
  border: 3px solid #ffffff;                  /* clean white border */
  border-radius: 16px;                        /* soft rounded edges */
  padding: 4px;                               /* inner margin for breathing room */
  background: #0f172a;                        /* same as navbar bg */
  box-shadow: 0 4px 12px rgba(255,255,255,0.15),
              0 0 0 4px rgba(255,255,255,0.08) inset; /* glow + inset contrast */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.brand-logo-img:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 16px rgba(255,255,255,0.2),
              0 0 0 4px rgba(96,165,250,0.2) inset; /* blue tint on hover */
}


/* Brand + slogan styling */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-brand img {
  width: 72px;
  height: 72px;
}

.navbar-brand .fw-semibold {
  font-size: 1.1rem;  /* slightly smaller for mobile fit */
}

.navbar-brand small {
  display: block;
  font-size: 0.8rem;  /* adjusted font for tagline */
  opacity: 0.85;
  line-height: 1.2;
}

/* Keep hamburger aligned to right, same as before */
.navbar-toggler {
  margin-left: auto;
  margin-right: 0;
  position: relative;
  top: 0;
  right: 0;
  z-index: 1031;
}

/* Ensure mobile alignment (no fluctuation) */
@media (max-width: 991.98px) {
  .navbar {
    position: relative;
  }

  .navbar-toggler {
    position: absolute;
    top: 10px;
    right: 10px;
  }

  .navbar .container,
  .navbar .container-fluid {
    flex-wrap: wrap;
    align-items: flex-start;
   /* padding-right: 60px;  space reserved for the toggle button */
  }

  .navbar .navbar-collapse.show {
    background: var(--bg, #0b1220);
    border-top: 1px solid #1f2937;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
    padding-top: 0.5rem;

	
  }
}



/* Header controls */
.ai-result {
  position: relative;
}
.ai-result-head {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}
.ai-min-controls {
  margin-left: auto;
  display: flex;
  gap: 6px;
}
.ai-icon-btn {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: #dbe7ff;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1;
  padding: 6px 10px;
  cursor: pointer;
}
.ai-icon-btn:hover {
  background: rgba(255,255,255,0.12);
}

/* Collapsed state — hide body pieces, keep header visible */
.ai-result.collapsed .ai-summary,
.ai-result.collapsed .ai-grid,
.ai-result.collapsed .ai-actions,
.ai-result.collapsed .ai-note {
  display: none !important;
}

/* Reopen pill */
.ai-reopen {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(13, 30, 60, 0.85);
  color: #eaf2ff;
  padding: 10px 14px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  backdrop-filter: blur(8px);
}
.ai-reopen:focus-visible { outline: 2px solid #7aa7ff; }

/* Optional: smaller buttons on very small screens */
@media (max-width: 420px) {
  .ai-icon-btn { font-size: 13px; padding: 5px 8px; }
}

/* START:This CSS for Goal Progress Checker*/

/* START:This CSS for STEP UP*/

/* Container for the two buttons */
.goal-actions {
  width: 100%;
}

/* Default (mobile): both full width, stacked – Bootstrap already does this
   via flex-column, but this keeps the look consistent */
.goal-actions .btn {
  width: 100%;
}

/* On medium screens and above (laptop, tablet landscape):
   make them smaller and side-by-side */
@media (min-width: 768px) {
  .goal-actions {
    justify-content: flex-start;
  }

  .goal-actions .btn {
    width: auto;           /* no more full-width bar */
    min-width: 180px;      /* gives a nice compact pill */
  }

  .goal-main-btn {
    /* main button a bit wider if you want */
    min-width: 220px;
  }
}
.goal-actions {
  width: 100%;
}

.goal-actions .btn {
  width: 100%;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
}

@media (min-width: 768px) {
  .goal-actions {
    justify-content: flex-start;
  }

  .goal-actions .btn {
    width: auto;
    min-width: 160px;
  }

  .goal-main-btn {
    min-width: 200px;
  }
}
/* END:This CSS for Goal Progress Checker*/

#stepupPlannerCard h3 {
  font-size: 1.4rem;
  font-weight: 600;
}

#stepupPlannerCard .result-box {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 15px;
  color: #fff;
}

#stepupPlannerCard .result-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

#stepupPlannerCard .status-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.85rem;
}

.status-ontrack {
  background: #00e676;
  color: #000;
}

.status-shortfall {
  background: #ff5252;
  color: #fff;
}
/* END:This CSS for STEP UP*/





/*END:NAV BAR  */



:root{
      --bg:#0f172a; --panel:#111827; --muted:#94a3b8; --text:#e5e7eb;
      --chip:#1f2937; --brand:#60a5fa; --border:#334155; --shadow:0 24px 60px rgba(0,0,0,.45);
    }
	
	/* Prevent nav menu items from wrapping into two lines */
#navMain .nav-link {
  white-space: nowrap !important;
  padding-bottom: 6px;      /* match GrowNiti underline spacing */
}

/* Active underline (GrowNiti blue) */

/* GrowNiti – Toggler pill + white icon */
.navbar-toggler {
  margin-left: auto;
  
 
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.75);
}



/*START: FIX Use global theme vars instead of fixed hex colours */
body.gn-body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, var(--bg) 0, var(--panel) 55%);
  color: var(--text);
}

/* Main card picks up theme panel colour */
.gn-card {
  background: radial-gradient(circle at top left,
    color-mix(in srgb, var(--panel) 65%, #000 35%),
    var(--panel)
  );
  border-radius: 20px;
  padding: 18px 18px 24px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.9);
}

/* Columns – use panel + border vars */
.pf-column {
  background: var(--panel);
  border-radius: 16px;
  padding: 12px 14px 16px;
  border: 1px solid var(--border);
}

/* Summary items */
.pf-summary-item {
  padding: 8px 9px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--panel) 80%, #000 20%);
  border: 1px dashed rgba(148, 163, 184, 0.5);
}


/*END: FIX Use global theme vars instead of fixed hex colours */


.pf-inline-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.pf-inline {
  flex: 1 1 180px;
}

.pf-inline-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--gn-text-muted, #9ca3af);
}

.pf-inline-checkbox input {
  width: 16px;
  height: 16px;
}

.pf-subtext {
  font-size: 0.85rem;
  color: var(--gn-text-muted, #9ca3af);
  margin-top: -0.25rem;
}

.pf-divider {
  border: none;
  border-top: 1px solid rgba(148,163,184,0.35);
  margin: 0.75rem 0 0.5rem;
}


/* === Charts layout === */
.pf-charts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.pf-chart-card {
  flex: 1 1 260px;
  background: rgba(15, 23, 42, 0.9); /* dark slate */
  border-radius: 16px;
  padding: 1rem 1.25rem 1.25rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.pf-chart-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #e5e7eb;
  margin-bottom: 0.75rem;
}

.pf-chart-card canvas {
  width: 100%;
  max-width: 100%;
  height: 260px;
}

/* === Feasibility pill === */
.pf-feasibility {
  margin-top: 1.2rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.4;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: #e5e7eb;
}

/* green – comfortable */
.pf-feasibility.ok {
  background: linear-gradient(90deg, rgba(22, 163, 74, 0.25), rgba(21, 128, 61, 0.15));
  border-color: rgba(34, 197, 94, 0.7);
  color: #bbf7d0;
}

/* teal / blue – normal */
.pf-feasibility.stretch {
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.22), rgba(37, 99, 235, 0.12));
  border-color: rgba(56, 189, 248, 0.7);
  color: #e0f2fe;
}

/* amber – ambitious */
.pf-feasibility.ambitious {
  background: linear-gradient(90deg, rgba(234, 179, 8, 0.2), rgba(217, 119, 6, 0.15));
  border-color: rgba(234, 179, 8, 0.8);
  color: #fef3c7;
}

/* orange / red – aggressive */
.pf-feasibility.aggressive {
  background: linear-gradient(90deg, rgba(249, 115, 22, 0.25), rgba(239, 68, 68, 0.18));
  border-color: rgba(248, 113, 113, 0.85);
  color: #fee2e2;
}

/* deep red – not feasible */
.pf-feasibility.impossible {
  background: linear-gradient(90deg, rgba(185, 28, 28, 0.9), rgba(127, 29, 29, 0.9));
  border-color: rgba(248, 113, 113, 0.95);
  color: #fee2e2;
}

input, select, textarea {
    font-size: 16px !important;
}
.pf-input {
    width: 100%;
    font-size: 16px !important;
    padding: 10px 14px;
}
.pf-summary-small {
  font-size: 13px;
  /*color: #6b7280;*/
  margin: 2px 0;
}

