/* dark-lib.css — regras do modo escuro para bibliotecas e componentes padrão (ApexCharts, tooltips, modais, alertas, tabelas, abas, paginação, select2…).
   Veio do antigo dark-generated.css (gerado) depois que as telas passaram a usar tokens; as regras de tela própria foram descartadas.
   Agora é arquivo escrito à mão: edite aqui. */
html[data-theme="dark"] .h1,
html[data-theme="dark"] .h2,
html[data-theme="dark"] .h3,
html[data-theme="dark"] .h4,
html[data-theme="dark"] .h5,
html[data-theme="dark"] .h6 { color: var(--ink); }
html[data-theme="dark"] .box.box-primary { border-top-color: var(--accent); }
html[data-theme="dark"] .box.box-info { border-top-color: var(--accent); }
html[data-theme="dark"] .box.box-success { border-top-color: rgb(46, 158, 91); }
html[data-theme="dark"] .box.box-warning { border-top-color: rgb(224, 161, 6); }
html[data-theme="dark"] .box.box-danger { border-top-color: rgb(217, 83, 79); }
html[data-theme="dark"] .box.box-solid.box-primary > .box-header,
html[data-theme="dark"] .box.box-solid.box-info > .box-header { background-color: var(--accent); }
html[data-theme="dark"] .small-box > .small-box-footer { background-color: rgba(0, 0, 0, 0.08); }
html[data-theme="dark"] .grid-view .summary { color: var(--muted); }
html[data-theme="dark"] .select2-container--krajee .select2-results__option--highlighted[aria-selected] { background-color: var(--accent); }
html[data-theme="dark"] .alert { border-top-color: transparent; border-right-color: transparent; border-bottom-color: transparent; border-left-color: transparent; }
html[data-theme="dark"] .nav-tabs > li.active > a:focus { color: var(--ink); }
html[data-theme="dark"] .nav-tabs-custom > .nav-tabs > li.active { border-top-color: var(--accent); }
html[data-theme="dark"] .nav-pills > li.active > a,
html[data-theme="dark"] .nav-pills > li.active > a:hover,
html[data-theme="dark"] .nav-pills > li.active > a:focus { background-color: var(--accent); }
html[data-theme="dark"] .pagination > li > a:hover { background-color: var(--accent-soft); }
html[data-theme="dark"] .pagination > .active > a:hover { background-color: var(--accent); }
html[data-theme="dark"] .dropdown-menu > li > a:hover,
html[data-theme="dark"] .dropdown-menu > li > a:focus { background-color: var(--accent-soft); color: var(--accent-dark); }
html[data-theme="dark"] .login-box-body,
html[data-theme="dark"] .register-box-body { border-top-color: currentcolor; border-right-color: currentcolor; border-bottom-color: currentcolor; border-left-color: currentcolor; }
html[data-theme="dark"] .login-box-msg { color: var(--muted); }
html[data-theme="dark"] .progress-bar { background-color: var(--accent); }
html[data-theme="dark"] .table-responsive,
html[data-theme="dark"] .grid-view > .table-responsive { border-top-color: currentcolor; border-right-color: currentcolor; border-bottom-color: currentcolor; border-left-color: currentcolor; }
html[data-theme="dark"] .crud-modern .table-bordered,
html[data-theme="dark"] .crud-modern .table-bordered > thead > tr > th,
html[data-theme="dark"] .crud-modern .table-bordered > tbody > tr > td { border-right-color: currentcolor; border-left-color: currentcolor; }
html[data-theme="dark"] .crud-modern .nav-tabs { border-bottom-color: #34373c; }
html[data-theme="dark"] .skin-blue .main-header .navbar-custom-menu .dropdown-menu > li > a { color: var(--ui-ink-2) !important; }
html[data-theme="dark"] .skin-blue .main-header .navbar-custom-menu .dropdown-menu > li > a:hover { color: var(--ui-ink) !important; }
html[data-theme="dark"] .skin-blue .main-header .navbar-nav > .user-menu > .dropdown-menu > li.user-footer .btn-default { color: var(--ui-ink-2); }
html[data-theme="dark"] .skin-blue .main-header .navbar-nav > .user-menu > .dropdown-menu > li.user-footer .btn-default:hover { color: var(--ui-ink); }
html[data-theme="dark"] .skin-blue .main-sidebar,
html[data-theme="dark"] .skin-blue .left-side { border-right-color: currentcolor; }
html[data-theme="dark"] .skin-blue .main-header .navbar-nav > .user-menu > .dropdown-menu > li.user-header > p { color: var(--ui-ink); }
html[data-theme="dark"] .skin-blue .main-header .navbar-nav > .user-menu > .dropdown-menu > li.user-header > p > small { color: var(--ui-muted); }
html[data-theme="dark"] .content-wrapper .alert:not(.alert-custom) a { color: #8cc2e3; }
html[data-theme="dark"] .content-wrapper .alert:not(.alert-custom) > .icon,
html[data-theme="dark"] .content-wrapper .alert:not(.alert-custom) > i.fa:first-of-type { background-color: rgb(152, 162, 179); color: rgb(255, 255, 255) !important; }
html[data-theme="dark"] .content-wrapper .alert-danger:not(.alert-custom) { border-left-color: rgb(214, 69, 69) !important; }
html[data-theme="dark"] .content-wrapper .alert-success:not(.alert-custom) { border-left-color: rgb(39, 174, 96) !important; }
html[data-theme="dark"] .content-wrapper .alert-info:not(.alert-custom) { border-left-color: rgb(60, 141, 188) !important; }
html[data-theme="dark"] .content-wrapper .alert-warning:not(.alert-custom) { border-left-color: rgb(243, 156, 18) !important; }
html[data-theme="dark"] .content-wrapper .alert-danger:not(.alert-custom) > .icon,
html[data-theme="dark"] .content-wrapper .alert-danger:not(.alert-custom) > i.fa:first-of-type { background-color: rgb(214, 69, 69); }
html[data-theme="dark"] .content-wrapper .alert-success:not(.alert-custom) > .icon,
html[data-theme="dark"] .content-wrapper .alert-success:not(.alert-custom) > i.fa:first-of-type { background-color: rgb(39, 174, 96); }
html[data-theme="dark"] .content-wrapper .alert-info:not(.alert-custom) > .icon,
html[data-theme="dark"] .content-wrapper .alert-info:not(.alert-custom) > i.fa:first-of-type { background-color: rgb(60, 141, 188); }
html[data-theme="dark"] .content-wrapper .alert-warning:not(.alert-custom) > .icon,
html[data-theme="dark"] .content-wrapper .alert-warning:not(.alert-custom) > i.fa:first-of-type { background-color: rgb(243, 156, 18); }
html[data-theme="dark"] #idleWatch .iw-modal { background-color: rgba(0, 0, 0, 0.55); }
html[data-theme="dark"] .bi table.t thead th { color: var(--ui-muted); }
html[data-theme="dark"] .apexcharts-canvas ::-webkit-scrollbar-thumb { background-color: rgba(0, 0, 0, 0.5); }
html[data-theme="dark"] .apexcharts-tooltip.apexcharts-theme-light { background-color: rgba(17, 24, 39, 0.96); border-top-color: #334155; border-right-color: #334155; border-bottom-color: #334155; border-left-color: #334155; }
html[data-theme="dark"] .apexcharts-tooltip.apexcharts-theme-dark { background-color: rgba(30, 30, 30, 0.8); color: rgb(255, 255, 255); }
html[data-theme="dark"] .apexcharts-tooltip.apexcharts-theme-light .apexcharts-tooltip-title { background-color: #1f2937; border-bottom-color: #334155; }
html[data-theme="dark"] .apexcharts-tooltip.apexcharts-theme-dark .apexcharts-tooltip-title { background-color: rgba(0, 0, 0, 0.7); border-bottom-color: rgb(51, 51, 51); }
html[data-theme="dark"] .apexcharts-tooltip-rangebar .category { color: #cbd5e1; }
html[data-theme="dark"] .apexcharts-xaxistooltip.apexcharts-theme-dark { background-color: rgba(0, 0, 0, 0.7); color: rgb(255, 255, 255); border-top-color: rgba(0, 0, 0, 0.5); border-right-color: rgba(0, 0, 0, 0.5); border-bottom-color: rgba(0, 0, 0, 0.5); border-left-color: rgba(0, 0, 0, 0.5); }
html[data-theme="dark"] .apexcharts-xaxistooltip::after,
html[data-theme="dark"] .apexcharts-xaxistooltip::before { border-top-color: transparent; border-right-color: transparent; border-bottom-color: transparent; border-left-color: transparent; }
html[data-theme="dark"] .apexcharts-xaxistooltip::after { border-top-color: transparent; border-right-color: transparent; border-bottom-color: transparent; border-left-color: transparent; }
html[data-theme="dark"] .apexcharts-xaxistooltip::before { border-top-color: transparent; border-right-color: transparent; border-bottom-color: transparent; border-left-color: transparent; }
html[data-theme="dark"] .apexcharts-xaxistooltip-bottom::after { border-bottom-color: #273244; }
html[data-theme="dark"] .apexcharts-xaxistooltip-bottom::before { border-bottom-color: rgb(144, 164, 174); }
html[data-theme="dark"] .apexcharts-xaxistooltip-bottom.apexcharts-theme-dark::after,
html[data-theme="dark"] .apexcharts-xaxistooltip-bottom.apexcharts-theme-dark::before { border-bottom-color: rgba(0, 0, 0, 0.5); }
html[data-theme="dark"] .apexcharts-xaxistooltip-top::after { border-top-color: #273244; }
html[data-theme="dark"] .apexcharts-xaxistooltip-top::before { border-top-color: rgb(144, 164, 174); }
html[data-theme="dark"] .apexcharts-xaxistooltip-top.apexcharts-theme-dark::after,
html[data-theme="dark"] .apexcharts-xaxistooltip-top.apexcharts-theme-dark::before { border-top-color: rgba(0, 0, 0, 0.5); }
html[data-theme="dark"] .apexcharts-yaxistooltip.apexcharts-theme-dark { background-color: rgba(0, 0, 0, 0.7); color: rgb(255, 255, 255); border-top-color: rgba(0, 0, 0, 0.5); border-right-color: rgba(0, 0, 0, 0.5); border-bottom-color: rgba(0, 0, 0, 0.5); border-left-color: rgba(0, 0, 0, 0.5); }
html[data-theme="dark"] .apexcharts-yaxistooltip::after,
html[data-theme="dark"] .apexcharts-yaxistooltip::before { border-top-color: transparent; border-right-color: transparent; border-bottom-color: transparent; border-left-color: transparent; }
html[data-theme="dark"] .apexcharts-yaxistooltip::after { border-top-color: transparent; border-right-color: transparent; border-bottom-color: transparent; border-left-color: transparent; }
html[data-theme="dark"] .apexcharts-yaxistooltip::before { border-top-color: transparent; border-right-color: transparent; border-bottom-color: transparent; border-left-color: transparent; }
html[data-theme="dark"] .apexcharts-yaxistooltip-left::after { border-left-color: #273244; }
html[data-theme="dark"] .apexcharts-yaxistooltip-left::before { border-left-color: rgb(144, 164, 174); }
html[data-theme="dark"] .apexcharts-yaxistooltip-left.apexcharts-theme-dark::after,
html[data-theme="dark"] .apexcharts-yaxistooltip-left.apexcharts-theme-dark::before { border-left-color: rgba(0, 0, 0, 0.5); }
html[data-theme="dark"] .apexcharts-yaxistooltip-right::after { border-right-color: #273244; }
html[data-theme="dark"] .apexcharts-yaxistooltip-right::before { border-right-color: rgb(144, 164, 174); }
html[data-theme="dark"] .apexcharts-yaxistooltip-right.apexcharts-theme-dark::after,
html[data-theme="dark"] .apexcharts-yaxistooltip-right.apexcharts-theme-dark::before { border-right-color: rgba(0, 0, 0, 0.5); }
html[data-theme="dark"] .apexcharts-menu-icon,
html[data-theme="dark"] .apexcharts-pan-icon,
html[data-theme="dark"] .apexcharts-reset-icon,
html[data-theme="dark"] .apexcharts-selection-icon,
html[data-theme="dark"] .apexcharts-toolbar-custom-icon,
html[data-theme="dark"] .apexcharts-zoom-icon,
html[data-theme="dark"] .apexcharts-zoomin-icon,
html[data-theme="dark"] .apexcharts-zoomout-icon { color: #94a3b8; }
html[data-theme="dark"] .apexcharts-theme-light .apexcharts-menu-item:hover { background-color: #1f2937; }
html[data-theme="dark"] .apexcharts-theme-dark .apexcharts-menu { background-color: rgba(0, 0, 0, 0.7); color: rgb(255, 255, 255); }
html[data-theme="dark"] .resize-triggers > div { background-color: #1f2937; }
html[data-theme="dark"] .bi table.mes tfoot td { border-bottom-color: currentcolor; }
html[data-theme="dark"] .bi table.mes thead th { color: var(--ui-muted); }
html[data-theme="dark"] .bi .callout.warn { border-left-color: var(--ui-danger); }
html[data-theme="dark"] .gd-cal .datepicker-inline { background-color: transparent; border-top-color: currentcolor; border-right-color: currentcolor; border-bottom-color: currentcolor; border-left-color: currentcolor; }
html[data-theme="dark"] .gd .alert a { color: inherit; }
html[data-theme="dark"] .cs-card .table-responsive { background-color: transparent; border-top-color: currentcolor; border-right-color: currentcolor; border-bottom-color: currentcolor; border-left-color: currentcolor; }
html[data-theme="dark"] table.cs-t > thead > tr > th { background-color: transparent; }
html[data-theme="dark"] table.cs-t > thead > tr.cs-filters .input-group .input-group-addon { background-color: transparent !important; color: var(--ui-muted); border-top-color: currentcolor !important; border-right-color: currentcolor !important; border-bottom-color: currentcolor !important; border-left-color: currentcolor !important; }
html[data-theme="dark"] table.cs-t > thead > tr.cs-filters .input-group .form-control { background-color: transparent !important; border-top-color: currentcolor !important; border-right-color: currentcolor !important; border-bottom-color: currentcolor !important; border-left-color: currentcolor !important; }
html[data-theme="dark"] table.cs-t > thead > tr.cs-filters .input-group .cs-clear { color: var(--ui-faint); }
html[data-theme="dark"] table.cs-t > thead > tr.cs-filters .input-group .cs-clear:hover { color: var(--ui-danger-ink); }
html[data-theme="dark"] .fb-table thead th { color: var(--ui-ink-2); }
html[data-theme="dark"] .fd-modal { background-color: rgba(0, 0, 0, 0.6); }
html[data-theme="dark"] .fraud-review-modal { background-color: rgba(0, 0, 0, 0.85); }
html[data-theme="dark"] .fraud-review-modal-close { background-color: initial; color: rgb(255, 255, 255); border-top-color: currentcolor; border-right-color: currentcolor; border-bottom-color: currentcolor; border-left-color: currentcolor; }
html[data-theme="dark"] .grid-view { border-top-color: currentcolor; border-right-color: currentcolor; border-bottom-color: currentcolor; border-left-color: currentcolor; }
html[data-theme="dark"] .table-responsive { border-top-color: currentcolor !important; border-right-color: currentcolor !important; border-bottom-color: currentcolor !important; border-left-color: currentcolor !important; }
html[data-theme="dark"] .table thead th { color: var(--ui-ink-2); }
html[data-theme="dark"] .grid-view .filters select { background-color: var(--ui-surface-2); }
html[data-theme="dark"] .alert-custom { color: var(--ui-ink) !important; border-top-color: currentcolor; border-right-color: currentcolor; border-bottom-color: currentcolor; }
html[data-theme="dark"] .op-tabs > .nav-tabs > li > a { color: var(--ui-muted); }
html[data-theme="dark"] .op-tabs > .nav-tabs > li.active > a { color: var(--ui-ink); border-top-color: var(--ui-violet); }
html[data-theme="dark"] #usermon table.um-table th { color: var(--ui-muted); border-top-color: currentcolor; border-right-color: currentcolor; border-bottom-color: currentcolor; border-left-color: currentcolor; }
html[data-theme="dark"] .modal-header.bg-red { background-color: var(--ui-danger) !important; color: white !important; }
html[data-theme="dark"] .modal-header.bg-yellow { background-color: var(--ui-warn) !important; color: white !important; }
