/* calculator-embed.css — the mortgage calculator embed's own stylesheet.
   Copied from the live page's inline <style> (calculator page), with two deliberate
   changes: the `body {...}` rule is dropped (it would repaint the whole clone shell),
   and every remaining selector is scoped under `.calculator-embed`. The grey page
   background the live `body` rule painted is applied to the page's `.section`. */.calculator-embed .container {
    max-width: 900px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}
.calculator-embed h1 {
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
    color: #343a40;
}
.calculator-embed label {
    display: block;
    margin-bottom: 5px;
    color: #495057;
    font-weight: bold;
}
.calculator-embed .info-icon {
    margin-left: 5px;
    font-weight: normal;
    color: #007bff;
    cursor: pointer;
    text-decoration: none;
}
.calculator-embed input[type="text"], .calculator-embed input[type="range"], .calculator-embed select {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #ced4da;
    font-size: 16px;
    color: #495057;
}
.calculator-embed input[type="range"] {
    -webkit-appearance: none;
    background-color: #dee2e6;
    height: 5px;
    border-radius: 5px;
    outline: none;
}
.calculator-embed input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    background-color: #28a745;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
}
.calculator-embed button {
    background-color: #28a745;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 5px;
    width: 100%;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s;
}
.calculator-embed button:hover {
    background-color: #218838;
}
.calculator-embed .results {
    margin-top: 40px;
}
.calculator-embed .breakdown {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    color: #343a40;
    font-size: 18px;
}
.calculator-embed .breakdown .line-item {
    display: flex;
    justify-content: space-between;
    margin: 5px 0;
}
.calculator-embed .breakdown .line-item.light {
    color: #6c757d;
}
.calculator-embed .chart-container {
    width: 100%;
    max-width: 600px;
    margin: 30px auto;
    text-align: center;
}
.calculator-embed .amortization-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
.calculator-embed .amortization-table th, .calculator-embed .amortization-table td {
    border: 1px solid #dee2e6;
    padding: 10px;
    text-align: right;
    font-size: 14px;
    color: #495057;
}
.calculator-embed .amortization-table th {
    background-color: #f1f3f5;
}
.calculator-embed .toggle-button {
    background-color: #007bff;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 20px auto;
    display: block;
    font-size: 16px;
    transition: background-color 0.3s;
}
.calculator-embed .toggle-button:hover {
    background-color: #0069d9;
}
.calculator-embed .disclaimer {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
    color: #6c757d;
}
@media (max-width: 576px) {
    input[type="text"], input[type="range"], select, button {
        font-size: 16px;
    }
}



