body {
    color: var(--text-light);
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
    background-color: var(--bg-dark);
    position: relative;

    background: 
        radial-gradient(circle at 30% 40%, rgba(0, 198, 255, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(74, 144, 226, 0.18) 0%, transparent 50%),
        radial-gradient(circle at center, rgba(0, 123, 255, 0.08), transparent 80%),
        linear-gradient(to bottom right, #0a0a0a, #121620);
    
    background-blend-mode: screen, screen, screen, normal;
}

body::before {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 198, 255, 0.2), transparent 70%);
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: floatingGlow 8s ease-in-out infinite;
    filter: blur(80px);
    pointer-events: none;
    opacity: 0.4;
}

@keyframes floatingGlow {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.4;
    }
    50% {
        transform: translate(-48%, -52%) scale(1.25);
        opacity: 0.6;
    }
}


/* ===== Base Styles ===== */ 
.section_2 {
  padding: 1rem 0;
  padding-top:8rem;
  color: white;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 25px;
}

/* Additional CSS for new header content */
.header-content {
  text-align: center;
  margin-bottom: 30px;
}

.main-title {
  font-size: 2.5rem;
  font-weight: bold;
  color:rgb(255, 255, 255);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.description {
  font-size: 1.1rem;
  color:rgb(199, 199, 199);
  margin-bottom: 15px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.tagline {
  font-size: 1rem;
  color:rgb(0, 162, 255);
  font-style: italic;
  margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .main-title {
    font-size: 2rem;
  }
  
  .description {
    font-size: 1rem;
    padding: 0 15px;
  }
  
  .tagline {
    font-size: 0.9rem;
    padding: 0 15px;
  }
}

/* ===== Title Styling ===== */
.product-search-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  margin-bottom: 2.5rem;
  text-align: left;
  position: relative;
  padding-left: 24px;
  letter-spacing: 0.3px;
}

.product-search-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 75%;
  width: 4px;
  background: linear-gradient(135deg, #007bff, #00d4ff);
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.3);
}

/* ===== Form Styling ===== */
#productSearchForm {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  margin-bottom: 3rem;
  border: none;
  backdrop-filter: blur(10px);
  width: 100%;
  box-sizing: border-box;
}

.selects {
  margin-bottom: 2rem;
}

/* ===== Search Input Styling ===== */
.search {
  position: relative;
  margin-bottom: 1.5rem;
  width: 100%;
}

.catalog-search-input {
  width: 100%;
  padding: 16px 45px;
  font-size: 15px;
  border: 2px solid #e1e5e9;
  background-color: #fff;
  border-radius: 16px;
  color: #2c3e50;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
}

.catalog-search-input::placeholder {
  color: #8e9aaf;
  opacity: 1;
  font-weight: 400;
}

.catalog-search-input:focus {
  outline: none;
  box-shadow: 
    0 0 0 4px rgba(0, 123, 255, 0.15),
    0 4px 16px rgba(0, 123, 255, 0.1);
  border-color: #007bff;
  transform: translateY(-1px);
}

.input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
  font-size: 16px;
  z-index: 2;
  transition: color 0.3s ease;
}

.search:focus-within .input-icon {
  color: #007bff;
}

/* ===== Select Dropdown Styling ===== */
.select-with-icon {
  position: relative;
  width: 100%;
  margin-bottom: 1.5rem;
}

.select-with-icon .select-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  z-index: 4;
  opacity: 0.7;
  transition: all 0.3s ease;
  filter: none;
}

.select-with-icon:focus-within .select-icon {
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}

/* Select2 Overrides */
.select2-container {
  width: 100% !important;
  box-sizing: border-box !important;
}

.select2-container--default .select2-selection--single {
  height: 52px !important;
  background-color: #ffffff !important;
  border: 2px solid #e1e5e9 !important;
  border-radius: 16px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-sizing: border-box !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #2c3e50 !important;
  line-height: 48px !important;
  padding-left: 45px !important;
  padding-right: 70px !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: #8e9aaf !important;
  font-weight: 400 !important;
}

.select2-container--default.select2-container--focus .select2-selection--single {
  box-shadow: 
    0 0 0 4px rgba(0, 123, 255, 0.15) !important,
    0 4px 16px rgba(0, 123, 255, 0.1) !important;
  border-color: #007bff !important;
  transform: translateY(-1px) !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 52px !important;
  right: 16px !important;
  width: 20px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: #6c757d transparent transparent transparent !important;
  border-width: 6px 5px 0 5px !important;
  transition: all 0.3s ease !important;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
  border-color: transparent transparent #6c757d transparent !important;
  border-width: 0 5px 6px 5px !important;
}

/* Move Select2 clear button (X) to the left side */
.select2-container--default .select2-selection--single .select2-selection__clear {
  position: absolute !important;
  right: 45px !important;
  left: auto !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 5 !important;
  color: #dc3545 !important;
  font-size: 16px !important;
  cursor: pointer !important;
  padding: 2px !important;
  border-radius: 50% !important;
  width: 20px !important;
  height: 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(220, 53, 69, 0.1) !important;
  transition: all 0.2s ease !important;
}

.select2-container--default .select2-selection--single .select2-selection__clear:hover {
  background: rgba(220, 53, 69, 0.2) !important;
  color: #dc3545 !important;
  transform: translateY(-50%) scale(1.1) !important;
}

/* Dropdown menu styling */
.select2-dropdown {
  background-color: #ffffff !important;
  border: 2px solid #e1e5e9 !important;
  border-radius: 16px !important;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.15) !important,
    0 0 0 1px rgba(255, 255, 255, 0.1) !important;
  margin-top: 4px !important;
  border-top: 2px solid #e1e5e9 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.select2-container--default .select2-results__option {
  padding: 12px 20px;
  color: #2c3e50;
  font-weight: 500;
  transition: all 0.2s ease;
  word-wrap: break-word;
  white-space: normal;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background: linear-gradient(135deg, #007bff, #0056d6) !important;
  color: white !important;
}

.select2-container--default .select2-results__option[aria-selected=true] {
  background: linear-gradient(135deg, #e3f2fd, #bbdefb) !important;
  color: #1976d2 !important;
  font-weight: 600 !important;
}

/* ===== Button Styling ===== */
.bulk_btns {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.bulk_btns button {
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
  min-width: 140px;
  box-sizing: border-box;
}

.bulk_btns button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.bulk_btns button:hover::before {
  left: 100%;
}

.bulk_btns button[type="submit"] {
  background: linear-gradient(135deg, #007bff, #0056d6);
  color: white;
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

.bulk_btns button[type="button"] {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  color: #495057;
  border: 2px solid #dee2e6;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.bulk_btns button:hover {
  transform: translateY(-3px);
}

.bulk_btns button[type="submit"]:hover {
  background: linear-gradient(135deg, #0056d6, #004085);
  box-shadow: 0 12px 35px rgba(0, 123, 255, 0.4);
}

.bulk_btns button[type="button"]:hover {
  background: linear-gradient(135deg, #e9ecef, #dee2e6);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}
/* ===== COMPREHENSIVE WHITE TABLE STYLING ===== */
.section_3 {
  padding: 0;
}

.table-responsive {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  border: none;
  width: 100%;
  overflow-x: visible;
  text-align: center;
}

#main_table {
  background: rgb(255, 255, 255) !important;
  border-collapse: separate;
  border-spacing: 0;
  width: 100% !important;
  table-layout: auto;
  margin: 0 auto;
  text-align: center;
}

/* ===== MOST COMPREHENSIVE WHITE ROW STYLING ===== */
/* Target all possible DataTables row variations */
#main_table tbody tr,
#main_table tbody tr:hover,
#main_table tbody tr:focus,
#main_table tbody tr:active,
#main_table.dataTable tbody tr,
#main_table.dataTable tbody tr:hover,
#main_table.dataTable tbody tr:focus,
#main_table.dataTable tbody tr:active,
#main_table.display tbody tr,
#main_table.display tbody tr:hover,
#main_table.display tbody tr:focus,
#main_table.display tbody tr:active,
#main_table.table tbody tr,
#main_table.table tbody tr:hover,
#main_table.table tbody tr:focus,
#main_table.table tbody tr:active,
#main_table.table-bordered tbody tr,
#main_table.table-bordered tbody tr:hover,
#main_table.table-bordered tbody tr:focus,
#main_table.table-bordered tbody tr:active {
  background-color: white !important;
  background: white !important;
}

/* Target all possible DataTables cell variations */
#main_table tbody td,
#main_table tbody td:hover,
#main_table tbody td:focus,
#main_table tbody td:active,
#main_table.dataTable tbody td,
#main_table.dataTable tbody td:hover,
#main_table.dataTable tbody td:focus,
#main_table.dataTable tbody td:active,
#main_table.display tbody td,
#main_table.display tbody td:hover,
#main_table.display tbody td:focus,
#main_table.display tbody td:active,
#main_table.table tbody td,
#main_table.table tbody td:hover,
#main_table.table tbody td:focus,
#main_table.table tbody td:active,
#main_table.table-bordered tbody td,
#main_table.table-bordered tbody td:hover,
#main_table.table-bordered tbody td:focus,
#main_table.table-bordered tbody td:active {
  background-color: white !important;
  background: white !important;
}

/* Override DataTables even/odd row styling with maximum specificity */
#main_table tbody tr:nth-child(even),
#main_table tbody tr:nth-child(even):hover,
#main_table tbody tr:nth-child(even):focus,
#main_table tbody tr:nth-child(even):active,
#main_table.dataTable tbody tr:nth-child(even),
#main_table.dataTable tbody tr:nth-child(even):hover,
#main_table.dataTable tbody tr:nth-child(even):focus,
#main_table.dataTable tbody tr:nth-child(even):active,
#main_table.display tbody tr:nth-child(even),
#main_table.display tbody tr:nth-child(even):hover,
#main_table.display tbody tr:nth-child(even):focus,
#main_table.display tbody tr:nth-child(even):active,
#main_table.table tbody tr:nth-child(even),
#main_table.table tbody tr:nth-child(even):hover,
#main_table.table tbody tr:nth-child(even):focus,
#main_table.table tbody tr:nth-child(even):active,
#main_table.table-bordered tbody tr:nth-child(even),
#main_table.table-bordered tbody tr:nth-child(even):hover,
#main_table.table-bordered tbody tr:nth-child(even):focus,
#main_table.table-bordered tbody tr:nth-child(even):active {
  background-color: white !important;
  background: white !important;
}

#main_table tbody tr:nth-child(odd),
#main_table tbody tr:nth-child(odd):hover,
#main_table tbody tr:nth-child(odd):focus,
#main_table tbody tr:nth-child(odd):active,
#main_table.dataTable tbody tr:nth-child(odd),
#main_table.dataTable tbody tr:nth-child(odd):hover,
#main_table.dataTable tbody tr:nth-child(odd):focus,
#main_table.dataTable tbody tr:nth-child(odd):active,
#main_table.display tbody tr:nth-child(odd),
#main_table.display tbody tr:nth-child(odd):hover,
#main_table.display tbody tr:nth-child(odd):focus,
#main_table.display tbody tr:nth-child(odd):active,
#main_table.table tbody tr:nth-child(odd),
#main_table.table tbody tr:nth-child(odd):hover,
#main_table.table tbody tr:nth-child(odd):focus,
#main_table.table tbody tr:nth-child(odd):active,
#main_table.table-bordered tbody tr:nth-child(odd),
#main_table.table-bordered tbody tr:nth-child(odd):hover,
#main_table.table-bordered tbody tr:nth-child(odd):focus,
#main_table.table-bordered tbody tr:nth-child(odd):active {
  background-color: white !important;
  background: white !important;
}

/* Target the specific DataTables classes from your HTML */
#main_table tbody tr.odd,
#main_table tbody tr.odd:hover,
#main_table tbody tr.odd:focus,
#main_table tbody tr.odd:active,
#main_table tbody tr.even,
#main_table tbody tr.even:hover,
#main_table tbody tr.even:focus,
#main_table tbody tr.even:active {
  background-color: white !important;
  background: white !important;
}

#main_table tbody tr.odd td,
#main_table tbody tr.odd td:hover,
#main_table tbody tr.odd td:focus,
#main_table tbody tr.odd td:active,
#main_table tbody tr.even td,
#main_table tbody tr.even td:hover,
#main_table tbody tr.even td:focus,
#main_table tbody tr.even td:active {
  background-color: white !important;
  background: white !important;
}

/* Nuclear option - Override any possible DataTables styling */
table#main_table tbody tr,
table#main_table tbody tr:hover,
table#main_table tbody tr:focus,
table#main_table tbody tr:active,
table#main_table tbody td,
table#main_table tbody td:hover,
table#main_table tbody td:focus,
table#main_table tbody td:active {
  background-color: white !important;
  background: white !important;
}

/* ===== CRITICAL FIX FOR DATATABLES ORDER-COLUMN STYLING ===== */
/* This is the key fix that addresses the gray backgrounds */

/* Target all order-column related classes and their combinations */
table.dataTable.display > tbody > tr.odd > .sorting_1,
table.dataTable.order-column.stripe > tbody > tr.odd > .sorting_1,
table.dataTable.display > tbody > tr.even > .sorting_1,
table.dataTable.order-column.stripe > tbody > tr.even > .sorting_1,
table.dataTable.display > tbody > tr > .sorting_1,
table.dataTable.order-column > tbody > tr > .sorting_1,
table.dataTable.display > tbody > tr.odd > .sorting_2,
table.dataTable.order-column.stripe > tbody > tr.odd > .sorting_2,
table.dataTable.display > tbody > tr.even > .sorting_2,
table.dataTable.order-column.stripe > tbody > tr.even > .sorting_2,
table.dataTable.display > tbody > tr > .sorting_2,
table.dataTable.order-column > tbody > tr > .sorting_2,
table.dataTable.display > tbody > tr.odd > .sorting_3,
table.dataTable.order-column.stripe > tbody > tr.odd > .sorting_3,
table.dataTable.display > tbody > tr.even > .sorting_3,
table.dataTable.order-column.stripe > tbody > tr.even > .sorting_3,
table.dataTable.display > tbody > tr > .sorting_3,
table.dataTable.order-column > tbody > tr > .sorting_3 {
  box-shadow: inset 0 0 0 9999px #fff !important;
  background-color: white !important;
  background: white !important;
}

/* Target your specific table ID with order-column classes */
#main_table.dataTable.display > tbody > tr.odd > .sorting_1,
#main_table.dataTable.order-column.stripe > tbody > tr.odd > .sorting_1,
#main_table.dataTable.display > tbody > tr.even > .sorting_1,
#main_table.dataTable.order-column.stripe > tbody > tr.even > .sorting_1,
#main_table.dataTable.display > tbody > tr > .sorting_1,
#main_table.dataTable.order-column > tbody > tr > .sorting_1,
#main_table.dataTable.display > tbody > tr.odd > .sorting_2,
#main_table.dataTable.order-column.stripe > tbody > tr.odd > .sorting_2,
#main_table.dataTable.display > tbody > tr.even > .sorting_2,
#main_table.dataTable.order-column.stripe > tbody > tr.even > .sorting_2,
#main_table.dataTable.display > tbody > tr > .sorting_2,
#main_table.dataTable.order-column > tbody > tr > .sorting_2,
#main_table.dataTable.display > tbody > tr.odd > .sorting_3,
#main_table.dataTable.order-column.stripe > tbody > tr.odd > .sorting_3,
#main_table.dataTable.display > tbody > tr.even > .sorting_3,
#main_table.dataTable.order-column.stripe > tbody > tr.even > .sorting_3,
#main_table.dataTable.display > tbody > tr > .sorting_3,
#main_table.dataTable.order-column > tbody > tr > .sorting_3 {
  box-shadow: inset 0 0 0 9999px #fff !important;
  background-color: white !important;
  background: white !important;
}

/* Additional nuclear option for any sorting column */
table.dataTable tbody td.sorting_1,
table.dataTable tbody td.sorting_2,
table.dataTable tbody td.sorting_3,
#main_table tbody td.sorting_1,
#main_table tbody td.sorting_2,
#main_table tbody td.sorting_3 {
  box-shadow: inset 0 0 0 9999px #fff !important;
  background-color: white !important;
  background: white !important;
}

/* Target any possible DataTables stripe or order-column combinations */
table.dataTable.stripe tbody tr.odd td,
table.dataTable.stripe tbody tr.even td,
table.dataTable.order-column tbody tr td,
table.dataTable.order-column.stripe tbody tr.odd td,
table.dataTable.order-column.stripe tbody tr.even td,
#main_table.dataTable.stripe tbody tr.odd td,
#main_table.dataTable.stripe tbody tr.even td,
#main_table.dataTable.order-column tbody tr td,
#main_table.dataTable.order-column.stripe tbody tr.odd td,
#main_table.dataTable.order-column.stripe tbody tr.even td {
  box-shadow: inset 0 0 0 9999px #fff !important;
  background-color: white !important;
  background: white !important;
}

/* Header styling */
#main_table thead th {
  background: linear-gradient(135deg, #007bff, #0056d6);
  color: #ffffff;
  border: none;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 10;
  vertical-align: middle;
}

/* Cell styling */
#main_table tbody td {
  padding: 18px 16px;
  border-bottom: 1px solid #f1f3f4;
  color: #2c3e50;
  background-color: white !important;
  background: white !important;
  text-align: center;
  font-weight: 500;
  transition: all 0.2s ease;
  vertical-align: middle;
}

/* DataTables wrapper centering */
.dataTables_wrapper {
  width: 100%;
  margin: 0 auto;
  color: white !important;
}

.dataTables_length, .dataTables_filter, .dataTables_info, .dataTables_paginate {
  text-align: center;
  margin: 10px 0;
  color: white !important;
}

/* Control button styling */
.dtr-control:before {
  content: '+' !important;
  font-weight: bold !important;
  font-size: 16px !important;
  line-height: 1 !important;
  left: 10px !important;
  padding: 1.5px;
}

.dtr-control.dtr-open:before {
  content: '−' !important;
  font-size: 16px !important;
}

.dtr-control.dtr-open {
  background: linear-gradient(135deg, #28a745, #20c997) !important;
  box-shadow: 0 3px 8px rgba(40, 167, 69, 0.3) !important;
}

.dtr-control.dtr-open:hover {
  background: linear-gradient(135deg, #20c997, #17a2b8) !important;
}

/* DataTables responsive details styling */
.dtr-details {
  padding: 1.5em 2em;
  border-radius: 15px;
  margin: 1.5em 0;
  border: 1px solid #e9ecef;
  background-color: white !important;
  background: white !important;
}

.dtr-title {
  font-weight: 600;
  color: #007bff;
  margin-bottom: 0.8em;
  font-size: 1em;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #e9ecef;
  padding-bottom: 0.5em;
}

.dtr-data {
  padding-left: 0;
  color: #2c3e50;
  font-weight: 500;
  line-height: 1.6;
  font-size: 0.95em;
}

/* ===== Fix for potential layout issues ===== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  width: 100%;
}

body {
  overflow-x: hidden;
  width: 100%;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== ADDITIONAL NUCLEAR OPTION FOR DATATABLES ===== */
/* If the above doesn't work, this will override ANY DataTables styling */
[id="main_table"] tbody tr,
[id="main_table"] tbody tr:hover,
[id="main_table"] tbody tr:focus,
[id="main_table"] tbody tr:active,
[id="main_table"] tbody td,
[id="main_table"] tbody td:hover,
[id="main_table"] tbody td:focus,
[id="main_table"] tbody td:active {
  background-color: white !important;
  background: white !important;
}

/* Override any potential Bootstrap table styling */
.table-striped tbody tr:nth-of-type(odd),
.table-striped tbody tr:nth-of-type(even) {
  background-color: white !important;
  background: white !important;
}

/* Override Bootstrap table-hover */
.table-hover tbody tr:hover,
.table-hover tbody tr:hover td {
  background-color: white !important;
  background: white !important;
}

/* ===== ULTIMATE OVERRIDE - DISABLE ALL BACKGROUND COLORS ===== */
/* This will force white background on everything */
#main_table tbody tr,
#main_table tbody tr *,
#main_table tbody td,
#main_table tbody td * {
  background-color: white !important;
  background-image: none !important;
  background: white !important;
  box-shadow: inset 0 0 0 9999px #fff !important;
}

/* Force white on all possible DataTables classes */
.dataTable tbody tr,
.dataTable tbody td,
.display tbody tr,
.display tbody td,
.table tbody tr,
.table tbody td,
.table-bordered tbody tr,
.table-bordered tbody td {
  background-color: white !important;
  background: white !important;
  box-shadow: inset 0 0 0 9999px #fff !important;
}

/* Remove any striping entirely */
.table-striped > tbody > tr:nth-of-type(odd),
.table-striped > tbody > tr:nth-of-type(even),
.dataTable.stripe tbody tr:nth-child(odd),
.dataTable.stripe tbody tr:nth-child(even),
.dataTable.display tbody tr:nth-child(odd),
.dataTable.display tbody tr:nth-child(even) {
  background-color: white !important;
  background: white !important;
  box-shadow: inset 0 0 0 9999px #fff !important;
}

/* Target the specific wrapper that might be causing issues */
.dataTables_wrapper .dataTable tbody tr,
.dataTables_wrapper .dataTable tbody td,
.dataTables_wrapper .display tbody tr,
.dataTables_wrapper .display tbody td {
  background-color: white !important;
  background: white !important;
  box-shadow: inset 0 0 0 9999px #fff !important;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 992px) {
  .section_2 {
    padding: 2rem 0;
    padding-top:7rem;

  }

  .container {
    padding: 0 20px;
  }

  #productSearchForm {
    padding: 2.5rem;
    margin-bottom: 2rem;
  }

  .product-search-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }

  .bulk_btns {
    gap: 1.5rem;
  }

  #main_table thead th {
    padding: 16px 12px;
    font-size: 0.8rem;
  }

  #main_table tbody td {
    padding: 16px 12px;
    font-size: 0.9rem;
  }

  .dtr-control {
    width: 24px !important;
    height: 24px !important;
    font-size: 14px !important;
  }
  
  .dtr-control:before {
    font-size: 12px !important;
  }
  
  .dtr-control.dtr-open:before {
    font-size: 14px !important;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .section_2 {
    padding: 1.5rem 0;
    padding-top:7rem;

  }

  #productSearchForm {
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
  }

  .product-search-title {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    padding-left: 20px;
  }

  .product-search-title::before {
    width: 3px;
  }

  .search {
    margin-bottom: 1.2rem;
  }

  .select-with-icon {
    margin-bottom: 1.2rem;
  }

  .selects {
    margin-bottom: 1.5rem;
  }

  .bulk_btns {
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
  }

  .bulk_btns button {
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
  }

  .table-responsive {
    border-radius: 16px;
    margin-top: 2rem;
  }

  #main_table {
    font-size: 0.85rem;
  }

  #main_table thead th {
    padding: 14px 10px;
    font-size: 0.75rem;
    white-space: nowrap;
  }

  #main_table tbody td {
    padding: 14px 10px;
    font-size: 0.85rem;
  }

  .dtr-details {
    padding: 1.2em 1.5em;
    margin: 1.2em 0;
    border-radius: 12px;
  }

  .dtr-title {
    font-size: 0.9em;
    margin-bottom: 0.6em;
  }

  .dtr-data {
    font-size: 0.9em;
  }

  .dtr-control {
    width: 22px !important;
    height: 22px !important;
    font-size: 12px !important;
  }
  
  .dtr-control:before {
    font-size: 10px !important;
  }
  
  .dtr-control.dtr-open:before {
    font-size: 12px !important;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 12px;
  }

  .section_2 {
    padding: 1rem 0;
    padding-top:7rem;

  }

  #productSearchForm {
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
  }

  .product-search-title {
    font-size: 1.25rem;
    margin-bottom: 1.2rem;
    padding-left: 16px;
  }

  .product-search-title::before {
    width: 3px;
  }

  .search {
    margin-bottom: 1rem;
  }

  .select-with-icon {
    margin-bottom: 1rem;
  }

  .selects {
    margin-bottom: 1.2rem;
  }

  .catalog-search-input {
    padding: 14px 40px;
    border-radius: 12px;
    font-size: 16px;
  }

  .input-icon {
    left: 14px;
    font-size: 14px;
  }

  .select-with-icon .select-icon {
    left: 14px;
    width: 16px;
    height: 16px;
  }

  .select2-container--default .select2-selection--single {
    height: 48px !important;
    border-radius: 12px !important;
  }
  
  .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-left: 40px !important;
    padding-right: 60px !important;
    line-height: 44px !important;
    font-size: 16px !important;
  }
  
  .select2-container--default .select2-selection--single .select2-selection__clear {
    right: 35px !important;
    width: 18px !important;
    height: 18px !important;
    font-size: 14px !important;
  }
  
  .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 48px !important;
    right: 12px !important;
    width: 18px !important;
  }
  
  .select2-dropdown {
    border-radius: 12px !important;
  }

  .select2-container--default .select2-results__option {
    padding: 14px 16px;
    font-size: 16px;
  }

  .bulk_btns {
    margin-top: 1.5rem;
    gap: 0.8rem;
  }

  .bulk_btns button {
    padding: 14px 20px;
    font-size: 16px;
    border-radius: 12px;
    min-width: auto;
  }

  .table-responsive {
    border-radius: 12px;
    margin-top: 1.5rem;
  }

  #main_table thead th {
    padding: 12px 8px;
    font-size: 0.7rem;
    white-space: nowrap;
  }

  #main_table tbody td {
    padding: 12px 8px;
    font-size: 0.8rem;
  }

  .dtr-details {
    padding: 1em 1.2em;
    margin: 1em 0;
    border-radius: 10px;
  }

  .dtr-title {
    font-size: 0.85em;
    margin-bottom: 0.5em;
  }

  .dtr-data {
    font-size: 0.85em;
  }

  .dtr-control {
    width: 20px !important;
    height: 20px !important;
    font-size: 11px !important;
  }
  
  .dtr-control:before {
    font-size: 9px !important;
  }
  
  .dtr-control.dtr-open:before {
    font-size: 11px !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }

  #productSearchForm {
    padding: 1.2rem;
  }

  .product-search-title {
    font-size: 1.1rem;
  }

  .catalog-search-input {
    padding: 12px 35px;
    font-size: 16px;
  }

  .input-icon {
    left: 12px;
  }

  .select-with-icon .select-icon {
    left: 12px;
  }

  .select2-container--default .select2-selection--single {
    height: 44px !important;
  }
  
  .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-left: 35px !important;
    padding-right: 55px !important;
    line-height: 40px !important;
  }
  
  .select2-container--default .select2-selection--single .select2-selection__clear {
    right: 30px !important;
  }
  
  .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 44px !important;
    right: 10px !important;
  }

  .bulk_btns button {
    padding: 12px 16px;
  }

  #main_table thead th {
    padding: 10px 6px;
    font-size: 0.65rem;
    white-space: nowrap;
  }

  #main_table tbody td {
    padding: 10px 6px;
    font-size: 0.75rem;
  }

  .dtr-details {
    padding: 0.8em 1em;
    margin: 0.8em 0;
    border-radius: 8px;
  }

  .dtr-title {
    font-size: 0.8em;
    margin-bottom: 0.4em;
  }

  .dtr-data {
    font-size: 0.8em;
  }

  .dtr-control {
    width: 18px !important;
    height: 18px !important;
    font-size: 10px !important;
  }
  
  .dtr-control:before {
    font-size: 8px !important;
  }
  
  .dtr-control.dtr-open:before {
    font-size: 10px !important;
  }
}

/* ===== Fix for potential layout issues ===== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  width: 100%;
}

body {
  overflow-x: hidden;
  width: 100%;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Additional smooth transitions for better UX */
.select2-container--default .select2-selection--single,
.catalog-search-input,
.bulk_btns button {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Fix for potential z-index issues */
.select2-container {
  z-index: 10;
}

.select2-dropdown {
  z-index: 1000;
}

/* DataTables responsive enhancements */
.dtr-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dtr-details li {
  padding: 0.5em 0;
  border-bottom: 1px solid #e9ecef;
}

.dtr-details li:last-child {
  border-bottom: none;
}

/* Ensure proper text handling */
#main_table tbody td {
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  background-color: white !important;
}

.dataTables_wrapper .dataTables_length select {
  background-color: black !important;
}
/* Fix for mobile text selection */
@media (max-width: 768px) {
  #main_table tbody td {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
  }
}

/* Hide .dtr-control:before on desktop */
@media (min-width: 993px) {
  .dtr-control:before {
    display: none !important;
  }
}

