/* Basic container styling for the entire tool */
#biolyceum-md-tool-container {
    font-family: 'Arial', sans-serif;
    max-width: 800px; /* Max width for larger screens */
    margin: 20px auto; /* Center on wider screens */
    padding: 30px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #333;
    line-height: 1.6;
}

#biolyceum-md-tool-container h2 {
    color: #2c3e50; /* Dark blue-grey for headings */
    text-align: center;
    margin-bottom: 20px;
    font-size: 2em; /* Larger heading for prominence */
}

.tool-description {
    text-align: center;
    margin-bottom: 30px;
    color: #555;
    font-size: 1.1em;
    line-height: 1.6;
}

/* Styling for each question group */
.question-group {
    margin-bottom: 25px;
    padding: 20px;
    border: 1px solid #e0e0e0; /* Light grey border */
    border-radius: 8px;
    background-color: #f9f9f9; /* Off-white background */
    transition: border-color 0.3s ease; /* Smooth transition for border color */
}

.question-group.unanswered {
    border-color: #e74c3c; /* Highlight unanswered questions with red border */
}

.question-text {
    font-size: 1.15em;
    margin-bottom: 15px;
    color: #34495e; /* Slightly darker text for questions */
    font-weight: bold;
}

.question-group label {
    display: block; /* Each radio option on a new line */
    margin-bottom: 10px;
    font-size: 1em;
    cursor: pointer;
    padding: 8px 0;
}

.question-group input[type="radio"] {
    margin-right: 10px;
    transform: scale(1.2); /* Slightly larger radio buttons for easier tapping */
}

/* Styling for the submit button */
#biolyceum-md-tool-submit {
    display: block;
    width: 100%;
    padding: 15px 20px;
    background-color: #28a745; /* Green for a positive action */
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth hover and active effects */
    margin-top: 30px;
}

#biolyceum-md-tool-submit:hover {
    background-color: #218838; /* Darker green on hover */
    transform: translateY(-2px); /* Slight lift effect */
}

#biolyceum-md-tool-submit:active {
    transform: translateY(0); /* Reset on click */
}

/* Styling for the results section */
#biolyceum-md-tool-results {
    margin-top: 40px;
    padding: 30px;
    background-color: #e8f5e9; /* Light green background for results */
    border-radius: 10px;
    border: 1px solid #c8e6c9; /* Matching light green border */
    text-align: center;
}

#biolyceum-md-tool-results h3 {
    color: #1b5e20; /* Darker green for result heading */
    font-size: 1.8em;
    margin-bottom: 20px;
}

#result-message {
    font-size: 1.2em;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

.disclaimer-text {
    font-size: 0.9em;
    color: #777;
    margin-top: 20px;
    border-top: 1px dashed #ccc; /* Separator for disclaimer */
    padding-top: 15px;
}

/* Styling for the loading indicator */
#biolyceum-md-tool-loading {
    text-align: center;
    margin-top: 20px;
    font-size: 1.1em;
    color: #555;
}

/* Utility class for hiding elements */
.hidden {
    display: none;
}

/* Mobile responsiveness: Adjustments for smaller screens [27, 28] */
@media (max-width: 768px) {
    #biolyceum-md-tool-container {
        margin: 10px; /* Reduce side margins on smaller screens */
        padding: 20px;
    }

    #biolyceum-md-tool-container h2 {
        font-size: 1.6em; /* Smaller heading */
    }

  .tool-description {
        font-size: 1em;
    }

  .question-text {
        font-size: 1.05em;
    }

    #biolyceum-md-tool-submit {
        font-size: 1.1em;
        padding: 12px 15px;
    }

    #biolyceum-md-tool-results h3 {
        font-size: 1.5em;
    }

    #result-message {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    #biolyceum-md-tool-container {
        padding: 15px; /* Further reduce padding on very small screens */
    }

  .question-group {
        padding: 15px;
    }
}

