/* --- General Form Styling --- */
.vfc-container {
    background-color: #F2FDF5; /* Light grey background for the entire form container */
    padding: 30px; /* Space inside the container */
    border-radius: 8px; /* Slightly rounded corners */
    /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    max-width: 600px; /* Limit the width of the form */
    margin: 20px auto; /* Center the form on the page with some top/bottom margin */
    font-family: Arial, sans-serif; /* Default font for the form */
    color: #333; /* Default text color */
}

.vfc-container h2 {
    color: #1B5B52; /* Darker blue for the main heading */
    text-align: center;
    margin-bottom: 10px;
    margin-top:-30px;
    font-size: 28px; /* Larger font size for the heading */
}

.vfc-intro-text {
    font-size: 14px; /*Παρακαλώ συμπληρώστε τα παρακάτω πεδία για να υπολογίσετε το τέλος ταξινόμησης*/
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
    color: #555;
}

/* --- Labels --- */
label {
    display: block; /* Makes labels appear on their own line */
    margin-bottom: 8px; /* Space between label and input */
    font-weight: bold; /* Make labels bold */
    color: #1B5B52;
    font-size: 15px; /* Adjust label font size */
    margin-top: 2px; /* Space above each label */
}

/* --- Input Fields and Select Dropdowns --- */
input[type="text"],
input[type="number"],
input[type="date"],
select {
    width: calc(100% - 20px); /* Full width minus padding */
    padding: 10px;
    margin-bottom: 5px; /* Space below each input/select */
    border: 1px solid #1b5b52; /* Light grey border */
    border-radius: 5px; /* Rounded corners for inputs */
    font-size: 14px; /* Font size for input text */
    box-sizing: border-box; /* Include padding in width calculation */
    background-color: #fff; /* White background for inputs */
    color: #333; /* Text color inside inputs */
}

/* Focus style (what happens when you click on an input) */
input[type="text"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
select:focus {
    border-color: #1b5b52; /* Blue border on focus */
    box-shadow: 0 0 5px rgba(27, 91, 82, 0.5); /* Subtle blue shadow on focus */
    outline: none; /* Remove default outline */
}

/* Specific styling for the CO2 field, if needed */
#co2EmissionsField {
    margin-bottom: 15px; /* Adjust spacing for this section */
}


/* --- Checkbox Group --- */
.vfc-checkbox-group {
    margin-top: 5px;
    margin-bottom: 20px;
    display: flex; /* Aligns checkbox and label horizontally */
    align-items: center; /* Vertically centers them */
}

.vfc-checkbox-group input[type="checkbox"] {
    margin-right: 10px; /* Space between checkbox and label */
    width: auto; /* Don't make checkbox full width */
    margin-bottom: 0; /* Remove bottom margin specific to inputs */
}

.vfc-checkbox-group label {
    margin-bottom: 0; /* Remove bottom margin for labels within this group */
    margin-top: 0;
    font-weight: normal; /* Keep checkbox label regular weight */
}


/* --- Separator Line --- */
hr {
    border: none;
    border-top: 1px solid #eee; /* Light grey line */
    margin: 30px 0; /* Space above and below the line */
}

/* --- Final Result Area --- */
.vfc-result-area {
    background-color: #F2FDF5; /* Light blue background for the result area */
    border: 1px solid #1B5B52; /* GREEN border */
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin-top: 20px; /* Space above the result box */
}

.vfc-result-area label {
    font-size: 18px; /* Larger label for the result */
    color: #1b5b52;
    margin-bottom: 10px;
    margin-top: 0; /* Remove top margin from labels inside result area */
}

.vfc-final-result {
    font-size: 24px; /* Big font for the final number */
    font-weight: bold;
    color: #007bff; /* Highlight final number in blue */
    background-color: #fff; /* White background for the result input */
    border: 2px dashed #007bff; /* Dashed blue border */
    padding: 10px 15px;
    border-radius: 5px;
    text-align: center;
    width: calc(100% - 30px); /* Adjust width to fit padding */
    pointer-events: none; /* Prevent text selection/interaction */
}

/* Styles for hidden calculated fields (from previous step) */
.vfc-calculated-hidden {
    display: none !important;
}