    :root {
        --sidebar-width: 270px;
        --sidebar-collapsed-width: 78px;
        --sidebar-background: #17243a;
        --sidebar-hover: #233653;
        --sidebar-active: #0d6efd;
        --body-background: #f4f6f9;
    }

    * {
        box-sizing: border-box;
    }

    body {
        margin: 0;
        background: var(--body-background);
        font-family: Arial, Helvetica, sans-serif;
        color: #2d3748;
        overflow-x: hidden;
    }

    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: var(--sidebar-width);
        background: var(--sidebar-background);
        color: #fff;
        z-index: 1040;
        transition: width 0.25s ease, transform 0.25s ease;
        box-shadow: 3px 0 14px rgba(0, 0, 0, 0.12);
        overflow-x: hidden;
    }

    .sidebar-header {
        height: 70px;
        display: flex;
        align-items: center;
        padding: 0 22px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        white-space: nowrap;
    }

    .sidebar-logo {
        width: 38px;
        height: 38px;
        min-width: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        background: var(--sidebar-active);
        font-size: 20px;
        margin-right: 12px;
    }

    .sidebar-title {
        font-size: 17px;
        font-weight: 700;
        transition: opacity 0.2s ease;
    }

    .sidebar-menu {
        padding: 18px 12px;
        list-style: none;
        margin: 0;
    }

    .sidebar-menu li {
        margin-bottom: 5px;
    }

    .sidebar-menu a {
        min-height: 46px;
        display: flex;
        align-items: center;
        padding: 10px 13px;
        border-radius: 8px;
        color: #c9d4e5;
        text-decoration: none;
        white-space: nowrap;
        transition: 0.2s ease;
    }

    .sidebar-menu a:hover {
        background: var(--sidebar-hover);
        color: #fff;
    }

    .sidebar-menu a.active {
        color: #fff;
        background: var(--sidebar-active);
        box-shadow: 0 5px 12px rgba(13, 110, 253, 0.28);
    }

    .sidebar-menu i {
        width: 28px;
        min-width: 28px;
        text-align: center;
        margin-right: 12px;
        font-size: 18px;
    }

    .sidebar-menu span {
        transition: opacity 0.2s ease;
    }

    .main-wrapper {
        margin-left: var(--sidebar-width);
        min-height: 100vh;
        transition: margin-left 0.25s ease;
    }

    .topbar {
        height: 70px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 25px;
        background: #fff;
        border-bottom: 1px solid #e7eaf0;
        position: sticky;
        top: 0;
        z-index: 1020;
    }

    .menu-toggle {
        border: 0;
        background: transparent;
        color: #445166;
        font-size: 25px;
        padding: 5px;
    }

    .topbar-user {
        display: flex;
        align-items: center;
        gap: 11px;
    }

    .user-avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: #e8f1ff;
        color: #0d6efd;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 19px;
    }

    .user-name {
        font-weight: 600;
        font-size: 14px;
        margin: 0;
    }

    .user-role {
        font-size: 12px;
        color: #8490a3;
        margin: 0;
    }

    .page-content {
        padding: 25px;
    }

    .page-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 24px;
    }

    .page-title {
        font-size: 25px;
        font-weight: 700;
        margin-bottom: 3px;
    }

    .page-description {
        color: #7a869a;
        margin: 0;
    }

    .stat-card {
        border: 0;
        border-radius: 14px;
        box-shadow: 0 4px 18px rgba(50, 60, 80, 0.07);
        height: 100%;
        overflow: hidden;
    }

    .stat-card .card-body {
        padding: 21px;
    }

    .stat-card-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .stat-title {
        font-size: 13px;
        color: #7d899b;
        text-transform: uppercase;
        font-weight: 600;
        margin-bottom: 8px;
    }

    .stat-value {
        font-size: 28px;
        font-weight: 700;
        color: #263044;
        margin-bottom: 3px;
    }

    .stat-detail {
        font-size: 12px;
        color: #8290a6;
    }

    .stat-icon {
        width: 54px;
        height: 54px;
        border-radius: 13px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
    }

    .icon-blue {
        background: #e8f1ff;
        color: #0d6efd;
    }

    .icon-green {
        background: #e7f8ef;
        color: #198754;
    }

    .icon-orange {
        background: #fff2dc;
        color: #f29d13;
    }

    .icon-purple {
        background: #f2eafe;
        color: #7f56d9;
    }

    .content-card {
        border: 0;
        border-radius: 14px;
        box-shadow: 0 4px 18px rgba(50, 60, 80, 0.07);
    }

    .content-card .card-header {
        background: #fff;
        padding: 19px 22px;
        border-bottom: 1px solid #edf0f4;
        border-radius: 14px 14px 0 0;
    }

    .content-card .card-header h5 {
        margin: 0;
        font-size: 17px;
        font-weight: 700;
    }

    .table {
        margin-bottom: 0;
    }

    .table thead th {
        font-size: 12px;
        color: #748096;
        text-transform: uppercase;
        font-weight: 700;
        border-bottom-width: 1px;
        padding: 15px 18px;
        background: #fafbfc;
    }

    .table tbody td {
        padding: 15px 18px;
        vertical-align: middle;
        border-color: #eef1f5;
        font-size: 14px;
    }

    .usuarios-table-wrapper .dt-container {
        padding: 18px 22px 22px;
    }

    .usuarios-table-wrapper .dt-layout-row:first-child {
        margin-top: 0;
    }

    .usuarios-table-wrapper .dt-search input,
    .usuarios-table-wrapper .dt-length select {
        border-color: #dfe4eb;
        border-radius: 7px;
    }

    .file-icon {
        width: 38px;
        height: 38px;
        border-radius: 9px;
        background: #e8f1ff;
        color: #0d6efd;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
    }

    .quick-action {
        border: 1px solid #e8ecf1;
        border-radius: 12px;
        padding: 16px;
        display: flex;
        align-items: center;
        text-decoration: none;
        color: #344054;
        transition: 0.2s ease;
        margin-bottom: 12px;
    }

    .quick-action:hover {
        border-color: #0d6efd;
        background: #f8fbff;
        color: #0d6efd;
        transform: translateY(-1px);
    }

    .quick-action i {
        width: 42px;
        height: 42px;
        border-radius: 10px;
        margin-right: 13px;
        background: #e8f1ff;
        color: #0d6efd;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 19px;
    }

    .quick-action strong {
        display: block;
        font-size: 14px;
    }

    .quick-action small {
        color: #8590a3;
    }

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

    body.sidebar-collapsed .main-wrapper {
        margin-left: var(--sidebar-collapsed-width);
    }

    body.sidebar-collapsed .sidebar-title,
    body.sidebar-collapsed .sidebar-menu span {
        opacity: 0;
        pointer-events: none;
        display: none;
    }

    body.sidebar-collapsed .sidebar-header {
        justify-content: center;
        padding-inline: 0;
    }

    body.sidebar-collapsed .sidebar-logo {
        margin-right: 0;
    }

    body.sidebar-collapsed .sidebar-menu a {
        justify-content: center;
        padding-inline: 0;
    }

    body.sidebar-collapsed .sidebar-menu i {
        margin-right: 0;
    }

    .sidebar-overlay {
        display: none;
    }

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

        .main-wrapper,
        body.sidebar-collapsed .main-wrapper {
            margin-left: 0;
        }

        body.sidebar-mobile-open .sidebar {
            transform: translateX(0);
        }

        body.sidebar-mobile-open .sidebar-overlay {
            display: block;
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.4);
            z-index: 1030;
        }

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

        body.sidebar-collapsed .sidebar-title,
        body.sidebar-collapsed .sidebar-menu span {
            opacity: 1;
            display: block;
        }

        body.sidebar-collapsed .sidebar-menu a {
            justify-content: flex-start;
            padding: 10px 13px;
        }

        body.sidebar-collapsed .sidebar-menu i {
            margin-right: 12px;
        }

        body.sidebar-collapsed .sidebar-header {
            justify-content: flex-start;
            padding: 0 22px;
        }

        body.sidebar-collapsed .sidebar-logo {
            margin-right: 12px;
        }
    }

    @media (max-width: 575.98px) {
        .page-content {
            padding: 18px 14px;
        }

        .topbar {
            padding: 0 15px;
        }

        .user-info {
            display: none;
        }

        .page-header {
            align-items: flex-start;
            flex-direction: column;
            gap: 14px;
        }
    }

.listagem-acao,
.listagem-acao:hover,
.listagem-acao:focus {
    color: #000;
}

.listagem-acao:hover,
.listagem-acao:focus {
    background-color: var(--bs-tertiary-bg);
}
