.dx-data-row .editable:not(.dx-footer-row) {
    background: #FFF2CC !important;
}

[data-mode=dark] .dx-data-row .editable:not(.dx-footer-row) {
    background: #3b3b3b !important;
}


.dx-data-row .editableDarker:not(.dx-footer-row) {
    background: #FFDD7D !important;
}

[data-mode=dark] .dx-data-row .editableDarker:not(.dx-footer-row) {
    background: #3b3b3b !important;
}

/* Word wrapping for long text in DataGrid cells */
.dx-datagrid .dx-data-row td {
    white-space: normal !important;
    word-wrap: break-word !important;
}

/* Ensure proper row height adjustment */
.dx-datagrid .dx-data-row {
    height: auto !important;
}

/* Specific styling for comment cells */
.dx-datagrid .dx-data-row td div {
    max-width: 100%;
    overflow-wrap: break-word;
}

/* Sidebar navigation link styling */
.nav-link {
    padding: 8px 12px !important;
    border-radius: 4px !important;
}

.nav-link:hover:not(.active) {
    background-color: #f5f5f5 !important;
}

[data-mode=dark] .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
}

[data-mode=dark] .nav-link:hover:not(.active) {
    background-color: #ffffff1a !important;
}

/* Sidebar navigation base styles */
.nav-link {
    border-radius: 4px !important;
}

/* Sidebar navigation link active state */
.nav-link.active {
    background-color: #337ab7 !important;
    color: white !important;
}

[data-mode=dark] .nav-link.active {
    background-color: #337ab7 !important;
    color: white !important;
}

/* Submenu hover fix - keep text color consistent */
.sidebar ul.sub-menu li a:hover:not(.active) {
    color: inherit !important;
    background-color: #f5f5f5 !important;
}

[data-mode=dark] .sidebar ul.sub-menu li a:hover:not(.active) {
    color: inherit !important;
    background-color: #ffffff1a !important;
}

/* Submenu active state */
.sub-menu li a.active {
    background-color: #337ab7 !important;
    color: white !important;
}

[data-mode=dark] .sub-menu li a.active {
    background-color: #337ab7 !important;
    color: white !important;
}

/* Custom button with logo blue color */
button.btn-logo-blue {
    background-color: #337ab7 !important;
    border-color: #337ab7 !important;
}

button.btn-logo-blue:hover:not(:disabled) {
    background-color: #2868a0 !important;
    border-color: #2868a0 !important;
}

button.btn-logo-blue:focus {
    box-shadow: 0 0 0 3px rgba(51, 122, 183, 0.3) !important;
}

[data-mode=dark] button.btn-logo-blue {
    background-color: #337ab7 !important;
    border-color: #337ab7 !important;
}

[data-mode=dark] button.btn-logo-blue:hover:not(:disabled) {
    background-color: #2868a0 !important;
    border-color: #2868a0 !important;
}