table#access_control_groups_users_table {
    width: 100% !important;
    border-collapse: separate;
    border-spacing: 0;
}
table#access_control_groups_permissions_table {
    width: 100% !important;
    border-collapse: separate;
    border-spacing: 0;
}

form#accessControlGroupsForm div.ACG-form-row {
    margin: 5px -5px;
}
form#accessControlGroupsForm .section-header {
    color: #A00000 !important;
    font-size: 11px;
}
form#accessControlGroupsForm .card-header {
    background-color: #00000017 !important;
}
form#accessControlGroupsForm fieldset .col:first-of-type {
    padding-left: 18px;
    padding-right: 6px;
}
.select2-container--default .select2-selection--multiple {
    padding-right: 2rem;
    position: relative;
}
.text-danger-light {
    color: var(--bs-danger);
    opacity: 0.5;
}
.dropdown-menu li {
    cursor: pointer;
}

#access_control_groups_compliance_table th.no-sort{
    background-image: none !important;
    padding-right: 4px !important;
}
#acg_user_rights_holders_table th.no-sort{
    background-image: none !important;
    padding-right: 4px !important;
}
#access_control_groups_alert_logs_table th.no-sort{
    background-image: none !important;
    padding-right: 4px !important;
}
.bg-reminder {
    background-color: var(--bs-danger-bg-subtle);
}
.richtext {
    min-height:300px;
}

.acg-urh-select-container { position: relative; }
.acg-urh-select-popup {
    position: absolute;
    top: calc(100% + 4px);
    left: 0; right: 0;
    display: none;
    z-index: 1061;
    background: #fff;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
    padding: .25rem;
}
.acg-urh-select-popup.show { display: block; }
.acg-urh-chips-input {
    display: flex; flex-wrap: wrap; gap: .25rem;
    min-height: calc(1.5em + .5rem + 2px);
    align-content: center; cursor: text;
}
.acg-urh-chips-input.is-empty::before {
    content: attr(data-placeholder);
    color: #6c757d;
}
.acg-urh-chip {
    display: inline-flex; align-items: center;
    background: #e9ecef; border-radius: 10rem;
    padding: .125rem .5rem; font-size: .8rem; line-height: 1.25;
}
.acg-urh-chip-x {
    border: 0; background: transparent; margin-left: .25rem;
    padding: 0 .125rem; font-size: 1rem; line-height: 1; color: #6c757d;
    cursor: pointer;
}
.acg-urh-chip-x:hover { color: #000; }

.acg-user-exp-chips-input {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
    min-height: calc(1.5em + .5rem + 2px);
    align-content: center;
    cursor: text;
}
.acg-user-exp-chips-input.is-empty::before {
    content: attr(data-placeholder);
    color: #6c757d;
}
.acg-user-exp-chip {
    display: inline-flex;
    align-items: center;
    background: #e9ecef;
    border-radius: 10rem;
    padding: .125rem .5rem;
    font-size: .8rem;
    line-height: 1.25;
}
.acg-user-exp-chip .acg-user-exp-chip-x {
    border: 0;
    background: transparent;
    margin-left: .25rem;
    padding: 0 .125rem;
    font-size: 1rem;
    line-height: 1;
    color: #6c757d;
    cursor: pointer;
}
.acg-user-exp-chip .acg-user-exp-chip-x:hover,
.acg-user-exp-chip .acg-user-exp-chip-x:focus { color: #000; }
.swal2-container { z-index: 20000 !important; }
.swal2-title.acg-swal-title-sm {
    font-size: 1rem;
    line-height: 1.2;
    margin-bottom: .25rem;
}
.acg-display-users-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .15rem .5rem;
    border-radius: 999px;
    border: 1px solid #ced4da;
    background: #f8f9fa;
    font-size: .75rem;
    line-height: 1.2;
}
.acg-display-users-filter-chip .acg-display-users-filter-chip-x {
    appearance: none;
    border: 0;
    background: transparent;
    font-size: .9rem;
    line-height: 1;
    padding: 0;
    cursor: pointer;
}
.acg-display-users-filter-chip .acg-display-users-filter-chip-x:focus {
    outline: 2px solid #86b7fe;
    outline-offset: 2px;
}
.swal2-actions .acg-btn-missing:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}
.swal2-actions .acg-btn-all:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}
.acg-prev-alert {
    max-height: 220px;
    overflow: auto;
    padding: 0 .75rem;
    border:1px solid #ddd;
    border-radius:.25rem;
}
#alertCategorySelect:focus,
#alertRecipientBtn:focus,
#alertTypeSelect:focus {
    border-color: var(--bs-primary) !important;
    box-shadow: 0 0 0 .2rem rgba(var(--bs-primary-rgb), .25) !important;
    outline: 0;
}
#alertCategoryMenu, #alertTypeMenu { background:#fff; }
#alertCategoryMenu .form-check,
#alertTypeMenu .form-check { margin-bottom:.25rem; }

.ACG_Container { position: relative; }
.ACG_Container .is-locked {
    filter: blur(4px);
    pointer-events: none;
    user-select: none;
}
.section-lock-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.35);
    backdrop-filter: blur(1px);
}
.section-lock-overlay.fade-out {
    animation: fade-out 0.25s ease-out forwards;
}
@keyframes acg-toggle-hide {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.7);
    }
}
.section-lock-overlay .acg-toggle-hide {
    animation: acg-toggle-hide 0.18s ease-out forwards;
}


