.card .card-title {
    font-weight: 600;
}

select.select2-hidden-accessible[readonly] + .select2-container > .selection > .select2-selection {
    background-color: #e9ecef !important;
    box-shadow: none;
}

select[readonly].select2-hidden-accessible + .select2-container {
    pointer-events: none;
    touch-action: none;
}

.icheckbox_square-blue.checked.disabled {
    filter: contrast(0);
}

select.is-invalid ~ .select2-container.select2-selection,
form.was-validated select:invalid ~ .select2-container .select2-selection {
    border-color: #dc3545 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(1.5rem) center;
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

select.is-valid ~ .select2-container .select2-selection,
form.was-validated select:valid ~ .select2-container .select2-selection {
    border-color: #28a745;
    padding-right: calc(1.5em + .75rem);
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-position: right calc(1.5rem) center;
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

form.was-validated textarea:invalid ~ .note-editor {
    border: 1px solid #dc3545;
}

.form-group label {
    font-weight: 400 !important;
}

.input-valid {
    border: 1px solid #28a745 !important;
}

.input-invalid {
    border: 1px solid #DC3545 !important;
}

.select2-disabled {
    background-color: #e9ecef !important;
}

.form-group:has(input:required) label:after {
    content: '*';
    display: inline-block;
    position: relative;
    right: -1px;
    color: #DC3545;
}

.form-group:has(textarea:required) label:after {
    content: '*';
    display: inline-block;
    position: relative;
    right: -1px;
}

.form-group:has(select:required) label:after {
    content: '*';
    display: inline-block;
    position: relative;
    right: -1px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice:has(.bg-success) {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
}

.icheckbox_square-blue.disabled:not(.checked) {
    background-color: #e9ecef;
}

.icheckbox_square-blue.checked.disabled {
    filter: contrast(0.3);
}

.captcha {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
}

.captcha legend {
    font-size: 1rem;
    font-weight: 400;
}

.captcha input {
    margin-top: 0.75rem;
}

.gap-10 {
    gap: 10px !important;
}

.gap-100 {
    gap: 3rem !important;
}

.invalid-feedbacks {
    padding: 0;
    font-size: .8rem;
    color: #dc3545;
}

.captcha fieldset {
    width: 100%;
    padding-right: 8px;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.form-group legend {
    font-weight: 700;
    display: inline-block;
    margin-bottom: 0.5rem;
    font-size: 14px;
}

.ux-radio-option {
    gap: .8rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}

fieldset:has(.ux-radio-option) {
    display: flex;
    gap: 1rem;
}

.was-validated .form-group:has(input:invalid) .invalid-feedback
{
    display: block;
}

.was-validated .form-group:has(input:invalid) .kv-fileinput-caption
{
    border-top-color: #DC3545;
    border-left-color: #dc3545;
    border-bottom-color: #dc3545;
}

.was-validated .form-group:has(input:invalid) .file-preview
{
    border-color: #DC3545;
}

.hidden {
    display: none !important;
}
.note-btn > span.note-icon-caret:nth-child(2) {
    display: none;
}

.table-responsive {
    overflow-x: hidden;
    width: 100%;
}

.table-responsive table {
    overflow-x: auto;
}

.note-editor .dropdown-toggle::after {
    display: none;
}

@media (max-width: 992px) {
    .card-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: .5rem;
    }
}

@media (max-width: 992px) {
    .table-responsive table{
        display: block;
    }

    .table-responsive .bottom {
        display: flex;
        flex-direction: column-reverse;
        font-size: .8rem;
    }

    .table-responsive .bottom .bottom-page-info {
        display: flex;
        flex-direction: column;
        gap: 0.4rem;
    }

    .table-responsive .bottom .dataTables_length {
        display: flex;
        flex-direction: column;
        gap: 0.4rem;
    }
}

label:not(.form-check-label):not(.custom-file-label) {
    font-weight: 400;
}