/* Styles for Work Hours Reduction Impact Calculator (Spain) */
.calcufacil-work_reduction_impact_calculator_spain {
    background-color: #f8f9fa; /* Light neutral background */
    border: 1px solid #ced4da;
    border-left: 5px solid #6c757d; /* Grey */
    border-radius: 0 8px 8px 0;
    padding: 20px 25px;
    font-family: 'Open Sans', sans-serif;
    max-width: 850px;
    margin: 25px auto;
    box-shadow: 0 3px 7px rgba(0,0,0,0.07);
}

.calcufacil-work_reduction_impact_calculator_spain > h3 { /* Default title */
    text-align: center;
    color: #343a40; /* Dark Grey */
    margin-bottom: 15px;
    font-size: 1.3em;
}

.calcufacil-work_reduction_impact_calculator_spain .calculator-content h2 {
    text-align: center;
    color: #212529; /* Black */
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.7em;
    font-weight: 600;
}

.calcufacil-work_reduction_impact_calculator_spain .description {
    text-align: center;
    color: #495057; /* Grey */
    font-size: 0.95em;
    margin-bottom: 30px;
    line-height: 1.6;
}
.calcufacil-work_reduction_impact_calculator_spain .description strong {
    color: #dc3545; /* Red emphasis */
}

/* Form Styling */
.calcufacil-work_reduction_impact_calculator_spain form {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px dashed #dee2e6; /* Light grey dashed */
}

.calcufacil-work_reduction_impact_calculator_spain form h3 {
 color: #495057; /* Grey */
 margin-bottom: 20px;
 font-size: 1.25em;
 border-bottom: 1px solid #f1f3f5; /* Very Light Grey */
 padding-bottom: 8px;
 display: flex;
 align-items: center;
 gap: 8px;
}
.calcufacil-work_reduction_impact_calculator_spain form h3 i {
  color: #adb5bd; /* Lighter grey */
}

.calcufacil-work_reduction_impact_calculator_spain .form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px 22px;
    margin-bottom: 25px;
}

.calcufacil-work_reduction_impact_calculator_spain .input-group {
    display: flex;
    flex-direction: column;
}

.calcufacil-work_reduction_impact_calculator_spain .input-group label {
    font-weight: 600;
    color: #343a40; /* Dark Grey */
    margin-bottom: 6px;
    font-size: 0.9em;
}

.calcufacil-work_reduction_impact_calculator_spain .input-group input[type="number"],
.calcufacil-work_reduction_impact_calculator_spain .input-group input[type="text"] {
    padding: 10px;
    border: 1px solid #ced4da; /* Medium grey border */
    border-radius: 4px;
    font-size: 1em;
    background-color: #fff;
    width: 100%;
    box-sizing: border-box;
}

.calcufacil-work_reduction_impact_calculator_spain .input-group small {
    font-size: 0.8em;
    color: #6c757d; /* Grey */
    margin-top: 5px;
    line-height: 1.4;
}

.calcufacil-work_reduction_impact_calculator_spain button[type="submit"] {
    background-color: #6c757d; /* Grey */
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    display: block;
    width: fit-content;
    margin: 20px auto 0 auto;
    transition: background-color 0.3s ease;
    font-weight: bold;
}

.calcufacil-work_reduction_impact_calculator_spain button[type="submit"]:hover {
    background-color: #495057; /* Darker Grey */
}

/* Results Area Styling */
.calcufacil-work_reduction_impact_calculator_spain .results-area {
    margin-top: 25px;
    padding: 20px;
    background-color: #e9ecef; /* Lightest grey */
    border-radius: 6px;
    border: 1px solid #dee2e6;
}
.calcufacil-work_reduction_impact_calculator_spain .results-area h3 {
    color: #212529; /* Black */
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.4em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.calcufacil-work_reduction_impact_calculator_spain .results-area h3 i {
    color: #6c757d; /* Grey */
}

.calcufacil-work_reduction_impact_calculator_spain .comparison-grid.two-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.calcufacil-work_reduction_impact_calculator_spain .comparison-column {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}
.calcufacil-work_reduction_impact_calculator_spain .comparison-column h4 {
    margin-top: 0;
    margin-bottom: 18px;
    color: #343a40; /* Dark Grey */
    font-size: 1.15em;
    border-bottom: 1px solid #f1f3f5;
    padding-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.calcufacil-work_reduction_impact_calculator_spain .current-situation-column h4 i { color: #4caf50; } /* Green */
.calcufacil-work_reduction_impact_calculator_spain .reduced-situation-column h4 i { color: #ff9800; } /* Orange */


.calcufacil-work_reduction_impact_calculator_spain .result-item {
    margin-bottom: 10px;
    font-size: 0.9em; /* Slightly smaller for more items */
    color: #495057;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px dotted #f1f3f5;
}
.calcufacil-work_reduction_impact_calculator_spain .result-item:last-child { border-bottom: none; }

.calcufacil-work_reduction_impact_calculator_spain .result-item .label {
    font-weight: 500;
    margin-right: 10px;
    color: #495057;
}
.calcufacil-work_reduction_impact_calculator_spain .result-item .value {
    font-weight: 600;
    color: #212529;
    text-align: right;
}
.calcufacil-work_reduction_impact_calculator_spain .result-item .strong-value {
    font-size: 1.1em;
    font-weight: 700;
}


.calcufacil-work_reduction_impact_calculator_spain .impact-summary-box {
    margin-top: 20px;
    padding: 20px;
    background-color: #fdfbf5; /* Warm off-white */
    border: 1px solid #e8e0d1;
    border-left: 5px solid #c8b7a6; /* Taupe */
    border-radius: 5px;
    text-align: center;
}
.calcufacil-work_reduction_impact_calculator_spain .impact-summary-box h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #8c7853; /* Darker Taupe/Brown */
    font-size: 1.2em;
}
.calcufacil-work_reduction_impact_calculator_spain .impact-summary-box p {
    margin-bottom: 8px;
    font-size: 1.05em;
    color: #5c4d3c; /* Darker Brown */
}
.calcufacil-work_reduction_impact_calculator_spain .impact-summary-box .impact-value {
    font-size: 1.3em;
    font-weight: bold;
    color: #7a6848; /* Brown */
}
.calcufacil-work_reduction_impact_calculator_spain .impact-summary-box .negative-impact {
    color: #c0392b; /* Red */
}

.calcufacil-work_reduction_impact_calculator_spain .chart-container {
    margin-top: 30px;
    margin-bottom: 20px;
    background-color: #fff;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #dee2e6;
    height: 300px; /* Adjust as needed */
    position: relative;
}
.calcufacil-work_reduction_impact_calculator_spain .chart-container h4 {
    text-align: center;
    margin-bottom: 15px;
    color: #343a40;
    font-size: 1.1em;
}


/* Disclaimer Box */
.calcufacil-work_reduction_impact_calculator_spain .disclaimer-box {
    margin-top: 25px;
    padding: 15px 20px;
    background-color: #fff9e6; /* Light warning yellow */
    border: 1px solid #ffecb3;
    border-left: 5px solid #ffc107; /* Amber */
    border-radius: 5px;
}
.calcufacil-work_reduction_impact_calculator_spain .disclaimer-box h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #b7950b; /* Darker yellow/brown */
    font-size: 1.1em;
}
.calcufacil-work_reduction_impact_calculator_spain .disclaimer-box ul {
    list-style: disc;
    margin-left: 20px;
    padding-left: 0;
    font-size: 0.9em;
    color: #555;
    line-height: 1.6;
}
.calcufacil-work_reduction_impact_calculator_spain .disclaimer-box ul li {
    margin-bottom: 8px;
}
.calcufacil-work_reduction_impact_calculator_spain .disclaimer-box strong {
 color: #c0392b; /* Red */
}

.calcufacil-work_reduction_impact_calculator_spain .error-message {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 12px 15px;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
    margin: 15px 0;
}

.calcufacil-work_reduction_impact_calculator_spain .initial-message {
    color: #495057;
    text-align: center;
    padding: 25px;
    background-color: #f8f9fa;
    border: 1px dashed #dee2e6;
    border-radius: 5px;
    margin-top: 20px;
}