.sidebar {
  width: 250px;
  height: calc(100vh - 56px);
  position: fixed;
  z-index: 1000;
  transition: all 0.3s ease;
}
.ui-workarea {
  padding-top: 0.1px;
}

.list-group-item {
  border: none !important;
}

/* Mobile behavior - sidebar off by default */
@media (max-width: 991.98px) {
  .sidebar {
    left: 0 !important;
    z-index: 1051;
    transform: translateX(-310px);
  }

  .sidebar.active {
    transform: translateX(0); /* Show over content when active */
    /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); */
  }

  .main-content {
    margin-left: 0 !important;
  }
}

.profile-dropdown {
  width: 300px;
  right: 3px !important;
  top: 5px !important;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

.active-module {
  background-color: var(--bs-light);
}
/* 
.main-content {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    overflow-x: hidden;
    max-width: 100%;
    box-sizing: border-box;
}

.main-content * {
    max-width: 100%;
    overflow-wrap: break-word;
} */

.mobile-nav-tab:active,
.mobile-nav-tab:hover {
  /* background-color: rgba(102, 126, 234, 0.1); */
  border-radius: 12px;
}

.ui-wrapper {
  display: flex;
}

.ui-main {
  /* background-color: #fafbfe; */
  height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  transition: all 0.35s ease-in-out;
  width: 100%;
  margin-bottom: 70px;
}

.minibar {
  display: flex;
  transition: all 0.25s ease-in-out;
  z-index: 1001;
}

.minibar {
  flex-direction: row;

  height: 62px;
  max-height: 62px;
  min-height: 62px;

  width: 100vw;
  max-width: 100vw;
  min-width: 100vw;

  overflow: hidden;
  position: fixed;
  bottom: 0;
}

.minibar-nav {
  display: flex;
  justify-content: space-between;
  height: 100%;
  width: 100%;
}

.minibar-nav > div,
.minibar-nav > ul {
  align-items: center;
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.minibar-header {
  display: none !important;
}

/* Mobile Styles */
.module-tab-mobile {
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  justify-content: center;
  transition: all 0.2s;
  /* border-right: 1px solid #e6e3e3; */
}

.module-tab-mobile .module-tab-icon-wrapper {
  display: contents;
}

.module-tab-mobile .module-tab-icon {
  font-size: 1.25rem;
}

.module-tab-mobile .module-tab-label {
  font-size: 0.65rem;
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

/* Mobile Featured Tab */
.module-tab-mobile.module-tab-featured {
  position: relative;
}

.module-tab-mobile .module-tab-icon-featured {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-top: -20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.module-tab-mobile .module-tab-icon-featured .module-tab-icon {
  color: white;
  font-size: 1.5rem;
}

.module-tab-mobile .module-tab-label-featured {
  font-weight: 600;
  color: #667eea;
}

/* Dropdown Button Styles */
.module-dropdown-btn-desktop,
.module-dropdown-btn-vertical,
.module-dropdown-btn-mobile {
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.85rem 0.25rem;
}

.module-dropdown-btn-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* Custom Scrollbar Styling */
*::-webkit-scrollbar {
    height: 5px;
    width: 5px;
}

/* Track */
*::-webkit-scrollbar-track {
    background: rgba(var(--bs-light-rgb), 0.67);
}

/* Handle */
*::-webkit-scrollbar-thumb {
    background: rgba(var(--bs-dark-rgb), 0.67);
}

/* Handle on hover */
*::-webkit-scrollbar-thumb:hover {
    background: rgba(var(--bs-secondary-rgb), 0.8);
}

.sidebar-toggle:not(.btn-light):hover {
    background-color: var(--bs-light);
}

.dropdown-menu {
  --bs-dropdown-link-hover-bg: var(--bs-secondary-bg-subtle) !important;
}

code {
  overflow-wrap: anywhere;
}

.breadcrumbs {
    /* top: 56px; */
    z-index: 10;
    margin-left: -11px;
    margin-right: -11px;
}

ol.breadcrumb {
    margin-bottom: 0;
}

.copy-icon {
    cursor: pointer;
    transition: color 0.2s ease;
}

.inbox-left-panel .dataTable {
    table-layout: fixed !important;
    width: 100% !important;
}

.inbox-left-panel .dataTable col {
    width: auto !important;
}

.inbox-left-panel .dataTable td {
    max-width: 0;
    overflow: hidden;
}

/* Checkbox column styling */
/* Hide sorting icons on checkbox column */
.checkbox-column .dt-column-order {
    display: none !important;
}

.checkbox-column {
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    text-align: center !important;
    vertical-align: middle !important;
    cursor: default !important;
}

.inbox-list-table .checkbox-column {
    padding: 8px !important;
}

/* Prevent checkbox column from being too wide */
.dataTable thead .checkbox-column,
.dataTable tbody .checkbox-column {
    width: 40px;
    min-width: 40px;
    max-width: 40px;
}