h2 {
	font-size: 1.5em;
	line-height: 1.2;
	text-align: center;
	padding: 0 0 50px;
}
h1 {
	font-size: 2.5em;
	font-weight: 700;
	line-height: 1.2;
}
p {
	font-size: 1rem;
    line-height: 1.4;
    text-align: center;
    width: 80%;
    margin: 0 auto 75px auto;
}
.calc {
	min-height: 800px;
}
.confetti-canvas{
  position:absolute; 
  inset:0;
  width:100%; 
  height:100%;
  pointer-events:none; 
  z-index:2;
}
/* Savings badge */
.badge-saved{
  background:#198754; /* Bootstrap success */
  color:#fff; font-weight:600;
  border-radius:999px;
  padding:.35rem .6rem; font-size:.8rem;
  opacity:0; transform:translateY(-6px);
  box-shadow:0 4px 12px rgba(25,135,84,.25);
  animation:badgeIn .6s ease-out .3s forwards;
}
/* Make sure the badge sits above the confetti canvas */
.badge-saved-wrap { position:absolute; top:.75rem; right:.75rem; z-index:3; }

@keyframes badgeIn { to { opacity:1; transform:translateY(0); } }

    .card-shadow { box-shadow: 0 6px 20px rgba(0,0,0,.08); }
    .sticky-th thead th { position: sticky; top: 0; background: #f8f9fa; z-index: 1; }
    @media print {
      .d-print-hide { display: none !important; }
      .card, .card-shadow, .container { box-shadow: none !important; border: none !important; }
      canvas { filter: grayscale(100%) contrast(120%); }
      .table thead th { background: #eee !important; color:#000 !important; }
      .navbar, footer { display:none !important; }
    }
/* Hide number input spinners */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] {
  -moz-appearance: textfield; /* Firefox */
  appearance: textfield;      /* Modern fallback */
}
.no-spin::-webkit-outer-spin-button,
.no-spin::-webkit-inner-spin-button { -webkit-appearance:none; margin:0; }
.no-spin { -moz-appearance:textfield; appearance:textfield; }
/* Hide placeholder text when the input is focused */
.form-control::placeholder { opacity: 1; transition: opacity .15s ease; }
.form-control:focus::placeholder { opacity: 0; }

/* Older engines (optional) */
.form-control::-webkit-input-placeholder { opacity: 1; transition: opacity .15s ease; }
.form-control:focus::-webkit-input-placeholder { opacity: 0; }
.form-control::-moz-placeholder { opacity: 1; }
.form-control:focus::-moz-placeholder { opacity: 0; }
.form-control:-ms-input-placeholder { opacity: 1; }
.form-control:focus:-ms-input-placeholder { opacity: 0; }
