/* Styles for Employer Cost of Employee Calculator */
.calcufacil-employer_cost_employee_calculator.calcufacil-container.enhanced-employercost-calc {
    max-width: 1000px;
    margin: 25px auto;
    background: #f9fafa; /* Neutral, professional background */
    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-employer_cost_employee_calculator .calcufacil-left.calculator-form {
    flex: 1 1 50%;
    min-width: 400px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 7px rgba(0,0,0,0.06);
}

.calcufacil-employer_cost_employee_calculator .calcufacil-right.results.enhanced-employercost-results {
    flex: 1 1 50%;
    min-width: 380px;
    background: #fff;
    padding: 20px 25px;
    border-radius: 8px;
    border: 1px solid #e6e9ec;
    box-shadow: 0 2px 7px rgba(0,0,0,0.06);
}

.calcufacil-employer_cost_employee_calculator .calculator-form h3 {
    font-size: 20px; color: #4a627a; margin-top:0; margin-bottom: 10px; font-weight: 600;
}
.calcufacil-employer_cost_employee_calculator .calculator-form .description,
.calcufacil-employer_cost_employee_calculator .calculator-form .instruction {
    font-size: 14px; color: #647c92; margin-bottom: 15px; line-height: 1.5;
}
.calcufacil-employer_cost_employee_calculator .calculator-form .instruction { font-size: 0.9em; font-style: italic; }
.calcufacil-employer_cost_employee_calculator .calculator-form fieldset {
    border: 1px solid #d8dfe6;
    padding: 15px 18px;
    border-radius: 6px;
    margin-bottom: 20px;
}
.calcufacil-employer_cost_employee_calculator .calculator-form legend {
    font-weight: 600; color: #536f89; padding: 0 10px; font-size: 1.1em;
    display: flex; align-items: center; gap: 8px;
}
.calcufacil-employer_cost_employee_calculator .calculator-form legend i { color: #869cb1; }

.calcufacil-employer_cost_employee_calculator .form-grid.two-col-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px 15px;
}
.calcufacil-employer_cost_employee_calculator .input-group.full-width-group { grid-column: 1 / -1; }


.calcufacil-employer_cost_employee_calculator .input-group { margin-bottom: 12px; display: flex; flex-direction: column; }
.calcufacil-employer_cost_employee_calculator .input-group label {
    font-weight: 500; color: #536f89; margin-bottom: 5px; font-size: 13.5px;
}
.calcufacil-employer_cost_employee_calculator .input-group input[type="text"] {
    width: 100%; padding: 9px; border: 1px solid #c7d0d9; border-radius: 4px;
    font-size: 14px; box-sizing: border-box;
}

.calcufacil-employer_cost_employee_calculator button[type="submit"] {
    background: #536f89; color: #fff; padding: 11px 22px; border: none; border-radius: 5px;
    cursor: pointer; font-size: 16px; width: 100%; margin-top: 10px; font-weight: bold;
}
.calcufacil-employer_cost_employee_calculator button[type="submit"]:hover { background: #4a627a; }

/* Results Area Styling */
.calcufacil-employer_cost_employee_calculator .results.enhanced-employercost-results h2 {
    font-size: 21px; color: #4a627a; text-align: center; margin-top:0; margin-bottom: 18px;
}
.calcufacil-employer_cost_employee_calculator .employercost-summary-box {
    background-color: #f0f4f8; border: 1px solid #d8dfe6; border-radius: 6px;
    padding: 15px; margin-bottom: 20px;
}
.calcufacil-employer_cost_employee_calculator .employercost-summary-box h4 {
    font-size: 1.05em; color: #4a627a; margin-top: 10px; margin-bottom: 8px;
    padding-top:8px; border-top: 1px dashed #d8dfe6;
    display: flex; align-items: center; gap: 6px;
}
.calcufacil-employer_cost_employee_calculator .employercost-summary-box ul {
    list-style: none; padding-left: 0; font-size: 0.95em; margin-bottom:0;
}
.calcufacil-employer_cost_employee_calculator .employercost-summary-box li {
    display: flex; justify-content: space-between; padding: 6px 0;
    border-bottom: 1px dotted #e6e9ec; color: #536f89;
}
.calcufacil-employer_cost_employee_calculator .employercost-summary-box li:last-child { border-bottom: none; }
.calcufacil-employer_cost_employee_calculator .employercost-summary-box .value { font-weight: 600; }
.calcufacil-employer_cost_employee_calculator .employercost-summary-box .subtotal { font-size: 1.05em; margin-top: 5px;}
.calcufacil-employer_cost_employee_calculator .employercost-summary-box .subtotal strong { color: #3e566e; }


.calcufacil-employer_cost_employee_calculator .total-employer-cost-box {
    background-color: #e9f2f9; color: #315572; padding: 18px 20px;
    border-radius: 6px; text-align: center; margin-bottom: 20px;
    border: 1px solid #c3d4e2;
}
.calcufacil-employer_cost_employee_calculator .total-employer-cost-box h4 { margin-top:0; margin-bottom:10px; font-size:1.15em; display:flex; align-items:center; justify-content:center; gap:8px;}
.calcufacil-employer_cost_employee_calculator .total-employer-cost-box .total-annual-cost { font-size: 1.2em; margin-bottom: 5px;}
.calcufacil-employer_cost_employee_calculator .total-employer-cost-box .total-monthly-cost { font-size: 1.1em; margin-bottom: 10px;}
.calcufacil-employer_cost_employee_calculator .total-employer-cost-box .very-important-value { font-size: 1.8em; font-weight: bold; color: #27496d; }
.calcufacil-employer_cost_employee_calculator .total-employer-cost-box .important-value { font-size: 1.5em; font-weight: bold; color: #27496d; }
.calcufacil-employer_cost_employee_calculator .total-employer-cost-box .additional-cost-percent { font-size:0.9em; color: #536f89; font-style:italic;}

.calcufacil-employer_cost_employee_calculator .disclaimer-box.employercost-disclaimer {
    margin-top: 20px; padding: 12px; background-color: #f5f7f9;
    border: 1px solid #dfe5eb; border-left: 3px solid #869cb1; border-radius: 4px; font-size: 0.85em;
}
.calcufacil-employer_cost_employee_calculator .disclaimer-box h4 { margin-top: 0; margin-bottom: 8px; color: #4a627a; }
.calcufacil-employer_cost_employee_calculator .disclaimer-box ul { list-style: disc; margin-left: 18px; padding-left: 0; color: #536f89; line-height: 1.5; }


.calcufacil-employer_cost_employee_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-employer_cost_employee_calculator .initial-message {
    text-align: center; padding: 20px; background-color: #f0f4f8;
    border: 1px dashed #d8dfe6; border-radius: 5px; margin-top: 15px; color: #647c92;
}

@media (max-width: 900px) {
    .calcufacil-employer_cost_employee_calculator.calcufacil-container.enhanced-employercost-calc {
        flex-direction: column;
    }
    .calcufacil-employer_cost_employee_calculator .calcufacil-left.calculator-form,
    .calcufacil-employer_cost_employee_calculator .calcufacil-right.results.enhanced-employercost-results {
        flex-basis: 100%; min-width: 100%; margin-bottom: 20px;
    }
    .calcufacil-employer_cost_employee_calculator .calcufacil-right.results.enhanced-employercost-results { margin-bottom: 0; }
}
@media (max-width: 600px) {
    .calcufacil-employer_cost_employee_calculator .form-grid.two-col-grid { grid-template-columns: 1fr; }
}