.dataTables_wrapper .dataTable td {
  font-weight: 400;
  font-size: 12px;
.aside-menu .menu-nav>.menu-item .menu-submenu .menu-item:not(.menu-item-parent):not(.menu-item-open):not(.menu-item-here):not(.menu-item-active):hover>.menu-heading,
.aside-menu .menu-nav>.menu-item .menu-submenu .menu-item:not(.menu-item-parent):not(.menu-item-open):not(.menu-item-here):not(.menu-item-active):hover>.menu-link {
  background-color: #3a254d !important;
}rtical-align: middle;
  color: #3f4254;
  -webkit-transition: color 0.15s ease, background-color 0.15s ease,
    border-color 0.15s ease, -webkit-box-shadow 0.15s ease;
  transition: color 0.15s ease, background-color 0.15s ease,
    border-color 0.15s ease, -webkit-box-shadow 0.15s ease;
  transition: color 0.15s ease, background-color 0.15s ease,
    border-color 0.15s ease, box-shadow 0.15s ease;
  transition: color 0.15s ease, background-color 0.15s ease,
    border-color 0.15s ease, box-shadow 0.15s ease,
    -webkit-box-shadow 0.15s ease;
  outline: none !important;
  padding: 5px 7px;
}

.bg-orange {
  background-color: #3a254d !important;
}

.bg-purple {
  background-color: #222222 !important;
}

.swal2-textarea {
  font-size: 13px !important;
  height: 250px !important;
}

.login-container {
  background-color: #3a254d;
}

/* Authentication page background color */
.login.login-4 {
  background-color: #2f2c4d !important;
}

.login.login-4 .login-container {
  background-color: #2f2c4d !important;
}

@media (min-width: 992px) {
  .login.login-4 .login-aside .login-conteiner {
    min-height: 100% !important;
    background-size: cover !important;
    background-position: center !important;
    background-color: #3a254d
  }
}

.login.login-4 .login-aside {
  background: linear-gradient(147.04deg, #ca7b70 0.74%, #5a2119 99.61%);
  width: 800px !important;
}

.card.card-custom>.card-header {
  background-color: #222222 !important;
}

.card.card-custom>.card-header .card-title .card-label {
  color: #fff !important;
}

.modal .modal-header {
  background-color: #222222 !important;
}

.modal .modal-header .modal-title {
  color: #fff !important;
}

.aside-menu .menu-nav>.menu-item.menu-item-open>.menu-heading,
.aside-menu .menu-nav>.menu-item.menu-item-open>.menu-link {
  background-color: #3a254d !important;
}

.aside-menu .menu-nav>.menu-item.menu-item-open>.menu-heading .menu-text,
.aside-menu .menu-nav>.menu-item.menu-item-open>.menu-link .menu-text {
  color: #222222 !important;
}

.aside-menu .menu-nav>.menu-item .menu-submenu .menu-item:not(.menu-item-parent):not(.menu-item-open):not(.menu-item-here):not(.menu-item-active):hover>.menu-heading,
.aside-menu .menu-nav>.menu-item .menu-submenu .menu-item:not(.menu-item-parent):not(.menu-item-open):not(.menu-item-here):not(.menu-item-active):hover>.menu-link {
  background-color: #3a254d !important;
}

.aside-menu .menu-nav>.menu-item.menu-item-open>.menu-heading .menu-icon.svg-icon svg g [fill],
.aside-menu .menu-nav>.menu-item.menu-item-open>.menu-link .menu-icon.svg-icon svg g [fill] {
  fill: #222222 !important;
}

/* Change all menu icons to gray */
.aside-menu .menu-nav .menu-item .menu-link .menu-icon.svg-icon svg g [fill] {
  fill: #8f98a0 !important;
}

.aside-menu .menu-nav .menu-item .menu-link .menu-icon.svg-icon svg path {
  fill: #7c6c7d !important;
}

.datatable.datatable-default>.datatable-table>.datatable-head .datatable-row>.datatable-cell,
.datatable.datatable-default>.datatable-table>.datatable-body .datatable-row>.datatable-cell,
.datatable.datatable-default>.datatable-table>.datatable-foot .datatable-row>.datatable-cell {
  vertical-align: middle;
  padding: 5px;
  font-size: 11px;
  text-transform: none;
}

.bootstrap-select .dropdown-menu.inner>li.selected>a {
  background: #d3edfa;
}

.dataTables_wrapper .dataTable th,
.dataTables_wrapper .dataTable td {
  font-size: 12px;
  padding: 7px;
}

label {
  width: 100%;
}

/* Sidebar text colors - force all text to be white */
.aside-menu .menu-nav > .menu-item > .menu-heading .menu-text,
.aside-menu .menu-nav > .menu-item > .menu-link .menu-text {
  color: #ffffff !important;
}

.aside-menu .menu-nav > .menu-item .menu-submenu .menu-item > .menu-heading .menu-text,
.aside-menu .menu-nav > .menu-item .menu-submenu .menu-item > .menu-link .menu-text {
  color: #ffffff !important;
}

.aside-menu .menu-nav > .menu-section .menu-text {
  color: #ffffff !important;
}

/* Override any hover states to maintain white text */
.aside-menu .menu-nav > .menu-item:hover > .menu-heading .menu-text,
.aside-menu .menu-nav > .menu-item:hover > .menu-link .menu-text {
  color: #ffffff !important;
}

.aside-menu .menu-nav > .menu-item.menu-item-active > .menu-heading .menu-text,
.aside-menu .menu-nav > .menu-item.menu-item-active > .menu-link .menu-text {
  color: #ffffff !important;
}

.aside-menu .menu-nav > .menu-item.menu-item-here > .menu-heading .menu-text,
.aside-menu .menu-nav > .menu-item.menu-item-here > .menu-link .menu-text {
  color: #ffffff !important;
}

.aside-menu .menu-nav > .menu-item.menu-item-open > .menu-heading .menu-text,
.aside-menu .menu-nav > .menu-item.menu-item-open > .menu-link .menu-text {
  color: #ffffff !important;
}

/* Sub menu items white text */
.aside-menu .menu-nav > .menu-item .menu-submenu .menu-item:hover > .menu-heading .menu-text,
.aside-menu .menu-nav > .menu-item .menu-submenu .menu-item:hover > .menu-link .menu-text {
  color: #ffffff !important;
}

.aside-menu .menu-nav > .menu-item .menu-submenu .menu-item.menu-item-active > .menu-heading .menu-text,
.aside-menu .menu-nav > .menu-item .menu-submenu .menu-item.menu-item-active > .menu-link .menu-text {
  color: #ffffff !important;
}

.aside-menu .menu-nav > .menu-item .menu-submenu .menu-item.menu-item-here > .menu-heading .menu-text,
.aside-menu .menu-nav > .menu-item .menu-submenu .menu-item.menu-item-here > .menu-link .menu-text {
  color: #ffffff !important;
}

.aside-menu .menu-nav > .menu-item .menu-submenu .menu-item.menu-item-open > .menu-heading .menu-text,
.aside-menu .menu-nav > .menu-item .menu-submenu .menu-item.menu-item-open > .menu-link .menu-text {
  color: #ffffff !important;
}

/* Global Button Text Colors - Force all buttons to have white text */
.btn,
button,
input[type="button"],
input[type="submit"],
input[type="reset"],
a.btn {
  color: #ffffff !important;
}

/* All Bootstrap button variants */
.btn-primary, .btn-secondary, .btn-success, .btn-danger, 
.btn-warning, .btn-info, .btn-light, .btn-dark,
.btn-outline-primary, .btn-outline-secondary, .btn-outline-success, 
.btn-outline-danger, .btn-outline-warning, .btn-outline-info, 
.btn-outline-light, .btn-outline-dark {
  color: #ffffff !important;
}

/* Custom button classes */
.btn-orange, .btn-purple, .btn-custom {
  color: #ffffff !important;
}

/* Button hover and focus states */
.btn:hover, .btn:focus, .btn:active,
button:hover, button:focus, button:active,
input[type="button"]:hover, input[type="button"]:focus,
input[type="submit"]:hover, input[type="submit"]:focus,
input[type="reset"]:hover, input[type="reset"]:focus {
  color: #ffffff !important;
}

/* DataTables buttons */
.dataTables_wrapper .dt-buttons .btn,
.dataTables_wrapper .dt-button {
  color: #ffffff !important;
}

/* Modal buttons */
.modal .btn, .modal button {
  color: #ffffff !important;
}

/* Card buttons */
.card .btn, .card button {
  color: #ffffff !important;
}

/* Refuse Button Styling - Red Background */
.btn-refuse,
.btn[class*="refuse" i],
button[class*="refuse" i],
.btn[data-action*="refuse" i],
button[data-action*="refuse" i] {
  background-color: #dc3545 !important;
  border-color: #dc3545 !important;
  color: #ffffff !important;
}

/* Refuse button hover and focus states */
.btn-refuse:hover, .btn-refuse:focus, .btn-refuse:active,
.btn[class*="refuse" i]:hover, .btn[class*="refuse" i]:focus,
button[class*="refuse" i]:hover, button[class*="refuse" i]:focus {
  background-color: #c82333 !important;
  border-color: #bd2130 !important;
  color: #ffffff !important;
}

/* Additional refuse button selectors by text content */
.btn[title*="refuse" i], .btn[title*="refus" i],
button[title*="refuse" i], button[title*="refus" i] {
  background-color: #dc3545 !important;
  border-color: #dc3545 !important;
  color: #ffffff !important;
}

/* Video section background color fix */
.login.login-4 .login-aside {
  background: #2f2c4d !important;
  background-color: #2f2c4d !important;
}

.login.login-4 .login-aside .login-conteiner {
  background: #2f2c4d !important;
  background-color: #2f2c4d !important;
}

/* ULTIMATE FIX: Violet background flash during page navigation */
html,
body,
body.page-loading,
body#kt_body,
body.kt_body {
  background-color: #ffffff !important;
  background: #ffffff !important;
  background-image: none !important;
}

/* MAXIMUM SPECIFICITY OVERRIDE */
html body,
html body.page-loading,
html body#kt_body,
html body.kt_body {
  background-color: #ffffff !important;
  background: #ffffff !important;
  background-image: none !important;
}

/* Target the specific theme that might be causing the issue */
body.header-fixed.header-mobile-fixed.subheader-enabled.subheader-fixed.aside-enabled.aside-fixed.aside-minimize-hoverable.page-loading {
  background-color: #ffffff !important;
  background: #ffffff !important;
}

/* Ensure main containers have white background */
.d-flex.flex-column.flex-root {
  background-color: #ffffff !important;
}

.content {
  background-color: #ffffff !important;
}

.wrapper {
  background-color: #ffffff !important;
}

/* Override any potential framework backgrounds */
.container, .container-fluid {
  background-color: transparent !important;
}

/* Additional page wrappers */
.page-wrapper, .main-wrapper {
  background-color: #ffffff !important;
}

/* Override page loader background */
.page-loader {
  background: #ffffff !important;
  background-color: #ffffff !important;
}

/* Logo size adjustment */
.brand-logo img {
  width: 150px !important;
  height: auto !important;
  max-width: 100% !important;
}

/* Adjust brand container for smaller logo */
.brand-logo {
  height: 150px !important;
  display: flex !important;
  align-items: center !important;
  margin: 10px 0 10px 20px !important;
}