﻿#permissionsTable td button {
    float: right;
}

.no-padding {
    padding: 0;
}

/* Add a vertical margin between all elements in .vertical-gap regardless of type */
.vertical-gap > * + * {
    margin-top: 1rem;
}

.organizations-selectbox {
    max-height: 400px;
}

.btn .material-symbols-outlined {
    line-height: inherit;
}

/* Apply same style on select2 as bootstrap inputs */
.select2-container--default .select2-selection--multiple {
    border-color: #dee2e6;
}

/* Vertical alignment between roles and orgs */
.permission-grid-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.actions-container {
    display: flex;
    gap: .25rem;
}
.actions-container button {
    padding: 4px;
    aspect-ratio: 1 / 1;
}
.actions-container button > span {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}


.collapse-expand-control {
    cursor: pointer;
    height: 100%;
    aspect-ratio: 1 / 1;
}
.collapse-expand-control > .collapsed {
    display: none;
}

.collapseToggle {
    line-height: .75;
    font-size: .75rem;
    gap: .5rem;
}
.collapseToggle > span, .m-font-size {
    font-size: 1rem !important;
}
.search-box {
    border: none;
    border-bottom: 1px solid #6c757d;
    border-radius: 0;
}
#orgInputs, #orgInputsModal {
    height: 100%;
    overflow-y: auto;
}

.fixed-table-layout {
    table-layout: fixed;
}

#permissionsTable .actions {
    width: 100px;
}