.dbe-wrapper {
  background: #f7f8fa;
  padding: 25px;
  border-radius: 14px;
  color: #263238;
  font-family: inherit;
}
.dbe-wrapper h2 {
  color: #17325b;
  margin-bottom: 20px;
}
.dbe-search-form,
.dbe-bulk-toolbar,
.dbe-table-wrapper {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 15px;
  margin-bottom: 18px;
}
.dbe-search-form input,
.dbe-bulk-toolbar input,
.dbe-bulk-toolbar select {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px;
}
.dbe-wrapper button {
  background: #b18b5d;
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 10px 18px;
  cursor: pointer;
}
.dbe-wrapper button:hover {
  background: #8f6d45;
}
.dbe-products-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}
.dbe-products-table th {
  background: #17325b;
  color: #fff;
  padding: 12px;
  text-align: center;
}
.dbe-products-table td {
  padding: 6px;
  border-bottom: 1px solid #eee;
  text-align: center;
}
.dbe-products-table tr:hover {
  background: #faf8f5;
}
.dbe-load-more-wrap {
  text-align: center;
  margin-top: 20px;
}
.dbe-products-loading {
  margin-right: 10px;
  color: #17325b;
}
.dbe-load-more-wrap button:disabled {
  cursor: wait;
  opacity: .7;
}
.dbe-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #17325b;
  color: #fff;
  padding: 12px 20px;
  border-radius: 10px;
  z-index: 9999;
}

.dbe-table-wrapper {
  width: 100%;
  overflow-x: auto;
}

.dbe-products-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.dbe-products-table th {
  background: #17325b;
  color: #fff;
  padding: 14px;
  text-align: center;
}

.dbe-products-table td {
 
  text-align: center;
  vertical-align: middle;
}

.dbe-products-table tr:hover {
  background: #f8f9fb;
}

.dbe-products-table input {
  width: 100%;

  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 6px;
}
th#dbe-select-all-pp {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}
th#dbe-select-all-pp input {
  width: min-content !important;
}
.dbe-product-check {
  width: auto !important;
}
.dbe-table-header {
  display: flex;
  align-content: center;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
input#dbe-select-all {
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 6px;
  cursor: pointer;
}

.dbe-products-table img {
  width: 40px;
  height: 40px;
  object-fit: cover;
}

/* Mobile Card View */

@media (max-width: 768px) {
  .dbe-table-wrapper {
    overflow: visible;
  }

  .dbe-products-table,
  .dbe-products-table tbody,
  .dbe-products-table tr,
  .dbe-products-table td {
    display: block;
    width: 100%;
  }

  .dbe-products-table thead {
    display: none;
  }

  .dbe-products-table tr {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 15px;
    padding: 12px;

    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  }

  .dbe-products-table td {
    display: flex;

    justify-content: space-between;

    align-items: center;

    text-align: right;

    border: none;

    padding: 10px 5px;
  }

  .dbe-products-table td::before {
    content: attr(data-label);

    font-weight: 700;

    color: #17325b;

    margin-left: 15px;
  }

  .dbe-products-table td:first-child {
    justify-content: flex-start;
  }

  .dbe-products-table td:nth-child(2) {
    justify-content: start;
  }
}
.dbe-bulk-toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex-direction: row;
}
