



@media only screen and (min-width: 576px){

    .dataTables_filter{margin-right: 1.5rem !important;}

}

.stock_report .card{min-height: 240px;}

.overlay {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .loader {
    border: 4px solid #f3f3f3; 
    border-top: 4px solid #7367f0; 
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 2s linear infinite;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  body.loading {
    overflow: hidden;
  }
  
  /* Custom CSS Styles */

/* Inner Table Scoped Overlay Loader */
.card-datatable, .dataTables_wrapper {
  position: relative !important;
}

.table-inner-loader {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 120px !important;
  background: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(1.5px) !important;
  z-index: 999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 0.375rem !important;
  transition: opacity 0.2s ease-in-out;
}

.table-inner-loader .spinner-box {
  background: #ffffff !important;
  padding: 12px 24px !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12) !important;
  border: 1px solid rgba(105, 108, 255, 0.15) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Hide default plain text dataTables_processing to avoid duplicates */
div.dataTables_processing, div.dt-processing {
  display: none !important;
}

/* Fix Select2 inside Bootstrap Input Group */
.input-group > .position-relative {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: 1% !important;
}

.input-group > .position-relative .select2-container,
.input-group .select2-container {
  width: 100% !important;
}

.input-group > .position-relative .select2-selection {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}


