/* ===============================
   INPUT PANEL (LEFT + RIGHT)
=============================== */

.triangle-panel {
  display: grid;
  /* INPUT smaller | RESULT larger */
  grid-template-columns: 1fr 1.05fr;
  gap: 0;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
}

/* ===============================
   LEFT: INPUT SECTION (COMPACT)
=============================== */

.input-left.calc-section {
  padding: 16px 18px; /* reduced padding */
  background: #ffffff;
  border-right: 1px solid #e2e8f0;
}

.input-left .row {
  margin-bottom: 12px; /* slightly tighter */
}

.input-left label {
  font-size: 13px;
}

.input-left input,
.input-left select {
  font-size: 14px;
}

.input-help {
  font-size: 12.5px;
  color: #64748b;
  margin-top: 4px;
}

/* ===============================
   RIGHT: RESULT SECTION (EXPANDED)
=============================== */

.input-right-stack {
  padding: 22px; /* more space */
  background: #f8fafc;
  display: flex;
  align-items: stretch; /* allow result to grow vertically */
}

/* ===============================
   RESULT BOX (MORE ROOM)
=============================== */

.result-box {
  width: 100%;
  background: #ffffff;
  border-radius: 12px;
  padding: 22px; /* increased padding */
  text-align: left; /* better for dense info */
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

.result-box h3 {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-bottom: 16px;
}

/* ===============================
   RESULT GRID (AIRY & READABLE)
=============================== */

.stat-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px 22px; /* more horizontal room */
  font-size: 15.5px;
}

.stat-grid strong {
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
}

/* ===============================
   RESPONSIVE
=============================== */

@media (max-width: 900px) {
  .triangle-panel {
    grid-template-columns: 1fr;
  }

  .input-left.calc-section {
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
  }

  .input-right-stack {
    background: #ffffff;
    padding: 18px;
  }

  .result-box {
    text-align: center;
  }
}
