.mortgage-calc {
    max-width: 650px;
    margin: 20px auto;
    padding: 18px;
    border: 2px solid #0073aa;
    border-radius: 8px;
    background: #fafafa;
    font-family: Arial, sans-serif;
    color: #222;
}

.mortgage-calc h3 {
    color: #0073aa;
    text-align: center;
    margin-bottom: 14px;
}

.mortgage-calc label, fieldset {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
}

.mortgage-calc input[type="number"] {
    width: 100%;
    padding: 8px;
    margin-top: 6px;
    border-radius: 6px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    font-size: 14px;
}

fieldset {
    margin: 12px 0;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
}

fieldset legend {
    font-weight: bold;
    margin-bottom: 6px;
}

fieldset label {
    display: inline-block;
    margin-right: 12px;
    font-weight: normal;
}

.buttons-row {
    margin-top: 12px;
    display:flex;
    justify-content: flex-start;
    gap:10px;
}

.mortgage-calc button {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 10px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
}

.mortgage-calc button:hover { background: #005f8a; }

.mc-results {
    margin-top: 16px;
    background: #fff;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #e1e1e1;
}

#mc_schedule {
    margin-top: 10px;
    font-size: 14px;
}

.mc-note {
    font-size: 13px;
    color: #666;
    margin-top: 12px;
}
