body {
    background-color: #f5f7fb;
    color: #3b4252;
}

a {
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

#accordionSidebar .sidebar-brand {
    height: 4.55rem;
}

#accordionSidebar .sidebar-brand-icon {
    margin-right: 0.25rem;
}

#accordionSidebar .sidebar-brand-text {
    line-height: 1.35;
    letter-spacing: 0.02em;
}

#accordionSidebar .sidebar-divider {
    margin: 0.95rem 1rem 0.75rem;
}

#accordionSidebar .sidebar-heading {
    padding: 0 1rem;
    margin-top: 0.45rem;
    margin-bottom: 0.5rem;
}

.message-center-dropdown {
    width: 22rem;
    max-width: 90vw;
    padding: 0;
}

.message-center-scroll {
    max-height: 23rem;
    overflow-y: auto;
}

.message-center-dropdown .dropdown-item {
    white-space: normal;
    padding: 0.65rem 1rem;
    border-bottom: 1px solid #f1f3f9;
}

.message-center-dropdown .dropdown-item:last-child {
    border-bottom: none;
}

.notification-unread {
    background-color: #eef4ff;
}

.notification-unread:hover {
    background-color: #e2ecff;
}

.notification-dropdown-title,
.notification-dropdown-preview {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
}

.notification-dropdown-title {
    -webkit-line-clamp: 1;
}

.notification-dropdown-preview {
    -webkit-line-clamp: 2;
    line-height: 1.25;
}

.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
}

.notification-item {
    border-left: 3px solid transparent;
    padding: 0.75rem 1rem;
}

.notification-item-unread {
    background-color: #eef4ff;
    border-left-color: #4e73df;
}

.notification-item-unread:hover {
    background-color: #e2ecff;
}

.notification-item .icon-circle {
    width: 2rem;
    height: 2rem;
    font-size: 0.82rem;
}

.notification-list-card {
    max-width: 100%;
}

.notification-page-title {
    display: inline;
    font-size: 0.92rem;
    line-height: 1.25;
}

.notification-item-heading small {
    font-size: 0.72rem;
}

.notification-message-body-compact {
    width: fit-content;
    max-width: 100%;
    overflow-x: auto;
    transform-origin: top left;
    zoom: 0.72;
}

.notification-message-body-compact table,
.notification-message-body-compact div {
    max-width: 100% !important;
}

.notification-action-btn {
    padding: 0.2rem 0.48rem;
    font-size: 0.76rem;
}

.min-w-0 {
    min-width: 0;
}

#accordionSidebar .nav-item {
    margin: 0.16rem 0;
}

#accordionSidebar .nav-item .nav-link {
    display: flex;
    align-items: center;
    min-height: 2.85rem;
    padding: 0.78rem 1rem;
    line-height: 1.25;
}

#accordionSidebar .nav-item .nav-link i {
    width: 1.28rem;
    margin-right: 0.55rem;
    text-align: center;
}

#accordionSidebar .nav-item .nav-link span {
    min-width: 0;
}

#accordionSidebar .nav-item .nav-link .sidebar-menu-badge {
    margin-left: auto;
    min-width: 1.45rem;
    padding: 0.18rem 0.42rem;
    border-radius: 999px;
    font-size: 0.68rem;
    line-height: 1;
}

#accordionSidebar #sidebarToggle {
    margin-top: 1.35rem;
}

@media (min-width: 768px) {
    #accordionSidebar.toggled .sidebar-brand {
        height: 4.55rem;
        justify-content: center;
    }

    #accordionSidebar.toggled .sidebar-brand-icon {
        margin-right: 0;
    }

    #accordionSidebar.toggled .sidebar-brand-text {
        display: none;
    }

    #accordionSidebar.toggled .sidebar-heading {
        display: none;
    }

    #accordionSidebar.toggled .nav-item .nav-link {
        flex-direction: row;
        min-height: 3rem;
        padding: 0.82rem 0.25rem;
        justify-content: center;
        line-height: 1;
    }

    #accordionSidebar.toggled .nav-item .nav-link i {
        width: auto;
        margin-right: 0;
        margin-bottom: 0;
        font-size: 1.20rem;
    }

    #accordionSidebar.toggled .nav-item .nav-link span {
        display: none;
    }

    #accordionSidebar.toggled .nav-item .nav-link .sidebar-menu-badge {
        display: inline-flex;
        position: absolute;
        top: 0.4rem;
        right: 1.05rem;
        align-items: center;
        justify-content: center;
        margin-left: 0;
        min-width: 1.25rem;
        height: 1.25rem;
        padding: 0 0.32rem;
        font-size: 0.62rem;
    }
}

.workspace-topbar {
    min-height: 4.4rem;
    border-bottom: 1px solid #e6eaf2;
}

.workspace-topbar-title {
    min-width: 0;
}

.workspace-topbar-title h4 {
    color: #263142;
    font-size: 1.05rem;
    line-height: 1.25;
}

.workspace-access-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.3rem;
}

.workspace-access-badges .badge {
    border-radius: 999px;
    padding: 0.32rem 0.55rem;
    font-size: 0.68rem;
    letter-spacing: 0;
}

.theme-toggle-btn-topbar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: 1px solid #dbe2ef;
    border-radius: 0.5rem;
    background-color: #ffffff;
    color: #5f697a;
}

.theme-toggle-btn-topbar:hover,
.theme-toggle-btn-topbar:focus {
    background-color: #f6f8fc;
    border-color: #c8d2e4;
    color: #263142;
    outline: none;
}

.theme-toggle-btn-topbar .fa-sun {
    display: none;
}

.workspace-dashboard {
    padding-bottom: 1.5rem;
}

.workspace-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.35rem 1.5rem;
    border: 1px solid #e3e8f2;
    border-radius: 0.5rem;
    background: #fff;
    box-shadow: 0 0.25rem 0.9rem rgba(31, 41, 55, 0.06);
}

.workspace-hero h1 {
    letter-spacing: 0;
}

.workspace-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
}

.workspace-section {
    margin-bottom: 0.75rem;
}

.workspace-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.workspace-section-header h2 {
    letter-spacing: 0;
}

.workspace-category {
    position: relative;
    margin-top: 2.1rem;
    padding-top: 1.65rem;
    border-top: 1px solid #dfe5f0;
}

.workspace-category:first-of-type {
    margin-top: 1.1rem;
}

.workspace-category-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.95rem;
}

.workspace-category-kicker {
    margin-bottom: 0.2rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.workspace-stat-card,
.workspace-panel,
.workspace-action-card {
    border: 1px solid #e3e8f2;
    border-radius: 0.5rem;
    box-shadow: 0 0.22rem 0.75rem rgba(31, 41, 55, 0.055);
}

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

.workspace-stat-card .card-body {
    position: relative;
    min-height: 8.6rem;
    padding: 1.55rem 4.4rem 1.35rem 1.45rem;
}

.workspace-action-card .card-body {
    min-height: 8.6rem;
}

.workspace-stat-card .text-xs {
    margin-bottom: 0.45rem !important;
}

.workspace-stat-card .h4 {
    font-size: 1.55rem;
}

.workspace-stat-card .workspace-stat-icon {
    position: absolute;
    top: 50%;
    right: 1.35rem;
    width: auto;
    height: auto;
    margin-bottom: 0;
    border-radius: 0;
    background-color: transparent !important;
    color: #d1d3e2 !important;
    font-size: 2rem;
    line-height: 1;
    transform: translateY(-50%);
}

.workspace-action-card {
    display: block;
    color: inherit;
    text-decoration: none;
}

.workspace-action-card:hover,
.workspace-action-card:focus {
    color: inherit;
    text-decoration: none;
    border-color: #c8d2e4;
    box-shadow: 0 0.35rem 1.1rem rgba(31, 41, 55, 0.1);
    transform: translateY(-1px);
}

.workspace-stat-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.9rem;
    font-size: 1rem;
}

.bg-primary-soft {
    background-color: #eef3ff;
}

.bg-info-soft {
    background-color: #eaf7fb;
}

.bg-success-soft {
    background-color: #ecf8f1;
}

.bg-warning-soft {
    background-color: #fff7e6;
}

.bg-danger-soft {
    background-color: #fff0f0;
}

.workspace-panel .card-header {
    padding: 1rem 1.15rem 0.55rem;
}

.badge {
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0;
}

.card {
    border-radius: 0.5rem;
}

.card.shadow,
.shadow {
    box-shadow: 0 0.25rem 0.9rem rgba(31, 41, 55, 0.07) !important;
}

.btn {
    border-radius: 0.42rem;
}

.btn-sm {
    line-height: 1.35;
}

.bsc-table-wrap {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1.25rem !important;
}

.bsc-table-wrap::-webkit-scrollbar {
    height: 0.55rem;
}

.bsc-table-wrap::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background-color: #cfd7e6;
}

.bsc-table-drag-handle {
    cursor: grab;
}

.bsc-table-wrap thead th {
    cursor: grab;
}

.bsc-table-drag-handle a,
.bsc-table-drag-handle button,
.bsc-table-drag-handle input,
.bsc-table-drag-handle select,
.bsc-table-drag-handle textarea,
.bsc-table-drag-handle label,
.bsc-table-drag-handle .dropdown-toggle {
    cursor: auto;
}

.bsc-table-drag-handle.is-dragging,
.bsc-table-wrap.is-dragging thead th {
    cursor: grabbing;
}

.bsc-table-drag-handle.is-dragging,
.bsc-table-wrap.is-dragging thead th {
    user-select: none;
}

.bsc-data-table {
    width: 100%;
    margin-bottom: 0;
}

.bsc-data-table thead th {
    vertical-align: middle;
    white-space: nowrap;
}

.bsc-data-table thead th,
.bsc-data-table tbody td {
    padding: 0.9rem 0.8rem;
}

.bsc-data-table tbody td {
    vertical-align: middle;
    white-space: normal;
    overflow-wrap: anywhere;
}

/* Compact mode for preview table: tighter padding for more data room */
.table.table-sm.bsc-data-table thead th,
.table.table-sm.bsc-data-table tbody td {
    padding: 0.25rem 0.35rem;
}

.table.table-sm.bsc-data-table {
    font-size: 0.82rem;
}

/* Import preview: dynamic column width, no per-letter wrapping. */
.import-preview-wrap {
    overflow: auto !important;
}

#previewTable {
    table-layout: auto;
    width: max-content;
    min-width: 100%;
}

#previewTable thead th,
#previewTable tbody td {
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
}

#previewTable .preview-col-row {
    min-width: 2.75rem;
}

#previewTable .preview-col-status {
    min-width: 4.75rem;
}

#previewTable .preview-col-nik,
#previewTable .preview-col-evaluator {
    min-width: 7.25rem;
}

#previewTable .preview-col-name {
    min-width: 9.5rem;
}

#previewTable .preview-col-email {
    min-width: 12rem;
}

#previewTable .preview-col-company {
    min-width: 6rem;
}

#previewTable .preview-col-dept {
    min-width: 5.75rem;
}

#previewTable .preview-col-position {
    min-width: 9rem;
}

#previewTable .preview-col-gender,
#previewTable .preview-col-account-status {
    min-width: 5.75rem;
}

#previewTable .preview-col-date {
    min-width: 7rem;
}

#previewTable .preview-col-employee-status {
    min-width: 9rem;
}

#previewTable .preview-col-contract {
    min-width: 8.25rem;
}

#previewTable .preview-col-notes {
    min-width: 18rem;
    max-width: 28rem;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
}

.bsc-data-table .font-weight-bold {
    color: #4a5568;
}

.bsc-table-actions {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.col-no {
    width: 4.25rem;
    min-width: 4.25rem;
    white-space: nowrap;
}

.col-nik {
    min-width: 7.25rem;
    white-space: nowrap;
}

.col-name {
    min-width: 10.5rem;
}

.col-email {
    min-width: 15.5rem;
}

.col-gender {
    min-width: 7rem;
    white-space: nowrap;
}

.col-company {
    min-width: 8rem;
}

.col-department {
    min-width: 8rem;
}

.col-position {
    min-width: 10.5rem;
}

.col-date {
    min-width: 8rem;
    white-space: nowrap;
}

.col-status {
    min-width: 6.75rem;
    white-space: nowrap;
}

.col-evaluator {
    min-width: 9rem;
}

.col-access {
    min-width: 12rem;
}

.col-period {
    min-width: 7.5rem;
    white-space: nowrap;
}

.col-review-type {
    min-width: 15rem;
}

.col-progress {
    min-width: 17rem;
}

.col-waiting {
    min-width: 9rem;
}

.col-total {
    min-width: 7.5rem;
    white-space: nowrap;
}

.col-question {
    min-width: 16rem;
}

.col-action {
    min-width: 7.5rem;
    white-space: nowrap;
}

.col-action-wide {
    min-width: 9.5rem;
    white-space: nowrap;
}

.sticky-footer {
    border-top: 1px solid #e6eaf2;
}

.workspace-command-center {
    padding-bottom: 1.5rem;
}

.command-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.25rem 1.4rem;
    border: 1px solid #e3e8f2;
    border-radius: 0.5rem;
    background-color: #fff;
    box-shadow: 0 0.25rem 0.9rem rgba(31, 41, 55, 0.06);
}

.command-hero-copy {
    min-width: 0;
}

.command-hero-action {
    display: flex;
    flex-shrink: 0;
}

.command-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    justify-content: stretch;
    gap: 0.75rem;
}

.command-summary-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 5.25rem;
    padding: 0.9rem 1rem;
    border: 1px solid #e3e8f2;
    border-radius: 0.5rem;
    background-color: #fff;
    box-shadow: 0 0.22rem 0.75rem rgba(31, 41, 55, 0.045);
}

.command-summary-card .summary-label {
    color: #6e707e;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
}

.command-summary-card .summary-value {
    color: #263142;
    font-size: 1.35rem;
    font-weight: 800;
}

.command-summary-card i {
    color: #d1d8e6;
    font-size: 1.35rem;
}

.command-panel {
    padding: 1.15rem;
    border: 1px solid #e3e8f2;
    border-radius: 0.5rem;
    background-color: #fff;
    box-shadow: 0 0.25rem 0.9rem rgba(31, 41, 55, 0.055);
}

.command-panel-balanced {
    display: flex;
    flex-direction: column;
    height: 26rem;
}

.command-panel-grid {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
    overflow: hidden;
}

.command-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: 1.5rem;
    align-items: stretch;
}

.command-dashboard-grid.has-admin-report {
    grid-template-areas:
        "links attention"
        "report recent";
    grid-template-rows: minmax(0, 29rem) auto;
}

.command-dashboard-grid.no-admin-report {
    grid-template-areas:
        "links attention"
        "links recent";
    grid-template-rows: minmax(0, 29rem) auto;
}

.dashboard-panel-links {
    grid-area: links;
    min-height: 0;
}

.dashboard-panel-report {
    grid-area: report;
    min-height: 0;
}

.dashboard-panel-attention {
    grid-area: attention;
    min-height: 0;
}

.dashboard-panel-recent {
    grid-area: recent;
    min-height: 0;
}

.dashboard-panel-report,
.dashboard-panel-recent {
    overflow: visible;
}

.dashboard-panel-report .command-panel-scroll,
.dashboard-panel-recent .command-panel-scroll {
    overflow: visible;
    padding-right: 0;
}

.command-panel-header {
    display: flex;
    flex: 0 0 auto;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.command-panel-scroll {
    min-height: 0;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.command-panel-scroll::-webkit-scrollbar {
    width: 0.45rem;
}

.command-panel-scroll::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background-color: #cfd7e6;
}

.attention-item,
.recent-activity-item,
.quick-link-item {
    color: inherit;
    text-decoration: none;
}

.attention-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.9rem;
    padding: 0.8rem 0;
    border-top: 1px solid #edf1f7;
}

.attention-item:first-of-type {
    border-top: 0;
}

.attention-item:hover,
.attention-item:focus,
.recent-activity-item:hover,
.recent-activity-item:focus,
.quick-link-item:hover,
.quick-link-item:focus {
    color: inherit;
    text-decoration: none;
}

.attention-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 0.45rem;
    background-color: #eef3ff;
    color: #4e73df;
}

.attention-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    color: #263142;
    font-weight: 800;
}

.attention-meta {
    color: #5f697a;
    font-size: 0.82rem;
}

.attention-action {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.command-empty-state {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem;
    border: 1px dashed #d9e1ee;
    border-radius: 0.5rem;
    background-color: #fbfcff;
}

.command-empty-state i {
    font-size: 1.6rem;
}

.quick-link-list {
    display: grid;
    gap: 0.55rem;
}

.report-card-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
    margin-bottom: 0.9rem;
}

.report-mini-stat {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.7rem 0.8rem;
    border: 1px solid #edf1f7;
    border-radius: 0.42rem;
    background-color: #fbfcff;
}

.report-mini-label {
    color: #6e707e;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.35;
}

.report-mini-value {
    color: #263142;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.1;
}

.quick-link-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.72rem 0.8rem;
    border: 1px solid #edf1f7;
    border-radius: 0.42rem;
    background-color: #fbfcff;
    font-weight: 700;
}

.quick-link-item:hover,
.quick-link-item:focus {
    border-color: #d6deea;
    background-color: #f6f8fc;
}

.quick-link-item i {
    width: 1.1rem;
    text-align: center;
}

.recent-activity-list {
    display: grid;
    gap: 0.35rem;
}

.recent-activity-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.72rem 0;
    border-top: 1px solid #edf1f7;
}

.recent-activity-item:first-child {
    border-top: 0;
}

@media (max-width: 767.98px) {
    .workspace-topbar {
        min-height: 4rem;
    }

    .workspace-topbar-title {
        flex: 1 1 auto;
        min-width: 0;
    }

    .workspace-topbar-title h4 {
        font-size: 0.95rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .workspace-access-badges {
        display: none;
    }

    .workspace-topbar .navbar-nav {
        flex-shrink: 0;
    }

    .theme-toggle-nav-item {
        display: inline-flex;
        align-items: center;
    }

    .theme-toggle-btn-topbar {
        margin-right: 0.35rem !important;
    }

    .workspace-hero,
    .workspace-section-header,
    .workspace-category-title {
        align-items: flex-start;
        flex-direction: column;
    }

    .workspace-hero {
        padding: 1rem;
    }

    .workspace-hero-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .workspace-hero-actions .btn,
    .workspace-section-header .btn,
    .workspace-category-title .btn {
        width: 100%;
    }

    .workspace-category {
        margin-top: 1.5rem;
        padding-top: 1.25rem;
    }

    .command-hero,
    .command-panel-header,
    .attention-item,
    .recent-activity-item {
        align-items: flex-start;
    }

    .command-hero,
    .command-panel-header {
        flex-direction: column;
    }

    .command-hero-action,
    .command-hero-action .btn {
        width: 100%;
    }

    .command-summary-grid {
        grid-template-columns: minmax(0, 1fr);
        justify-content: stretch;
    }

    .command-panel-balanced {
        height: auto;
        max-height: none;
    }

    .command-panel-grid {
        height: auto;
        min-height: 0;
        overflow: visible;
    }

    .command-panel-scroll {
        overflow: visible;
        padding-right: 0;
    }

    .command-dashboard-grid,
    .command-dashboard-grid.has-admin-report,
    .command-dashboard-grid.no-admin-report {
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-rows: none !important;
        grid-auto-rows: auto;
        align-items: start;
        gap: 1rem;
    }

    .command-dashboard-grid.has-admin-report {
        grid-template-areas:
            "links"
            "report"
            "attention"
            "recent" !important;
    }

    .command-dashboard-grid.no-admin-report {
        grid-template-areas:
            "links"
            "attention"
            "recent" !important;
    }

    .dashboard-panel-links,
    .dashboard-panel-report,
    .dashboard-panel-attention,
    .dashboard-panel-recent {
        height: auto;
        min-height: 0;
        overflow: visible;
    }

    .attention-item {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .attention-action {
        grid-column: 1 / -1;
        justify-content: flex-start;
        padding-left: 3.25rem;
    }

}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .command-summary-grid {
        grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
        justify-content: stretch;
    }

    .command-dashboard-grid,
    .command-dashboard-grid.has-admin-report,
    .command-dashboard-grid.no-admin-report {
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-rows: none !important;
        grid-auto-rows: auto;
        align-items: start;
    }

    .command-dashboard-grid.has-admin-report {
        grid-template-areas:
            "links"
            "report"
            "attention"
            "recent" !important;
    }

    .command-dashboard-grid.no-admin-report {
        grid-template-areas:
            "links"
            "attention"
            "recent" !important;
    }

    .command-panel-grid {
        height: auto;
        min-height: 0;
        overflow: visible;
    }

    .command-panel-scroll {
        overflow: visible;
        padding-right: 0;
    }

    .dashboard-panel-links,
    .dashboard-panel-report,
    .dashboard-panel-attention,
    .dashboard-panel-recent {
        height: auto;
        min-height: 0;
        overflow: visible;
    }
}


/* Center alignment for empty DataTables text and layout margins */
table.dataTable {
    margin-bottom: 1.25rem !important;
}

div.dataTables_wrapper div.dataTables_info,
div.dataTables_wrapper div.dataTables_paginate {
    margin-top: 0.75rem !important;
}

/* Sticky footer: keep the footer at the bottom when the page content is short. */
#wrapper {
    min-height: 100vh;
}

#content-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#content {
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;
    min-height: 100%;
}

.sticky-footer {
    margin-top: auto;
}

/* History collapse button: animated chevron + label swap */
.history-collapse-btn .history-chevron {
    display: inline-block;
    transition: transform 0.25s ease;
}

.history-collapse-btn[aria-expanded="false"] .history-chevron {
    transform: rotate(-90deg);
}
