/* Scoped to login and administration/dashboard; never SLA pages. */
.tfa-workspace .tfa-heading,
.tfa-workspace .tfa-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.tfa-workspace .tfa-heading {
    margin-bottom: 1.5rem;
}

.tfa-workspace .tfa-heading h4 {
    margin-bottom: .4rem;
}

.tfa-workspace .tfa-heading p {
    margin: 0;
    color: var(--bs-secondary-color);
}

.tfa-workspace .tfa-search {
    width: 20rem;
    max-width: 100%;
}

.tfa-workspace .table {
    margin-bottom: 0;
}

.tfa-workspace .table th {
    white-space: nowrap;
    font-size: .75rem;
}

.tfa-workspace .table td {
    padding-top: 1.1rem;
    padding-bottom: 1.1rem;
    vertical-align: middle;
}

.tfa-workspace .tfa-table {
    min-width: 640px;
}

.tfa-workspace .tfa-table td {
    overflow-wrap: anywhere;
}

.tfa-workspace .tfa-actions {
    display: flex;
    justify-content: flex-end;
    gap: .4rem;
    white-space: nowrap;
}

.tfa-workspace .tfa-empty {
    padding: 3rem 1.5rem;
    text-align: center;
    color: var(--bs-secondary-color);
}

.tfa-workspace .tfa-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.tfa-workspace .tfa-pagination nav,
.tfa-workspace .tfa-pagination .pagination {
    margin: 0;
}

.tfa-workspace .tfa-modal {
    display: block;
    background: rgba(20, 30, 45, .45);
}

.tfa-workspace .tfa-modal form {
    display: flex;
    flex-direction: column;
    min-height: 0;
    max-height: 100%;
}

.tfa-workspace .tfa-modal .modal-body {
    overflow-y: auto;
}

.tfa-workspace .tfa-modal .modal-header,
.tfa-workspace .tfa-modal .modal-footer {
    flex-shrink: 0;
}

.tfa-workspace .tfa-permissions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}

.tfa-workspace .tfa-permission {
    border: 1px solid var(--bs-border-color);
    border-radius: .5rem;
    padding: .85rem .85rem .85rem 2.5rem;
    margin: 0;
    overflow-wrap: anywhere;
}

.tfa-workspace .tfa-stat {
    height: 100%;
}

.tfa-workspace .tfa-stat .card-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.tfa-workspace .tfa-stat h3 {
    margin: .5rem 0 0;
}

.tfa-workspace .tfa-welcome {
    background: var(--bs-primary-bg-subtle);
}

.tfa-workspace .tfa-shortcut {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    color: inherit;
}

.tfa-workspace .tfa-shortcut+.tfa-shortcut {
    border-top: 1px solid var(--bs-border-color);
}

.tfa-workspace .tfa-role-card {
    min-height: 190px;
}

.tfa-workspace .tfa-role-heading {
    min-width: 0;
    overflow-wrap: anywhere;
}

.tfa-workspace .tfa-role-card .avatar-group {
    flex-shrink: 0;
}

.tfa-workspace .tfa-image-dark {
    display: none;
}

[data-bs-theme="dark"] .tfa-workspace .tfa-image-light {
    display: none;
}

[data-bs-theme="dark"] .tfa-workspace .tfa-image-dark {
    display: inline-block;
}

.tfa-workspace .tfa-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(20, 30, 45, .45);
    z-index: 1090;
}

.tfa-workspace .tfa-user-drawer {
    visibility: visible;
    width: 420px;
    max-width: 100vw;
    z-index: 1091;
}

.tfa-workspace .tfa-user-drawer .offcanvas-body {
    padding: 1.5rem;
}

.tfa-login {
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
}

.tfa-login__visual {
    padding: 3rem clamp(2rem, 5vw, 6rem);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
    background: #f1ffd4;
}

.tfa-login__visual>img {
    width: min(100%, 480px);
    align-self: center;
}

.tfa-login__logo {
    display: block;
    width: 220px;
    max-width: 100%;
    height: auto;
}

.tfa-login__brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bs-heading-color);
}

.tfa-login__panel {
    padding: 3rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
}

.tfa-login__form {
    width: 100%;
    max-width: 400px;
}

.tfa-login__mobile-brand {
    display: none;
}

@media (max-width:767.98px) {

    .tfa-workspace .tfa-heading>.btn,
    .tfa-workspace .tfa-search {
        width: 100%;
    }

    .tfa-workspace .card-header,
    .tfa-workspace .card-body,
    .tfa-workspace .card-footer {
        padding: 1.25rem;
    }

    .tfa-workspace .tfa-permissions {
        grid-template-columns: 1fr;
    }

    .tfa-workspace .tfa-pagination {
        justify-content: center;
    }

    .tfa-login {
        grid-template-columns: 1fr;
    }

    .tfa-login__visual {
        display: none;
    }

    .tfa-login__panel {
        padding: 2rem 1.5rem;
    }

    .tfa-login__mobile-brand {
        display: block;
        margin-bottom: 3rem;
    }
}