/* Kredi Hesaplama - tool specific */
#loPayment {
  color: #38bdf8;
}

#loSentence {
  color: var(--text-muted);
}

/* Faiz oranı girişi: input + Aylık/Yıllık birim seçici yan yana */
.lo-rate-row {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
}

.lo-rate-row .calc-input {
  flex: 1;
  min-width: 0;
}

.lo-rate-seg {
  flex: 0 0 auto;
  margin: 0;
}

.lo-rate-seg .calc-seg-btn {
  flex: 0 0 auto;
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
}

/* Amortisman tablosu */
.lo-table-card {
  padding-top: var(--spacing-md);
}

.lo-table-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 var(--spacing-sm);
  color: var(--text-secondary, var(--text-muted));
}

.lo-table-scroll {
  max-height: 320px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.lo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  white-space: nowrap;
}

.lo-table th,
.lo-table td {
  padding: 0.55rem 0.7rem;
  text-align: right;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lo-table th:first-child,
.lo-table td:first-child {
  text-align: left;
}

.lo-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: rgba(20, 20, 30, 0.92);
  backdrop-filter: blur(8px);
  font-weight: 600;
  color: var(--text-muted);
}

.lo-table tbody tr:last-child td {
  border-bottom: none;
}

.lo-table .lo-interest { color: #fbbf24; }
.lo-table .lo-balance { color: #38bdf8; font-weight: 600; }

@media (max-width: 640px) {
  .lo-table {
    font-size: 0.82rem;
  }
  .lo-table th,
  .lo-table td {
    padding: 0.45rem 0.5rem;
  }
}
