/* Styles for Effective Interest Rate Calculator */
.calcufacil-effective_interest_rate_calculator.calcufacil-container.enhanced-effrate-calc {
    max-width: 950px;
    margin: 25px auto;
    background: #f8f9fe; /* Light, clean blue/purple */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 25px;
    font-family: 'Arial', sans-serif;
}

.calcufacil-effective_interest_rate_calculator .calcufacil-left.calculator-form {
    flex: 1 1 45%;
    min-width: 340px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 7px rgba(0,0,0,0.06);
}

.calcufacil-effective_interest_rate_calculator .calcufacil-right.results.enhanced-effrate-results {
    flex: 1 1 55%;
    min-width: 380px;
    background: #fff;
    padding: 20px 25px;
    border-radius: 8px;
    border: 1px solid #e4e8f0;
    box-shadow: 0 2px 7px rgba(0,0,0,0.06);
}

.calcufacil-effective_interest_rate_calculator .calculator-form h3 {
    font-size: 20px; color: #5a67d8; /* Indigo */ margin-top:0; margin-bottom: 10px; font-weight: 600;
}
.calcufacil-effective_interest_rate_calculator .calculator-form .description {
    font-size: 14px; color: #718096; /* Slate */ margin-bottom: 18px; line-height: 1.5;
}
.calcufacil-effective_interest_rate_calculator .calculator-form fieldset {
    border: 1px solid #d3dae6; /* Lighter Indigo border */
    padding: 15px 18px;
    border-radius: 6px;
    margin-bottom: 20px;
}
.calcufacil-effective_interest_rate_calculator .calculator-form legend {
    font-weight: 600; color: #5a67d8; padding: 0 10px; font-size: 1.1em;
    display: flex; align-items: center; gap: 8px;
}
.calcufacil-effective_interest_rate_calculator .calculator-form legend i { color: #8a95e3; }

.calcufacil-effective_interest_rate_calculator .input-group { margin-bottom: 12px; display: flex; flex-direction: column; }
.calcufacil-effective_interest_rate_calculator .input-group label {
    font-weight: 500; color: #5a67d8; margin-bottom: 5px; font-size: 13.5px;
}
.calcufacil-effective_interest_rate_calculator .input-group input[type="text"],
.calcufacil-effective_interest_rate_calculator .input-group select {
    width: 100%; padding: 9px; border: 1px solid #c6cce0; border-radius: 4px;
    font-size: 14px; box-sizing: border-box;
}

.calcufacil-effective_interest_rate_calculator button[type="submit"] {
    background: #5a67d8; color: #fff; padding: 11px 22px; border: none; border-radius: 5px;
    cursor: pointer; font-size: 16px; width: 100%; margin-top: 10px; font-weight: bold;
}
.calcufacil-effective_interest_rate_calculator button[type="submit"]:hover { background: #4c59c2; }

/* Results Area Styling */
.calcufacil-effective_interest_rate_calculator .results.enhanced-effrate-results h2 {
    font-size: 21px; color: #5a67d8; text-align: center; margin-top:0; margin-bottom: 18px;
}
.calcufacil-effective_interest_rate_calculator .effrate-summary {
    background-color: #eef2ff; border: 1px solid #d3dae6; border-radius: 6px;
    padding: 15px; margin-bottom: 20px;
}
.calcufacil-effective_interest_rate_calculator .effrate-summary h4 {
    font-size: 1.05em; color: #4c59c2; margin-top: 15px; margin-bottom: 8px;
    padding-top:10px; border-top: 1px dashed #c6cce0;
}
.calcufacil-effective_interest_rate_calculator .effrate-summary ul {
    list-style: none; padding-left: 0; font-size: 0.95em;
}
.calcufacil-effective_interest_rate_calculator .effrate-summary li {
    padding: 7px 0; color: #4c59c2;
    display: flex; justify-content: space-between;
    border-bottom: 1px dotted #dce0f0;
}
.calcufacil-effective_interest_rate_calculator .effrate-summary li:last-child {border-bottom: none;}
.calcufacil-effective_interest_rate_calculator .effrate-summary .value { font-weight: 500; }
.calcufacil-effective_interest_rate_calculator .effrate-summary .result-highlight strong {
    font-size: 1.2em; font-weight: bold;
}
.calcufacil-effective_interest_rate_calculator .ear-result strong,
.calcufacil-effective_interest_rate_calculator .apr-result strong { color: #3845a0; }
.calcufacil-effective_interest_rate_calculator .apr-note small { display:block; font-size:0.85em; color: #718096; margin-top:5px;}


.calcufacil-effective_interest_rate_calculator .disclaimer-box.effrate-disclaimer {
    margin-top: 20px; padding: 12px; background-color: #f5f6fa;
    border: 1px solid #e0e3eb; border-left: 3px solid #8a95e3; border-radius: 4px; font-size: 0.85em;
}
.calcufacil-effective_interest_rate_calculator .disclaimer-box h4 { margin-top: 0; margin-bottom: 8px; color: #4c59c2; }
.calcufacil-effective_interest_rate_calculator .disclaimer-box ul { list-style: disc; margin-left: 18px; padding-left: 0; color: #5a67d8; line-height: 1.5; }


.calcufacil-effective_interest_rate_calculator .errors.main-error {
    color: #721c24; background-color: #f8d7da; border-color: #f5c6cb;
    padding: .75rem 1.25rem; margin-bottom: 1rem; border: 1px solid transparent; border-radius: .25rem;
}
.calcufacil-effective_interest_rate_calculator .initial-message {
    text-align: center; padding: 20px; background-color: #eef2ff;
    border: 1px dashed #d3dae6; border-radius: 5px; margin-top: 15px; color: #718096;
}

@media (max-width: 900px) {
    .calcufacil-effective_interest_rate_calculator.calcufacil-container.enhanced-effrate-calc { flex-direction: column; }
    .calcufacil-effective_interest_rate_calculator .calcufacil-left.calculator-form,
    .calcufacil-effective_interest_rate_calculator .calcufacil-right.results.enhanced-effrate-results {
        flex-basis: 100%; min-width: 100%; margin-bottom: 20px;
    }
    .calcufacil-effective_interest_rate_calculator .calcufacil-right.results.enhanced-effrate-results { margin-bottom: 0; }
}