
/* Depression Assessment Tool CSS */
#depressionQuiz p {
    margin-bottom: 10px;
}

#depressionQuiz {
    border: 2px solid #137eb5;
    padding: 20px;
    border-radius: 8px;
    background-color: #f4f4f4;
}

#depressionQuiz legend {
    font-size: 1.2em;
    color: #137eb5;
    padding: 0 10px; /* Adds space around the text */
    width: auto;
    border-bottom: none; /* Removes underline effect */
}

#depressionQuiz fieldset {
    border: 1px solid #aaa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    background: #ffffff;
}

#depressionQuiz fieldset p {
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 10px;
}

#depressionQuiz fieldset .step {
    display: none;
}

#depressionQuiz label {
    display: block;
    margin: 10px 0;
}

#depressionQuiz input[type="radio"] {
    margin-right: 10px;
}

#depressionQuiz #prevButton, #nextButton {
    background-color: #147eb5;
    color: #fff;
    border: none;
    padding: 10px 15px;
    margin-right: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
}

#depressionQuiz #submitBtn:hover, .form-btn:hover {
    background-color: #105f7f; /* Darker shade on hover */
    color: #fff;
}

/* Styles for the Submit button */
#depressionQuiz #submitBtn {
    background-color: #009688; /* A different color to distinguish the Submit action */
    color: #ffffff;
    border: none;
    padding: 10px 15px;
    margin-right: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Consistent shadow effect */
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */

}

#depressionQuiz .form-navigation {
    text-align: right;
}

/* Responsive design adjustments */
@media (max-width: 768px) {
    #depressionQuiz .radio-group label, #depressionQuiz .checkbox-group label {
        display: block; /* Stack the labels vertically on smaller screens */
        margin-right: 0;
    }
}

#depressionQuiz #results {
    display: none;
    border: 1px solid #137eb5;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    background-color: #e6f7ff; /* Light blue background for a soothing effect */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
}

#depressionQuiz .result {
    margin-bottom: 20px;
    padding: 15px;
    border-left: 5px solid #137eb5; /* Highlight color bar on the left */
    background-color: #ffffff; /* White background for contrast */
    border-radius: 5px; /* Rounded corners */
}

#depressionQuiz .result p {
    color: #137eb5; /* Theme color for text */
    font-weight: bold;
    font-size: 1.1em; /* Slightly larger font size */
    margin: 0; /* Remove default margins */
}
