/* Styles for Student Cost of Living Spain Calculator */
.calcufacil-student_cost_of_living_spain_calculator {
    background-color: #fefefe;
    border: 1px solid #e0e0e0;
    border-left: 5px solid #ffab40; /* Orange Accent */
    border-radius: 0 8px 8px 0;
    padding: 20px 25px;
    font-family: 'Poppins', sans-serif; /* Modern, friendly font */
    max-width: 800px;
    margin: 25px auto;
    box-shadow: 0 3px 7px rgba(0,0,0,0.06);
}

.calcufacil-student_cost_of_living_spain_calculator > h3 { /* Default title */
    text-align: center;
    color: #e65100; /* Dark Orange */
    margin-bottom: 15px;
    font-size: 1.3em;
}

.calcufacil-student_cost_of_living_spain_calculator .calculator-content h2 {
    text-align: center;
    color: #bf360c; /* Deep Orange */
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.7em;
    font-weight: 600;
}

.calcufacil-student_cost_of_living_spain_calculator .description {
    text-align: center;
    color: #d84315; /* Orange Brown */
    font-size: 0.95em;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Form Styling */
.calcufacil-student_cost_of_living_spain_calculator form {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px dashed #ffe0b2; /* Light Orange dashed */
}

.calcufacil-student_cost_of_living_spain_calculator form h3 {
 color: #f57c00; /* Orange */
 margin-bottom: 20px;
 font-size: 1.25em;
 border-bottom: 1px solid #fff3e0; /* Very Light Orange */
 padding-bottom: 8px;
 display: flex;
 align-items: center;
 gap: 8px;
}
.calcufacil-student_cost_of_living_spain_calculator form h3 i {
  color: #ffa726; /* Lighter Orange */
}

.calcufacil-student_cost_of_living_spain_calculator .form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 18px 22px;
    margin-bottom: 25px;
}

.calcufacil-student_cost_of_living_spain_calculator .input-group {
    display: flex;
    flex-direction: column;
}

.calcufacil-student_cost_of_living_spain_calculator .input-group label {
    font-weight: 600;
    color: #a0522d; /* Sienna */
    margin-bottom: 6px;
    font-size: 0.9em;
}

.calcufacil-student_cost_of_living_spain_calculator .input-group input[type="text"],
.calcufacil-student_cost_of_living_spain_calculator .input-group select {
    padding: 10px;
    border: 1px solid #ffcc80; /* Light Orange border */
    border-radius: 4px;
    font-size: 1em;
    font-family: 'Poppins', sans-serif;
    background-color: #fff;
    width: 100%;
    box-sizing: border-box;
}

.calcufacil-student_cost_of_living_spain_calculator .input-group small {
    font-size: 0.8em;
    color: #e65100; /* Dark Orange */
    margin-top: 5px;
    line-height: 1.4;
}

.calcufacil-student_cost_of_living_spain_calculator button[type="submit"] {
    background-color: #ff9800; /* Orange */
    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;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
}

.calcufacil-student_cost_of_living_spain_calculator button[type="submit"]:hover {
    background-color: #f57c00; /* Darker Orange */
}

/* Results Area Styling */
.calcufacil-student_cost_of_living_spain_calculator .results-area {
    margin-top: 25px;
    padding: 20px;
    background-color: #fff3e0; /* Very light orange */
    border-radius: 6px;
    border: 1px solid #ffe0b2; /* Light orange border */
}
.calcufacil-student_cost_of_living_spain_calculator .results-area h3 {
    color: #bf360c; /* Deep Orange */
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.4em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.calcufacil-student_cost_of_living_spain_calculator .results-area h3 i {
    color: #f57c00; /* Orange */
}

.calcufacil-student_cost_of_living_spain_calculator .results-area .summary {
 text-align: center;
 font-size: 1em;
 color: #a0522d; /* Sienna */
 margin-bottom: 20px;
 padding-bottom: 15px;
 border-bottom: 1px dashed #ffe0b2;
 line-height: 1.6;
}
.calcufacil-student_cost_of_living_spain_calculator .results-area .summary strong {
 color: #e65100; /* Dark Orange */
}

.calcufacil-student_cost_of_living_spain_calculator .total-cost-highlight {
    background-color: #fff8e1; /* Lightest Yellow/Orange */
    padding: 15px 20px;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 25px;
    border: 1px solid #ffecb3; /* Pale Yellow/Orange */
}
.calcufacil-student_cost_of_living_spain_calculator .total-cost-highlight .value {
    display: block;
    font-size: 1.8em;
    font-weight: bold;
    color: #e65100; /* Dark Orange */
    margin: 5px 0;
}
.calcufacil-student_cost_of_living_spain_calculator .total-cost-highlight small {
    font-size: 0.9em;
    color: #a0522d;
}

.calcufacil-student_cost_of_living_spain_calculator .results-area h4 {
    color: #e65100; /* Dark Orange */
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.15em;
    border-bottom: 1px solid #ffe0b2;
    padding-bottom: 5px;
}

.calcufacil-student_cost_of_living_spain_calculator .cost-breakdown-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    background-color: #fff;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #ffecb3;
}
.calcufacil-student_cost_of_living_spain_calculator .cost-breakdown-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dotted #fff3e0;
    font-size: 0.95em;
    color: #a0522d;
}
.calcufacil-student_cost_of_living_spain_calculator .cost-breakdown-list li:last-child {
    border-bottom: none;
}
.calcufacil-student_cost_of_living_spain_calculator .cost-breakdown-list li.total-line {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #ffe0b2;
    font-size: 1.05em;
}
.calcufacil-student_cost_of_living_spain_calculator .cost-breakdown-list li .value {
    font-weight: 600;
    color: #bf360c; /* Deep Orange */
}
.calcufacil-student_cost_of_living_spain_calculator .cost-breakdown-list li.total-line .value strong {
    font-size: 1.1em;
}


.calcufacil-student_cost_of_living_spain_calculator .chart-container {
    margin-top: 30px;
    margin-bottom: 20px;
    background-color: #fff;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #ffe0b2;
    height: 380px; /* Adjust for pie chart with legend */
    position: relative;
}
.calcufacil-student_cost_of_living_spain_calculator .chart-container h4 {
    text-align: center;
    margin-bottom: 15px;
    color: #e65100;
    font-size: 1.1em;
}


/* Disclaimer Box */
.calcufacil-student_cost_of_living_spain_calculator .disclaimer-box {
    margin-top: 25px;
    padding: 15px 20px;
    background-color: #fffde7; /* Lightest yellow */
    border: 1px solid #fff9c4;
    border-left: 5px solid #fbc02d; /* Yellow */
    border-radius: 5px;
}
.calcufacil-student_cost_of_living_spain_calculator .disclaimer-box h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #af8100; /* Darker yellow/brown */
    font-size: 1.1em;
}
.calcufacil-student_cost_of_living_spain_calculator .disclaimer-box ul {
    list-style: disc;
    margin-left: 20px;
    padding-left: 0;
    font-size: 0.9em;
    color: #5d4037; /* Brown */
    line-height: 1.6;
}
.calcufacil-student_cost_of_living_spain_calculator .disclaimer-box ul li {
    margin-bottom: 8px;
}

.calcufacil-student_cost_of_living_spain_calculator .initial-message {
    color: #a0522d;
    text-align: center;
    padding: 25px;
    background-color: #fff3e0;
    border: 1px dashed #ffe0b2;
    border-radius: 5px;
    margin-top: 20px;
}