/* =================================================================== */
/* 페이지 특정 CSS (대출 계산기용)                                      */
/* =================================================================== */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--rg-spacing-large);
}
.result-section {
    margin-top: var(--rg-spacing-large);
    display: none; /* JS로 표시 */
}
.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--rg-spacing);
    margin-top: var(--rg-spacing);
}
.summary-item {
    background-color: var(--rg-color-background-alt);
    padding: var(--rg-spacing);
    border-radius: var(--rg-border-radius);
    border: 1px solid var(--rg-color-border);
}
.summary-item .summary-label {
    font-size: 0.9rem;
    color: var(--rg-color-text-secondary);
    margin-bottom: 8px;
}
.summary-item .summary-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--rg-color-primary-dark);
}
.schedule-table-wrapper {
    margin-top: var(--rg-spacing-large);
    max-height: 500px;
    overflow-y: auto;
    border: 1px solid var(--rg-color-border);
    border-radius: var(--rg-border-radius);
}
.amortization-table {
    width: 100%;
    border-collapse: collapse;
    text-align: right;
}
.amortization-table th, .amortization-table td {
    padding: 12px;
    border-bottom: 1px solid var(--rg-color-border);
}
.amortization-table thead {
    position: sticky;
    top: 0;
    background-color: var(--rg-color-secondary);
}
.amortization-table th {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--rg-color-text-secondary);
}
.amortization-table tbody tr:last-child td {
    border-bottom: none;
}
.amortization-table tbody tr:nth-child(even) {
    background-color: var(--rg-color-background-alt);
}