
.inputs-and-house-wrapper {
  display: flex;
  column-gap: 5rem;
  justify-content: space-between;
}

.inputs {
  flex-grow: 1;
}

.input-group {
  display: flex;
  column-gap: .5rem;
}

.input-group-append {
  display: flex;
  align-items: center;
}

.estimate-button {
  color: white;
  border: none;
  padding: .5rem .75rem;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  border-radius: 5px;
  background: #0074C8;
}

/* ---- Headings / intro ---- */
.heatloss-calculator h2 { color:#0072ce; font-weight:700; margin-bottom:.5rem; }
.heatloss-calculator p  { color:#333; margin-bottom:1.25rem; max-width:720px; }

/* ---- Two-column layout ---- */
.inputs-and-house-wrapper {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 32px;
}
@media (max-width: 992px) {
  .inputs-and-house-wrapper { grid-template-columns: 1fr; }
}

.heatloss-calculator .form-group .form-control[type="number"] {
  height: 36px;
  text-align: center;
  font-size: 13.5px;
  line-height: 1;
  background: #fff;
  border: 1px solid #A5A5A5;
  border-radius: 5px;
}

/* ---- Number input ---- */
.heatloss-calculator input[type="number"] { max-width:160px; text-align:right; }

label {
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 31px;
}

/* ---- Sliders ---- */
.heatloss-calculator .form-group { margin-bottom:22px; }
.heatloss-calculator input[type="range"] {
  -webkit-appearance:none; appearance:none;
  width:100%; height:15px; border-radius:58px; background:#ddd; outline:none;
  margin:8px 0 6px;
  /* JS paints the blue fill */
}
.heatloss-calculator input[type="range"]::-webkit-slider-runnable-track { height:8px; border-radius:4px; background:transparent; }
.heatloss-calculator input[type="range"]::-moz-range-track { height:8px; border-radius:4px; background:#ddd; }
.heatloss-calculator input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance:none; appearance:none;
  width:28px; height:28px; border-radius:50%; border:none; cursor:pointer;
  background:#0072ce no-repeat center; background-size:16px; margin-top:-10px;
}
.heatloss-calculator input[type="range"]::-moz-range-thumb {
  width:28px; height:28px; border-radius:50%; border:none; cursor:pointer; background:#0072ce;
}
#windSlider::-webkit-slider-thumb {
  background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"><path d="M4 10h9a3 3 0 1 0-3-3"/><path d="M4 14h13a3 3 0 1 1-3 3"/></svg>');
}
#tempSlider::-webkit-slider-thumb {
  background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"><path d="M14 14.76V5a3 3 0 1 0-6 0v9.76a4.5 4.5 0 1 0 6 0z"/></svg>');
}
.slider-value { color:#0072ce; font-weight:600; }

/* ---- Reset ---- */
.reset-link { color:#0072ce; font-weight:700; text-transform:uppercase; font-size:.875rem; }
.reset-link:hover { text-decoration:underline; }

/* ---- House + layering ---- */
.house-hotspots-results { position:relative; }
.house-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.house-wrapper img { display:block; width:100%; height:auto; position:relative; z-index:1; }
#lottieContainer { position:absolute; inset:0; z-index:2; pointer-events:none; }

/* ---- Hotspots: inactive ring vs active filled ---- */
.hotspot {
  position:absolute; z-index:3;
  width:26px; height:26px; border-radius:50%;
  border:2px solid #1d78d6; background:#fff;
  box-shadow:0 1px 2px rgba(0,0,0,.15);
  cursor:pointer; transition:transform .12s ease, background .12s ease, border-color .12s ease;
}
.hotspot::after { /* inner dot for inactive style */
  content:""; position:absolute; inset:7px; border-radius:50%; background:#fff;
}
.hotspot:hover { transform:scale(1.06); }
.hotspot.active {
  background:#1d78d6; border-color:#1d78d6; color:#fff;
}
.hotspot.active::after { /* white inner dot remains visible */
  background:#fff;
}

/* ---- Result pill over image ---- */
.heatloss-badge {
  z-index: 4;
  background: #1d78d6;
  color: #fff;
  padding: .5rem .75rem;
  margin: 1rem 0;
  border-radius: 5px;
  flex-shrink: 1;
  font-weight: 700;
  font-size: 14px;
}
.visually-hidden { position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.hidden { display:none !important; }

/* ---- Info card (below image) ---- */
.info-card {
  background:#fff; border:2px solid #1d78d6; border-radius:8px;
  padding:14px 16px; box-shadow:0 2px 4px rgba(0,0,0,.05);
}
.info-card__header { display:flex; align-items:center; justify-content:space-between; margin-bottom:.35rem; }
.info-card__header h5 { color:#1d78d6; font-weight:700; font-size:1rem; }
.info-card__close {
  background:transparent; border:none; color:#1d78d6; font-size:20px; line-height:1;
  width:28px; height:28px; border-radius:50%; cursor:pointer;
}
.info-card__close:hover { background:rgba(29,120,214,.1); }
.info-card__body p { margin:0; color:#333; }

/* Hint that shows when no hotspot is active */
.info-hint {
  background:#f8f9fa; color:#333; border-radius:6px; padding:10px 12px; margin-top:8px;
  border:1px solid #e6e9ef;
}
