.border_bottom{
	border-bottom: 1px solid #f4f4f4;
}
.dataTables_processing{
	border:0px;
	/*background-color :#337ab7;
	z-index: 100*/
}
.pointer{
      cursor:pointer;
    }
.header-custom{
  background-image: -webkit-gradient(linear, left top, right top, from(#20b9ae), to(#006fd6)); color: white;
}
.ui-autocomplete-loading {
    background: white url("../../plugins/autocomplete/loader2.gif") right center no-repeat;
}
.ui-autocomplete-loader-center {
    background: white url("../../plugins/autocomplete/loader1.gif") center center no-repeat;
}
.ui-autocomplete {
  max-height: 300px;
  overflow-y: auto;
  /* prevent horizontal scrollbar */
  overflow-x: hidden;
  /* add padding to account for vertical scrollbar */
  /* padding-right: 20px; */
}
.font-italic{
	font-style: italic !important;
}
.bg-dream-blue{	
	background-image: -webkit-gradient(linear, left top, right top, from(#20b9ae), to(#006fd6));
	color:white;
}
.bg-dream-red{
	background-color: #f40404d6;
	color:white;
}
.bg-dream-green {
	background-color: green;
	color:white;
}
.bg-dream-purple {
	background-color: #a612a6;
	color:white;
}
.bg-dream-pink {
	background-color: #D81B60;
	color:white;
}
.bg-dream-maroon {
	background-color: #058ef2;
	color:white;
}
/**/

/* ==================== Offline Status Bar ==================== */
#offline-status-bar {
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 9999;
  padding: 0;
}

.offline-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 8px 0 0 0;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: -2px -2px 8px rgba(0,0,0,0.15);
}

.offline-indicator.online {
  background: #28a745;
  color: #fff;
}

.offline-indicator.offline {
  background: #dc3545;
  color: #fff;
  animation: offline-pulse 2s infinite;
}

@keyframes offline-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.offline-badge {
  background: #fff;
  color: #dc3545;
  border-radius: 50%;
  min-width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  padding: 0 5px;
}

.offline-indicator.online .offline-badge {
  color: #28a745;
}

.offline-sync-btn,
.offline-view-btn {
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.2s;
}

.offline-sync-btn:hover,
.offline-view-btn:hover {
  background: rgba(255,255,255,0.35);
}

.offline-sync-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Sidebar scrollable - ensure all menu items visible on all screen sizes */
.sidebar {
  overflow-y: auto !important;
  overflow-x: hidden !important;
  height: calc(100vh - 50px) !important;
}

@media (max-width: 767px) {
  .sidebar {
    height: calc(100vh - 100px) !important;
  }
}

/* Custom scrollbar styling for sidebar */
.sidebar::-webkit-scrollbar {
  width: 4px;
}

.sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* Fix sidebar-mini hover flyout menu positioning on collapsed sidebar */
@media (min-width: 768px) {
  .sidebar-mini.sidebar-collapse .sidebar {
    overflow: visible !important;
    height: auto !important;
  }
  .sidebar-mini.sidebar-collapse .main-sidebar {
    overflow-y: auto;
    overflow-x: visible;
    height: 100%;
  }
  .sidebar-mini.sidebar-collapse .main-sidebar::-webkit-scrollbar {
    width: 0;
  }
}
