tr .even{background:red !important;}
tfoot input {
      width: 100%;
      padding: 3px;
      box-sizing: border-box;
  }
tr.highlight {
  background-color: blue !important;
}
td,th {
border: 1px solid #dad8d8 ;
border-collapse: collapse;
color: #0e0b0b;
  font-size: 15px;

}
table.dataTable {
  width: 100%;
  margin: 0 auto;
  clear: both;
  border-collapse: collapse;
}
table{ border-collapse: collapse}
tr {
border-right: 1px solid #dad8d8 !important;
border-collapse: collapse;

}
table.dataTable tbody tr{  border-right: 1px solid #dad8d8 !important;}

table.dataTable.display tbody tr:hover > .sorting_1, table.dataTable.display tbody tr.odd:hover > .sorting_1{background-color:#f5f5f5 !important}
table.dataTable thead > tr > th.sorting{background: #ffe8cb;}
table.dataTable.display > tbody > tr.odd > .sorting_1, table.dataTable.order-column.stripe > tbody > tr.odd > .sorting_1 {
  box-shadow: none;
}
table.dataTable.display > tbody > tr.even > .sorting_1, table.dataTable.order-column.stripe > tbody > tr.even > .sorting_1 {
  box-shadow: none;
}
a > .current{padding:0px 10px 0px 10px !important}
table.dataTable.row-border tbody th, table.dataTable.row-border tbody td, table.dataTable.display tbody th, table.dataTable.display tbody td {
  height: 28px;
}
.form-control:focus {
border-color: #cacdd1 !important;
}
th{background: #ffe8cb !important;}

.form-button {
    margin-right: 10px;   /* equal spacing between all buttons */
}

/* Match dropdown to DataTables search input */
#CustomerFilter {
    height: 34px !important;               /* matches DataTables input */
    padding: 5px 8px !important;
    font-size: 14px !important;
    border: 1px solid #cacdd1 !important;  /* same border as input focus color */
    border-radius: 4px !important;
    background-color: white !important;
    display: inline-block !important;
    width: auto !important;
    margin-right: 10px !important;         /* spacing between dropdown and search */
    box-sizing: border-box !important;
}

/* Prevent thead from expanding when filter dropdown is added */
#example thead th {
    max-width: 150px;              /* Control column width */
    white-space: nowrap;           /* Prevent stretching */
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Ensure dropdown fits inside column and doesn't stretch it */
.column-filter {
    max-width: 130px;              /* must be less than 150px above */
    width: 100%;                   /* fit inside cell */
    height: 28px;                  /* same height as your table cells */
    padding: 2px 4px;
    font-size: 13px;
    box-sizing: border-box;
}

.sort-btn {
    padding: 0 4px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
}
.sort-btn:hover {
    color: #007bff;
}

.column-filter-container {
  position: relative;
  display: inline-block;
}

.filter-dropdown {
  position: absolute;
  background: white;
  border: 1px solid #cacdd1;
  z-index: 100;
  padding: 5px;
  max-height: 200px;
  overflow-y: auto;
  min-width: 120px;
  box-shadow: 0px 2px 5px rgba(0,0,0,0.2);
}

.filter-dropdown div {
  margin-bottom: 2px;
}

.filter-dropdown input {
  margin-right: 5px;
}

/* .sort-btn {
  padding: 0 4px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 12px;
}
.sort-btn:hover {
  color: #007bff;
} */

.floating-filter-dropdown {
  position: absolute;
  background: white;
  border: 1px solid #cacdd1;
  box-shadow: 0px 2px 5px rgba(0,0,0,0.2);
  padding: 5px;
  max-height: 50px;      /* Limit dropdown height */
  overflow-y: auto;       /* Add scrollbar if content exceeds max-height */
  min-width: 50px;
  display: none;
  z-index: 1000;
}

.floating-filter-dropdown div {
  margin-bottom: 2px;
}

.floating-filter-dropdown input {
  margin-right: 5px;
}

.floating-filter-dropdown label {
  transition: color 0.2s, opacity 0.2s;
}

/* Filtered out (unchecked) items appear semi-transparent */
.floating-filter-dropdown input:not(:checked) + label {
  opacity: 0.7;
}

.filter-btn {
  font-size: 12px;
  padding: 2px 5px;
  cursor: pointer;
  margin-left: 4px;
}

.sort-btn {
  padding: 0 4px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 12px;
}

.sort-btn:hover, .filter-btn:hover {
  color: #007bff;
}

/* 3. Ensure the dropdown itself is strictly layered */
.iti__country-list {
    position: absolute !important;
    z-index: 9999 !important; /* Extremely high to beat any other field */
    background-color: #fff !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2) !important;
    border: 1px solid #ccc !important;
    width: 280px !important;
    max-height: 200px !important;
}

/* 4. Fix for Bootstrap input height consistency */
.ngx-intl-tel-input input {
    height: 38px !important; /* Matches standard Bootstrap form-control */
    width: 100% !important;
    display: block !important;
}

.iti {
  position: relative;
  z-index: 1000;
}

.iti__country-list {
  z-index: 99999 !important;
}

.animated-label {
  z-index: 1;
}

.form-group {
  overflow: visible !important;
}

.iti input {
  overflow: visible !important;
}