body.dark-mode {
    background-color: #151b26;
    color: #e9ecef;
}

body.dark-mode .page,
body.dark-mode .page-main {
    background-color: #151b26;
}

body.dark-mode .header,
body.dark-mode .footer,
body.dark-mode .card,
body.dark-mode .dropdown-menu,
body.dark-mode .form-control,
body.dark-mode .input-group-text,
body.dark-mode .table,
body.dark-mode .list-group-item,
body.dark-mode .dropdown-toggle,
body.dark-mode .modal-content {
    background-color: #1f2937 !important;
    color: #e9ecef !important;
    border-color: #374151 !important;
}

body.dark-mode .nav-link,
body.dark-mode .text-dark,
body.dark-mode .text-body,
body.dark-mode .dropdown-item,
body.dark-mode .card-title,
body.dark-mode .form-label,
body.dark-mode label,
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6,
body.dark-mode p,
body.dark-mode span,
body.dark-mode small,
body.dark-mode td,
body.dark-mode th {
    color: #e9ecef !important;
}

body.dark-mode .text-muted {
    color: #adb5bd !important;
}

body.dark-mode .form-control::placeholder {
    color: #9ca3af !important;
}

body.dark-mode .form-control {
    background-color: #111827 !important;
}

body.dark-mode .form-control:focus {
    background-color: #111827 !important;
    color: #fff !important;
    border-color: #467fcf !important;
    box-shadow: 0 0 0 0.2rem rgba(23, 107, 185, 0.15) !important;
}

body.dark-mode .dropdown-item:hover,
body.dark-mode .dropdown-item:focus {
    background-color: #2b3545 !important;
    color: #fff !important;
}

body.dark-mode .table thead th {
    border-bottom-color: #374151 !important;
}

body.dark-mode .table td,
body.dark-mode .table th {
    border-top-color: #374151 !important;
}

body.dark-mode a {
    color: #ffffff;
}

body.dark-mode a:hover {
    color: #467fcf;
}

body.dark-mode .btn-outline-primary,
body.dark-mode .btn-sm {
   
    color: #fff !important;
}

body.dark-mode .form-help,
body.dark-mode .popover-body {
    background-color: #111827;
    
}

body.dark-mode .grupo-data-idade {
    background-color: #2b3545; 
}

body.dark-mode .choices__inner,
body.dark-mode .choices__input, 
body.dark-mode .choices__input--cloned,
body.dark-mode .choices__list--dropdown,
body.dark-mode .choices__list {
    background-color: #111827; 
    color: #fff;
}

body.dark-mode .form-control.is-valid {
    border-color: #28a745 !important;
    background-color: #111827 !important;
    color: #fff !important;
}

body.dark-mode .form-control.is-invalid {
    border-color: #dc3545 !important;
    background-color: #111827 !important;
    color: #fff !important;
}

body.dark-mode .btn-toggle-observacao {
    color: #467fcf;
}

body.dark-mode .alert-light {
    background-color: #111827;
    color: #fff;
}

body.dark-mode .bg-light {
    background-color: #2b3545 !important;
}

body.dark-mode .situacao-tag{
    background-color: #2b3545 !important;
}

body.dark-mode .social-section-toggle,
body.dark-mode .social-question-title,
body.dark-mode .social-section-card,
body.dark-mode .social-question-card {
    background-color: #2b3545;
    color: #fff;
}

body.dark-mode .px-3 {
    background-color: #2b3545 !important;
}

body.dark-mode .card-header,
body.dark-mode .history-line,
body.dark-mode .card-footer {
    background-color: #2b3545;
}

body.dark-mode .history-badge-create {
    background-color: #28a745;
}

body.dark-mode .history-badge-update {
    background-color: #007bff;
}

body.dark-mode .history-badge-delete {
    background-color: #dc3545;
}

body.dark-mode .close {
    color: #fff;
}

body.dark-mode .offcanvas-header-pesquisa,
body.dark-mode .offcanvas-body-pesquisa {
    background-color: #2b3545;
}

body.dark-mode .avatar {
    background-color: #111827;
}

body.dark-mode .btn-outline-success {
    color: #fff !important;
}

body.dark-mode .close {
    color: #316100;
}

body.dark-mode .badge-light2 {
     background-color: #1f2937;
}

body.dark-mode .info-view-item {
     background-color: #1f2937;
}

body.dark-mode .cid-view-item {
     background-color: #1f2937;
}

body.dark-mode .text-view, 
body.dark-mode .info-view-value {
    color: #fff;
}

body.dark-mode .situacao-view-card,
body.dark-mode .card-view-oficina {
    background-color: #2b3545 !important;
}

body.dark-mode .button1, 
body.dark-mode .button2 {
    background-color: #1f2937;
}

body.dark-mode .bg-white {
    background-color: #1f2937 !important;
}

body.dark-mode .btn-secondary {
    color: #000 !important;
}

body.dark-mode .dashboard-offcanvas-panel {
    background-color: #1f2937;
}

body.dark-mode .leaflet-control-zoom a,
body.dark-mode .leaflet-control-layers,
body.dark-mode .leaflet-control-layers-expanded,
body.dark-mode .leaflet-control-layers-toggle,
body.dark-mode .leaflet-control,
body.dark-mode .leaflet-control-layers-selector,
body.dark-mode .leaflet-control-layers-base,
body.dark-mode .leaflet-control-layers-overlays,
body.dark-mode .leaflet-control-layers-separator {
    background-color: #1f2937;
}

body.dark-mode .pesquisa-loading-card {
    background-color: #1f2937;
}

body.dark-mode .a11y-header,
body.dark-mode .a11y-footer,
body.dark-mode .a11y-struct-header,
body.dark-mode .a11y-tag-label {
    background-color: #2b3545;
    color: #fff;
}

body.dark-mode .a11y-content,
body.dark-mode .a11y-struct-content {
    background-color: #1f2937;
}

body.dark-mode .a11y-btn {
    background-color: #2b3545;
}

body.dark-mode .a11y-badge {
    background-color: #dbeafe;
    color: #295a9f !important;
    border: #295a9f;
}

body.dark-mode .a11y-btn[data-action="reset"] span,
body.dark-mode .a11y-btn[data-action="reset"] {
    background-color: #fee2e2;
    color: #ef4444 !important;
    
}

body.dark-mode .a11y-struct-close {
    color: #fff;
}

body.dark-mode .offcanvas-panel-pesquisa {
    background-color: #2b3545;
}

body.dark-mode .perfil-stat-card {
    background-color: #2b3545;
    border: #2b3545;
}