.emergency-fund-table-wrap {
    margin-top: 20px;
    overflow-x: auto;

    border: 1px solid var(--border);
    border-radius: 12px;
}

.emergency-fund-table {
    width: 100%;
    min-width: 800px;

    border-collapse: collapse;
    background: var(--input);
}

.emergency-fund-table caption {
    padding: 16px 18px;

    color: var(--muted);
    font-weight: 700;
    text-align: left;

    border-bottom: 1px solid var(--border);
}

.emergency-fund-table th,
.emergency-fund-table td {
    padding: 14px 16px;

    border-bottom: 1px solid var(--border);
    text-align: right;
    white-space: nowrap;
}

.emergency-fund-table thead th {
    color: var(--text);
    background: var(--background);
}

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

.emergency-fund-table tbody th {
    color: var(--text);
}

.emergency-fund-table tbody td {
    color: var(--muted);
}

.emergency-fund-table tbody tr:last-child th,
.emergency-fund-table tbody tr:last-child td {
    border-bottom: 0;
}
