body {
  background-color: #f9f9f9;
}

svg,
video {
  width: 100%;
}

/* Login */
.card-wrapper {
  display: none;
}

.shine_logo-wrapper {
  margin-top: -90px;
}

.login-card {
  background-color: #214b75;
  color: #fff;
}

.login-card a {
  color: #fff;
}

.login-card a:hover {
  color: #dedde2;
}

.login-container {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 900px;
}

.left-box,
.right-box {
  flex: 1;
}

/* Login End */

/* Forms */
.form-control {
  border-color: var(--bs-gray-400);
}

/* Forms End */

.app-header {
  background: linear-gradient(90deg, #0f0533 0%, #1b0a5c 100%);
}

.logo-text {
  font-size: 2em;
  font-weight: bold;
  color: #fff;
}

.logo-text span {
  background: linear-gradient(270deg, #0fb0d8, #f9f047, #0fd850);
  background-size: 700% 700%;
  animation: shineMove 4s linear infinite;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes shineMove {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

.left-sidebar {
  top: 68px !important;
  transition: none;
}

.left-sidebar-wrapper {
  height: calc(100vh - 68px);
}

.left-sidebar .scroll-sidebar {
  height: calc(100vh - 260px);
}

.body-wrapper {
  position: relative;
}

.dt-search,
.dataTables_filter {
  display: none !important;
}

#sales-overview {
  min-height: 365px;
}

.low-stock td {
  background: linear-gradient(
    to bottom,
    rgb(214, 223, 100),
    rgb(189, 186, 5)
  ) !important;
  color: #fff !important;
  box-shadow: none !important;
}

[data-bs-theme="dark"] .low-stock td {
  background: linear-gradient(
    to bottom,
    rgb(255, 223, 100),
    rgb(153, 153, 0)
  ) !important;
  color: #fff !important;
  box-shadow: none !important;
}

.out-of-stock td {
  background: linear-gradient(
    to bottom,
    rgb(240 126 119),
    rgb(228 85 85)
  ) !important;
  color: #fff !important;
  box-shadow: none !important;
}

[data-bs-theme="dark"] .out-of-stock td {
  background: linear-gradient(
    to bottom,
    rgb(255, 99, 92),
    rgb(153, 0, 0)
  ) !important;
  color: #fff !important;
  box-shadow: none !important;
}

.scanner canvas {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
}

#scan-result {
  display: none;
}

#scan-result.show {
  display: block !important;
}

.purchase-info {
  display: none;
}

.change {
  display: none;
}

.customtab li a.nav-link {
  border-radius: 8px;
  border: 1px solid rgba(58, 71, 82, 0.15);
  padding: 15px 20px;
  color: var(--bs-dark);
  font-size: 15px;
}

.customtab li a.nav-link.active {
  border-radius: 8px;
  border-bottom: 2px solid var(--bs-primary);
  background: 0 0;
  box-shadow: 0 0 0 1px rgba(58, 71, 82, 0.1) inset;
  color: var(--bs-primary);
}

.customtab li a.nav-link:hover {
  color: var(--bs-primary);
  background-color: var(--bs-gray-100);
}

[data-bs-theme="dark"] .customtab li a.nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

#editProductModal .simple-spinner input[type="number"]::-webkit-outer-spin-button,
#editProductModal .simple-spinner input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#editProductModal .simple-spinner input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.simple-spinner {
  display: flex;
  align-items: center;
  gap: 5px;
}

.simple-spinner button:active {
  transform: scale(0.95);
}

/* Utilities */
.bg-opacity-20 {
  --bs-bg-opacity: 0.2;
}

.bg-danger-gradient {
  background-image: linear-gradient(
    to right,
    #eb3349 0%,
    #f45c43 51%,
    #eb3349 100%
  );
}

.container-fluid {
  padding-top: 5.5rem !important;
}

.brand-logo {
  min-width: 260px;
  width: 100%;
}

.nav-icon-hover-bg {
  width: 40px;
  height: 40px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-icon-hover-bg:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--bs-primary);
}

.round-56 {
  width: 56px;
  height: 56px;
}

.border-start-4 {
  border-left-width: 4px !important;
}

select.form-select {
  border-color: var(--bs-gray-400);
}

select:hover {
  cursor: pointer;
  border-color: var(--bs-gray-500);
}

.modal-colored-header {
  border-top-left-radius: 0.75rem;
  border-top-right-radius: 0.75rem;
}

.text-gray-100 {
  color: #f8f9fa !important;
}
.text-gray-200 {
  color: #e9ecef !important;
}
.text-gray-500 {
  color: #adb5bd !important;
}
.text-gray-700 {
  color: #495057 !important;
}
.text-gray-800 {
  color: #343a40 !important;
}
[data-bs-theme="dark"] .text-gray-800 {
  color: #f8f9fa !important;
}

table.dataTable th.dt-type-numeric,
table.dataTable th.dt-type-date,
table.dataTable td.dt-type-numeric,
table.dataTable td.dt-type-date {
  text-align: left;
}

table.dataTable th.dt-type-numeric div.dt-column-header,
table.dataTable th.dt-type-date div.dt-column-header {
  flex-direction: row;
}
/* Utilities End */

/* Notification Bell Styles */
#notificationList {
  display: flex;
  flex-direction: column;
}

.notification-dropdown {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border: none;
  border-radius: 10px;
}

.notification-item {
  transition: all 0.3s ease;
  border-radius: 8px;
  margin: 4px 0;
  border-top: 1px solid #e9ecef;
  border-right: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
}

.notification-item:hover {
  background-color: #f8f9fa;
  cursor: pointer;
}

.notification-item.out-of_stock {
  border-left: 4px solid #dc3545;
}

.notification-item.low-stock {
  border-left: 4px solid #ffc107;
}

.notification-badge {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

#notificationBadge {
  font-size: 0.7rem;
  min-width: 16px;
  height: 16px;
  padding: 2px 4px;
  top: 20px;
  right: 3px;
}

.notification-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: white;
}

.notification-icon.danger {
  background-color: #dc3545;
}

.notification-icon.warning {
  background-color: #ffc107;
}

.notification-empty {
  opacity: 0.6;
}

/* Notification Bell Animation */
@keyframes bellRing {
  0%, 100% { transform: rotate(0deg); }
  10%, 30% { transform: rotate(-10deg); }
  20% { transform: rotate(10deg); }
}

.notification-bell-ring {
  animation: bellRing 1s ease-in-out;
}

/* Stock Alert Items */
.stock-alert-item {
  transition: all 0.2s ease-in-out;
  border: 1px solid #dee2e6;
}

.stock-alert-item:hover {
  color: #212529 !important;
  background-color: #f8f9fa !important;
  border-color: #007bff;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 123, 255, 0.15);
}

.stock-alert-item:hover > h6,
.stock-alert-item:hover > p {
  color: #212529 !important;
}

.stock-alert-item:active {
  transform: translateY(0px);
}

.apexcharts-menu {
  width: max-content;
}

.apexcharts-menu-icon:hover > svg {
  cursor: pointer;
  fill: #fff;
  background-color: var(--bs-primary);
}

.apexcharts-menu-item:hover {
  cursor: pointer;
  color: #fff;
  background-color: var(--bs-primary);
}

/* .salesTableContainer {
  overflow: auto;
  height: 480px;
} */

.daterangepicker td.end-date.in-range {
    background-color: #d1bf00 !important;   /* red */
}

#searchProduct {
  min-width: 328px;
  /* background-image: url('assets/icons/search-icon.svg');
  background-repeat: no-repeat;
  background-size: 16px;
  background-position: 10px center;
  padding-left: 36px; */
}