:root {
    --eramba-teal: #059669;
    --eramba-teal-dark: #065f46;
    --surface-muted: #f4f7fb;
    --sidebar-width: 300px;
}

.app-body {
    background-color: var(--surface-muted);
    margin: 0;
    height: 100vh;
    overflow: hidden;
}

.app-shell {
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.auth-body {
    background-color: var(--surface-muted);
    margin: 0;
    min-height: 100vh;
}

.auth-gradient {
    background:
        radial-gradient(circle at 20% -10%, rgba(5, 150, 105, .35), transparent 45%),
        radial-gradient(circle at 80% -20%, rgba(14, 165, 233, .35), transparent 42%),
        linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
}

.auth-panel {
    background: rgba(255, 255, 255, .98);
}

.brand-mark-mini {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--eramba-teal), #0ea5e9);
}

.app-sidebar {
    width: var(--sidebar-width);
    flex-shrink: 0;
    height: 100vh;
    overflow: hidden;
}

.app-sidebar-eramba {
    background: linear-gradient(180deg, #fbfcfd 0%, #f8fafc 100%);
}

.sidebar-brand-eramba,
.sidebar-search,
.sidebar-footer {
    flex-shrink: 0;
}

.sidebar-nav {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
}

.sidebar-nav-scroll {
    scrollbar-width: thin;
    scrollbar-color: rgba(100, 116, 139, .45) transparent;
}

.sidebar-nav-scroll::-webkit-scrollbar {
    width: 6px;
}

.sidebar-nav-scroll::-webkit-scrollbar-thumb {
    background: rgba(100, 116, 139, .35);
    border-radius: 999px;
}

.sidebar-nav-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-brand-eramba .sidebar-brand-wordmark {
    color: #0f172a;
    letter-spacing: 0.18em;
    font-size: 0.7rem;
}

.eramba-brand-mark {
    min-width: 36px;
    height: 36px;
    padding: 0 0.35rem;
    background: radial-gradient(circle at 30% -20%, #d1fae5, transparent 54%),
    linear-gradient(140deg, #059669 0%, #065f46 100%);
    font-size: 0.62rem;
    letter-spacing: 0.04em;
}

.sidebar-nav .eramba-nav-divider {
    color: #64748b;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
}

.eramba-nav-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.95rem;
    border-radius: 0.95rem;
    color: #0f172a;
    font-weight: 500;
    text-decoration: none;
}

.eramba-nav-row:hover {
    background: rgba(15, 118, 110, .08);
    color: #064e3b;
}

.eramba-nav-row.active {
    background: #ede9fe;
    border: 1px solid rgba(124, 58, 237, .28);
    color: #43138a;
}

.nav-row-icon {
    width: 22px;
    text-align: center;
    opacity: .9;
}

.eramba-nav-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    padding: 0.55rem 0.95rem;
    margin-bottom: .15rem;
    border: none;
    border-radius: 0.95rem;
    font-weight: 500;
    font-size: 0.94rem;
    color: #1e293b;
    background: transparent;
    text-align: start;
}

.eramba-nav-toggle:hover {
    background: rgba(15, 118, 110, .08);
    color: #064e3b;
}

.eramba-nav-toggle:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(124, 58, 237, .35);
}

.nav-chevron {
    transition: transform .2s ease;
}

.eramba-nav-toggle[aria-expanded="true"] .nav-chevron {
    transform: rotate(180deg);
}

.initials-orbit {
    width: 32px;
    height: 32px;
    font-size: .75rem;
    font-weight: 600;
}

.eramba-submenu {
    padding: 0.15rem 0 0.35rem .75rem;
    margin: 0.1rem 0 0 .35rem;
    border-left: 1px solid rgba(226, 232, 240, .95);
}

.eramba-sublink {
    display: block;
    padding: 0.35rem 0.85rem;
    margin: 2px 0;
    border-radius: 0.75rem;
    color: #334155;
    text-decoration: none;
    font-size: 0.93rem;
    font-weight: 500;
    line-height: 1.35;
    word-break: break-word;
}

.eramba-sublink:hover {
    background: rgba(99, 102, 241, .08);
    color: #1e1b4b;
}

.eramba-sublink.active {
    background: rgba(124, 58, 237, .16);
    color: #47118c;
}

.app-sidebar-mobile {
    background: linear-gradient(180deg, #fbfcfd, #eef2ff);
    width: min(320px, 92vw);
}

.topbar-profile-initials-circle {
    font-size: 0.92rem;
    background: radial-gradient(circle at 30% -20%, #d1fae5, transparent 52%),
    linear-gradient(140deg, #047857 0%, #065f46 100%);
    min-width: 40px;
    min-height: 40px;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, .06);
}

/* Eramba-style list toolbar + table shells */
.eramba-shell {
    border-radius: 1rem;
    border: 1px solid rgba(15, 23, 42, .08);
    background: white;
}

.eramba-toolbar-tabs .nav-link {
    border-radius: 999px;
    padding: 0.25rem .85rem;
    font-weight: 500;
}

.eramba-toolbar-tabs .nav-link.active {
    background: #ede9fe;
    border: 1px solid rgba(124, 58, 237, .28);
}

.eramba-table thead th {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: normal;
    color: #64748b;
    white-space: nowrap;
}

.eramba-table-scroll {
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
}

.eramba-table-scroll .eramba-table {
    min-width: max(100%, 56rem);
    margin-bottom: 0;
}

.app-content table thead th,
.app-content table thead.text-uppercase th,
.app-content table thead.text-muted th {
    text-transform: none !important;
    letter-spacing: normal;
    font-size: 0.8125rem;
    font-weight: 600;
}

.app-content .table-responsive,
.eramba-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.eramba-purple-btn {
    background: linear-gradient(110deg, #7c3aed, #9333ea);
    border-color: rgba(147, 51, 234, .45);
}

.eramba-purple-btn:hover {
    filter: brightness(1.04);
}

.eramba-sticky-muted {
    color: #94a3b8;
    font-weight: 500;
}

/* Grid toolbar dropdowns must not be clipped by overflow-hidden shells */
.list-grid .eramba-shell:has(.js-view-menu),
.eramba-shell.list-grid:has(.js-view-menu) {
    overflow: visible;
}

.list-grid .dropdown-menu {
    z-index: 1060;
}

.pill-tab {
    border: 1px solid rgba(148, 163, 184, .35);
    border-radius: 999px;
    padding: .2rem .65rem;
    color: #475569;
}

.pill-tab.active {
    background: #ede9fe;
    border-color: rgba(124, 58, 237, .28);
    color: #4c1d95;
}

.risk-swatch {
    display: inline-block;
    width: .65rem;
    height: .65rem;
    border-radius: 2px;
    margin-right: .25rem;
    vertical-align: middle;
}

.risk-swatch-serious {
    background: #dc3545;
}

.risk-swatch-medium {
    background: #fd7e14;
}

.risk-swatch-low {
    background: #ffc107;
}

.risk-score-inline {
    white-space: nowrap;
}

.column-row {
    padding: .55rem .2rem;
    border-bottom: 1px solid rgba(226, 232, 240, .8);
    color: #334155;
    font-weight: 500;
}

.chip-cell {
    display: inline-block;
    border: 1px solid rgba(251, 191, 36, .45);
    background: rgba(254, 243, 199, .6);
    color: #92400e;
    border-radius: 999px;
    padding: .1rem .55rem;
    font-size: .78rem;
}

.row-actions .btn {
    min-width: 64px;
}

.row-actions {
    white-space: nowrap;
}

.eramba-table .frozen-col {
    position: sticky;
    z-index: 4;
    background: #fff;
    box-shadow: 1px 0 0 rgba(148, 163, 184, .22);
}

.eramba-table thead .frozen-col {
    z-index: 6;
    background: #f8fafc;
}

.bulk-selection-bar {
    position: sticky;
    bottom: 12px;
    z-index: 20;
    margin: 12px auto 0;
    width: min(760px, 96%);
    background: #fff;
    border: 1px solid rgba(148, 163, 184, .35);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .12);
    padding: .5rem .85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.access-permissions-col {
    flex: 1 1 0;
    min-width: 0;
    background: #fff;
}

.access-permissions-header {
    background: #f8fafc;
}

.access-permissions-col .list-group-item.active {
    background: rgba(79, 70, 229, .08);
    border-left: 3px solid var(--eramba-purple, #4f46e5);
    color: inherit;
}

.app-main {
    min-width: 0;
    height: 100vh;
    overflow: hidden;
}

.app-content {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    background: radial-gradient(circle at 10% -10%, rgba(16, 185, 129, .08), transparent 45%),
    var(--surface-muted);
}

.app-topbar {
    background: rgba(255, 255, 255, .95);
    border-bottom: 1px solid rgba(15, 23, 42, .06);
    flex-shrink: 0;
}

.header-notif-badge {
    font-size: 0.65rem;
    min-width: 1.1rem;
    line-height: 1;
    padding: 0.2rem 0.35rem;
}

.header-notif-menu {
    width: min(22rem, 92vw);
}

.header-notif-list {
    max-height: 18rem;
    overflow-y: auto;
}

.header-notif-item {
    white-space: normal;
}

.header-notif-icon {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.5rem;
    background: rgba(15, 23, 42, .06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--bs-secondary);
}

.header-notif-urgent .header-notif-icon {
    background: rgba(220, 53, 69, .12);
    color: var(--bs-danger);
}

.dashboard-card {
    position: relative;
    border-radius: 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #fbfbff 100%);
    padding: 1.4rem;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, .05);
}

.dashboard-card .accent {
    height: 4px;
    width: 50%;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.accent-teal {
    background: linear-gradient(90deg, #10b981, #0ea5e9);
}

.accent-orange {
    background: linear-gradient(90deg, #f97316, #fbbf24);
}

.accent-green {
    background: linear-gradient(90deg, #059669, #34d399);
}

.accent-blue {
    background: linear-gradient(90deg, #6366f1, #818cf8);
}

.accent-violet {
    background: linear-gradient(90deg, #7c3aed, #fb7185);
}

.module-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .module-grid {
        grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    }
}

.module-card {
    border-radius: 1.15rem;
    border: 1px solid rgba(15, 23, 42, .08);
    background: white;
    transition: transform 120ms ease, box-shadow 120ms ease;
    color: inherit;
}

.module-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 40px rgba(15, 23, 42, .12);
}

.module-badge {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.text-bg-teal {
    background: linear-gradient(135deg, #0f766e, #0891b2) !important;
    color: #fff !important;
}

.metric-pill {
    background: #fff;
}

.metric-pill.critical {
    border: 1px solid rgba(248, 113, 113, .6);
}

.mono {
  font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace;
}

.placeholder-surface {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.9));
}

.offcanvas .offcanvas-body {
    overflow-y: auto;
}

.modal-dialog-scrollable .modal-body {
    max-height: calc(100vh - 200px);
}

/* RTL shell (Arabic) */
[dir="rtl"] .app-shell {
    flex-direction: row-reverse;
}

[dir="rtl"] .app-sidebar.app-sidebar-eramba {
    border-right: none !important;
    border-left: 1px solid rgba(15, 23, 42, .08);
}

[dir="rtl"] .eramba-submenu {
    border-left: none;
    border-right: 1px solid rgba(226, 232, 240, .95);
    margin: 0.1rem 0.35rem 0 0;
    padding: 0.15rem 0.75rem 0.35rem 0;
}

[dir="rtl"] .eramba-table .frozen-col {
    box-shadow: -1px 0 0 rgba(148, 163, 184, .22);
}

[dir="rtl"] .input-group .input-group-text {
    border-radius: 0 var(--bs-border-radius) var(--bs-border-radius) 0;
}

[dir="rtl"] .input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    border-radius: var(--bs-border-radius) 0 0 var(--bs-border-radius);
}

html[dir="rtl"] .app-shell,
body.app-rtl .app-shell {
    flex-direction: row-reverse !important;
}

html[dir="rtl"] .app-sidebar.app-sidebar-eramba,
body.app-rtl .app-sidebar.app-sidebar-eramba {
    order: 2;
}

html[dir="rtl"] .app-main,
body.app-rtl .app-main {
    order: 1;
}

html[dir="rtl"] .sidebar-brand-eramba,
body.app-rtl .sidebar-brand-eramba {
    flex-direction: row-reverse;
    text-align: end;
}

#addComplianceExceptionOffcanvas.offcanvas {
    max-height: 100vh;
}

.compliance-offcanvas-form {
    min-height: 0;
    height: 100%;
}

.compliance-offcanvas-scroll {
    min-height: 0;
    -webkit-overflow-scrolling: touch;
}

.compliance-offcanvas-actions {
    box-shadow: 0 -4px 12px rgba(15, 23, 42, .06);
}

.modal .ms-dropdown.open .ms-dropdown-menu {
    z-index: 2050;
}

.modal .ms-dropdown-menu-portal.show {
    display: block !important;
    position: fixed;
    z-index: 2065;
    max-height: 240px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: .5rem;
    padding: .35rem 0;
}


.ms-dropdown-menu.ms-dropdown-fixed {
    position: fixed !important;
    z-index: 2055 !important;
}

html[dir="rtl"] .eramba-shell .d-flex.flex-lg-row.justify-content-between,
[dir="rtl"] .list-grid > .d-flex.flex-lg-row.justify-content-between {
    flex-direction: row-reverse;
}

.ms-dropdown {
    position: relative;
}

.ms-dropdown-toggle,
.eramba-picker-toggle {
    cursor: pointer;
    background-color: #fff;
    width: 100%;
    min-height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    border: 1px solid #ced4da;
    border-radius: .375rem;
    background-image: none;
}

.ms-dropdown-toggle:focus,
.eramba-picker-toggle:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 .2rem rgba(13, 110, 253, .15);
    outline: 0;
}

.modal .modal-content > form.d-flex.flex-column {
    min-height: 0;
}

.modal .modal-body.flex-grow-1 {
    overflow-y: auto;
    overflow-x: visible;
}

.modal .modal-footer.flex-shrink-0 {
    position: relative;
    z-index: 2;
}

.ms-dropdown-menu {
    display: none;
    position: absolute;
    z-index: 1050;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    max-height: 240px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: .5rem;
    padding: .35rem 0;
}

[dir="rtl"] .ms-dropdown-menu {
    left: 0;
    right: 0;
}

.ms-dropdown.open .ms-dropdown-menu {
    display: block !important;
}

.ms-dropdown-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem .75rem;
    margin: 0;
    cursor: pointer;
    font-size: .875rem;
}

.ms-dropdown-item:hover {
    background: rgba(99, 102, 241, .06);
}

.eramba-picker-menu {
    display: none;
    position: absolute;
    z-index: 1060;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    max-height: 280px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: .5rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .12);
}

.eramba-picker.open .eramba-picker-menu {
    display: block !important;
}

.eramba-picker-toggle.is-invalid,
.ms-dropdown-toggle.is-invalid {
    border-color: #dc3545;
}

.eramba-picker.is-invalid .eramba-picker-toggle,
[data-ms-dropdown].is-invalid .ms-dropdown-toggle {
    border-color: #dc3545;
}

.rich-text-body.is-invalid {
    border-color: #dc3545;
}

.eramba-picker-option:hover,
.eramba-picker-option:focus {
    background: rgba(99, 102, 241, .08);
    outline: none;
}

.eramba-picker-list .eramba-picker-option {
    font-size: .875rem;
}

.contact-chip {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .15rem .5rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 500;
    white-space: nowrap;
}

.contact-chip-user {
    background: rgba(59, 130, 246, .12);
    color: #1d4ed8;
}

.contact-chip-group {
    background: rgba(99, 102, 241, .15);
    color: #4338ca;
}

.rich-text-body {
    min-height: 12rem;
    overflow-y: auto;
}

.rich-text-body:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 .2rem rgba(13, 110, 253, .15);
}

.sidebar-search .form-control:focus {
    border-color: rgba(124, 58, 237, .45);
    box-shadow: 0 0 0 .2rem rgba(124, 58, 237, .12);
}

.eramba-nav-toggle[aria-expanded="true"] {
    background: rgba(124, 58, 237, .1);
    color: #5b21b6;
}

.dash-community-banner {
    background: linear-gradient(90deg, #f8fafc, #eef2ff);
}

.dash-task-panel {
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 1rem;
    background: #fff;
    overflow: hidden;
}

.dash-task-header {
    padding: .85rem 1rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(15, 23, 42, .06);
    background: #fafbff;
}

.dash-task-body {
    max-height: 320px;
    overflow-y: auto;
}

.dash-task-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem 1rem;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid rgba(15, 23, 42, .05);
    transition: background .15s ease;
}

.dash-task-item:hover {
    background: rgba(99, 102, 241, .06);
}

.dash-task-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(59, 130, 246, .12);
    color: #2563eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dash-heatmap-grid {
    display: grid;
    grid-template-columns: 72px repeat(3, minmax(88px, 1fr));
    gap: 6px;
    min-width: 360px;
}

.dash-heatmap-axis {
    color: #64748b;
    min-height: 36px;
}

.dash-heatmap-cell {
    min-height: 72px;
    border-radius: .65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
    transition: transform .12s ease, box-shadow .12s ease;
}

.dash-heatmap-cell:hover,
.dash-heatmap-cell:focus {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(15, 23, 42, .15);
    outline: none;
}

.risk-cell-low { background: linear-gradient(135deg, #86efac, #4ade80); }
.risk-cell-medium { background: linear-gradient(135deg, #fde047, #facc15); }
.risk-cell-high { background: linear-gradient(135deg, #fdba74, #f97316); }
.risk-cell-critical { background: linear-gradient(135deg, #fca5a5, #ef4444); }

.dash-heatmap-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: #1e293b;
    font-weight: 700;
    font-size: .85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}

.dash-compliance-bar {
    background: #f1f5f9;
}

.dash-compliance-segment {
    min-width: 28px;
    transition: opacity .15s ease;
}

.dash-compliance-segment:hover {
    opacity: .88;
}

.dash-legend-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: .35rem;
}

.grid-pagination {
    background: #fff;
}

.grid-pagination .js-page-numbers .btn {
    min-width: 2rem;
}

.grid-pagination .btn:disabled {
    opacity: .55;
}

[dir="rtl"] .grid-pagination .js-page-controls .bi-chevron-left,
[dir="rtl"] .grid-pagination .js-page-controls .bi-chevron-right,
[dir="rtl"] .grid-pagination .js-page-controls .bi-chevron-double-left,
[dir="rtl"] .grid-pagination .js-page-controls .bi-chevron-double-right {
    transform: scaleX(-1);
}

[dir="rtl"] .grid-pagination .js-page-prev-label {
    margin-left: 0 !important;
    margin-right: .25rem !important;
}

[dir="rtl"] .grid-pagination .js-page-next-label {
    margin-right: 0 !important;
    margin-left: .25rem !important;
}

[dir="rtl"] .js-rtl-back .bi-arrow-left {
    transform: scaleX(-1);
}

.activity-log-entry {
    background: #fff;
}

.js-activity-log-list .js-activity-sort-option.active,
.js-activity-sort-panel .js-activity-sort-option.active {
    border-color: var(--bs-primary);
    color: var(--bs-primary);
}

.password-field-wrap .password-toggle-btn {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    line-height: 1;
}

[dir="rtl"] .password-field-wrap .password-toggle-btn {
    right: auto;
    left: 0.75rem;
}

.input-group[data-password-toggle] > .password-toggle-btn {
    min-width: 2.75rem;
}

.js-visual-toggle {
    cursor: pointer;
}

/* Organization & Access page header */
.org-access-page-header .nav-tabs {
    border-bottom: 1px solid rgba(148, 163, 184, .35);
    margin-bottom: 0;
    padding-bottom: 0;
}

.org-access-page-header .nav-tabs .nav-link {
    color: #64748b;
    font-weight: 500;
    padding: .55rem .85rem;
    white-space: nowrap;
}

.org-access-page-header .nav-tabs .nav-link.active {
    color: #4c1d95;
    font-weight: 600;
    border-bottom-color: #fff;
}

.org-access-title-row {
    min-height: 2.5rem;
}

.org-access-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: .5rem;
    flex-shrink: 0;
}

.org-access-add-group .org-access-add-main {
    border-top-left-radius: 999px !important;
    border-bottom-left-radius: 999px !important;
}

.org-access-add-group .org-access-add-toggle {
    border-top-right-radius: 999px !important;
    border-bottom-right-radius: 999px !important;
    padding-left: .55rem;
    padding-right: .65rem;
}

.org-access-secondary-btn {
    border-radius: 999px;
    padding-inline: 1rem;
    white-space: nowrap;
    font-weight: 500;
}

@media (max-width: 767.98px) {
    .org-access-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .org-access-add-group {
        flex: 1 1 auto;
    }

    .org-access-add-group .org-access-add-main {
        flex: 1 1 auto;
    }
}

