
.loan-calc-wrapper {
  display: flex;
  flex-wrap: wrap;
  max-width: 960px;
  margin: auto;
  gap: 20px;
  font-family: Arial, sans-serif;
}
.loan-calc-left, .loan-calc-right {
  flex: 1 1 300px;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 8px rgba(0,0,0,0.05);
}
label { display: block; margin: 10px 0 5px; font-weight: bold; }
input[type="number"], input[type="range"] {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}
.range-slider {
  display: flex;
  align-items: center;
  gap: 10px;
}
.range-slider button {
  padding: 8px 12px;
  font-size: 18px;
  background: #0046be;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
}
.minmax {
  display: flex;
  justify-content: space-between;
  font-size: 0.85em;
  color: #777;
}
.term-vertical {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.term-vertical div {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
}
.term-vertical label {
  text-align: center;
  font-size: 14px;
  color: #333;
  margin-top: 4px;
}
.calculate-btn {
  margin-top: 20px;
  background: #0046be;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
}
.loan-calc-right h3 { margin-top: 0; }
.rep-box {
  background: #f0f8ff;
  padding: 15px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.6;
}
.info-box {
  background: #fff;
  border-left: 4px solid #28a745;
  padding: 10px;
  margin: 10px 0;
}
@media (max-width: 500px) {
  .term-vertical {
    flex-direction: row;
  }
}
