.logo-lg img {
  height: 70px;
  width: auto;
}
.card-header {
  color: #fff;
  font-weight: 600;
  padding: 8px 15px;
}
.gauge {
  width: 120px;
  height: 60px;
  border-radius: 100px 100px 0 0;
  background: #eee;
  margin: 20px auto;
  position: relative;
}
.gauge::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 45px;
  background: #444;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) rotate(-70deg);
  transform-origin: bottom center;
}
.gauge-value {
  margin-top: 10px;
}
.new-card {
  min-height: 150px;
}
.card.sec {
  margin-bottom: 10px !important;
}
.chart-box {
  border: 2px solid;
  border-radius: 5px;
  padding: 10px;
  margin-bottom: 20px;
}
.purple-border {
  border-color: purple;
}
.black-border {
  border-color: black;
}
.green-border {
  border-color: green;
}
.blue-border {
  border-color: blue;
}
.chart-box h4 {
  margin: 0 0 10px 0;
  font-size: 16px;
  text-align: center;
}
.category-box {
  background: #fff;
  border-radius: 6px;
  margin: 0px;
}

.category-box h5 {
  margin-bottom: 20px;
  font-weight: bold;
}

.category-box .table td,
.table th {
  vertical-align: middle;
  text-align: center;
}

.category-box .btn-action {
  margin: 0 2px;
}
.category-box .modal-lg {
  max-width: 700px;
}
.category-box .action-buttons {
  display: flex;
  gap: 5px;
  justify-content: center;
}
.btn-group {
  margin-left: 15px;
}
.panel-heading h3 {
  font-size: 18px;
}
.btn-group .btn.btn-light {
  border: 1px solid #cdc8c8;
}
.add-catogary {
  width: 550px;
  margin: 0 auto;
  margin-top: 50px;
}
.add-catogary button.close {
  position: absolute;
  top: 10px;
  right: 21px;
}
.img-catog {
  width: 120px;
  height: 150px;
  margin-top: 12px;
}
select.form-controll {
  height: 38px;
  width: 100%;
  border: 1px solid #ced4da;
  border-radius: 4px;
  outline: none;
  color: #726a6a;
}

.prodct-table .product-image {
  width: 45px;
  height: auto;
  border-radius: 4px;
  padding: 3px;
  border: 1px solid #d8d4d4;
}

.prodct-table .product-title {
  font-weight: 500;
  max-width: 120px;
  font-size: 12px;
  color: #333;
  word-wrap: break-word;
}
.prodct-table td {
  font-size: 12px;
  color: #333;
}

.prodct-table .toggle-switch {
  position: relative;
  width: 45px;
  height: 24px;
  margin: 0 auto;
}

.prodct-table .toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.prodct-table .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 24px;
  transition: 0.3s;
}

.prodct-table .slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}
.prodct-table .toggle-red .slider {
  background-color: #dc3545;
}
.prodct-table .toggle-red input:checked + .slider {
  background-color: #28a745;
}

.prodct-table .toggle-green .slider {
  background-color: #28a745;
}
.prodct-table .toggle-green input:checked + .slider {
  background-color: #28a745;
}

.prodct-table input:checked + .slider:before {
  transform: translateX(21px);
}
.prodct-table .action-buttons {
  display: flex;
  gap: 2px;
  justify-content: center;
  flex-wrap: wrap;
}
.font14 {
  font-size: 14px !important;
}
.prodct-table .btn {
  padding: 4px 8px;
  border: none;
  border-radius: 3px;
  font-size: 10px;
  cursor: pointer;
  transition: opacity 0.2s;
  color: white;
  font-weight: 500;
}

.prodct-table .btn:hover {
  opacity: 0.8;
}

.prodct-table .btn-primary {
  background-color: #17a2b8;
}
.prodct-table .btn-info {
  background-color: #17a2b8;
}
.prodct-table .btn-purple {
  background-color: #6f42c1;
}
.prodct-table .btn-success {
  background-color: #28a745;
}
.prodct-table .btn-secondary {
  background-color: #6c757d;
}
.prodct-table .btn-warning {
  background-color: #28a745;
}
.prodct-table .btn-danger {
  background-color: #dc3545;
}

.prodct-table .quantity {
  font-weight: 500;
}

.prodct-table tr:hover {
  background-color: #f8f9fa;
}
.panel {
  border: 0;
  opacity: 1;
  margin-bottom: 35px;
}
.panel > .panel-heading:after,
.panel.panel-colorful > .panel-heading:after {
  content: "";
  display: block;
  position: absolute;
  height: 0;
  left: 35px;
  right: 35px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}
.panel-body {
  padding: 15px 15px;
  border-bottom: 1px solid #d4d0d0;
}
.panel-body li {
  font-size: 14px;
  margin-bottom: 5px;
}
.btn.btn-mint {
  background-color: #16a085;
  border-color: #15977e;
  color: #fff;
  margin-top: 13px;
}
.btn-file input[type="file"] {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 100%;
  min-height: 100%;
  font-size: 100px;
  text-align: right;
  filter: alpha(opacity=0);
  opacity: 0;
  outline: 0;
  background: white;
  cursor: inherit;
  display: block;
}
.btn-file {
  position: relative;
  overflow: hidden;
}
.btn-default {
  background-color: #fff;
  border-color: #c3cedb;
  color: #404040;
}
.dataTables_length {
  float: left;
  margin-top: 17px;
  margin-bottom: 10px;
}
.dataTables_filter {
  float: right;
  text-align: right;
  margin-top: 17px;
  margin-bottom: 10px;
}
.dataTables_paginate {
  float: right;
  text-align: right;
  margin-top: -21px;
}
.dataTables_paginate .paginate_button {
  box-sizing: border-box;
  display: inline-block;
  min-width: 1.5em;
  padding: 0.5em 1em;
  margin-left: 2px;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
  color: inherit !important;
  border: 1px solid transparent;
  border-radius: 2px;
  background: transparent;
}
.btn.btn-dark.destroy {
  margin-left: -261px;
}
.pull-right {
  float: right !important;
  margin-top: -35px;
}
.pagination > li > a,
.pagination > li > span {
  position: relative;
  float: left;
  padding: 6px 12px;
  margin-left: -1px;
  line-height: 1.42857143;
  color: #337ab7;
  text-decoration: none;
  background-color: #fff;
  border: 1px solid #ddd;
}
.dot-icon {
  font-size: 10px !important;
}

.options-cell {
  white-space: nowrap;
}

.pagination-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #f8f9fa;
  border-top: 1px solid #dee2e6;
}

.pagination-info {
  font-size: 13px;
  color: #6c757d;
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.records-select {
  padding: 5px 8px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 13px;
}

.pagination {
  display: flex;
  gap: 5px;
}

.page-btn {
  padding: 6px 10px;
  border: 1px solid #dee2e6;
  background-color: white;
  color: #007bff;
  cursor: pointer;
  border-radius: 4px;
  font-size: 13px;
}

.page-btn:hover {
  background-color: #f8f9fa;
}

.page-btn.active {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
}

.page-btn:disabled {
  color: #6c757d;
  cursor: not-allowed;
  opacity: 0.6;
}

.currency {
  font-weight: 600;
}
.sale-code {
  color: #007bff;
  font-weight: 500;
}

.guest-buyer {
  color: #17a2b8;
  font-weight: 500;
}

.status-badge {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 8px;
  font-weight: 600;
  text-transform: uppercase;
  color: white;
  display: inline-block;
}

.admin-pending {
  background-color: #ff011a;
}

.admin-due {
  background-color: #f5081f;
}

.float-right {
  float: right;
}
.manage-sale table.table.table-bordered {
  white-space: nowrap;
}
.img-circle {
  border-radius: 50%;
}
.img-border {
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.1);
}
.img-md {
  width: 64px;
  height: 64px;
}
.pad-ver {
  padding-top: 15px;
  padding-bottom: 15px;
}
.amChartsCompareList {
  border-style: solid;
  border-color: #cccccc;
  border-width: 1px;
}
.panel-footer {
  text-align: center;
  margin-top: 24px;
}
.img-border {
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.1);
}
.img-sm {
  width: 46px;
  height: 46px;
}
.input-group-addon {
  border: 1px solid #e1e5ea;
  background-color: transparent;
  border-radius: 2px;
  min-width: 45px;
}
.img-border {
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.1);
}
.img-sm {
  width: 46px;
  height: 46px;
}
.panel-title {
  font-weight: 300;
  padding: 0 0 0 15px;
  font-size: 18px;
  line-height: 39px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.form-horizontal .form-group {
  margin-right: -15px;
  margin-left: -15px;
}
.form-group {
  margin-bottom: 15px;
}
.label-primary {
  background-color: #458fd2;
}
.bootstrap-tagsinput .tag {
  display: inline-block;
  padding: 5px;
  margin: 2px 2px 2px 0;
  color: white;
}
.bootstrap-tagsinput {
  background-color: #fff;
  border: 1px solid #e1e5ea;
  display: inline-block;
  padding: 4px 6px;
  margin-bottom: 10px;
  color: #555;
  vertical-align: middle;
  border-radius: 2px;
  min-width: 100%;
  max-width: 100%;
  line-height: 22px;
  cursor: text;
}
.form-control {
  font-size: 12px;
  color: #6c6969;
}

thead.thead-light {
  font-size: 12px;
  text-transform: uppercase;
  white-space: nowrap;
}

/*=========================================
    26-12-25
===========================================*/
.bg-col1 {
  background: #0d9488 !important;
}
.bg-col2 {
  background: #fb923c !important;
}
.bg-col3 {
  background: #3b82f6 !important;
}
.bg-col4 {
  background: #0891b2 !important;
}
.bg-col5 {
  background: #059669 !important;
}
.page-btn-group-box {
  position: relative;
  width: 100%;
  display: inline-block;
}
.page-btn-group-box .page-name-box {
  position: relative;
  width: 35%;
  float: left;
  text-align: left;
  display: inline-block;
}
.page-btn-group-box .btn-group-box {
  position: relative;
  width: 65%;
  float: right;
  text-align: right;
  display: inline-block;
}
.page-btn-group-box .btn-group-box .btn {
  position: relative;
  width: auto;
  border: none;
  background: transparent;
  display: inline-block;
  color: #fff;
  font-weight: 500;
}
.page-search-group-box {
  position: relative;
  width: 100%;
  display: inline-block;
  margin: 10px 0px;
}
.page-search-group-box .page-search-form-box {
  position: relative;
  width: 100%;
  float: left;
  text-align: left;
  display: inline-block;
}
.page-search-group-box .page-search-form-box input {
  position: relative;
  width: 100%;
  height: 44px;
  border-radius: 25px;
  line-height: 44px;
  padding: 0px 40px 0px 20px;
}
.page-search-group-box .page-search-form-box .btn-search231 {
  position: absolute;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  line-height: 36px;
  padding: 0px;
  background: #f8f8f8;
  border: none;
  right: 5px;
  top: 5px;
}
.page-search-group-box .page-search-form-box .btn {
  position: relative;
  width: auto;
  border: none;
  background: transparent;
  display: inline-block;
  color: #fff;
  font-weight: 500;
}
.page-search-group-box .page-search-form-btn-box {
  position: relative;
  width: 45%;
  float: left;
  text-align: right;
  display: inline-block;
}
.page-search-group-box .page-search-form-btn-box .btn {
  position: relative;
  width: auto;
  border: none;
  background: transparent;
  display: inline-block;
  color: #fff;
  font-weight: 500;
}
button.close {
  line-height: 30px;
  width: 30px;
  padding: 0px;
  background: #009688;
  border: none;
  top: -15px;
  right: -15px;
  position: absolute;
  font-size: 24px;
  height: 30px;
  border-radius: 50%;
  color: #fff;
}
.action-buttons .btn {
  position: relative;
  font-size: 20px;
  padding: 5px 10px !important;
  display: inline-block;
  height: 40px;
}
.category-box.page-product-list
  .page-search-group-box
  .page-search-form-box
  input {
  position: relative;
  width: 85%;
  height: 44px;
  border-radius: 25px;
  line-height: 44px;
  padding: 0px 40px 0px 20px;
}

.category-box.page-product-list
  .page-search-group-box
  .page-search-form-box
  .btn {
  position: relative;
  width: auto;
  border: none;
  background: transparent;
  display: inline-block;
  color: #fff;
  font-weight: 500;
  line-height: 28px;
  margin-left: 15px;
}
.category-box.page-customer-management
  .page-search-group-box
  .page-search-form-box
  form {
  position: relative;
  width: 85%;
  display: inline-block;
  float: left;
}
.category-box.page-customer-management
  .page-search-group-box
  .page-search-form-box
  form
  input {
  position: relative;
  width: 100%;
}
.category-box.page-customer-management
  .page-search-group-box
  .page-search-form-box
  form
  .btn-search231 {
  position: absolute;
  right: 5px;
  top: 5px;
}
.category-box.page-customer-management
  .page-search-group-box
  .page-search-form-box
  .btn-table-refreshed {
  display: inline-block;
  float: right;
}
.category-box.page-customer-management
  .page-search-group-box
  .page-search-form-box
  .btn.bg-col3 {
  position: absolute;
  right: -45px;
  top: 5px;
}
.category-box.page-customer-management
  .page-search-group-box
  .page-search-form-box
  .btn.bg-col4.btn-table-refreshed {
  top: 5px;
  right: 50px;
  position: absolute;
}

.category-box.page-product-list
  .page-search-group-box
  .page-search-form-box
  form {
  position: relative;
  width: 85%;
  display: inline-block;
  float: left;
}
.category-box.page-product-list
  .page-search-group-box
  .page-search-form-box
  form
  input {
  position: relative;
  width: 100%;
}
.category-box.page-product-list
  .page-search-group-box
  .page-search-form-box
  form
  .btn-search231 {
  position: absolute;
  right: 5px;
  top: 5px;
}
.upload-product {
  background: #b49d12;
  color: #fff;
  display: flex;
  gap: 4px;
  font-size: 14px;
  border-radius: 5px;
  letter-spacing: 0.5px;
  border: none;
  white-space: nowrap;
  padding: 7px 10px;
}
.stock-btn {
  padding: 5px 10px;
  border: none;
  background: #b49d12;
  color: #fff;
  font-size: 14px;
  white-space: nowrap;
  border-radius: 3px;
}

.dsh-wrap {
  padding: 0px;
  background: #f4f6fb;
}
.dsh-stats-row {
  margin-bottom: 24px;
}

/* Stat Card */
.dsh-stat-card {
  background: #fff;
  border-radius: 8px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.3s;
  height: 100%;
}

.dsh-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Icon */
.dsh-stat-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

/* Info */
.dsh-stat-info h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a2e;
  margin: 0;
  line-height: 1.2;
}

.dsh-stat-info span {
  font-size: 13px;
  color: #888;
  font-weight: 500;
  display: block;
  margin: 3px 0;
}

/* Growth */
.dsh-stat-growth {
  font-size: 12px;
  font-weight: 600;
  margin: 4px 0 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.dsh-stat-growth.up {
  color: #2e7d32;
}

.dsh-stat-growth.down {
  color: #c62828;
}

/* Link */
.dsh-stat-link {
  font-size: 12px;
  color: #1565c0;
  margin: 4px 0 0;
}

.dsh-stat-link a {
  color: #1565c0;
  text-decoration: none;
  font-weight: 600;
}

.dsh-stat-link a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 576px) {
  .dsh-stat-card {
    padding: 14px 16px;
  }

  .dsh-stat-icon {
    width: 46px;
    height: 46px;
    font-size: 18px;
  }

  .dsh-stat-info h3 {
    font-size: 18px;
  }
}

.dsh-charts-row {
  margin-bottom: 20px;
}
.dsh-card {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  height: 100%;
  border: 1px solid #ccc;
}

.dsh-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-bottom: 1px solid #f0f0f0;
  flex-wrap: wrap;
  gap: 10px;
}

.dsh-card-head h5 {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a2e;
  margin: 0;
}

.dsh-chart-tabs {
  display: flex;
  gap: 4px;
}

.dsh-tab-btn {
  padding: 6px 6px;
  border-radius: 4px;
  border: none;
  font-size: 12px;
  font-weight: 600;
  color: #888;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
}

.dsh-tab-btn:hover {
  background: #f0f0f0;
}

.dsh-tab-btn.active {
  background: #1a1a2e;
  color: #fff;
}

.dsh-select {
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 3px 6px;
  font-size: 13px;
  color: #333;
  outline: none;
}

.dsh-card-body {
  padding: 10px 10px;
}

.dsh-line-chart {
  display: flex;
  gap: 8px;
  height: 300px;
}

.dsh-y-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 24px;
}

.dsh-y-axis span {
  font-size: 11px;
  color: #aaa;
}

.dsh-chart-area {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Grid Lines */
.dsh-grid-lines {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dsh-grid-line {
  width: 100%;
  height: 1px;
  background: #f0f0f0;
}

/* SVG */
.dsh-svg {
  width: 100%;
  flex: 1;
}

/* X Axis */
.dsh-x-axis {
  display: flex;
  justify-content: space-between;
  padding-top: 6px;
  height: 24px;
}

.dsh-x-axis span {
  font-size: 11px;
  color: #aaa;
}

/* ===== DONUT CHART ===== */
.dsh-donut-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.dsh-donut {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dsh-donut-hole {
  width: 100px;
  height: 100px;
  background: #fff;
  border-radius: 50%;
}

.dsh-legend {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dsh-legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.dsh-legend-dot {
  width: 10px;
  height: 10px;
  min-width: 10px;
  border-radius: 50%;
}

.dsh-legend-name {
  flex: 1;
  color: #555;
}

.dsh-legend-per {
  color: #888;
  font-size: 12px;
  min-width: 35px;
}

.dsh-legend-amt {
  font-weight: 700;
  color: #1a1a2e;
  font-size: 12px;
}

.dsh-score-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.dsh-score-donut {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dsh-score-hole {
  width: 110px;
  height: 110px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.dsh-score-hole h2 {
  font-size: 32px;
  font-weight: 800;
  color: #1a1a2e;
  margin: 0;
  line-height: 1;
}

.dsh-score-hole span {
  font-size: 12px;
  color: #888;
}
.dsh-score-hole p {
  font-size: 12px;
  font-weight: 700;
  color: #2e7d32;
  margin: 2px 0 0;
}
.dsh-score-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.dsh-score-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

.dsh-score-item-left {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #555;
}

.dsh-score-val {
  font-weight: 700;
  font-size: 13px;
}

.dsh-score-val.up {
  color: #2e7d32;
}

/* Score Message */
.dsh-score-msg {
  background: #e8f5e9;
  color: #2e7d32;
  padding: 6px 9px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dashboard-row {
  width: 100%;
}
.recent-orders-card {
  background: #fff;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #ccc;
}

.card-header-custom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.card-header-custom h3 {
  font-size: 14px;
  color: #111;
  margin: 0;
  font-weight: 700;
}

.card-header-custom a {
  color: #2563eb;
  font-size: 13px;
  text-decoration: none;
}

.order-table {
  width: 100%;
}

.table-head,
.table-row {
  display: grid;
  grid-template-columns: 0.8fr 1.6fr 1fr 1fr 1.2fr 0.7fr;
  align-items: center;
}

.table-head {
  background: #f8fafc;
  padding: 12px;
  border-radius: 10px;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
}

.table-row {
  padding: 15px 12px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  color: #334155;
}

.customer {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.customer img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
}

.payment {
  background: #eef2ff;
  color: #4338ca;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
}

.status {
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.packed {
  background: #dbeafe;
  color: #2563eb;
}

.delivery {
  background: #fef3c7;
  color: #d97706;
}

.delivered {
  background: #dcfce7;
  color: #16a34a;
}

.action {
  display: flex;
  gap: 12px;
  color: #64748b;
}
.action i {
  cursor: pointer;
  transition: 0.3s;
}

.action i:hover {
  color: #2563eb;
}

.inventory-card {
  background: #fff;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  height: 100%;
  border: 1px solid #ccc;
}

.inventory-header h3 {
  font-size: 14px;
  margin: 0 0 20px;
  font-weight: 600;
  color: #111;
}

.inventory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.inventory-box {
  padding: 16px 10px;
  border-radius: 6px;
  text-align: center;
  background: #e5f2ff;
  transition: 0.3s;
}
.inventory-box:hover {
  transform: translateY(-5px);
}
.inventory-icon {
  width: 58px;
  height: 58px;
  margin: auto;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 28px;
  margin-bottom: 10px;
}

.inventory-box h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #111;
}

.inventory-box p {
  margin: 5px 0 0;
  font-size: 12px;
  color: #64748b;
}
.inventory-box.blue .inventory-icon {
  background: linear-gradient(135deg, #2563eb, #60a5fa);
}
.inventory-box.orange .inventory-icon {
  background: linear-gradient(135deg, #f97316, #fb923c);
}
.inventory-box.red .inventory-icon {
  background: linear-gradient(135deg, #dc2626, #ef4444);
}
.inventory-box.purple .inventory-icon {
  background: linear-gradient(135deg, #9333ea, #c084fc);
}
.inventory-box.pink .inventory-icon {
  background: linear-gradient(135deg, #db2777, #f472b6);
}
.inventory-box.green .inventory-icon {
  background: linear-gradient(135deg, #16a34a, #4ade80);
}
.stock-card {
  background: #fff;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  height: 100%;
  border: 1px solid #ccc;
}
.stock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.stock-header h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.stock-header a {
  color: #2563eb;
  font-size: 13px;
  text-decoration: none;
}

.stock-item {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.stock-item:last-child {
  border-bottom: 0;
}

.product-img img {
  width: 45px;
  height: 45px;
  border-radius: 8px;
  object-fit: cover;
}

.product-info {
  flex: 1;
  margin-left: 12px;
}

.product-info h5 {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: #111;
}

.product-info p {
  margin: 3px 0 0;
  color: #ef4444;
  font-size: 12px;
}

.low,
.critical {
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}
.low {
  background: #fff7ed;
  color: #ea580c;
}
.critical {
  background: #fee2e2;
  color: #dc2626;
}

@media (max-width: 768px) {
  .inventory-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.financial-card {
  background: #fff;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #ccc;
}

.financial-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.financial-header h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.financial-header select {
  border: 1px solid #ddd;
  padding: 3px 6px;
  border-radius: 4px;
  color: #555;
}

.financial-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.financial-item:last-child {
  border-bottom: none;
}

.finance-icon {
  width: 45px;
  height: 45px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 17px;
}

.financial-item p {
  margin: 0;
  font-size: 13px;
  color: #64748b;
}

.financial-item h4 {
  margin: 3px 0 0;
  font-size: 14px;
  font-weight: 600;
}

/* Icon colors */

.revenue {
  background: linear-gradient(135deg, #16a34a, #4ade80);
}

.expense {
  background: linear-gradient(135deg, #ef4444, #fb7185);
}

.profit {
  background: linear-gradient(135deg, #2563eb, #60a5fa);
}

.margin {
  background: linear-gradient(135deg, #9333ea, #c084fc);
}
.top-selling-card {
  background: #fff;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #ccc;
}

.top-selling-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.top-selling-header h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #111;
}

.top-selling-header a {
  color: #2563eb;
  font-size: 13px;
  text-decoration: none;
}

.selling-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #eee;
}

.selling-item:last-child {
  border-bottom: 0;
}

.rank {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #eff6ff;
  color: #2563eb;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 13px;
}

.selling-item img {
  width: 55px;
  height: 55px;
  border-radius: 12px;
  object-fit: cover;
}

.selling-info {
  flex: 1;
}

.selling-info h5 {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: #111;
}

.selling-info p {
  margin: 4px 0 0;
  font-size: 12px;
  color: #64748b;
}

.selling-price {
  font-size: 13px;
  font-weight: 600;
  color: #16a34a;
}

.payment-card {
  background: #fff;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid #ccc;
}

.payment-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.pay-part {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: space-around;
}

.payment-head h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.payment-head span {
  background: #f4f5fa;
  padding: 6px 12px;
  border-radius: 30px;
  font-size: 12px;
  color: #666;
}

/* Donut */

.payment-chart {
  width: 40%;
  display: flex;
  justify-content: center;
  margin: 15px 0 25px;
}

.payment-donut {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: conic-gradient(
    #22c55e 0 70%,

    #3b82f6 70% 90%,

    #f97316 90% 100%
  );

  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.payment-donut::before {
  content: "";

  position: absolute;

  width: 140px;
  height: 140px;

  background: #fff;

  border-radius: 50%;
}

.payment-center {
  position: relative;
  z-index: 2;
  margin-top: 12px;
  text-align: center;
}

.payment-center h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: #222;
}

.payment-center p {
  margin-top: 6px;
  color: #777;
  font-size: 13px;
}
.payment-details {
  margin-top: 10px;
  width: 60%;
}

.payment-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.payment-row:last-child {
  border: none;
}

.left {
  display: flex;
  align-items: center;
  gap: 10px;

  color: #444;
}

.payment-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.payment-row.green {
  background: #22c55e;
}

.payment-row.blue {
  background: #3b82f6;
}

.payment-row.orange {
  background: #f97316;
}
.payment-row strong {
  color: #111;
}
.top-customers-card {
  background: #fff;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid #ccc;
}

.top-customers-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.top-customers-header h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #222;
}

.top-customers-header a {
  text-decoration: none;
  color: #2563eb;
  font-size: 13px;
  font-weight: 600;
}

.customer-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.customer-item {
  display: flex;
  align-items: center;
  padding-bottom: 5px;
  border-bottom: 1px solid #f1f1f1;
}

.customer-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.customer-item img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
  border: 3px solid #eef2ff;
}

.customer-info {
  flex: 1;
}

.customer-info h5 {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #222;
}

.customer-info p {
  margin: 5px 0 0;
  font-size: 12px;
  color: #888;
}

.customer-total {
  background: linear-gradient(135deg, #000000, #ffffff);
  color: #fff;
  padding: 8px 14px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
}

.customer-item:hover {
  transform: translateX(4px);
  transition: 0.3s;
}
.delivery-card {
  background: #fff;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid #ccc;
}

.delivery-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.delivery-header h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.delivery-header a {
  color: #2563eb;
  text-decoration: none;
  font-size: 13px;
}

.delivery-item {
  margin-bottom: 22px;
}

.delivery-item:last-child {
  margin-bottom: 0;
}

.delivery-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.delivery-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.delivery-icon {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 18px;
}

.pending-icon {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
}

.packed-icon {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.out-icon {
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
}

.delivered-icon {
  background: linear-gradient(135deg, #16a34a, #4ade80);
}

.delivery-left h5 {
  margin: 0;
  font-size: 13px;
  color: #222;
}

.delivery-left span {
  color: #888;
  font-size: 12px;
}

.delivery-top strong {
  color: #111;
}

.delivery-progress {
  width: 100%;
  height: 8px;
  background: #edf2f7;
  border-radius: 30px;
  overflow: hidden;
}

.delivery-progress span {
  display: block;
  height: 100%;
  border-radius: 30px;
}

.pending-bar {
  width: 18%;
  background: #f59e0b;
}

.packed-bar {
  width: 35%;
  background: #8b5cf6;
}

.out-bar {
  width: 14%;
  background: #3b82f6;
}

.delivered-bar {
  width: 82%;
  background: #16a34a;
}
.delivery-table-card {
  background: #fff;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid #ccc;
}

.delivery-table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.delivery-table-header h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
}

.delivery-table-header a {
  color: #2563eb;
  text-decoration: none;
  font-size: 13px;
}

.delivery-table {
  width: 100%;
  border-collapse: collapse;
}

.delivery-table th {
  text-align: left;
  padding: 14px 10px;
  background: #f8fafc;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
}

.delivery-table td {
  padding: 16px 10px;
  border-bottom: 1px solid #edf2f7;
  font-size: 12px;
  color: #333;
}

.delivery-table tr:last-child td {
  border-bottom: none;
}

.boy-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.boy-info img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

.status {
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.status.active {
  background: #dcfce7;
  color: #16a34a;
}

.status.leave {
  background: #fee2e2;
  color: #dc2626;
}
.quick-actions-card {
  background: #fff;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid #ccc;
}

.quick-actions-header {
  margin-bottom: 15px;
}
.quick-actions-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #222;
}

.quick-actions-grid {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.quick-action-item {
  flex: 1;
  min-width: 140px;
  text-decoration: none;
  color: #fff;
  border-radius: 5px;
  padding: 16px 12px;
  text-align: center;
  transition: 0.3s;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}
.quick-action-item:hover {
  transform: translateY(-3px);
  color: #fff;
}
.quick-action-item i {
  font-size: 28px;
  margin-bottom: 12px;
  display: block;
}

.quick-action-item span {
  font-size: 13px;
  font-weight: 500;
  line-height: 17px;
  display: block;
}
.qa-blue {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.qa-purple {
  background: linear-gradient(135deg, #cdc2e7, #5f5272);
}

.qa-orange {
  background: linear-gradient(135deg, #f59e0b, #ea580c);
}

.qa-green {
  background: linear-gradient(135deg, #10b981, #059669);
}

.qa-cyan {
  background: linear-gradient(135deg, #06b6d4, #0284c7);
}

.qa-pink {
  background: linear-gradient(135deg, #ec4899, #db2777);
}

.qa-indigo {
  background: linear-gradient(135deg, #6366f1, #4338ca);
}

.qa-red {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

.qa-dark {
  background: linear-gradient(135deg, #374151, #111827);
}

@media (max-width: 991px) {
  .quick-action-item {
    min-width: 160px;
  }
}

@media (max-width: 576px) {
  .quick-action-item {
    min-width: 100%;
  }
}
    .cp-wrapper{ font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
    .cp-hero{
        background: linear-gradient(120deg, #eafaf1 0%, #f3fbf6 55%, #eefcf3 100%);
        border-radius: 6px;
        padding: 16px 22px;
        position: relative;
        overflow: hidden;
        margin-bottom: 18px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    }
    .cp-back-btn{
        background:#fff;
        border:1px solid #e3e8e5;
        color:#2f3b36;
        font-weight:600;
        font-size:14px;
        padding:8px 16px;
        border-radius:10px;
        display:inline-flex;
        align-items:center;
        gap:6px;
        text-decoration:none;
        box-shadow:0 1px 3px rgba(0,0,0,0.05);
    }
    .cp-back-btn:hover{ color:#198754; text-decoration:none; }

    .cp-hero-body{
        display:flex;
        align-items:center;
        gap:20px;
        justify-content: center;
        margin-top:18px;
        flex-wrap:wrap;
    }
    .cp-avatar-wrap img{
        width:96px;height:96px;object-fit:cover;border-radius:50%;
        border:4px solid #fff;
        box-shadow:0 2px 10px rgba(0,0,0,0.08);
    }
    .cp-hero-info h3{
        font-weight:600;
        margin-bottom:6px;
        display:flex;
        align-items:center;
        font-size:18px;
        gap:12px;
        color:#1f2a26;
    }
    .cp-status-pill{
        font-size:12px;
        font-weight:600;
        padding:5px 14px;
        border-radius:20px;
        display:inline-flex;
        align-items:center;
        gap:5px;
    }
    .cp-status-pill.active{ background:#e7f8ee; color:#1a9c53; }
    .cp-status-pill.inactive{ background:#fff4e0; color:#c98a12; }
    .cp-status-pill.other{ background:#fde8e8; color:#d64545; }
    .cp-status-pill i{ font-size:8px; }

    .cp-hero-meta{
        display:flex;
        gap:8px;
        flex-wrap:wrap;
        flex-direction: column;
        color:#4b5a54;
        font-size:14px;
        margin-top:2px;
    }
    .cp-hero-meta span{ display:flex; align-items:center; gap:6px; }
    .cp-hero-meta i{ color:#198754; }
    .cp-infobar{
        background:#fff;
        border-radius:6px;
        box-shadow:0 2px 10px rgba(0,0,0,0.04);
        padding:13px 10px;
        margin-bottom:22px;
        display: grid;
        grid-template-columns:1fr 0.8fr 0.8fr 1fr 0.8fr;
        gap: 6px;

    }
    .cp-info-item{
        display:flex;
        align-items:center;
        gap:12px;
        padding:6px 3px;
        border-right:1px solid #eef1f0;
    }
    .cp-info-item:last-child{ border-right:none; }
    .cp-info-icon{
        width:42px;height:42px;min-width:42px;
        border-radius:50%;
        background:#e7f8ee;
        color:#198754;
        display:flex;align-items:center;justify-content:center;
        font-size:18px;
    }
    .cp-info-label{ font-size:12px; color:#8a9591; font-weight:600; margin-bottom:2px; }
    .cp-info-value{ font-size:12px; font-weight:600; color:#1f2a26; word-break:break-word; }
    .cp-info-value.money{ color:#198754; }

    /* ---------- Order Card ---------- */
    .cp-order-card{
        background:#fff;
        border-radius:6px;
        box-shadow:0 2px 10px rgba(0,0,0,0.08);
        margin-bottom:16px;
        overflow:hidden;
        border-left:4px solid #198754;
    }
    .cp-order-card.cp-cancelled{ border-left:4px solid #dc3545; }

    .cp-order-header{
        display:flex;
        justify-content:space-between;
        align-items:center;
        flex-wrap:wrap;
        gap:10px;
        padding:12px 18px;
        border-bottom:1px solid #f0f2f1;
    }
    .cp-order-header .cp-order-icon{
        width:34px;height:34px;
        border-radius:50%;
        background:#e7f8ee;
        color:#198754;
        display:inline-flex;align-items:center;justify-content:center;
        margin-right:10px;
    }
    .cp-order-title-row{ display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
    .cp-order-number{ font-weight:700; color:#1f2a26; font-size:15px; }
    .cp-badge-pill{
        font-size:11.5px;
        font-weight:600;
        padding:5px 12px;
        border-radius:20px;
    }
    .cp-order-date{ font-size:13px; color:#8a9591; display:flex; align-items:center; gap:6px; }
    .cp-order-part{
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 10px;
    }
    .cp-order-stats{
        display:flex;
        gap:16px;
        padding:13px 16px 6px;
        flex-wrap:wrap;
        background:#f8fbf9;
        border-radius:12px;
        border:1px solid #ddd;
    }
    .cp-stat-box{
        flex:1;
        min-width:150px;
        padding:8px 12px;
        display:flex;
        align-items:center;
        gap:12px;
    }
    .cp-stat-box .cp-info-icon{ background:#fff; box-shadow:0 1px 4px rgba(0,0,0,0.06); }

    .cp-order-address{
        padding:14px 22px 6px;
        font-size:13.5px;
        color:#4b5a54;
        line-height:1.7;
    }
    .cp-order-address strong{ color:#1f2a26; }
    .cp-order-address i{ width:18px; color:#198754; }

    .cp-order-body{ padding:18px 22px; }

    .cp-items-panel{
        background:#fbfcfb;
        border:1px solid #f0f2f1;
        border-radius:14px;
        padding:16px;
        height:100%;
    }
    .cp-panel-title{
        font-weight:700;
        font-size:14px;
        color:#1f2a26;
        display:flex;
        align-items:center;
        gap:8px;
        margin-bottom:12px;
    }
    .cp-panel-title i{ color:#198754; }

    .cp-item-row{
        display:flex;
        align-items:center;
        gap:12px;
        background:#fff;
        border:1px solid #f0f2f1;
        border-radius:12px;
        padding:10px 12px;
        margin-bottom:10px;
    }
    .cp-item-row img{ width:44px;height:44px;object-fit:cover;border-radius:8px; }
    .cp-item-meta{ font-size:12.5px; color:#8a9591; }
    .cp-item-stars img{ width:14px;height:14px; }

    .cp-review-box{
        margin-top:10px;
        font-size:13px;
        color:#4b5a54;
        background:#fff;
        border:1px dashed #dfe6e2;
        border-radius:10px;
        padding:10px 12px;
    }
    .cp-view-more{
        width:100%;
        margin-top:6px;
        border:1px solid #198754;
        color:#198754;
        background:#fff;
        border-radius:10px;
        font-size:13px;
        font-weight:600;
        padding:8px;
    }

    .cp-action-panel{ display:flex; flex-direction:column; gap:14px; }
    .cp-action-panel.cp-dim{ opacity:0.55; pointer-events:none; }
    .cp-action-card{
        background:#fbfcfb;
        border:1px solid #f0f2f1;
        border-radius:14px;
        padding:14px 16px;
    }
    .cp-action-card label{
        font-weight:700;
        font-size:13.5px;
        color:#1f2a26;
        display:flex;
        align-items:center;
        gap:8px;
        margin-bottom:10px;
    }
    .cp-action-card label i{ color:#198754; }
    .cp-action-flex{ display:flex; gap:10px; flex-wrap:wrap; }
    .cp-action-flex select{ flex:1; min-width:160px; border-radius:10px; border:1px solid #dfe6e2; }
    .cp-btn-green{
        background:#198754;
        border:1px solid #198754;
        color:#fff;
        border-radius:10px;
        font-size:13.5px;
        font-weight:600;
        padding:8px 16px;
        white-space:nowrap;
    }
    .cp-btn-green:hover{ background:#157347; color:#fff; }

    .cp-order-footer{
        display:flex;
        justify-content:flex-end;
        gap:10px;
        flex-wrap:wrap;
        padding:16px 22px;
        border-top:1px solid #f0f2f1;
    }
    .cp-btn-outline-green{
        border:1px solid #198754;
        color:#198754;
        background:#fff;
        border-radius:10px;
        font-weight:600;
        font-size:13.5px;
        padding:8px 18px;
        display:inline-flex;align-items:center;gap:6px;
        text-decoration:none;
    }
    .cp-btn-outline-green:hover{ background:#f0fbf4; color:#198754; text-decoration:none; }
    .cp-btn-solid-green{
        border:1px solid #198754;
        color:#fff;
        background:#198754;
        border-radius:10px;
        font-weight:600;
        font-size:13.5px;
        padding:8px 18px;
        display:inline-flex;align-items:center;gap:6px;
        text-decoration:none;
    }
    .cp-btn-solid-green:hover{ background:#157347; color:#fff; text-decoration:none; }
    .cp-btn-outline-danger{
        border:1px solid #dc3545;
        color:#dc3545;
        background:#fff;
        border-radius:10px;
        font-weight:600;
        font-size:13.5px;
        padding:8px 18px;
    }
    .cp-btn-outline-danger:hover{ background:#fdecec; color:#dc3545; }

    @media (max-width:576px){
        .cp-info-item{ border-right:none; border-bottom:1px solid #eef1f0; width:100%; }
        .cp-hero-body{ flex-direction:column; align-items:flex-start; }
    }

.product-item-reviews{
    position: absolute;
    top:10px;
    right:10px;
}
.delivered-dim {
    opacity: 0.5;      /* make semi-transparent */
    pointer-events: none; /* optional: make non-interactive */
    z-index: 0;        /* lower stacking if needed */
}

.order-item-list-padding{
    padding: 10px 15px!important;
}
.extand-order-list {
    position: relative;
    height: 195px;
    overflow:hidden;
}
.extand-order-list.extand {
    position: relative;
    height:auto;
    overflow:inherit;
}
.btn-extand-order-list {
    border-radius: 6px;
    height: 40px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    background: #b49d12;
    border: none;
    color: #fff;
    margin-top:15px;
    padding: 0px 25px;
}
.combo-flex{
    position: relative;
    width: 100%;
    display: inline-block;
}
.combo-flex select{
    position: relative;
    width: 50%;
    float: left;
    display: inline-block;
}
.combo-flex button{
    position: relative;
    width: 48%;
    float: right;
    display: inline-block;
}

    .cp-orders-topbar{
        display:flex;
        align-items:center;
        justify-content:space-between;
        flex-wrap:wrap;
        gap:12px;
        margin-bottom:18px;
    }
    .cp-orders-title{
        margin-bottom:0;
        font-weight:800;
        color:#1f2a26;
    }
    .cp-filters-group{
        display:flex;
        align-items:center;
        flex-wrap:wrap;
        gap:8px;
    }
    .cp-filter-btn{
        font-size:13.5px;
        font-weight:600;
        padding:7px 16px;
        border-radius:20px;
        border:1px solid #198754;
        color:#198754;
        background:#fff;
        text-decoration:none;
        display:inline-flex;
        align-items:center;
    }
    .cp-filter-btn:hover{ background:#f0fbf4; color:#198754; text-decoration:none; }
    .cp-filter-btn.cp-filter-active{ background:#198754; color:#fff; border-color:#198754; }

    .cp-daterange-form{
        display:flex;
        align-items:center;
        gap:8px;
        flex-wrap:wrap;
        margin-bottom:0;
    }
    .cp-date-input{
        border:1px solid #dfe6e2;
        border-radius:8px;
        font-size:13px;
        padding:5px 10px;
    }
    .cp-btn-apply{
        border:1px solid #198754;
        background:#198754;
        color:#fff;
        font-size:13px;
        font-weight:600;
        border-radius:8px;
        padding:6px 16px;
    }
    .cp-btn-apply:hover{ background:#157347; }
    .cp-btn-reset{
        border:1px solid #dfe6e2;
        background:#fff;
        color:#5a655f;
        font-size:13px;
        font-weight:600;
        border-radius:8px;
        padding:6px 16px;
        text-decoration:none;
    }
    .cp-btn-reset:hover{ background:#f5f7f6; color:#5a655f; text-decoration:none; }

    /* ---------- Order Card ---------- */
   

   
    .cp-items-panel{
        background:#fbfcfb;
        border:1px solid #f0f2f1;
        border-radius:14px;
        padding:16px;
        height:100%;
    }
    .cp-panel-title{
        font-weight:700;
        font-size:14px;
        color:#1f2a26;
        display:flex;
        align-items:center;
        gap:8px;
        margin-bottom:12px;
    }
    .cp-panel-title i{ color:#198754; }

    .cp-item-row{
        display:flex;
        align-items:center;
        gap:12px;
        background:#fff;
        border:1px solid #f0f2f1;
        border-radius:12px;
        padding:10px 12px;
        margin-bottom:10px;
    }
    .cp-item-row img{ width:44px;height:44px;object-fit:cover;border-radius:8px; }
    .cp-item-name{ font-weight:600; font-size:13px; color:#1f2a26; }
    .cp-item-meta{ font-size:12.5px; color:#8a9591; }
    .cp-item-stars img{ width:14px;height:14px; }

    .cp-review-box{
        margin-top:10px;
        font-size:13px;
        color:#4b5a54;
        background:#fff;
        border:1px dashed #dfe6e2;
        border-radius:10px;
        padding:10px 12px;
    }
    .cp-view-more{
        width:100%;
        margin-top:6px;
        border:1px solid #198754;
        color:#198754;
        background:#fff;
        border-radius:10px;
        font-size:13px;
        font-weight:600;
        padding:8px;
    }

    .cp-action-panel{ display:flex; flex-direction:column; gap:14px; }
    .cp-action-panel.cp-dim{ opacity:0.55; pointer-events:none; }
    .cp-action-card{
        background:#fbfcfb;
        border:1px solid #f0f2f1;
        border-radius:14px;
        padding:14px 16px;
    }
    .cp-action-card label{
        font-weight:700;
        font-size:13.5px;
        color:#1f2a26;
        display:flex;
        align-items:center;
        gap:8px;
        margin-bottom:10px;
    }
    .cp-action-card label i{ color:#198754; }
    .cp-action-flex{ display:flex; gap:10px; flex-wrap:wrap; }
    .cp-action-flex select{ flex:1; min-width:160px; border-radius:10px; border:1px solid #dfe6e2; }
    .cp-btn-green{
        background:#198754;
        border:1px solid #198754;
        color:#fff;
        border-radius:10px;
        font-size:13.5px;
        font-weight:600;
        padding:8px 16px;
        white-space:nowrap;
    }
    .cp-btn-green:hover{ background:#157347; color:#fff; }

    .cp-order-footer{
        display:flex;
        justify-content:flex-end;
        gap:10px;
        flex-wrap:wrap;
        padding:16px 22px;
        border-top:1px solid #f0f2f1;
    }
    .cp-btn-outline-green{
        border:1px solid #198754;
        color:#198754;
        background:#fff;
        border-radius:10px;
        font-weight:600;
        font-size:13.5px;
        padding:8px 18px;
        display:inline-flex;align-items:center;gap:6px;
        text-decoration:none;
    }
    .cp-btn-outline-green:hover{ background:#f0fbf4; color:#198754; text-decoration:none; }
    .cp-btn-solid-green{
        border:1px solid #198754;
        color:#fff;
        background:#198754;
        border-radius:10px;
        font-weight:600;
        font-size:13.5px;
        padding:8px 18px;
        display:inline-flex;align-items:center;gap:6px;
        text-decoration:none;
    }
    .cp-btn-solid-green:hover{ background:#157347; color:#fff; text-decoration:none; }
    .cp-btn-outline-danger{
        border:1px solid #dc3545;
        color:#dc3545;
        background:#fff;
        border-radius:10px;
        font-weight:600;
        font-size:13.5px;
        padding:8px 18px;
    }
    .cp-btn-outline-danger:hover{ background:#fdecec; color:#dc3545; }

    .cp-empty-state{
        text-align:center;
        color:#8a9591;
        background:#fff;
        border-radius:16px;
        padding:40px 20px;
        font-size:14px;
        box-shadow:0 2px 10px rgba(0,0,0,0.04);
    }

    .cp-pagination-wrap{ display:flex; justify-content:center; margin-top:14px; }

    @media (max-width:576px){
        .cp-order-stats{ flex-direction:column; }
    }
    .sub-cate{
        padding: 8px 14px;
        border-radius: 6px;
        background: #eee;
    }
    .cate-divide{
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
    .cta-pro{
        padding: 5px 12px;
        background: #eee;
        border-radius: 4px;
        width: fit-content;
    }
    /* ==========================================
   BANNER FORM - CUSTOM SCOPED STYLES
========================================== */

.bn-breadcrumb-text{
  font-size:13px;
  color:#8c95a8;
  margin-top:2px;
}
.bn-breadcrumb-text a{
  color:#8c95a8;
  text-decoration:none;
}
.bn-breadcrumb-text i{
  font-size:14px;
  margin:0 2px;
  vertical-align:middle;
}
.bn-breadcrumb-text span{
  color:#556;
}

.bn-btn-back{
  background:#fff;
  border:1px solid #e2e5ec;
  color:#2b3548;
  font-weight:600;
  font-size:13.5px;
  padding:10px 18px;
  border-radius:8px;
  transition:.25s;
}
.bn-btn-back:hover{
  background:#f5f7fb;
  color:#2b3548;
}

/* Card */
.bn-card{
  border:none;
  border-radius:14px;
  box-shadow:0 4px 20px rgba(20,30,60,.06);
  overflow:hidden;
}
.bn-card-header{
  display:flex;
  align-items:center;
  gap:10px;
  background:#fff;
  border-bottom:1px solid #eef0f4;
  padding:20px 26px;
}
.bn-card-header i{
  font-size:20px;
  color:#3b6ef6;
}
.bn-card-header h5{
  font-size:16px;
  font-weight:700;
  color:#1f2937;
  margin:0;
}
.bn-card-body{
  padding:34px 30px;
}

/* Form row */
.bn-form-row{
  display:grid;
  grid-template-columns:280px 1fr 260px;
  gap:24px;
  align-items:start;
  padding:26px 0;
  border-bottom:1px solid #f1f2f6;
}
.bn-form-row:last-of-type{
  border-bottom:none;
}
/* rows without preview panel only use 2 columns */
.bn-form-row:not(.bn-image-field-row){
  grid-template-columns:280px 1fr;
}

.bn-form-label label{
  display:block;
  font-size:14px;
  font-weight:700;
  color:#1f2937;
  margin-bottom:5px;
}
.bn-required{
  color:#f04343;
}
.bn-form-label small{
  display:block;
  font-size:12.5px;
  color:#9aa2b1;
  line-height:1.6;
}

.bn-form-field{
  position:relative;
}
.bn-input,
.bn-select{
  width:100%;
  padding:12px 16px;
  border:1.5px solid #e2e5ec;
  border-radius:9px;
  font-size:14px;
  color:#2b3548;
  outline:none;
  transition:.25s;
  background:#fff;
}
.bn-input:focus,
.bn-select:focus{
  border-color:#3b6ef6;
  box-shadow:0 0 0 3px rgba(59,110,246,.12);
}
.bn-char-count{
  position:absolute;
  right:2px;
  bottom:-20px;
  font-size:11.5px;
  color:#a3aab8;
}

/* Image upload */
.bn-upload-box{
  display:flex;
  align-items:center;
  gap:12px;
  border:1.5px solid #e2e5ec;
  border-radius:9px;
  padding:8px;
}
.bn-upload-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:#f5f7fb;
  border:1px solid #e2e5ec;
  color:#2b3548;
  font-size:13px;
  font-weight:600;
  padding:9px 16px;
  border-radius:7px;
  cursor:pointer;
  white-space:nowrap;
  transition:.25s;
}
.bn-upload-btn:hover{
  background:#eceff5;
}
.bn-upload-btn input[type="file"]{
  display:none;
}
.bn-file-name{
  font-size:13px;
  color:#9aa2b1;
}

.bn-current-file{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:12px;
  font-size:13px;
}
.bn-current-file i{
  color:#22c55e;
  font-size:16px;
}
.bn-current-file span{
  color:#2b3548;
  font-weight:500;
}
.bn-remove-link{
  margin-left:auto;
  display:inline-flex;
  align-items:center;
  gap:5px;
  color:#f04343;
  font-size:13px;
  font-weight:600;
  text-decoration:none;
}
.bn-remove-link:hover{
  color:#d92828;
}

/* Preview panel */
.bn-preview-panel{
  background:#f7f8fb;
  border:1px solid #eef0f4;
  border-radius:12px;
  padding:14px;
}
.bn-preview-label{
  display:block;
  font-size:12.5px;
  font-weight:700;
  color:#556;
  margin-bottom:10px;
}
.bn-preview-box{
  width:100%;
  height:130px;
  border-radius:8px;
  overflow:hidden;
  background:#eceff5;
  display:flex;
  align-items:center;
  justify-content:center;
}
.bn-preview-box img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.bn-preview-empty{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
  color:#b0b6c3;
  font-size:12px;
}
.bn-preview-empty i{
  font-size:26px;
}

/* Toggle status buttons */
.bn-toggle-group{
  display:inline-flex;
  border:1.5px solid #e2e5ec;
  border-radius:9px;
  overflow:hidden;
}
.bn-toggle-group input[type="radio"]{
  display:none;
}
.bn-toggle-btn{
  display:flex;
  align-items:center;
  gap:7px;
  padding:11px 26px;
  font-size:13.5px;
  font-weight:700;
  color:#8c95a8;
  cursor:pointer;
  transition:.25s;
  margin:0;
}
.bn-toggle-btn i{
  font-size:9px;
  color:#22c55e;
}
.bn-toggle-active{
  border-right:1.5px solid #e2e5ec;
}
#bnStatusActive:checked + .bn-toggle-active{
  background:#eafcf1;
  color:#16a34a;
}
#bnStatusInactive:checked + .bn-toggle-inactive{
  background:#f5f7fb;
  color:#2b3548;
}

/* Footer buttons */
.bn-form-footer{
  display:flex;
  justify-content:flex-end;
  gap:14px;
  margin-top:34px;
  padding-top:26px;
  border-top:1px solid #f1f2f6;
}
.bn-btn-cancel{
  display:inline-flex;
  align-items:center;
  background:#fff;
  border:1.5px solid #e2e5ec;
  color:#2b3548;
  font-weight:600;
  font-size:14px;
  padding:11px 22px;
  border-radius:8px;
  transition:.25s;
}
.bn-btn-cancel:hover{
  background:#f5f7fb;
  color:#2b3548;
}
.bn-btn-update{
  display:inline-flex;
  align-items:center;
  background:#3b6ef6;
  border:none;
  color:#fff;
  font-weight:700;
  font-size:14px;
  padding:11px 24px;
  border-radius:8px;
  box-shadow:0 8px 20px rgba(59,110,246,.3);
  transition:.25s;
}
.bn-btn-update:hover{
  background:#2f5fe0;
  color:#fff;
}

/* Responsive */
@media (max-width:992px){
  .bn-form-row,
  .bn-form-row:not(.bn-image-field-row){
    grid-template-columns:1fr;
  }
  .bn-preview-panel{
    max-width:260px;
  }
}