.cpm-content .elementor-mortgage-calculator{
    font-family: "Roboto", sans-serif;
    color: #333;
    line-height: 1.5;
    box-sizing: border-box;
}
.cpm-content .emc-container{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 100%;
}
.cpm-content .emc-input-section, .cpm-content .emc-results-section{
    flex: 1;
    min-width: 300px;
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.cpm-content .emc-section-title{
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f2f5;
}
.cpm-content .emc-input-group{
    margin-bottom: 15px;
}
.cpm-content .emc-input-group label{
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #4a5568;
    font-size: 0.95rem;
}
.cpm-content .emc-input-with-symbol{
    position: relative;
    display: flex;
    align-items: center;
}
.cpm-content .emc-input-with-symbol .emc-symbol{
    position: absolute;
    left: 12px;
    color: #718096;
    font-size: 0.9rem;
}
.cpm-content .emc-input-with-symbol input{
    padding-left: 30px !important;
}
.cpm-content .emc-input-group input, .cpm-content .emc-input-group select{
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: #fff;
}
.cpm-content .emc-input-group input:focus, .cpm-content .emc-input-group select:focus{
    border-color: #4299e1;
    outline: none;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.2);
}
.cpm-content .emc-radio-group{
    display: flex;
    align-items: center;
}
.cpm-content .emc-radio-options{
    margin-left: 10px;
    display: flex;
    gap: 10px;
}
.cpm-content .emc-radio-options label{
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: #4a5568;
    cursor: pointer;
}
.cpm-content .emc-date-group{
    display: flex;
    gap: 10px;
}
.cpm-content .emc-date-group select{
    flex: 2;
}
.cpm-content .emc-date-group input{
    flex: 1;
}
.cpm-content .emc-slider-group{
    display: flex;
    align-items: center;
    gap: 15px;
}
.cpm-content .emc-slider{
    flex: 1;
    -webkit-appearance: none;
    height: 6px;
    border-radius: 3px;
    background: #e2e8f0;
    outline: none;
}
.cpm-content .emc-slider::-webkit-slider-thumb{
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #4299e1;
    cursor: pointer;
    transition: all 0.2s ease;
}
.cpm-content .emc-slider::-webkit-slider-thumb:hover{
    background: #3182ce;
    transform: scale(1.1);
}
.cpm-content .emc-tooltip{
    position: relative;
}
.cpm-content .emc-tooltip .emc-tooltip-text{
    visibility: hidden;
    width: 180px;
    background-color: #2d3748;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.8rem;
    font-weight: normal;
}
.cpm-content .emc-tooltip:hover .emc-tooltip-text{
    visibility: visible;
    opacity: 1;
}
.cpm-content .emc-button{
    width: 100%;
    padding: 14px;
    background-color: #4299e1;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}
.cpm-content .emc-button:hover{
    background-color: #3182ce;
    transform: translateY(-2px);
}
.cpm-content .emc-secondary-button{
    background-color: #fff;
    color: #4299e1;
    border: 1px solid #4299e1;
}
.cpm-content .emc-secondary-button:hover{
    background-color: #ebf8ff;
}
.cpm-content .emc-text-button{
    background: none;
    border: none;
    color: #4299e1;
    font-size: 0.95rem;
    padding: 5px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}
.cpm-content .emc-text-button:hover{
    text-decoration: underline;
}
.cpm-content .emc-arrow{
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}
.cpm-content .emc-payment-breakdown{
    margin-bottom: 25px;
    border-bottom: 1px solid #f0f2f5;
    padding-bottom: 20px;
}
.cpm-content .emc-payment-total{
    text-align: center;
    margin-bottom: 15px;
}
.cpm-content .emc-payment-amount{
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    display: block;
    line-height: 1.2;
}
.cpm-content .emc-payment-label{
    font-size: 0.95rem;
    color: #718096;
}
.cpm-content .emc-payment-details{
    background-color: #f8fafc;
    border-radius: 8px;
    padding: 15px;
}
.cpm-content .emc-payment-line{
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.95rem;
}
.cpm-content .emc-payment-line:last-child{
    margin-bottom: 0;
}
.cpm-content .emc-summary-details{
    margin: 20px 0;
}
.cpm-content .emc-summary-item{
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.95rem;
}
.cpm-content .emc-summary-item:last-child{
    margin-bottom: 0;
}
.cpm-content .emc-amortization-schedule{
    display: none;
    margin-top: 20px;
}
.cpm-content .emc-amortization-schedule h4{
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #2c3e50;
}
.cpm-content .emc-amortization-table-container{
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}
.cpm-content .emc-amortization-table{
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.cpm-content .emc-amortization-table th, .cpm-content .emc-amortization-table td{
    padding: 10px 15px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}
.cpm-content .emc-amortization-table th{
    background-color: #f8fafc;
    font-weight: 600;
    color: #4a5568;
    position: sticky;
    top: 0;
}
.cpm-content .emc-amortization-table tr:last-child td{
    border-bottom: none;
}
.cpm-content .emc-amortization-table td:nth-child(2), .cpm-content .emc-amortization-table td:nth-child(3), .cpm-content .emc-amortization-table td:nth-child(4){
    text-align: right;
}
.cpm-content .emc-action-buttons{
    display: flex;
    gap: 10px;
    margin-top: 20px;
}
.cpm-content .emc-action-buttons .emc-button{
    margin-top: 0;
    flex: 1;
}
@media  (max-width: 768px) {.cpm-content .emc-container{
        flex-direction: column;
    }
.cpm-content .emc-input-section, .cpm-content .emc-results-section{
        min-width: 100%;
    }
.cpm-content .emc-date-group{
        flex-direction: column;
    }
.cpm-content .emc-date-group select, .cpm-content .emc-date-group input{
        width: 100%;
    }}