.lumpsum-calculator a {
    color: #2563eb;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 50px;
  max-width: 800px;
    margin: 0 auto;
}

/* ====== Headings ====== */
.title {
  text-align: center;
  font-size: 26px;
  line-height: 1.1;
  color: #000;
  margin-bottom: 25px;
}

.subtitle {
  font-size: 20px;
  font-weight: 500;
  color: #000;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 5px;
  margin-bottom: 15px;
}

/* ====== Form ====== */
.form {
  display: grid;
    grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 25px;
}

.field {
  display: flex;
  flex-direction: column;
}

.field label {
  font-weight: 500;
  color: #000;
  margin-bottom: 6px;
  font-size: 14px;
}

.field input {
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s ease;
}

.field input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

.hint {
  font-size: 12px;
  color: #000;
  margin-top: 3px;
}

/* ====== Button ====== */
.lumpsum-calculator .calculator-btn {
  background-color: #2563eb !important;
  color: #fff;
  border: none;
  grid-area: span 1 / span 2;
  border-radius: 8px;
  padding: 12px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.lumpsum-calculator .calculator-btn:hover {
  background-color: #1d4ed8 !important;
}

/* ====== Output Section ====== */
.output {
  background: #f8fafc;
  border-radius: 10px;
  padding: 20px;
}

.row-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 15px;
  color: #000;
}

.row-wrapper strong {
  color: #000;
  font-weight: 600;
}

/* ====== Responsive Design ====== */
@media (max-width: 690px) {
  .card {
    padding: 30px;
  }
  .form {
      display: flex;
    flex-direction: column;
  }
}