:root {
    --app-sidebar-width: 248px;
    --app-sidebar-collapsed-width: 72px;
    --app-green: #009444;
    --app-green-dark: #007A3D;
    --app-green-deep: #005B35;
    --app-green-soft: #EAF7F0;
    --app-orange: #F47B20;
    --app-bg: #F6F8FA;
    --app-text: #1F2937;
    --app-muted: #6B7280;
    --app-border: #E5E7EB;
    --brand-green: #009444;
    --brand-green-dark: #007A3D;
    --brand-green-deep: #005F36;
    --brand-green-soft: #EAF7F0;
    --brand-orange: #F47B20;
    --border-soft: rgba(0, 148, 68, 0.18);
}

html,
body {
    min-height: 100%;
}

body {
    background: var(--app-bg);
    color: var(--app-text);
    font-size: 14px;
}

a {
    text-decoration: none;
}

.login-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 18px;
    background:
        radial-gradient(circle at 12% 12%, rgba(0, 148, 68, .16), transparent 28%),
        radial-gradient(circle at 88% 82%, rgba(244, 123, 32, .12), transparent 30%),
        linear-gradient(135deg, #F8FBFA 0%, #EAF7F0 100%);
}

.login-box {
    width: min(410px, calc(100vw - 28px));
}

.login-card {
    border: 1px solid rgba(0, 148, 68, .14);
    border-radius: 18px;
    box-shadow: 0 22px 60px rgba(15, 23, 42, .13);
}

.login-shell {
    width: min(410px, calc(100vw - 28px));
}

.login-card {
    background: #fff;
    padding: 26px;
}

.login-brand {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
}

.login-brand-logo {
    max-width: 190px;
    max-height: 74px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.login-heading {
    text-align: center;
    margin-bottom: 18px;
}

.login-heading h1 {
    color: var(--app-green-deep);
    font-size: 22px;
    line-height: 1.2;
    font-weight: 850;
    margin: 0 0 5px;
}

.login-heading p {
    color: var(--app-muted);
    font-size: 13.5px;
    margin: 0;
}

.form-stack {
    display: grid;
    gap: 12px;
}

.login-field {
    display: grid;
    gap: 5px;
    margin: 0;
}

.login-field > span:first-child {
    color: #374151;
    font-size: 12.5px;
    font-weight: 750;
}

.login-input-wrap {
    min-height: 40px;
    display: flex;
    align-items: center;
    gap: 9px;
    border: 1px solid #DDE3EA;
    border-radius: 10px;
    background: #fff;
    padding: 0 11px;
    transition: border-color .16s ease, box-shadow .16s ease;
}

.login-input-wrap:focus-within {
    border-color: var(--app-green);
    box-shadow: 0 0 0 .2rem rgba(0, 148, 68, .12);
}

.login-input-wrap i {
    color: var(--app-green-dark);
    font-size: 17px;
}

.login-input-wrap input {
    width: 100%;
    min-height: 38px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--app-text);
    font-size: 14px;
}

.login-card .alert {
    border-radius: 10px;
    padding: 9px 11px;
    font-size: 13px;
}

.btn-block {
    width: 100%;
    min-height: 40px;
    margin-top: 2px;
}

.app-shell {
    min-height: 100vh;
}

.app-sidebar {
    width: var(--app-sidebar-width);
    min-height: 100vh;
    background: linear-gradient(180deg, var(--brand-green-dark) 0%, var(--brand-green-deep) 100%);
    color: #fff;
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1030;
    display: flex;
    flex-direction: column;
    transition: width .18s ease, transform .18s ease;
    box-shadow: 8px 0 24px rgba(0, 74, 44, .12);
    overflow: visible;
}

.app-brand {
    height: 64px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 10px 0 12px;
    background: #fff;
    border-bottom: 1px solid var(--border-soft);
    box-shadow: 0 1px 0 rgba(0, 0, 0, .04);
}

.app-brand-link {
    display: inline-flex;
    align-items: center;
    flex: 0 1 auto;
    min-width: 0;
    cursor: pointer;
}

.app-brand-link-expanded {
    flex: 1 1 auto;
    max-width: calc(100% - 38px);
    height: 58px;
}

.app-brand-link-collapsed {
    display: none;
}

.app-brand-link:hover {
    opacity: .92;
}

.app-logo-expanded {
    width: 100%;
    max-width: 190px;
    height: 56px;
    max-height: 56px;
    object-fit: contain;
    object-position: left center;
}

.app-logo-collapsed {
    width: 50px;
    height: 50px;
    object-fit: contain;
    display: none;
}

.sidebar-collapse-btn {
    margin-left: auto;
    width: 30px;
    height: 30px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(0, 148, 68, .25);
    border-radius: 999px;
    color: var(--brand-green-dark);
    background: var(--brand-green-soft);
}

.sidebar-collapse-btn:hover {
    background: #DDF3E8;
}

.app-nav {
    padding: 12px 10px;
    flex: 1 1 auto;
    overflow-y: auto;
}

.app-sidebar .nav-link {
    color: rgba(255, 255, 255, .86);
    border-radius: 8px;
    margin: 2px 0;
    padding: 9px 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    font-weight: 600;
}

.app-sidebar .nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, .10);
}

.app-sidebar .nav-link.active {
    color: #fff;
    background: linear-gradient(90deg, #009444 0%, #00A650 100%);
    box-shadow: inset 3px 0 0 var(--app-orange), 0 8px 18px rgba(0, 0, 0, .10);
}

.app-sidebar .nav-link i {
    width: 24px;
    flex: 0 0 24px;
    font-size: 18px;
    text-align: center;
}

.sidebar-menu-group {
    cursor: default;
    border: 0;
    width: 100%;
    text-align: left;
}

.sidebar-menu-group[data-menu-toggle] {
    cursor: pointer;
}

.sidebar-menu-split {
    padding: 0 !important;
    gap: 0 !important;
    overflow: hidden;
}

.sidebar-menu-main {
    min-width: 0;
    min-height: 40px;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 6px 9px 10px;
    color: inherit;
}

.sidebar-menu-main:hover {
    color: #fff;
}

.sidebar-menu-toggle {
    width: 38px;
    min-height: 40px;
    flex: 0 0 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: inherit;
    opacity: .92;
}

.sidebar-menu-toggle:hover {
    background: rgba(255, 255, 255, .10);
    color: #fff;
}

.app-sidebar .sidebar-menu-group.is-open {
    color: #fff;
    background: rgba(255, 255, 255, .10);
    border-radius: 10px;
    box-shadow: inset 3px 0 0 rgba(255, 255, 255, .22);
}

.app-sidebar .sidebar-menu-group.is-collapsed {
    background: transparent;
    box-shadow: none;
}

.sidebar-menu-caret {
    margin-left: auto;
    width: auto !important;
    flex: 0 0 auto !important;
    font-size: 13px !important;
    opacity: .72;
    transition: transform .15s ease;
}

.sidebar-menu-group.is-open .sidebar-menu-caret {
    transform: rotate(180deg);
    opacity: .95;
}

.sidebar-subnav {
    margin: 4px 0 6px 18px;
    padding-left: 12px;
    border-left: 1px solid rgba(255, 255, 255, .22);
}

.sidebar-subnav.is-collapsed {
    display: none;
}

.app-sidebar .sidebar-subnav-link {
    min-height: 34px;
    padding: 7px 10px;
    font-size: 13.5px;
    color: rgba(255, 255, 255, .78);
    border-radius: 9px;
    box-shadow: none;
}

.app-sidebar .sidebar-subnav-link i {
    font-size: 15px;
    width: 20px;
    flex: 0 0 20px;
}

.app-sidebar .sidebar-subnav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, .10);
}

.app-sidebar .sidebar-subnav .sidebar-subnav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, .18);
    box-shadow: inset 3px 0 0 var(--app-orange);
    font-weight: 700;
}

.app-sidebar-footer {
    position: relative;
    padding: 12px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    overflow: visible;
}

.sidebar-system-actions {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
}

.sidebar-action-btn {
    width: 40px;
    height: 40px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 12px;
    color: #fff;
    background: rgba(255, 255, 255, .10);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
    transition: background .16s ease, border-color .16s ease, transform .16s ease;
}

.sidebar-action-btn:hover,
.sidebar-action-btn.is-active {
    color: #fff;
    background: rgba(255, 255, 255, .17);
    border-color: rgba(255, 255, 255, .28);
}

.sidebar-action-btn:active {
    transform: translateY(1px);
}

.sidebar-action-btn i {
    font-size: 18px;
    line-height: 1;
}

.sidebar-notification {
    position: relative;
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.notification-bell-btn {
    width: 40px;
    height: 40px;
    position: relative;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 12px;
    color: #fff;
    background: rgba(255, 255, 255, .10);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
    transition: background .16s ease, border-color .16s ease, transform .16s ease;
}

.notification-bell-btn:hover,
.notification-bell-btn.is-open {
    color: #fff;
    background: rgba(255, 255, 255, .17);
    border-color: rgba(255, 255, 255, .28);
}

.notification-bell-btn:active {
    transform: translateY(1px);
}

.notification-bell-btn i {
    font-size: 19px;
    line-height: 1;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -7px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #DC2626;
    color: #fff;
    border: 2px solid var(--brand-green-deep);
    font-size: 10.5px;
    line-height: 1;
    font-weight: 800;
}

.notification-popover {
    position: absolute;
    left: calc(100% + 10px);
    bottom: -4px;
    width: 350px;
    max-width: calc(100vw - 96px);
    max-height: min(520px, calc(100vh - 24px));
    display: none;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, .06);
    border-radius: 16px;
    background: #fff;
    color: var(--app-text);
    box-shadow: 0 24px 58px rgba(15, 23, 42, .22);
    z-index: 1120;
}

.notification-popover.show {
    display: block;
}

.notification-popover-header {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 16px 11px;
    border-bottom: 1px solid var(--app-border);
    background: #fff;
}

.notification-popover-title {
    color: var(--app-green-deep);
    font-size: 17px;
    line-height: 1.2;
    font-weight: 850;
}

.notification-popover-settings {
    width: 30px;
    height: 30px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    color: #64748B;
}

.notification-popover-settings:hover {
    color: var(--app-green-deep);
    background: var(--app-green-soft);
}

.notification-popover-actions {
    min-height: 30px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 7px 16px 6px;
    border-bottom: 1px solid #F1F5F9;
    background: #fff;
}

.notification-mark-all {
    border: 0;
    background: transparent;
    color: var(--app-green-dark);
    padding: 0;
    font-size: 12.5px;
    font-weight: 800;
}

.notification-mark-all:hover {
    color: var(--app-green-deep);
    text-decoration: underline;
}

.notification-list {
    max-height: 372px;
    overflow-y: auto;
    padding: 2px 0;
}

.notification-empty {
    display: grid;
    justify-items: center;
    gap: 4px;
    padding: 26px 22px;
    color: var(--app-muted);
    text-align: center;
    font-size: 12.5px;
}

.notification-empty strong {
    color: var(--app-text);
    font-size: 13.5px;
}

.notification-empty-icon {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    color: var(--app-green-deep);
    background: var(--app-green-soft);
    margin-bottom: 3px;
}

.notification-item {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #F1F5F9;
    background: #fff;
    color: var(--app-text);
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto 10px;
    align-items: start;
    gap: 10px;
    padding: 11px 14px;
    text-align: left;
    position: relative;
}

.notification-item:hover {
    background: #F8FAFC;
}

.notification-item.is-unread {
    background: #F7FDF9;
}

.notification-item:not(.is-unread) {
    color: #475569;
}

.notification-item:not(.is-unread) .notification-type {
    opacity: .82;
}

.notification-item.is-unread::after {
    content: "";
    width: 8px;
    height: 8px;
    align-self: center;
    justify-self: center;
    border-radius: 50%;
    background: var(--app-green);
}

.notification-type {
    width: 36px;
    height: 36px;
    display: inline-grid;
    place-items: center;
    border-radius: 10px;
    color: #fff;
    background: var(--app-green-soft);
}

.notification-type i {
    font-size: 17px;
}

.notification-type-green {
    background: #16A34A;
}

.notification-type-blue {
    background: #2563EB;
}

.notification-type-orange {
    background: #F59E0B;
}

.notification-type-red {
    background: #EF4444;
}

.notification-type-purple {
    background: #7C3AED;
}

.notification-type-muted {
    color: var(--app-green-deep);
    background: var(--app-green-soft);
}

.notification-body {
    min-width: 0;
}

.notification-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #0F172A;
    font-weight: 800;
    font-size: 13px;
    line-height: 1.28;
    margin-bottom: 4px;
}

.notification-text {
    color: var(--app-muted);
    font-size: 12px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notification-time {
    min-width: 54px;
    color: #94A3B8;
    font-size: 11.5px;
    line-height: 1.2;
    text-align: right;
    white-space: nowrap;
    padding-top: 2px;
}

.notification-popover-footer {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: var(--app-green-deep);
    font-weight: 800;
    font-size: 14px;
    border-top: 1px solid var(--app-border);
}

.notification-popover-footer:hover {
    background: var(--app-green-soft);
    color: var(--app-green-deep);
}

.sidebar-user-wrap {
    position: relative;
    width: 100%;
    z-index: 1200;
}

.sidebar-user {
    width: 100%;
    border: 0;
    border-radius: 10px;
    color: #fff;
    background: transparent;
    padding: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    text-align: left;
}

.sidebar-user:hover,
.sidebar-user.is-open {
    background: rgba(255, 255, 255, .10);
}

.avatar {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 34px;
    border-radius: 50%;
    color: #fff;
    background: var(--app-green);
    border: 1px solid rgba(255, 255, 255, .35);
    font-size: 13px;
    font-weight: 800;
}

.sidebar-user-name,
.sidebar-user-role,
.nav-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-user-name {
    display: block;
    font-weight: 700;
}

.sidebar-user-role {
    display: block;
    color: rgba(255, 255, 255, .68);
    font-size: 12px;
}

.sidebar-user-caret {
    margin-left: auto;
    color: rgba(255, 255, 255, .75);
    font-size: 12px;
}

.sidebar-user-menu {
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(100% + 8px);
    width: auto;
    min-width: 220px;
    display: none;
    padding: 6px;
    border: 1px solid var(--app-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .22);
    z-index: 3000;
}

.sidebar-user-menu.show {
    display: block;
}

.sidebar-user-menu-item {
    min-height: 38px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 10px;
    border-radius: 7px;
    color: var(--app-text);
    font-weight: 700;
    font-size: 13.5px;
}

.sidebar-user-menu-item:hover {
    color: var(--app-green-deep);
    background: var(--app-green-soft);
}

.sidebar-user-menu-item.danger {
    color: #C2410C;
}

.sidebar-user-menu-item i {
    width: 18px;
    text-align: center;
}

.app-main {
    margin-left: var(--app-sidebar-width);
    min-height: 100vh;
    width: calc(100% - var(--app-sidebar-width));
    transition: margin-left .18s ease, width .18s ease;
}

.app-content {
    min-height: 100vh;
    padding: 8px 10px;
}

.table-card,
.app-panel {
    background: #fff;
    border: 1px solid var(--app-border);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, .035);
}

.panel-header {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--app-border);
}

.panel-title {
    color: var(--app-green-deep);
    font-size: 16px;
    font-weight: 800;
    margin: 0;
}

.compact-filter {
    background: #fff;
    border: 1px solid var(--app-border);
    border-radius: 10px;
    padding: 8px 10px;
    margin-bottom: 8px;
}

.filter-actions {
    display: flex;
    align-items: end;
    justify-content: flex-end;
    gap: 6px;
}

.table-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.table-meta {
    color: var(--app-muted);
    font-size: 12.5px;
}

.action-buttons {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    white-space: nowrap;
}

.role-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
}

.role-badge {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    padding: 2px 6px;
    border-radius: 999px;
    background: var(--app-green-soft);
    color: var(--app-green-deep);
    font-size: 11.5px;
    font-weight: 700;
}

.role-badge-warning {
    background: #FEF3C7;
    color: #92400E;
}

.log-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.log-tabs .btn {
    min-height: 34px;
}

.cell-truncate {
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sticky-table-head thead th {
    position: sticky;
    top: 0;
    z-index: 2;
}

.stat-card {
    min-height: 92px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
}

.stat-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    border-radius: 50%;
    color: #fff;
    font-size: 22px;
    background: var(--app-green);
}

.stat-icon.orange {
    background: var(--app-orange);
}

.stat-icon.blue {
    background: #2563EB;
}

.stat-value {
    font-size: 26px;
    line-height: 1;
    font-weight: 800;
}

.stat-label {
    color: var(--app-text);
    font-weight: 700;
}

.stat-note {
    color: var(--app-muted);
    font-size: 12px;
    margin-top: 3px;
}

.table {
    margin-bottom: 0;
    --bs-table-hover-bg: #F9FAFB;
}

.table > :not(caption) > * > * {
    vertical-align: middle;
    padding: .38rem .5rem;
}

.table thead th {
    background: #F8FAFC;
    color: #0F2F24;
    border-bottom: 1px solid var(--app-border);
    font-size: 12.5px;
    font-weight: 800;
    white-space: nowrap;
}

.table tbody td {
    border-color: var(--app-border);
    font-size: 13.5px;
}

.table .btn-sm {
    width: 30px;
    height: 30px;
    display: inline-grid;
    place-items: center;
    padding: 0;
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
    --bs-table-bg-type: #FCFDFD;
}

.form-label {
    color: #374151;
    font-size: 12.5px;
    font-weight: 700;
    margin-bottom: 4px;
}

.form-control,
.form-select {
    min-height: 34px;
    border-color: #DDE3EA;
    border-radius: 7px;
    font-size: 13.5px;
    padding: .38rem .62rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--app-green);
    box-shadow: 0 0 0 .18rem rgba(0, 148, 68, .13);
}

.btn {
    border-radius: 7px;
    font-size: 13.5px;
    font-weight: 700;
    padding: .42rem .72rem;
}

.btn-sm {
    padding: .24rem .44rem;
}

.btn-primary {
    --bs-btn-bg: var(--app-green);
    --bs-btn-border-color: var(--app-green);
    --bs-btn-hover-bg: var(--app-green-dark);
    --bs-btn-hover-border-color: var(--app-green-dark);
}

.btn-warning,
.btn-accent {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--app-orange);
    --bs-btn-border-color: var(--app-orange);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #df6811;
    --bs-btn-hover-border-color: #df6811;
}

.badge {
    border-radius: 6px;
    font-weight: 700;
    padding: .35em .5em;
}

.text-bg-success {
    color: #06743C !important;
    background: #DDF3E6 !important;
}

.text-bg-secondary {
    color: #4B5563 !important;
    background: #EEF2F6 !important;
}

.required::after {
    content: " *";
    color: #dc3545;
}

.dropdown-menu {
    border-color: var(--app-border);
    box-shadow: 0 10px 28px rgba(15, 23, 42, .10);
    font-size: 13.5px;
}

.modal-header,
.modal-footer {
    padding: 10px 14px;
}

.modal-body {
    padding: 14px;
}

body.app-sidebar-collapsed .app-sidebar {
    width: var(--app-sidebar-collapsed-width);
}

body.app-sidebar-collapsed .app-main {
    margin-left: var(--app-sidebar-collapsed-width);
    width: calc(100% - var(--app-sidebar-collapsed-width));
}

body.app-sidebar-collapsed .nav-text,
body.app-sidebar-collapsed .sidebar-user-meta,
body.app-sidebar-collapsed .sidebar-user-caret,
body.app-sidebar-collapsed .sidebar-menu-caret {
    display: none;
}

body.app-sidebar-collapsed .app-logo-expanded {
    display: none;
}

body.app-sidebar-collapsed .app-brand-link-expanded {
    display: none;
}

body.app-sidebar-collapsed .app-brand-link-collapsed {
    display: inline-flex;
}

body.app-sidebar-collapsed .app-logo-collapsed {
    display: block;
    flex: 0 0 30px;
}

body.app-sidebar-collapsed .app-brand {
    padding: 0 8px;
    justify-content: center;
}

body.app-sidebar-collapsed .sidebar-collapse-btn {
    position: absolute;
    right: -14px;
    top: 18px;
    color: var(--brand-green-dark);
    background: #fff;
    border-color: rgba(0, 148, 68, .25);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
}

body.app-sidebar-collapsed .sidebar-collapse-btn:hover {
    background: #DDF3E8;
}

body.app-sidebar-collapsed .sidebar-collapse-btn i {
    transform: rotate(180deg);
}

body.app-sidebar-collapsed .app-sidebar .nav-link {
    justify-content: center;
    padding: 9px 0;
}

body.app-sidebar-collapsed .sidebar-menu-split {
    justify-content: center;
    padding: 0 !important;
}

body.app-sidebar-collapsed .sidebar-menu-main {
    flex: 0 0 100%;
    justify-content: center;
    padding: 9px 0;
}

body.app-sidebar-collapsed .sidebar-menu-toggle {
    display: none;
}

body.app-sidebar-collapsed .sidebar-subnav {
    margin: 0;
    padding-left: 0;
    border-left: 0;
}

body.app-sidebar-collapsed .app-sidebar-footer {
    padding: 12px 10px;
}

body.app-sidebar-collapsed .sidebar-notification {
    justify-content: center;
}

body.app-sidebar-collapsed .notification-popover {
    left: calc(100% + 10px);
    bottom: -4px;
}

body.app-sidebar-collapsed .notification-badge {
    border-color: var(--brand-green-deep);
}

body.app-sidebar-collapsed .sidebar-user {
    justify-content: center;
    padding: 6px 0;
}

body.app-sidebar-collapsed .sidebar-user-menu {
    left: calc(100% + 8px);
    right: auto;
    bottom: 0;
    width: 210px;
    min-width: 210px;
}

@media (max-width: 991.98px) {
    .app-sidebar {
        transform: translateX(-100%);
    }

    .app-sidebar.show {
        transform: translateX(0);
    }

    .app-main,
    body.app-sidebar-collapsed .app-main {
        margin-left: 0;
        width: 100%;
    }

    .app-content {
        padding: 8px;
    }
}
