/* ========================================
   Gunderson Law Firm - Calculator Styles
   Interest calculator page-specific styles
   ======================================== */

.calculator-section {
  padding: 60px 40px 80px;
  background: var(--background);
}

.calculator-intro-text {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-medium);
  margin-bottom: 30px;
  line-height: 1.8;
}

.calculator-box {
  max-width: 500px;
  margin: 0 auto;
  background: var(--background);
  border: 1px solid #ccc;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.calc-table {
  width: 100%;
  border-collapse: collapse;
}

.calc-table tr {
  border-bottom: 1px solid #ddd;
}

.calc-table tr:last-child {
  border-bottom: none;
}

.calc-table td {
  padding: 13px 18px;
  font-size: 0.85rem;
  color: #444;
  vertical-align: middle;
}

.calc-table td:first-child {
  text-align: right;
  white-space: nowrap;
  width: 55%;
  padding-right: 14px;
}

.calc-table td:last-child {
  text-align: left;
  padding-left: 10px;
}

.calc-table input[type="text"],
.calc-table input[type="number"] {
  width: 140px;
  padding: 6px 10px;
  font-size: 0.85rem;
  font-family: inherit;
  border: 1px solid #bbb;
  background: var(--background);
  color: var(--text-dark);
  height: 32px;
}

.calc-table input:focus {
  outline: none;
  border-color: var(--primary);
}

/* Buttons row */
.calc-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.calc-btn-compute {
  background-color: #2c2c2c;
  color: #fff;
  border: none;
  padding: 7px 18px;
  font-size: 0.82rem;
  font-family: inherit;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.calc-btn-compute:hover {
  background-color: #111;
}

.calc-btn-reset {
  background: none;
  border: none;
  font-size: 0.82rem;
  font-family: inherit;
  color: #666;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  transition: color 0.2s ease;
}

.calc-btn-reset:hover {
  color: var(--primary);
}

/* Result row */
.calc-result-row td {
  padding-top: 14px;
  padding-bottom: 14px;
}

.calc-result-value {
  font-size: 0.88rem;
  color: var(--text-dark);
}

/* =========================
   TABLET
   ========================= */
@media (max-width: 1024px) {
}

/* =========================
   MOBILE
   ========================= */
@media (max-width: 900px) {
}

@media (max-width: 768px) {
}

/* =========================
   SMALL MOBILE
   ========================= */
@media (max-width: 600px) {
  .calculator-section {
    padding: 40px 20px 60px;
  }

  .calc-table td:first-child {
    text-align: left;
    white-space: normal;
    width: auto;
    display: block;
    padding-bottom: 4px;
  }

  .calc-table td:last-child {
    display: block;
    padding-top: 0;
  }

  .calc-table td {
    display: block;
    padding: 8px 16px;
  }

  .calc-table tr {
    display: block;
    padding: 8px 0;
  }
}

@media (max-width: 480px) {
}
