body.dark-mode {
    background: #0b1120 !important;
    color: #e2e8f0 !important;
}

body.dark-mode .fa,
body.dark-mode .fas,
body.dark-mode .far,
body.dark-mode .fab,
body.dark-mode .ni {
    color: #cbd5e1 !important;
}

body.dark-mode a,
body.dark-mode .text-muted,
body.dark-mode .breadcrumb a,
body.dark-mode .navbar .nav-link,
body.dark-mode .dropdown-item,
body.dark-mode .btn-link {
    color: #cbd5e1 !important;
}

body.dark-mode .navbar.navbar-dark.bg-primary,
body.dark-mode .navbar.navbar-dark.bg-default,
body.dark-mode .container-fluid.bg-primary,
body.dark-mode .bg-primary,
body.dark-mode .bg-default,
body.dark-mode .bg-secondary,
body.dark-mode .bg-white {
    background-color: #0f172a !important;
    color: #e2e8f0 !important;
}

body.dark-mode .card,
body.dark-mode .modal-content,
body.dark-mode .dropdown-menu,
body.dark-mode .footer,
body.dark-mode .alert {
    background-color: #111827 !important;
    border-color: #1f2937 !important;
    color: #e2e8f0 !important;
}

body.dark-mode .card .card-body,
body.dark-mode .card .card-header,
body.dark-mode .card .card-footer,
body.dark-mode .table th,
body.dark-mode .table td,
body.dark-mode .table thead th,
body.dark-mode .table tbody tr,
body.dark-mode .page-item .page-link {
    color: #e2e8f0 !important;
}

body.dark-mode .pagination .page-link,
body.dark-mode .pagination .page-item.active .page-link,
body.dark-mode .pagination .page-item.disabled .page-link {
    background-color: #1f2937 !important;
    border-color: #334155 !important;
    color: #e2e8f0 !important;
}

body.dark-mode .pagination .page-item.active .page-link {
    background-color: #2563eb !important;
    border-color: #2563eb !important;
    color: #fff !important;
}

body.dark-mode .table thead.thead-light th,
body.dark-mode .table thead.thead-light {
    background-color: #1f2937 !important;
    color: #e2e8f0 !important;
    border-color: #334155 !important;
}

body.dark-mode .table thead.thead-light th {
    color: #e2e8f0 !important;
}

body.dark-mode .form-control,
body.dark-mode .form-control:focus,
body.dark-mode .input-group-text,
body.dark-mode .form-select,
body.dark-mode .custom-select {
    background-color: #1f2937 !important;
    color: #e2e8f0 !important;
    border-color: #334155 !important;
}

body.dark-mode .form-control::placeholder,
body.dark-mode .form-select option,
body.dark-mode .custom-select option {
    color: #94a3b8 !important;
}

body.dark-mode .btn-primary {
    background-color: #2563eb !important;
    border-color: #2563eb !important;
}

body.dark-mode .btn-secondary {
    background-color: #475569 !important;
    border-color: #475569 !important;
}

body.dark-mode .btn-outline-primary {
    color: #93c5fd !important;
    border-color: #2563eb !important;
}

body.dark-mode .btn-outline-primary.active,
body.dark-mode .btn-outline-primary:active,
body.dark-mode .btn-outline-primary:focus {
    background-color: #2563eb !important;
    border-color: #2563eb !important;
    color: #fff !important;
}

body.dark-mode .alert a,
body.dark-mode .alert .alert-link {
    color: #aac4ff !important;
}

body.dark-mode .navbar .dropdown-menu {
    background-color: #111827 !important;
}

body.dark-mode .shortcut-item,
body.dark-mode .shortcut-item:hover {
    background-color: #111827 !important;
}

body.dark-mode .avatar {
    border: 1px solid #334155;
}

body.dark-mode .badge {
    background-color: #334155 !important;
    color: #e2e8f0 !important;
}

body.dark-mode .sidenav,
body.dark-mode .navbar-vertical,
body.dark-mode #sidenav-main,
body.dark-mode .sb-sidenav,
body.dark-mode .navbar-light.bg-grey {
    background-color: #0f172a !important;
    border-color: #1f2937 !important;
}

body.dark-mode .sidenav .navbar-brand,
body.dark-mode .sidenav-header,
body.dark-mode .sidenav .nav-link,
body.dark-mode .sidenav .nav-link:hover,
body.dark-mode .sidenav .nav-link.active,
body.dark-mode .sidenav .nav-link .sidenav-normal,
body.dark-mode .sidenav .nav-link .sidenav-mini-icon {
    color: #cbd5e1 !important;
}

body.dark-mode .sidenav .nav-link .fa,
body.dark-mode .sidenav .nav-link .fas,
body.dark-mode .sidenav .nav-link .far,
body.dark-mode .sidenav .nav-link .fab,
body.dark-mode .sidenav .nav-link .ni {
    color: #cbd5e1 !important;
}

body.dark-mode .sidenav .nav-link:hover {
    background-color: rgba(148, 163, 184, 0.08) !important;
}

body.dark-mode .sidenav .nav-link.active {
    background-color: rgba(59, 130, 246, 0.18) !important;
    color: #e2e8f0 !important;
}

body.dark-mode .card-header,
body.dark-mode .card-header.border-0,
body.dark-mode .card-header.bg-transparent,
body.dark-mode .card-header.bg-white,
body.dark-mode .card-header.bg-secondary,
body.dark-mode .card-header.bg-primary,
body.dark-mode .card-header.bg-default {
    background-color: #111827 !important;
    border-color: #1f2937 !important;
    color: #e2e8f0 !important;
}

body.dark-mode .card-header .btn,
body.dark-mode .card-header .dropdown-toggle,
body.dark-mode .card-header .nav-link {
    color: #e2e8f0 !important;
}

body.dark-mode .table td,
body.dark-mode .table th {
    background-color: #111827 !important;
}

body.dark-mode .table .btn,
body.dark-mode .table a.btn,
body.dark-mode .table button.btn {
    color: #e2e8f0 !important;
    box-shadow: none !important;
}

body.dark-mode .table .btn.btn-white {
    background-color: #334155 !important;
    border-color: #475569 !important;
    color: #e2e8f0 !important;
}

body.dark-mode .table .btn.btn-secondary {
    background-color: #475569 !important;
    border-color: #475569 !important;
    color: #e2e8f0 !important;
}

body.dark-mode .table .btn.btn-primary {
    background-color: #2563eb !important;
    border-color: #2563eb !important;
}

body.dark-mode .table .btn.btn-danger {
    background-color: #dc2626 !important;
    border-color: #dc2626 !important;
}

body.dark-mode .position-fixed button {
    background-color: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.16);
    color: #e2e8f0;
}

body.dark-mode .position-fixed button:hover {
    background-color: rgba(255,255,255,0.12);
}

/* Ícones no menu lateral */
body.dark-mode .sidenav .nav-link i.fa,
body.dark-mode .sidenav .nav-link i.fas,
body.dark-mode .sidenav .nav-link i.far,
body.dark-mode .sidenav .nav-link i.fab,
body.dark-mode .sidenav .nav-link i.ni,
body.dark-mode .sidenav .nav-link svg {
    color: #cbd5e1 !important;
    fill: #cbd5e1 !important;
}
