.elementor-604 .elementor-element.elementor-element-1a6f3ca{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:center;--margin-top:100px;--margin-bottom:100px;--margin-left:0px;--margin-right:0px;}:root{--page-title-display:none;}/* Start custom CSS for shortcode, class: .elementor-element-64020b2 */.calculator-container {
    display: flex;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.left-section {
    background: #2a2a2a;
    color: white;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
}

.left-section h2 {
    margin-top: 0;
    font-size: 1.5em;
    color: #fff;
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.85em;
    color: #ccc;
}

.input-group input {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 6px;
    background: #3a3a3a;
    color: white;
    font-size: 1em;
}

.toggle-btn {
    padding: 4px 8px;
    margin-left: 5px;
    border: 1px solid #555;
    background: #555;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8em;
    transition: background 0.3s;
}

.toggle-btn.active {
    background: #007bff;
    border-color: #007bff;
}

.right-section {
    flex: 1;
}

.results-header {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.result-box {
    background: #e8f5e9;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.result-box p {
    margin: 0;
    color: #666;
    font-size: 0.9em;
}

.result-box h3 {
    margin: 5px 0 0;
    color: #333;
    font-size: 1.2em;
}

.payment-breakdown {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.chart-container {
    position: relative;
    width: 200px;
    height: 200px;
}

.chart-container canvas {
    width: 100% !important;
    height: 100% !important;
}

.chart-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.chart-center span {
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
}

.chart-center p {
    margin: 0;
    font-size: 0.9em;
    color: #666;
}

.chart-legend {
    flex: 1;
    text-align: left;
}

.chart-legend p {
    margin: 5px 0;
    font-size: 0.9em;
    color: #333;
}

.legend-color {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 5px;
}

.legend-color.principal { background: #f5a623; }
.legend-color.taxes { background: #4bc0c0; }
.legend-color.insurance { background: #ff6384; }
.legend-color.hoa { background: #36a2eb; }
.legend-color.pmi { background: #ffcd56; }
.legend-color.extra { background: #9966ff; }

.payment-details {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.tab-buttons {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
}

.tab-btn {
    padding: 10px 20px;
    border: none;
    background: none;
    font-size: 1em;
    color: #666;
    cursor: pointer;
    transition: color 0.3s;
}

.tab-btn.active {
    color: #333;
    border-bottom: 2px solid #28a745;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.payment-details-row {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
    font-size: 0.9em;
    color: #666;
}

.payment-details-row p {
    margin: 0;
}

.payment-details-row span {
    font-weight: bold;
    color: #333;
}

.early-payoff {
    background: white;
    padding: 20px;
    border-radius: 8px;
}

.early-payoff h3 {
    margin-top: 0;
    font-size: 1.2em;
    color: #333;
}

.early-payoff-columns {
    display: flex;
    gap: 20px;
}

.early-payoff-column {
    flex: 1;
}

.early-payoff .input-group {
    margin-bottom: 15px;
}

.early-payoff .input-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.85em;
    color: #666;
}

.early-payoff .input-group input {
    background: #fff;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px;
    width: 100%;
    font-size: 1em;
}

.early-payoff .input-group input::placeholder {
    color: #999;
    font-size: 0.9em;
}

.frequency-btn {
    padding: 5px 10px;
    margin-right: 5px;
    border: 1px solid #ddd;
    background: #f4f4f4;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.frequency-btn.active {
    background: #28a745;
    color: white;
    border-color: #28a745;
}

/* Tablet (768px to 1023px) */
@media (max-width: 1023px) {
    .calculator-container {
        flex-direction: column;
    }

    .left-section {
        width: 100%;
        max-width: 100%;
    }

    .right-section {
        width: 100%;
    }

    .results-header {
        gap: 8px;
    }

    .result-box {
        min-width: 120px;
        padding: 10px;
    }

    .result-box p {
        font-size: 0.85em;
    }

    .result-box h3 {
        font-size: 1.1em;
    }

    .payment-breakdown {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .chart-container {
        width: 180px;
        height: 180px;
    }

    .chart-center span {
        font-size: 1.3em;
    }

    .chart-center p {
        font-size: 0.85em;
    }

    .chart-legend {
        text-align: center;
    }

    .chart-legend p {
        font-size: 0.85em;
    }

    .early-payoff-columns {
        flex-direction: column;
        gap: 15px;
    }

    .early-payoff-column {
        width: 100%;
    }

    .tab-btn {
        font-size: 0.9em;
        padding: 8px 15px;
    }

    .payment-details-row {
        font-size: 0.85em;
    }
}

/* Mobile (320px to 767px) */
@media (max-width: 767px) {
    body {
        padding: 10px;
    }

    .calculator-container {
        flex-direction: column;
        gap: 15px;
    }

    .left-section {
        width: 100%;
        padding: 15px;
    }

    .left-section h2 {
        font-size: 1.3em;
    }

    .input-group label {
        font-size: 0.8em;
    }

    .input-group input {
        padding: 8px;
        font-size: 0.9em;
    }

    .toggle-btn {
        padding: 3px 6px;
        font-size: 0.7em;
    }

    .right-section {
        width: 100%;
    }

    .results-header {
        flex-direction: column;
        gap: 10px;
    }

    .result-box {
        min-width: 100%;
        padding: 10px;
    }

    .result-box p {
        font-size: 0.8em;
    }

    .result-box h3 {
        font-size: 1em;
    }

    .payment-breakdown {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 15px;
    }

    .chart-container {
        width: 150px;
        height: 150px;
    }

    .chart-center span {
        font-size: 1.2em;
    }

    .chart-center p {
        font-size: 0.8em;
    }

    .chart-legend {
        text-align: center;
    }

    .chart-legend p {
        font-size: 0.8em;
    }

    .payment-details {
        padding: 15px;
    }

    .tab-buttons {
        margin-bottom: 10px;
    }

    .tab-btn {
        font-size: 0.85em;
        padding: 8px 10px;
    }

    .payment-details-row {
        font-size: 0.8em;
        margin: 8px 0;
    }

    .early-payoff {
        padding: 15px;
    }

    .early-payoff h3 {
        font-size: 1.1em;
    }

    .early-payoff-columns {
        flex-direction: column;
        gap: 10px;
    }

    .early-payoff-column {
        width: 100%;
    }

    .early-payoff .input-group label {
        font-size: 0.8em;
    }

    .early-payoff .input-group input {
        padding: 8px;
        font-size: 0.9em;
    }

    .frequency-btn {
        padding: 4px 8px;
        font-size: 11px;
    }
}/* End custom CSS */