.mortgage-calculator-box {
  max-width: 420px;
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  font-family: 'Segoe UI', sans-serif;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.08);
}

.calc-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.calc-tab {
  flex: 1;
  padding: 12px;
  background: #686868;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.calc-tab.active {
  background: #1c1cc1;
  color: #fff;
}

.calc-form {
  display: none;
  flex-direction: column;
  gap: 15px;
}

.calc-form.show {
  display: flex;
}

.calc-form label {
  font-size: 14px;
  color: #222;
  display: flex;
  flex-direction: column;
}

.calc-form input[type="number"],
#borrow-mode {
  padding: 10px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-top: 5px;
  background: white;
}

button {
  background: #1c1cc1;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}

button:hover {
  background: #0e0e8a;
}

.calc-result {
  display: none;
  margin-top: 10px;
  background: #1c1cc1;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 12px;
  font-size: 14px;
  color: white;
}

.borrow-mode-wrapper {
  margin-bottom: 15px;
}

.borrow-mode-label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
  color: #222;
}
