/*!***/
/* * Bootstrap 5 Compatibility CSS*/
/* * Maintains Bootstrap 3 input sizes and styling for consistency*/
/* *!*/

/*!* Form Controls - Match Bootstrap 3 sizing *!*/
/*.form-control,*/
/*.form-select,*/
/*select.form-control,*/
/*textarea.form-control,*/
/*input[type="text"].form-control,*/
/*input[type="email"].form-control,*/
/*input[type="password"].form-control,*/
/*input[type="number"].form-control,*/
/*input[type="tel"].form-control,*/
/*input[type="url"].form-control,*/
/*input[type="search"].form-control,*/
/*input[type="date"].form-control,*/
/*input[type="datetime-local"].form-control,*/
/*input[type="month"].form-control,*/
/*input[type="time"].form-control,*/
/*input[type="week"].form-control,*/
/*input.input_text {*/
/*    padding: 6px 12px !important;*/
/*    font-size: 14px !important;*/
/*    line-height: 1.42857143 !important;*/
/*    height: 34px !important;*/
/*    border-radius: 4px !important;*/
/*}*/


/*!* Textarea - Allow height to be auto *!*/
/*textarea.form-control {*/
/*    height: auto !important;*/
/*    min-height: 34px !important;*/
/*}*/

/*!* Input Groups *!*/
/*.input-group .form-control,*/
/*.input-group .form-select {*/
/*    height: 34px !important;*/
/*}*/

/*!* Select Multiple *!*/
/*select[multiple].form-control {*/
/*    height: auto !important;*/
/*}*/

/*!* Form Control Sizing - Small *!*/
/*.form-control-sm,*/
/*.input-group-sm > .form-control,*/
/*.input-group-sm > .form-select,*/
/*.input-group-sm > .input-group-text,*/
/*.input-group-sm > .btn {*/
/*    padding: 5px 10px !important;*/
/*    font-size: 12px !important;*/
/*    line-height: 1.5 !important;*/
/*    height: 30px !important;*/
/*    border-radius: 3px !important;*/
/*}*/

/*!* Form Control Sizing - Large *!*/
/*.form-control-lg,*/
/*.input-group-lg > .form-control,*/
/*.input-group-lg > .form-select,*/
/*.input-group-lg > .input-group-text,*/
/*.input-group-lg > .btn {*/
/*    padding: 10px 16px !important;*/
/*    font-size: 18px !important;*/
/*    line-height: 1.33 !important;*/
/*    height: 46px !important;*/
/*    border-radius: 6px !important;*/
/*}*/

/*!* Modal Inputs - Ensure proper sizing in modals *!*/
/*!* Exclude selectize from these rules *!*/
.modal .form-control:not(.selectize-input):not(.selectize-control *),
.modal .form-select:not(.selectize-input):not(.selectize-control *),
.modal input.input_text:not(.selectize-input):not(.selectize-control *),
.addUser .form-control:not(.selectize-input):not(.selectize-control *),
.addUser .form-select:not(.selectize-input):not(.selectize-control *),
.addUser input.input_text:not(.selectize-input):not(.selectize-control *) {
    padding: 6px 12px !important;
    font-size: 14px !important;
    line-height: 1.42857143 !important;
    height: 34px !important;
}

.modal textarea.form-control:not(.selectize-input):not(.selectize-control *),
.modal textarea.input_text:not(.selectize-input):not(.selectize-control *),
.addUser textarea.form-control:not(.selectize-input):not(.selectize-control *),
.addUser textarea.input_text:not(.selectize-input):not(.selectize-control *) {
    height: auto !important;
    min-height: 34px !important;
}

/* Buttons - Match Bootstrap 3 sizing */
/*.btn {*/
/*    padding: 6px 12px !important;*/
/*    font-size: 14px !important;*/
/*    line-height: 1.42857143 !important;*/
/*    border-radius: 4px !important;*/
/*}*/

/*.btn-sm {*/
/*    padding: 5px 10px !important;*/
/*    font-size: 12px !important;*/
/*    line-height: 1.5 !important;*/
/*    border-radius: 3px !important;*/
/*}*/

/*.btn-lg {*/
/*    padding: 10px 16px !important;*/
/*    font-size: 18px !important;*/
/*    line-height: 1.33 !important;*/
/*    border-radius: 6px !important;*/
/*}*/

/*!* Form Check (Checkboxes and Radios) *!*/
.form-check {
    margin-bottom: 0.75rem !important;
    display: flex !important;
    align-items: center !important;
}

/*.form-check-input {*/
/*    width: 1.125em !important;*/
/*    height: 1.125em !important;*/
/*    margin-top: 0 !important;*/
/*    margin-right: 0.5rem !important;*/
/*    flex-shrink: 0 !important;*/
/*}*/

/*.form-check-label {*/
/*    margin-bottom: 0 !important;*/
/*    line-height: 1.5 !important;*/
/*    display: inline-block !important;*/
/*}*/

/*!* Fix radio buttons in Security Configuration and similar forms *!*/
/*.introItem__tools-radio-label {*/
/*    margin-bottom: 16px !important;*/
/*}*/

/*.introItem__tools-radio-label:last-of-type {*/
/*    margin-bottom: 0 !important;*/
/*}*/

/*.introItem__tools-radio-label label {*/
/*    display: flex !important;*/
/*    align-items: center !important;*/
/*    margin-bottom: 0 !important;*/
/*}*/

/*.introItem__tools-radio-label .input.radio {*/
/*    margin-right: 10px !important;*/
/*    flex-shrink: 0 !important;*/
/*}*/

/*.introItem__tools-radio-label .radiobutton-label {*/
/*    margin-top: 0 !important;*/
/*    display: flex !important;*/
/*    align-items: center !important;*/
/*}*/

/*!* Input Group Text *!*/
/*.input-group-text {*/
/*    padding: 6px 12px !important;*/
/*    font-size: 14px !important;*/
/*    line-height: 1.42857143 !important;*/
/*    height: 34px !important;*/
/*    border-radius: 4px !important;*/
/*}*/

/*!* Labels *!*/
/*.form-label {*/
/*    margin-bottom: 5px !important;*/
/*    font-weight: 700 !important;*/
/*}*/

/*!* Form Group Spacing *!*/
/*.form-group {*/
/*    margin-bottom: 15px !important;*/
/*}*/

/*!* Maintain consistent border colors *!*/
/*.form-control,*/
/*.form-select {*/
/*    border: 1px solid #ccc !important;*/
/*}*/

/*.form-control:focus,*/
/*.form-select:focus {*/
/*    border-color: #66afe9 !important;*/
/*    outline: 0 !important;*/
/*    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6) !important;*/
/*}*/

/*!* Disabled state *!*/
/*.form-control:disabled,*/
/*.form-select:disabled {*/
/*    background-color: #eeeeee !important;*/
/*    opacity: 1 !important;*/
/*}*/

/*!* Read-only state *!*/
/*.form-control[readonly] {*/
/*    background-color: #eeeeee !important;*/
/*    opacity: 1 !important;*/
/*}*/

/*!* Placeholder color *!*/
/*.form-control::placeholder {*/
/*    color: #999 !important;*/
/*    opacity: 1 !important;*/
/*}*/

/*!* Help text *!*/
/*.form-text {*/
/*    display: block !important;*/
/*    margin-top: 5px !important;*/
/*    margin-bottom: 10px !important;*/
/*    color: #737373 !important;*/
/*}*/

/*!* Validation states *!*/
/*.is-invalid {*/
/*    border-color: #a94442 !important;*/
/*}*/

/*.is-valid {*/
/*    border-color: #3c763d !important;*/
/*}*/

/*!* Invalid feedback *!*/
/*.invalid-feedback {*/
/*    display: block !important;*/
/*    margin-top: 5px !important;*/
/*    font-size: 12px !important;*/
/*    color: #a94442 !important;*/
/*}*/

/*!* Valid feedback *!*/
/*.valid-feedback {*/
/*    display: block !important;*/
/*    margin-top: 5px !important;*/
/*    font-size: 12px !important;*/
/*    color: #3c763d !important;*/
/*}*/

/*!* Avatar/Image field visibility fix *!*/
/*.col-sm-10.avatar {*/
/*    display: block !important;*/
/*    visibility: visible !important;*/
/*    opacity: 1 !important;*/
/*}*/

/*!* Search Input - Preserve old layout ONLY in list tools (modals and list pages) *!*/
/*.list__tools input.input_search,*/
/*.selectUser input.input_search,*/
/*.addUser input.input_search {*/
/*    width: 100% !important;*/
/*    box-sizing: border-box !important;*/
/*    border: 2px solid #ccc !important;*/
/*    border-radius: 10px !important;*/
/*    font-size: 14px !important;*/
/*    background-color: white !important;*/
/*    background-image: url('../img/search.svg') !important;*/
/*    background-position: 8px center !important;*/
/*    background-repeat: no-repeat !important;*/
/*    padding: 8px 12px 8px 35px !important;*/
/*    height: 38px !important;*/
/*    line-height: 1.42857143 !important;*/
/*}*/

/*!* Table padding fix - Add padding to table headers and cells in modals *!*/
/*.selectUser table th,*/
/*.addUser table th,*/
/*.list__table table th {*/
/*    padding: 0 !important;*/
/*}*/

/*!* Center text vertically in h5 inside table headers *!*/
/*.selectUser table th h5,*/
/*.addUser table th h5,*/
/*.list__table table th h5 {*/
/*    margin: 0 !important;*/
/*    padding: 8px 0 !important;*/
/*    line-height: 1.5 !important;*/
/*    display: flex !important;*/
/*    align-items: center !important;*/
/*}*/

/*!* Add left padding to first header cell *!*/
/*.selectUser table th:first-child h5,*/
/*.addUser table th:first-child h5,*/
/*.list__table table th:first-child h5 {*/
/*    padding-left: 16px !important;*/
/*}*/

/*!* Remove padding from td - let h5 define the size *!*/
/*.selectUser table td,*/
/*.addUser table td,*/
/*.list__table table td {*/
/*    padding: 0 !important;*/
/*}*/

/*!* Center text vertically in h5 inside table cells *!*/
/*.selectUser table td h5,*/
/*.addUser table td h5,*/
/*.list__table table td h5 {*/
/*    margin: 0 !important;*/
/*    padding: 8px 0 !important;*/
/*    line-height: 1.5 !important;*/
/*    display: flex !important;*/
/*    align-items: center !important;*/
/*}*/

/*!* Add left padding to first cell in each row *!*/
/*.selectUser table td:first-child h5,*/
/*.addUser table td:first-child h5,*/
/*.list__table table td:first-child h5 {*/
/*    padding-left: 16px !important;*/
/*}*/

/*!* Ensure checkbox wrapper has proper alignment *!*/
/*.selectUser .checkbox__wrapper,*/
/*.addUser .checkbox__wrapper,*/
/*.list__table .checkbox__wrapper {*/
/*    padding-left: 16px !important;*/
/*}*/

/*!* Add padding to pagination container *!*/
/*.list__table table tfoot td {*/
/*    padding: 12px 16px !important;*/
/*}*/

/*!* Fix double border/shadow on status badges - remove border from h6, keep only on ::before *!*/
/*.ballots-status_id-1 h6,*/
/*.ballots-status_id-2 h6,*/
/*.ballots-status_id-3 h6,*/
/*.ballots-status_id-4 h6,*/
/*.ballots-status_id-5 h6,*/
/*.ballots-status_id-7 h6,*/
/*.ballots-status_id-12 h6,*/
/*.ballots-status_id-13 h6,*/
/*.ballots-status_id-14 h6,*/
/*.ballots-status_id-15 h6,*/
/*.ballots-status_id-10 h6,*/
/*.ballots-status_id-11 h6 {*/
/*    border: none !important;*/
/*}*/

/*!* Remove green background from h6 for status badges - let ::before handle the background *!*/
/*.ballots-status_id-1 h6,*/
/*.ballots-status_id-4 h6,*/
/*.ballots-status_id-13 h6 {*/
/*    background-color: transparent !important;*/
/*}*/

/*!* Remove margin-bottom from modal main div *!*/
/*.bg-white.modal-mai-div {*/
/*    margin-bottom: 10px !important;*/
/*}*/

/*!* Adjust column widths in edit modals for better spacing between labels and inputs *!*/
/*.addUser__inner .col-sm-10 {*/
/*    flex: 0 0 auto !important;*/
/*    width: 100% !important;*/
/*    max-width: 100% !important;*/
/*    padding: 0 !important;*/
/*}*/

/*.addUser__inner .col-sm-2 {*/
/*    flex: 0 0 auto !important;*/
/*    width: 25% !important;*/
/*    max-width: 25% !important;*/
/*    padding: 0 !important;*/
/*}*/

/*!* Reduce spacing in edit modals *!*/
/*.addUser__inner .col-form-label,*/
/*.addUser__inner label.col-form-label {*/
/*    margin-bottom: 0 !important;*/
/*    display: block !important;*/
/*    padding: 0 !important;*/
/*}*/

/*!* Reduce spacing in the div containing the input *!*/
/*.addUser__inner .col-sm-10 > div {*/
/*    margin-bottom: 0 !important;*/
/*    padding: 0 !important;*/
/*}*/

/*!* Fix horizontal line position in ballot items list - border on top of each td *!*/
/*table.questions td,*/
/*table.items td {*/
/*    border: none !important;*/
/*    border-top: 1px solid #ddd !important;*/
/*}*/

/*!* Remove any border from last row and any ::after pseudo-element *!*/
/*table.questions tbody tr:last-child td,*/
/*table.items tbody tr:last-child td {*/
/*    border-bottom: none !important;*/
/*}*/

/*table.questions tbody tr:last-child,*/
/*table.items tbody tr:last-child,*/
/*table.questions tbody tr:last-child::after,*/
/*table.items tbody tr:last-child::after {*/
/*    border: none !important;*/
/*    display: none !important;*/
/*}*/

/*!* Fix question type label text color *!*/
/*table.questions td:nth-child(2) p span strong {*/
/*    color: #8b4545 !important;*/
/*}*/

/*!* Fix language selector in sidebar - make it responsive and add spacing *!*/
/*.language_selector_div {*/
/*    margin-bottom: 20px !important;*/
/*}*/

/*.language_selector_div .language-dropdown {*/
/*    width: auto !important;*/
/*    !*max-width: 50% !important;*!*/
/*}*/

/*.language_selector_div .language-dropdown-toggle {*/
/*    width: auto !important;*/
/*    min-width: 120px !important;*/
/*    max-width: 100% !important;*/
/*    font-size: 0.875rem !important;*/
/*    padding: 0.375rem 1.75rem 0.375rem 0.5rem !important;*/
/*    line-height: 1.2 !important;*/
/*}*/

/*.language_selector_div .flag-icon {*/
/*    width: 1.2em !important;*/
/*    height: 0.9em !important;*/
/*}*/

/*!* Fix language selector alignment on voter side *!*/
/*.voter-language-div {*/
/*    display: flex !important;*/
/*    align-items: center !important;*/
/*}*/

/*.voter-language-div .language_selector_div {*/
/*    margin-bottom: 0 !important;*/
/*}*/

/*.voter-language-div .language-dropdown-toggle {*/
/*    display: flex !important;*/
/*    align-items: center !important;*/
/*}*/

/*!* Progression Bar Fixes *!*/
/*.intro__inner-header {*/
/*    display: flex !important;*/
/*    justify-content: space-between !important;*/
/*    align-items: flex-start !important;*/
/*    flex-wrap: nowrap !important;*/
/*    margin-bottom: 28px !important;*/
/*}*/

/*.intro__inner-header a {*/
/*    flex: 1 1 auto !important;*/
/*    min-width: 100px !important;*/
/*    max-width: calc(14.28% - 4px) !important;*/
/*    margin: 0 2px !important;*/
/*}*/

