/* Delaying Savings Calculator Styles - Finance/Educational Theme */
.calcufacil-delaying_savings_calculator.calcufacil-container {
    max-width: 900px; margin: 20px auto; background: #fff; padding: 20px;
    border-radius: 8px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex; flex-wrap: wrap; gap: 30px; font-family: Arial, sans-serif;
}
.calcufacil-delaying_savings_calculator h3 {
    width: 100%; text-align: center; color: #198754; /* Green */
    margin-bottom: 20px; font-size: 24px;
}
.calcufacil-delaying_savings_calculator .calcufacil-left,
.calcufacil-delaying_savings_calculator .calcufacil-right {
    flex: 1; min-width: 300px;
}
/* Form */
.calcufacil-delaying_savings_calculator .calculator-form h2 { font-size: 20px; color: #198754; margin-bottom: 15px; }
.calcufacil-delaying_savings_calculator .input-group { margin-bottom: 18px; }
.calcufacil-delaying_savings_calculator label { display: block; font-weight: bold; color: #333; margin-bottom: 5px; font-size: 14px; }
.calcufacil-delaying_savings_calculator .input-group small { display: block; font-size: 11px; color: #666; margin-top: 4px; }
.calcufacil-delaying_savings_calculator input[type="number"] {
    width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 4px;
    box-sizing: border-box; font-size: 16px; background: #f9f9f9;
}
.calcufacil-delaying_savings_calculator button {
    background-color: #198754; color: #fff; padding: 12px 20px; border: none; border-radius: 4px;
    cursor: pointer; font-size: 16px; width: 100%; transition: background-color 0.3s ease; margin-top: 10px;
}
.calcufacil-delaying_savings_calculator button:hover { background-color: #146c43; }
/* Results */
.calcufacil-delaying_savings_calculator .results { background: #d1e7dd; padding: 25px; border-radius: 8px; border: 1px solid #badbcc; }
.calcufacil-delaying_savings_calculator .results-header { text-align: center; margin-bottom: 15px; }
.calcufacil-delaying_savings_calculator .results-header h2 { font-size: 20px; color: #0f5132; margin: 0; }
.calcufacil-delaying_savings_calculator .input-summary { text-align: center; font-size: 13px; color: #555; margin-bottom: 20px; background-color: #fff; padding: 10px; border-radius: 4px; border: 1px solid #eee;}
.calcufacil-delaying_savings_calculator .results-breakdown.delay-results { display: flex; flex-direction: column; gap: 15px; margin-bottom: 15px; }
.calcufacil-delaying_savings_calculator .breakdown-item {
    padding: 12px 15px; background: #fff; border-radius: 4px; font-size: 14px; color: #333;
    border-left: 4px solid #ccc; /* Default border */
}
.calcufacil-delaying_savings_calculator .breakdown-item span:first-child { display: block; font-weight: normal; color: #555; margin-bottom: 5px; }
.calcufacil-delaying_savings_calculator .breakdown-item span:last-child { font-weight: bold; color: #0f5132; text-align: right; font-size: 1.4em; display: block; }
/* Specific styles for each scenario */
.calcufacil-delaying_savings_calculator .breakdown-item.saving-now { border-left-color: #198754; } /* Green for now */
.calcufacil-delaying_savings_calculator .breakdown-item.saving-later { border-left-color: #ffc107; } /* Amber for later */
.calcufacil-delaying_savings_calculator .breakdown-item.saving-later span.unreachable { color: #dc3545; font-style: italic; font-size: 1.2em; }
.calcufacil-delaying_savings_calculator .breakdown-item.difference { border-left-color: #dc3545; background-color: #f8d7da; padding: 15px; text-align: center;} /* Red for difference */
.calcufacil-delaying_savings_calculator .breakdown-item.difference span:first-child { font-size: 15px; color: #58151c; }
.calcufacil-delaying_savings_calculator .breakdown-item.difference span:last-child { font-size: 1.3em; color: #721c24; }
.calcufacil-delaying_savings_calculator .breakdown-item.unreachable-msg { border-left-color: #6c757d; background-color: #e9ecef; text-align: center; padding: 15px; }
.calcufacil-delaying_savings_calculator .breakdown-item.unreachable-msg span { color: #495057; font-size: 1.1em; font-style: italic; font-weight: normal !important; display: block; }
.calcufacil-delaying_savings_calculator .breakdown-item.unreachable-msg span:first-child { display:none; } /* Hide first span */

.calcufacil-delaying_savings_calculator .note { font-size: 12px; color: #555; text-align: center; margin-top: 15px; font-style: italic; line-height: 1.4; }
.calcufacil-delaying_savings_calculator .errors { color: #721c24; background-color: #f8d7da; border: 1px solid #f5c6cb; padding: 10px 15px; border-radius: 4px; margin-top: 15px; }
.calcufacil-delaying_savings_calculator .errors ul { list-style: none; padding: 0; margin: 0; }
.calcufacil-delaying_savings_calculator .errors li { margin-bottom: 5px; }
.calcufacil-delaying_savings_calculator .errors li:last-child { margin-bottom: 0; }