/* Loan calculator */
.loan-calculator-tool { padding: 1rem 0; }

.lc-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.lc-panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lc-panel h3 { margin: 0; font-size: 1.125rem; }
.lc-fees h4, .lc-early h4 { margin: 0 0 0.75rem 0; font-size: 1rem; }

.lc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.lc-fees, .lc-early {
    padding: 1.25rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.lc-actions, .lc-summary-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.lc-actions .btn, .lc-summary-actions .btn {
    flex: 1;
    min-width: 180px;
}

.lc-summary {
    padding: 1.25rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.lc-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin: 0.75rem 0 1rem;
}

.lc-card {
    padding: 0.9rem;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
}

.lc-card .label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.lc-card strong {
    font-family: 'Courier New', monospace;
    font-weight: 900;
    font-size: 1.15rem;
}

.lc-schedule {
    padding: 1.25rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.lc-schedule-wrap {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: auto;
    max-height: 520px;
}

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

.lc-table th, .lc-table td {
    padding: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
    font-size: 0.9rem;
}

.lc-table thead th {
    background: var(--bg-secondary);
    position: sticky;
    top: 0;
    z-index: 5;
}

.lc-table td.num {
    font-family: 'Courier New', monospace;
    font-weight: 700;
}

.lc-widget {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
}

.lc-widget-frame {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1rem;
}

.muted { color: var(--text-secondary); }

@media (max-width: 992px) {
    .lc-layout { grid-template-columns: 1fr; }
    .lc-grid { grid-template-columns: 1fr; }
    .lc-cards { grid-template-columns: 1fr; }
}

