/* FINANCE CALCULATOR */

.finance-container {
  background: #f8fafc;
  padding: 20px 12px;
}

.finance-card {
  max-width: 480px;
  margin: auto;
  background: #fff;
  padding: 28px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

/* TITLE */
.finance-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
}

/* RESULT */
.finance-result {
  text-align: center;
  margin-bottom: 24px;
}

.result-label {
  font-size: 14px;
  color: #64748b;
}

.result-main {
  font-size: 36px;
  font-weight: 700;
  color: #0f172a;
}

.result-sub {
  font-size: 14px;
  color: #16a34a;
  font-weight: 600;
}

/* FIELD */
.finance-field {
  margin-bottom: 14px;
}

.finance-field label {
  font-size: 13px;
  color: #64748b;
  display: block;
  margin-bottom: 6px;
}

/* INPUT */
.input-wrap {
  display: flex;
  align-items: center;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  transition: border 0.2s ease;
}

.input-wrap:focus-within {
  border-color: #0f172a;
}

.input-wrap span {
  color: #64748b;
  font-size: 14px;
}

.input-wrap input {
  border: none;
  outline: none;
  font-size: 16px;
  width: 100%;
  padding: 4px 8px;
  background: transparent;
}

/* BREAKDOWN */
.finance-breakdown {
  margin-top: 16px;
  font-size: 14px;
  color: #334155;
}

/* RANGE */
.range {
  width: 100%;
  margin-top: 8px;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 999px;
  background: #e5e7eb;
  outline: none;
  transition: background 0.2s ease;
}

/* Chrome / Safari */
.range::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: transparent;
}

/* Thumb */
.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #0f172a;
  cursor: pointer;
  margin-top: -6px;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Firefox */
.range::-moz-range-track {
  height: 6px;
  background: transparent;
}

.range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #0f172a;
  border: 2px solid #fff;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .finance-card {
    padding: 20px;
  }

  .result-main {
    font-size: 28px;
  }
}

.finance-container {
  width: 100%;
  background: #f8fafc;
  padding: 12px 12px 20px;
}

.finance-card {
  max-width: 480px;
  margin: 0 auto;
}

.calculator-intro {
  text-align: center;
  font-size: 14px;
  color: #64748b;
  margin-bottom: 20px;
}

.result-sub:last-child {
  color: #64748b;
  font-weight: 500;
}

.calculator-note {
  font-size: 13px;
  color: #64748b;
  text-align: center;
  margin: 10px 0 20px;
  line-height: 1.4;
}

.result-interest {
  font-weight: 600;
}

.calculator-note {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 16px; /* buvo mažiau */
}

/* SEO CONTENT FIX */
.calculator-content {
  max-width: 480px;
  margin: 12px auto 0;
  padding: 0 4px;

  border-top: 1px solid #e5e7eb;
}

/* spacing tarp sekcijų */
.calculator-content h2 {
  margin-top: 32px;
  margin-bottom: 12px;
}

.calculator-content h3 {
  margin-top: 20px;
  margin-bottom: 8px;
}

/* tekstas */
.calculator-content p {
  color: #374151;
  line-height: 1.7;
}

/* list */
.calculator-content ul {
  padding-left: 18px;
  margin-bottom: 16px;
}

.calculator-content li {
  margin-bottom: 6px;
}
