/******************
    User custom CSS
    ---------------

    In this file you can add your own custom CSS
    It will be loaded last, so you can override any other property.
    Also, it will never be updated. So if you inheritate a core template and just add here some CSS, you'll still benefit of all the updates
*/
@import '/survey/custom/custom.css';

/* Reduce vertical spacing of question groups */
.group-container,
.group-container .panel,
.group-container .panel-body {
    margin-top: 5px !important;    /* space before the group */
    margin-bottom: 5px !important; /* space after the group */
    padding-top: 5px !important;   /* inner padding top */
    padding-bottom: 5px !important;/* inner padding bottom */
}

/* Reduce spacing after group title */
.group-title {
    margin-bottom: 15px !important;
}

/* Reduce spacing after group description */
.group-description {
    margin-bottom: 5px !important;
}

/* Reduce space after the last question in a group */
.group-container .question-container:last-child {
    margin-bottom: 5px !important; /* reduces gap after last question */
}

/* Reduce top margin of the next group title */
.group-container + .group-container .group-title {
    margin-top: 5px !important; /* reduces gap before next group's title */
}

/* Optional: reduce inner panel padding if used */
.group-container .panel-body {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

