.mortgage-schedule-wrap {
    margin-top: 20px;
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.mortgage-schedule {
    width: 100%;
    min-width: 660px;
    border-collapse: collapse;
    background: var(--input);
}

.mortgage-schedule caption {
    padding: 16px 18px;
    color: var(--muted);
    font-weight: 700;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.mortgage-schedule th,
.mortgage-schedule td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    text-align: right;
    white-space: nowrap;
}

.mortgage-schedule thead th {
    color: var(--text);
    background: var(--background);
}

.mortgage-schedule th:first-child,
.mortgage-schedule td:first-child {
    text-align: left;
}

.mortgage-schedule tbody th {
    color: var(--text);
}

.mortgage-schedule tbody td {
    color: var(--muted);
}

.mortgage-schedule tbody tr:last-child th,
.mortgage-schedule tbody tr:last-child td {
    border-bottom: 0;
}
