.calc-block {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  font-family: sans-serif;
}

.calc-block h1 {
  font-size: 24px;
  margin-bottom: 10px;
}

.calc-block p {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
}

.calc-form label {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  color: #333;
}

.calc-form input {
  width: 100%;
  padding: 8px;
  margin-top: 4px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

.calc-form button {
  margin-top: 20px;
  padding: 10px 16px;
  background-color: #0078d7;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.calc-form button:hover {
  background-color: #005fa3;
}

.result-output {
  margin-top: 20px;
  font-size: 16px;
  color: #222;
}

.result-output p {
  margin: 8px 0;
}

#schedule-container {
  margin-top: 40px;
  padding: 20px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;

.payment-schedule {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1em;
}

.payment-schedule th,
.payment-schedule td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: right;
}

.payment-schedule th {
  background-color: #f5f5f5;
}

.credit-recommendations {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 1.5em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  font-size: 1rem;
  line-height: 1.6;
}
.credit-recommendations h3 {
  margin-bottom: 1em;
}

.overpay-bar {
  width: 100%;
  height: 10px;
  background-color: #eee;
  border-radius: 5px;
  margin: 10px 0;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  transition: width 0.3s ease;
}

