/* ============================================
   POS Terminal System — Complete Stylesheet
   Dark Theme with Glassmorphism Effects
   ============================================ */

/* === GLOBAL === */
.fas, .fa-solid, .fa-regular, .fa-brands, .fa, .far, .fab {
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome" !important;
}
.fas, .fa-solid, .fa {
  font-weight: 900 !important;
}
.far, .fa-regular {
  font-weight: 400 !important;
}

body {
  background: #0a0e1a;
  font-family: 'Outfit', sans-serif;
  margin: 0;
  color: var(--text-color, #ffffff);
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* === TOP NAVIGATION === */
#topNav {
  position: fixed;
  top: 0;
  width: 100%;
  height: 56px;
  display: flex;
  flex-direction: row;
  background: rgba(15, 18, 35, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 100;
  padding: 0 20px;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-icon {
  color: #6366f1;
  font-size: 22px;
}

.nav-brand {
  color: white;
  font-weight: 700;
  font-size: 18px;
}

.nav-tabs {
  display: flex;
  gap: 6px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 4px;
  border-radius: 12px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05), 0 4px 20px rgba(0,0,0,0.2);
}

.nav-tab {
  background: transparent;
  border: 1px solid transparent;
  color: rgba(255, 255, 255, 0.45);
  padding: 6px 14px;
  border-radius: 9px;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.nav-tab i {
  font-size: 14px;
  transition: transform 0.2s ease;
}

.nav-tab:hover {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.9);
}

.nav-tab:hover i {
  transform: translateY(-1px) scale(1.1);
}

.nav-tab.active {
  background: rgba(99, 102, 241, 0.12);
  color: #999eff;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.35);
}

.nav-tab.active i {
  transform: scale(1.1);
  color: #818cf8;
  text-shadow: 0 0 8px rgba(99, 102, 241, 0.5);
}

.nav-tab kbd {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1px 4px;
  border-radius: 4px;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.3);
  margin-left: 2px;
  font-family: inherit;
  font-weight: 700;
  transition: all 0.25s;
}

.nav-tab.active kbd {
  background: rgba(99, 102, 241, 0.25);
  border-color: rgba(99, 102, 241, 0.4);
  color: rgba(255, 255, 255, 0.7);
}

/* === NAV DROPDOWN === */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown.open .dropdown-menu {
  display: flex;
}

.nav-dropdown.open .fa-chevron-down {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: rgba(15, 18, 35, 0.98);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  min-width: 195px;
  display: none;
  flex-direction: column;
  padding: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  gap: 2px;
}

.dropdown-item {
  background: transparent;
  border: 1px solid transparent;
  text-align: left;
  color: rgba(255, 255, 255, 0.6);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
  width: 100%;
}

.dropdown-item i {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  transition: transform 0.2s ease, color 0.2s ease;
  width: 18px;
  text-align: center;
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: white;
}

.dropdown-item:hover i {
  color: white;
  transform: scale(1.08);
}

.dropdown-item.active {
  background: rgba(99, 102, 241, 0.15);
  color: #999eff;
  border-color: rgba(99, 102, 241, 0.35);
}

.dropdown-item.active i {
  color: #818cf8;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-user {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.nav-role-badge {
  background: rgba(99, 102, 241, 0.2);
  color: #818cf8;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.nav-logout {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #f87171;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.nav-logout:hover {
  background: rgba(239, 68, 68, 0.2);
}

/* === PAGE CONTENT === */
.page-content {
  display: none;
  padding: 72px 24px 24px;
}

.page-content.active-page {
  display: block;
}

/* Billing page: fill full viewport, no scroll */
#pageBilling.active-page {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
  padding: 72px 24px 0px;
  box-sizing: border-box;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.page-title {
  color: white;
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-title i {
  color: #6366f1;
}

.page-subtitle {
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
  margin-top: 4px;
}

.page-actions {
  display: flex;
  gap: 8px;
}

/* === ACTION BUTTONS === */
.action-btn {
  border: none;
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s;
}

.action-btn.primary {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
}

.action-btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.action-btn.secondary {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.action-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.action-btn.sm {
  padding: 6px 12px;
  font-size: 12px;
}

.action-btn.danger {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* === PAGINATION STYLES === */
.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.pagination button {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  font-size: 13px;
  transition: background 0.2s, color 0.2s;
}
.pagination button:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}
.pagination button.active {
  background: rgba(99, 102, 241, 0.2);
  color: #999eff;
}
.pagination button:disabled {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.3);
  cursor: not-allowed;
}
.pagination-info {
  display: flex;
  align-items: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  padding: 0 8px;
  font-variant-numeric: tabular-nums;
}
.pagination-dots {
  display: flex;
  align-items: center;
  padding: 0 4px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 14px;
  user-select: none;
}

/* === BILLING LAYOUT === */
.billing-layout-full {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 72px);
  gap: 10px;
  overflow: hidden;
}
.billing-top-row {
  display: flex;
  gap: 15px;
  flex-shrink: 0;
}
.billing-main-cart {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.billing-bottom-row {
  flex-shrink: 0;
}
.billing-layout {
  display: grid;
  grid-template-columns: 1fr 680px;
  gap: 20px;
  height: calc(100vh - 72px);
}

.billing-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
}

.billing-right {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  overflow: hidden;
}

/* === SEARCH BAR === */
.search-bar {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 16px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 16px;
}

.search-bar input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px 16px 14px 44px;
  color: white;
  font-size: 15px;
  outline: none;
  transition: all 0.3s;
  box-sizing: border-box;
}

.search-bar input:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.search-bar input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.search-shortcuts {
  position: absolute;
  right: 12px;
}

.search-shortcuts kbd {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.4);
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 11px;
  font-family: 'Outfit', sans-serif;
}

/* === CATEGORY PILLS === */
.category-pills {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.category-pills::-webkit-scrollbar {
  height: 3px;
}

.category-pills::-webkit-scrollbar-track {
  background: transparent;
}

.category-pills::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.cat-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s;
}

.cat-pill:hover {
  background: rgba(255, 255, 255, 0.08);
}

.cat-pill.active {
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.4);
  color: #818cf8;
}

/* === PRODUCT GRID === */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  overflow-y: auto; overscroll-behavior: contain;
  flex: 1;
  padding-right: 4px;
}

.product-grid::-webkit-scrollbar {
  width: 4px;
}

.product-grid::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.product-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-card:hover {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.2);
  transform: translateY(-2px);
}

.product-card .p-name {
  color: white;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.product-card .p-price {
  color: #818cf8;
  font-size: 16px;
  font-weight: 700;
}

.product-card .p-stock {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}

.product-card .p-stock.low {
  color: #f87171;
}

.product-card .p-cat {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* === CART === */
.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cart-title {
  color: white;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-title i {
  color: #6366f1;
}

.cart-actions {
  display: flex;
  gap: 6px;
}

.cart-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.3s;
}

.cart-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.cart-btn kbd {
  background: rgba(255, 255, 255, 0.1);
  padding: 1px 4px;
  border-radius: 3px;
  font-size: 9px;
}

.hold-btn:hover {
  border-color: rgba(245, 158, 11, 0.4);
  color: #fbbf24;
}

.resume-btn:hover {
  border-color: rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.clear-btn:hover {
  border-color: rgba(239, 68, 68, 0.4);
  color: #f87171;
}

/* === CUSTOMER SELECT === */
.customer-select {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
}

.customer-select select {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  outline: none;
}

.customer-select select option {
  background: #1a1e30;
}

/* === CART ITEMS === */
.cart-items {
  flex: 1;
  overflow-y: auto; overscroll-behavior: contain;
  padding: 8px 16px;
}

.cart-items::-webkit-scrollbar {
  width: 4px;
}

.cart-items::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: rgba(255, 255, 255, 0.2);
}

.cart-empty i {
  font-size: 48px;
  margin-bottom: 12px;
}

.cart-empty p {
  font-size: 16px;
  font-weight: 600;
}

.cart-empty span {
  font-size: 12px;
  margin-top: 4px;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  align-items: center;
}

.cart-item .ci-name {
  color: white;
  font-size: 15px;
  font-weight: 500;
}

.cart-item .ci-price {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

.cart-item .ci-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-item .ci-qty {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  overflow: hidden;
}

.cart-item .ci-qty button {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  width: 28px;
  height: 28px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
}

.cart-item .ci-qty button:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.cart-item .ci-qty span {
  color: white;
  font-size: 13px;
  font-weight: 600;
  min-width: 24px;
  text-align: center;
}

.cart-item .ci-total {
  color: #818cf8;
  font-size: 13px;
  font-weight: 700;
  min-width: 70px;
  text-align: right;
}

.cart-item .ci-remove {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  font-size: 12px;
  padding: 4px;
  transition: all 0.2s;
}

.cart-item .ci-remove:hover {
  color: #f87171;
}

.cart-item .ci-discount-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}

.cart-item .ci-discount-input {
  width: 60px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  outline: none;
}

/* === CART SUMMARY === */
.cart-summary {
  padding: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

.summary-row.total-row {
  color: white;
  font-size: 20px;
  font-weight: 800;
  padding-top: 8px;
  margin-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* === PAY BUTTON === */
.pay-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  border: none;
  border-radius: 0 0 16px 16px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s;
}

.pay-btn:hover {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
}

.pay-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pay-btn kbd {
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
}

/* === MODALS === */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  /* animation: fadeIn 0.05s ease; */ /* Removed for instant opening */
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-box {
  background: #141828;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto; overscroll-behavior: contain;
  /* animation: slideUp 0.1s ease; */ /* Removed for instant opening */
}

.modal-box.modal-lg {
  max-width: 700px;
}

.modal-box.modal-xl {
  max-width: 1000px;
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.modal-header h3 {
  color: white;
  font-size: 17px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-header h3 i {
  color: #6366f1;
}

.modal-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  font-size: 24px;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  transition: all 0.2s;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.05);
  color: white;
}

.modal-body {
  padding: 24px;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

/* === FORMS === */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-grid.cols-1 {
  grid-template-columns: 1fr;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  font-weight: 500;
}

.form-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: white;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  outline: none;
  transition: all 0.3s;
  font-family: 'Outfit', sans-serif;
}

.form-input:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.form-input option {
  background: #1a1e30;
}

.add-inline {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.add-inline .form-input {
  flex: 1;
}

.item-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 300px;
  overflow-y: auto; overscroll-behavior: contain;
}

.item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
}

.item-row span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.item-row .item-actions {
  display: flex;
  gap: 4px;
}

.item-row .item-actions button {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  padding: 4px;
  font-size: 13px;
  transition: color 0.2s;
}

.item-row .item-actions button:hover {
  color: #f87171;
}

/* === PAYMENT MODAL === */
.payment-total {
  text-align: center;
  padding: 20px;
  background: rgba(99, 102, 241, 0.08);
  border-radius: 12px;
  margin-bottom: 20px;
}

.payment-total span:first-child {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  margin-bottom: 4px;
}

.payment-amount {
  color: white;
  font-size: 32px;
  font-weight: 800;
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.pm-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.5);
  padding: 12px 8px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: all 0.3s;
}

.pm-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.pm-btn.active {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.4);
  color: #818cf8;
}

.pm-btn i {
  font-size: 18px;
}

.pay-input-group {
  margin-bottom: 14px;
}

.pay-input-group label {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  margin-bottom: 6px;
}

.pay-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: white;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 15px;
  outline: none;
  font-family: 'Outfit', sans-serif;
  box-sizing: border-box;
}

.pay-input:focus {
  border-color: #6366f1;
}

.change-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 10px;
  margin-bottom: 14px;
}

.change-display span:first-child {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

#changeAmount {
  color: #34d399;
  font-size: 22px;
  font-weight: 700;
}

.quick-cash {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.quick-cash button {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s;
}

.quick-cash button:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.3);
  color: #818cf8;
}

.loyalty-info {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  text-align: center;
  padding: 80px 20px;
}

/* Dark Theme specific visibility fixes */
body[data-theme="dark-blue"] .register-shift-panel,
body[data-theme="dark-gray"] .register-shift-panel,
body[data-theme="cyberpunk"] .register-shift-panel,
body[data-theme="nordic"] .register-shift-panel,
body[data-theme="violet"] .register-shift-panel,
body[data-theme="ruby"] .register-shift-panel {
  background: rgba(0, 0, 0, 0.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

body[data-theme="dark-blue"] .modal-box label,
body[data-theme="dark-gray"] .modal-box label,
body[data-theme="cyberpunk"] .modal-box label,
body[data-theme="nordic"] .modal-box label,
body[data-theme="violet"] .modal-box label,
body[data-theme="ruby"] .modal-box label {
  color: rgba(255, 255, 255, 0.95) !important;
}


/* === TABLE === */
.table-wrapper {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  overflow: hidden;
}

.table-toolbar {
  display: flex;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
}

.table-search {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  outline: none;
  flex: 1;
  min-width: 200px;
  font-family: 'Outfit', sans-serif;
}

.table-search:focus {
  border-color: #6366f1;
}

.table-search::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.table-filter {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  outline: none;
  font-family: 'Outfit', sans-serif;
}

.table-filter option {
  background: #1a1e30;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th {
  text-align: left;
  padding: 12px 16px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.data-table td {
  padding: 12px 16px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.data-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* === BADGES === */
.stock-badge {
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
}

.stock-badge.ok {
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
}

.stock-badge.low {
  background: rgba(245, 158, 11, 0.1);
  color: #fbbf24;
}

.stock-badge.out {
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
}

.status-badge {
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
}

.status-badge.active {
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
}

.status-badge.warning {
  background: rgba(245, 158, 11, 0.1);
  color: #fbbf24;
}

.status-badge.inactive {
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
}

.tier-badge {
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
}

.tier-badge.standard {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.5);
}

.tier-badge.silver {
  background: rgba(148, 163, 184, 0.15);
  color: #94a3b8;
}

.tier-badge.gold {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

.tier-badge.platinum {
  background: rgba(139, 92, 246, 0.15);
  color: #a78bfa;
}

/* === ALERTS BAR === */
.alerts-bar {
  padding: 14px 18px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 12px;
  margin-bottom: 16px;
  color: #fbbf24;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* === LOYALTY CONFIG === */
.loyalty-config {
  padding: 20px;
  margin-bottom: 20px;
}

.loyalty-config h3 {
  color: white;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.loyalty-config h3 i {
  color: #6366f1;
}

.loyalty-fields {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.lf-group {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}

.lf-group input {
  width: 80px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: white;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 13px;
  outline: none;
  text-align: center;
  font-family: 'Outfit', sans-serif;
}

.glass-card-sm {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
}

/* === REPORTS === */
.report-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.report-tab {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.5);
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s;
}

.report-tab:hover {
  background: rgba(255, 255, 255, 0.08);
}

.report-tab.active {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.3);
  color: #818cf8;
}

.report-content {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 24px;
  min-height: 400px;
}

.report-content h3 {
  color: white;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.report-content .report-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.report-card {
  padding: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  text-align: center;
}

.report-card .rc-value {
  font-size: 24px;
  font-weight: 800;
  color: white;
  margin-bottom: 4px;
}

.report-card .rc-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.report-card.indigo .rc-value {
  color: #818cf8;
}

.report-card.green .rc-value {
  color: #34d399;
}

.report-card.amber .rc-value {
  color: #fbbf24;
}

.report-card.pink .rc-value {
  color: #f472b6;
}

.report-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.report-table th {
  text-align: left;
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.report-table td {
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

/* === RECEIPT === */
.receipt {
  background: #fff;
  color: #333;
  padding: 30px;
  border-radius: 8px;
  font-family: monospace;
  font-size: 12px;
  max-width: 320px;
  margin: 0 auto;
}

.receipt .r-header {
  text-align: center;
  margin-bottom: 12px;
  border-bottom: 2px dashed #ccc;
  padding-bottom: 12px;
}

.receipt .r-header h2 {
  font-size: 18px;
  color: #111;
  margin: 0;
}

.receipt .r-header p {
  font-size: 10px;
  color: #777;
  margin: 2px 0;
}

.receipt .r-line {
  display: flex;
  justify-content: space-between;
  padding: 2px 0;
}

.receipt .r-line.r-bold {
  font-weight: 700;
  color: #111;
}

.receipt .r-divider {
  border-top: 1px dashed #ccc;
  margin: 8px 0;
}

.receipt .r-items .r-item {
  padding: 4px 0;
  border-bottom: 1px dotted #eee;
}

.receipt .r-item-name {
  font-weight: 600;
}

.receipt .r-footer {
  text-align: center;
  margin-top: 12px;
  border-top: 2px dashed #ccc;
  padding-top: 12px;
  color: #777;
  font-size: 10px;
}

/* === TOAST NOTIFICATIONS === */
.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  padding: 14px 20px;
  border-radius: 12px;
  color: white;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: slideInRight 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  max-width: 350px;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.toast.success {
  background: linear-gradient(135deg, #059669, #10b981);
}

.toast.error {
  background: linear-gradient(135deg, #dc2626, #ef4444);
}

.toast.info {
  background: linear-gradient(135deg, #4f46e5, #6366f1);
}

.toast.warning {
  background: linear-gradient(135deg, #d97706, #f59e0b);
}

/* === Z-REPORT BUTTON === */
.z-report-btn {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s;
}

.z-report-btn:hover {
  background: rgba(239, 68, 68, 0.25);
}

/* === PRODUCT CARD (app.js class names) === */
.product-card .pc-name {
  color: white;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.product-card .pc-price {
  color: #818cf8;
  font-size: 16px;
  font-weight: 700;
}

.product-card .pc-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}

.product-card .pc-category {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-card .pc-stock {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}

.product-card .pc-stock.stock-low {
  color: #f87171;
}

.product-card .pc-stock.stock-ok {
  color: #34d399;
}

/* === CART ITEM LAYOUT (app.js class names) === */
.cart-item .ci-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cart-item .ci-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  overflow: hidden;
}

.qty-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  width: 28px;
  height: 28px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.qty-value {
  color: white;
  font-size: 13px;
  font-weight: 600;
  min-width: 24px;
  text-align: center;
}

.ci-discount {
  display: flex;
  align-items: center;
}

.discount-input {
  width: 60px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  outline: none;
  font-family: 'Outfit', sans-serif;
}

.discount-input:focus {
  border-color: #6366f1;
}

/* === GENERIC BADGES (app.js class names) === */
.badge {
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  display: inline-block;
}

.badge-success {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.badge-warning {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

.badge-danger {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.badge-info {
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
}

.badge-default {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.5);
}

.badge-silver {
  background: rgba(148, 163, 184, 0.15);
  color: #94a3b8;
}

.badge-gold {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

.badge-platinum {
  background: rgba(139, 92, 246, 0.15);
  color: #a78bfa;
}

/* === TABLE ACTION BUTTONS === */
.tbl-btn {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.4);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 2px;
}

.tbl-btn:hover {
  background: rgba(255, 255, 255, 0.05);
}

.tbl-btn.edit:hover {
  color: #818cf8;
  border-color: rgba(99, 102, 241, 0.3);
}

.tbl-btn.delete:hover {
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.3);
}

.tbl-btn.warning {
  color: #fbbf24;
}

.tbl-btn.warning:hover {
  border-color: rgba(245, 158, 11, 0.3);
}

.tbl-btn.success {
  color: #34d399;
}

.tbl-btn.success:hover {
  border-color: rgba(16, 185, 129, 0.3);
}

/* === REPORT INNER STYLES === */
.report-header {
  margin-bottom: 20px;
}

.report-header h3 {
  color: white;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.report-header h3 i {
  color: #6366f1;
}

.report-header p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
}

.report-header h4,
.report-card h4 {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 600;
  margin: 20px 0 10px;
}

.report-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.stat-box {
  padding: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  text-align: center;
}

.stat-value {
  font-size: 22px;
  font-weight: 800;
  color: #818cf8;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* === RECEIPT STYLES (for modal receipt) === */
.receipt-header {
  text-align: center;
  margin-bottom: 12px;
  padding-bottom: 12px;
}

.receipt-header h2 {
  font-size: 20px;
  color: #111;
  margin: 0;
}

.receipt-header p {
  font-size: 11px;
  color: #777;
  margin: 2px 0;
}

.receipt-divider {
  border-top: 1px dashed #ccc;
  margin: 8px 0;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
  font-size: 12px;
}

.receipt-total {
  font-weight: 700;
  font-size: 14px;
  color: #111;
}

.receipt-info {
  margin-bottom: 8px;
}

.receipt-items {
  margin: 8px 0;
}

.receipt-item-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  font-weight: 700;
  border-bottom: 1px solid #ccc;
  padding-bottom: 4px;
  margin-bottom: 6px;
  font-size: 11px;
}

.receipt-item-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  padding: 3px 0;
  font-size: 11px;
  border-bottom: 1px dotted #eee;
}

.ri-name { font-weight: 500; }
.ri-qty { text-align: center; }
.ri-price { text-align: right; }
.ri-total { text-align: right; font-weight: 600; }

.receipt-item-discount {
  color: #999;
  font-size: 10px;
  text-align: right;
  padding: 1px 0;
}

.receipt-totals {
  margin-top: 8px;
}

.receipt-footer {
  text-align: center;
  margin-top: 12px;
  padding-top: 12px;
}

.receipt-footer p {
  margin: 4px 0;
}

.receipt-small {
  font-size: 9px;
  color: #999;
}

/* === TOAST VARIANT CLASSES (app.js uses toast-type) === */
.toast-success {
  background: linear-gradient(135deg, #059669, #10b981);
}

.toast-error {
  background: linear-gradient(135deg, #dc2626, #ef4444);
}

.toast-info {
  background: linear-gradient(135deg, #4f46e5, #6366f1);
}

.toast-warning {
  background: linear-gradient(135deg, #d97706, #f59e0b);
}

/* === ITEM INFO (supplier/held bills) === */
.item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.item-info strong {
  color: white;
  font-size: 13px;
}

.item-info small {
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
  display: block;
}

/* === ALERT CONTENT === */
.alert-content {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.alert-item {
  background: rgba(245, 158, 11, 0.15);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
}

/* === EMPTY STATE === */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  color: rgba(255, 255, 255, 0.2);
}

.empty-state i {
  font-size: 40px;
  margin-bottom: 10px;
}

.empty-state p {
  font-size: 14px;
}

/* === UTILITY CLASSES === */
.text-center {
  text-align: center;
}

code {
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  color: #a78bfa;
  font-family: 'Courier New', monospace;
}

/* === QUICK CASH BUTTON === */
.quick-cash-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s;
  font-family: 'Outfit', sans-serif;
}

.quick-cash-btn:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.3);
  color: #818cf8;
}

/* ============================================
   VISUAL THEME SWITCHER OVERRIDES
   ============================================ */

/* --- 1. EMERALD RETAIL --- */
body[data-theme="emerald"] {
  background: #040d0a;
}
body[data-theme="emerald"] .text-indigo-400,
body[data-theme="emerald"] .nav-brand span {
  color: #34d399 !important;
}
body[data-theme="emerald"] .nav-logo-icon {
  color: #10b981;
}
body[data-theme="emerald"] .nav-tab.active,
body[data-theme="emerald"] .dropdown-item.active {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-color: rgba(16, 185, 129, 0.35);
}
body[data-theme="emerald"] .nav-tab.active i,
body[data-theme="emerald"] .dropdown-item.active i {
  color: #34d399;
  text-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}
body[data-theme="emerald"] .nav-tab.active kbd {
  background: rgba(16, 185, 129, 0.25);
  border-color: rgba(16, 185, 129, 0.4);
  color: rgba(255, 255, 255, 0.7);
}
body[data-theme="emerald"] .nav-role-badge {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}
body[data-theme="emerald"] .action-btn.primary,
body[data-theme="emerald"] .pay-btn {
  background: linear-gradient(135deg, #10b981, #059669);
}
body[data-theme="emerald"] .action-btn.primary:hover {
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}
body[data-theme="emerald"] .product-card:hover {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.2);
}
body[data-theme="emerald"] .p-price,
body[data-theme="emerald"] .ci-total {
  color: #34d399;
}
body[data-theme="emerald"] .pm-btn.active {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
  color: #34d399;
}
body[data-theme="emerald"] .form-input:focus,
body[data-theme="emerald"] .search-bar input:focus {
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}
body[data-theme="emerald"] .quick-cash-btn:hover {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
  color: #34d399;
}
body[data-theme="emerald"] .report-tab.active {
  background: #10b981;
}

/* --- 2. MIDNIGHT AMBER --- */
body[data-theme="amber"] {
  background: #080702;
}
body[data-theme="amber"] .text-indigo-400,
body[data-theme="amber"] .nav-brand span {
  color: #fbbf24 !important;
}
body[data-theme="amber"] .nav-logo-icon {
  color: #f59e0b;
}
body[data-theme="amber"] .nav-tab.active,
body[data-theme="amber"] .dropdown-item.active {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-color: rgba(245, 158, 11, 0.35);
}
body[data-theme="amber"] .nav-tab.active i,
body[data-theme="amber"] .dropdown-item.active i {
  color: #fbbf24;
  text-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
}
body[data-theme="amber"] .nav-tab.active kbd {
  background: rgba(245, 158, 11, 0.25);
  border-color: rgba(245, 158, 11, 0.4);
  color: rgba(255, 255, 255, 0.7);
}
body[data-theme="amber"] .nav-role-badge {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}
body[data-theme="amber"] .action-btn.primary,
body[data-theme="amber"] .pay-btn {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}
body[data-theme="amber"] .action-btn.primary:hover {
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}
body[data-theme="amber"] .product-card:hover {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.2);
}
body[data-theme="amber"] .p-price,
body[data-theme="amber"] .ci-total {
  color: #fbbf24;
}
body[data-theme="amber"] .pm-btn.active {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.4);
  color: #fbbf24;
}
body[data-theme="amber"] .form-input:focus,
body[data-theme="amber"] .search-bar input:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}
body[data-theme="amber"] .quick-cash-btn:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.3);
  color: #fbbf24;
}
body[data-theme="amber"] .report-tab.active {
  background: #f59e0b;
}

/* --- 3. CLASSIC LIGHT --- */
body[data-theme="light"] {
  background: #f1f5f9;
  color: #0f172a;
}
body[data-theme="light"] #topNav {
  background: #ffffff;
  border-bottom: 1px solid #cbd5e1;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}
body[data-theme="light"] .nav-brand {
  color: #0f172a;
}
body[data-theme="light"] .nav-brand span,
body[data-theme="light"] .text-indigo-400 {
  color: #4f46e5 !important;
}
body[data-theme="light"] .nav-logo-icon {
  color: #4f46e5;
}
body[data-theme="light"] .nav-tabs {
  background: #f1f5f9;
  border-color: #cbd5e1;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}
body[data-theme="light"] .nav-tab {
  color: #64748b;
}
body[data-theme="light"] .nav-tab:hover {
  background: #e2e8f0;
  color: #0f172a;
}
body[data-theme="light"] .nav-tab.active,
body[data-theme="light"] .dropdown-item.active {
  background: #ffffff;
  color: #4f46e5;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  border-color: #cbd5e1;
}
body[data-theme="light"] .nav-tab.active i,
body[data-theme="light"] .dropdown-item.active i {
  color: #4f46e5;
  text-shadow: none;
}
body[data-theme="light"] .dropdown-menu {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
body[data-theme="light"] .dropdown-item {
  color: #64748b;
}
body[data-theme="light"] .dropdown-item i {
  color: #94a3b8;
}
body[data-theme="light"] .dropdown-item:hover {
  background: #f1f5f9;
  color: #0f172a;
}
body[data-theme="light"] .dropdown-item:hover i {
  color: #4f46e5;
}
body[data-theme="light"] .dropdown-item.active {
  background: rgba(79, 70, 229, 0.08);
  color: #4f46e5;
  border-color: rgba(79, 70, 229, 0.2);
}
body[data-theme="light"] .dropdown-item.active i {
  color: #4f46e5;
}
body[data-theme="light"] .nav-tab.active kbd {
  background: rgba(79, 70, 229, 0.15);
  border-color: rgba(79, 70, 229, 0.25);
  color: #4f46e5;
}
body[data-theme="light"] .nav-tab kbd {
  background: #e2e8f0;
  border-color: #cbd5e1;
  color: #64748b;
}
body[data-theme="light"] .nav-user {
  color: #475569;
}
body[data-theme="light"] .nav-role-badge {
  background: rgba(79, 70, 229, 0.1);
  color: #4f46e5;
}
body[data-theme="light"] .nav-logout {
  background: rgba(239, 68, 68, 0.05);
}
body[data-theme="light"] .page-title {
  color: #0f172a;
}
body[data-theme="light"] .page-title i {
  color: #4f46e5;
}
body[data-theme="light"] .page-subtitle {
  color: #475569;
}
body[data-theme="light"] .action-btn.secondary {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
}
body[data-theme="light"] .action-btn.secondary:hover {
  background: #f8fafc;
}
body[data-theme="light"] .action-btn.primary,
body[data-theme="light"] .pay-btn {
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  color: #ffffff;
}
body[data-theme="light"] .billing-right {
  background: #ffffff;
  border: 1px solid #cbd5e1;
}
body[data-theme="light"] .cart-header,
body[data-theme="light"] .customer-select,
body[data-theme="light"] .cart-summary {
  border-color: #e2e8f0;
}
body[data-theme="light"] .cart-title,
body[data-theme="light"] .customer-select select,
body[data-theme="light"] .cart-item .ci-name,
body[data-theme="light"] .summary-row.total-row {
  color: #0f172a;
}
body[data-theme="light"] .customer-select select option {
  background: #ffffff;
}
body[data-theme="light"] .cart-item .ci-qty {
  background: #f1f5f9;
}
body[data-theme="light"] .cart-item .ci-qty button {
  color: #475569;
}
body[data-theme="light"] .cart-item .ci-qty button:hover {
  background: #e2e8f0;
}
body[data-theme="light"] .cart-item .ci-qty span {
  color: #0f172a;
}
body[data-theme="light"] .cart-item {
  border-bottom-color: #f1f5f9;
}
body[data-theme="light"] .cart-btn {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #475569;
}
body[data-theme="light"] .cart-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}
body[data-theme="light"] .search-bar input {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
}
body[data-theme="light"] .search-bar input::placeholder {
  color: #94a3b8;
}
body[data-theme="light"] .cat-pill {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #475569;
}
body[data-theme="light"] .cat-pill:hover {
  background: #f8fafc;
}
body[data-theme="light"] .cat-pill.active {
  background: rgba(79, 70, 229, 0.08);
  border-color: rgba(79, 70, 229, 0.3);
  color: #4f46e5;
}
body[data-theme="light"] .product-card {
  background: #ffffff;
  border-color: #e2e8f0;
}
body[data-theme="light"] .product-card:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
body[data-theme="light"] .product-card .p-name {
  color: #0f172a;
}
body[data-theme="light"] .product-card .p-stock {
  color: #64748b;
}
body[data-theme="light"] .p-price,
body[data-theme="light"] .ci-total {
  color: #4f46e5;
}
body[data-theme="light"] .table-wrapper {
  background: #ffffff;
  border-color: #cbd5e1;
}
body[data-theme="light"] .table-toolbar {
  border-bottom-color: #cbd5e1;
}
body[data-theme="light"] .table-search,
body[data-theme="light"] .table-filter {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
}
body[data-theme="light"] .table-search::placeholder {
  color: #94a3b8;
}
body[data-theme="light"] .data-table th {
  color: #475569;
  background: #f8fafc;
  border-bottom-color: #cbd5e1;
}
body[data-theme="light"] .data-table td {
  color: #334155;
  border-bottom-color: #f1f5f9;
}
body[data-theme="light"] .data-table tr:hover td {
  background: #f8fafc;
}
body[data-theme="light"] .glass-card,
body[data-theme="light"] .glass-card-sm {
  background: #ffffff;
  border-color: #cbd5e1;
}
body[data-theme="light"] .glass-card h3,
body[data-theme="light"] .glass-card-sm h3,
body[data-theme="light"] .glass-card h4,
body[data-theme="light"] .glass-card label,
body[data-theme="light"] .modal-header h3 {
  color: #0f172a !important;
}
body[data-theme="light"] .form-input {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
}
body[data-theme="light"] .form-input::placeholder {
  color: #94a3b8;
}
body[data-theme="light"] .modal-box {
  background: #ffffff;
  border-color: #cbd5e1;
}
body[data-theme="light"] .modal-header,
body[data-theme="light"] .modal-footer {
  border-color: #cbd5e1;
}
body[data-theme="light"] .modal-close {
  color: #475569;
}
body[data-theme="light"] .modal-close:hover {
  background: #f1f5f9;
  color: #0f172a;
}
body[data-theme="light"] .stat-card {
  background: #f8fafc;
  border-color: #cbd5e1;
}
body[data-theme="light"] .stat-label {
  color: #64748b;
}
body[data-theme="light"] .stat-card .stat-number:not(.logo-text) {
  color: #0f172a;
}
body[data-theme="light"] .quick-cash-btn {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #334155;
}
body[data-theme="light"] .quick-cash-btn:hover {
  background: rgba(79, 70, 229, 0.08);
  border-color: rgba(79, 70, 229, 0.3);
  color: #4f46e5;
}
body[data-theme="light"] .pm-btn {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #475569;
}
body[data-theme="light"] .pm-btn.active {
  background: rgba(79, 70, 229, 0.08);
  border-color: #4f46e5;
  color: #4f46e5;
}
body[data-theme="light"] .pm-btn:hover {
  background: #f8fafc;
}
body[data-theme="light"] .payment-total {
  background: rgba(79, 70, 229, 0.05);
}
body[data-theme="light"] .payment-amount {
  color: #0f172a;
}
body[data-theme="light"] .pay-input {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
}
body[data-theme="light"] .change-display span {
  color: #0f172a;
}
body[data-theme="light"] .quick-cash button {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #334155;
}
body[data-theme="light"] .quick-cash button:hover {
  background: rgba(79, 70, 229, 0.08);
  border-color: rgba(79, 70, 229, 0.3);
  color: #4f46e5;
}
body[data-theme="light"] .report-tab {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
}
body[data-theme="light"] .report-tab:hover {
  background: #f8fafc;
}
body[data-theme="light"] .report-tab.active {
  background: #4f46e5;
  color: #ffffff;
  border-color: #4f46e5;
}
body[data-theme="light"] .report-card {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
}
body[data-theme="light"] .report-card h3,
body[data-theme="light"] .report-card h4 {
  color: #0f172a !important;
}
body[data-theme="light"] .report-card p {
  color: #475569;
}
body[data-theme="light"] .stat-box {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
}
body[data-theme="light"] .stat-box .stat-value {
  color: #0f172a;
}
body[data-theme="light"] .stat-box .stat-label {
  color: #64748b;
}
body[data-theme="light"] .item-row {
  background: #f8fafc;
  border-color: #e2e8f0;
}
body[data-theme="light"] .item-row span {
  color: #0f172a;
}

/* --- 4. CRIMSON RUBY --- */
body[data-theme="ruby"] {
  background: #0f0505;
}
body[data-theme="ruby"] .text-indigo-400,
body[data-theme="ruby"] .nav-brand span {
  color: #f87171 !important;
}
body[data-theme="ruby"] .nav-logo-icon {
  color: #ef4444;
}
body[data-theme="ruby"] .nav-tab.active,
body[data-theme="ruby"] .dropdown-item.active {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-color: rgba(239, 68, 68, 0.35);
}
body[data-theme="ruby"] .nav-tab.active i,
body[data-theme="ruby"] .dropdown-item.active i {
  color: #f87171;
  text-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
}
body[data-theme="ruby"] .nav-tab.active kbd {
  background: rgba(239, 68, 68, 0.25);
  border-color: rgba(239, 68, 68, 0.4);
  color: rgba(255, 255, 255, 0.7);
}
body[data-theme="ruby"] .nav-role-badge {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
}
body[data-theme="ruby"] .action-btn.primary,
body[data-theme="ruby"] .pay-btn {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
}
body[data-theme="ruby"] .action-btn.primary:hover {
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
}
body[data-theme="ruby"] .product-card:hover {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.2);
}
body[data-theme="ruby"] .p-price,
body[data-theme="ruby"] .ci-total {
  color: #f87171;
}
body[data-theme="ruby"] .pm-btn.active {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: #f87171;
}
body[data-theme="ruby"] .form-input:focus,
body[data-theme="ruby"] .search-bar input:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}
body[data-theme="ruby"] .quick-cash-btn:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.3);
  color: #f87171;
}
body[data-theme="ruby"] .report-tab.active {
  background: #ef4444;
}

/* --- 5. VIOLET ORCHID --- */
body[data-theme="violet"] {
  background: #080512;
}
body[data-theme="violet"] .text-indigo-400,
body[data-theme="violet"] .nav-brand span {
  color: #c084fc !important;
}
body[data-theme="violet"] .nav-logo-icon {
  color: #a855f7;
}
body[data-theme="violet"] .nav-tab.active,
body[data-theme="violet"] .dropdown-item.active {
  background: rgba(168, 85, 247, 0.12);
  color: #c084fc;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-color: rgba(168, 85, 247, 0.35);
}
body[data-theme="violet"] .nav-tab.active i,
body[data-theme="violet"] .dropdown-item.active i {
  color: #c084fc;
  text-shadow: 0 0 8px rgba(168, 85, 247, 0.5);
}
body[data-theme="violet"] .nav-tab.active kbd {
  background: rgba(168, 85, 247, 0.25);
  border-color: rgba(168, 85, 247, 0.4);
  color: rgba(255, 255, 255, 0.7);
}
body[data-theme="violet"] .nav-role-badge {
  background: rgba(168, 85, 247, 0.2);
  color: #c084fc;
}
body[data-theme="violet"] .action-btn.primary,
body[data-theme="violet"] .pay-btn {
  background: linear-gradient(135deg, #a855f7, #7e22ce);
}
body[data-theme="violet"] .action-btn.primary:hover {
  box-shadow: 0 8px 20px rgba(168, 85, 247, 0.3);
}
body[data-theme="violet"] .product-card:hover {
  background: rgba(168, 85, 247, 0.08);
  border-color: rgba(168, 85, 247, 0.2);
}
body[data-theme="violet"] .p-price,
body[data-theme="violet"] .ci-total {
  color: #c084fc;
}
body[data-theme="violet"] .pm-btn.active {
  background: rgba(168, 85, 247, 0.15);
  border-color: rgba(168, 85, 247, 0.4);
  color: #c084fc;
}
body[data-theme="violet"] .form-input:focus,
body[data-theme="violet"] .search-bar input:focus {
  border-color: #a855f7;
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15);
}
body[data-theme="violet"] .quick-cash-btn:hover {
  background: rgba(168, 85, 247, 0.15);
  border-color: rgba(168, 85, 247, 0.3);
  color: #c084fc;
}
body[data-theme="violet"] .report-tab.active {
  background: #a855f7;
}

/* --- 6. NORDIC FROST --- */
body[data-theme="nordic"] {
  background: #0b0f19;
}
body[data-theme="nordic"] .text-indigo-400,
body[data-theme="nordic"] .nav-brand span {
  color: #22d3ee !important;
}
body[data-theme="nordic"] .nav-logo-icon {
  color: #06b6d4;
}
body[data-theme="nordic"] .nav-tab.active,
body[data-theme="nordic"] .dropdown-item.active {
  background: rgba(6, 182, 212, 0.12);
  color: #22d3ee;
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-color: rgba(6, 182, 212, 0.35);
}
body[data-theme="nordic"] .nav-tab.active i,
body[data-theme="nordic"] .dropdown-item.active i {
  color: #22d3ee;
  text-shadow: 0 0 8px rgba(6, 182, 212, 0.5);
}
body[data-theme="nordic"] .nav-tab.active kbd {
  background: rgba(6, 182, 212, 0.25);
  border-color: rgba(6, 182, 212, 0.4);
  color: rgba(255, 255, 255, 0.7);
}
body[data-theme="nordic"] .nav-role-badge {
  background: rgba(6, 182, 212, 0.2);
  color: #22d3ee;
}
body[data-theme="nordic"] .action-btn.primary,
body[data-theme="nordic"] .pay-btn {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
}
body[data-theme="nordic"] .action-btn.primary:hover {
  box-shadow: 0 8px 20px rgba(6, 182, 212, 0.3);
}
body[data-theme="nordic"] .product-card:hover {
  background: rgba(6, 182, 212, 0.08);
  border-color: rgba(6, 182, 212, 0.2);
}
body[data-theme="nordic"] .p-price,
body[data-theme="nordic"] .ci-total {
  color: #22d3ee;
}
body[data-theme="nordic"] .pm-btn.active {
  background: rgba(6, 182, 212, 0.15);
  border-color: rgba(6, 182, 212, 0.4);
  color: #22d3ee;
}
body[data-theme="nordic"] .form-input:focus,
body[data-theme="nordic"] .search-bar input:focus {
  border-color: #06b6d4;
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
}
body[data-theme="nordic"] .quick-cash-btn:hover {
  background: rgba(6, 182, 212, 0.15);
  border-color: rgba(6, 182, 212, 0.3);
  color: #22d3ee;
}
body[data-theme="nordic"] .report-tab.active {
  background: #06b6d4;
}

/* --- 7. CYBERPUNK NEON --- */
body[data-theme="cyberpunk"] {
  background: #000000;
}
body[data-theme="cyberpunk"] .text-indigo-400,
body[data-theme="cyberpunk"] .nav-brand span {
  color: #facc15 !important;
  text-shadow: 0 0 8px rgba(250, 204, 21, 0.5);
}
body[data-theme="cyberpunk"] .nav-logo-icon {
  color: #facc15;
}
body[data-theme="cyberpunk"] .nav-tab.active,
body[data-theme="cyberpunk"] .dropdown-item.active {
  background: rgba(250, 204, 21, 0.15);
  color: #facc15;
  box-shadow: 0 0 15px rgba(250, 204, 21, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: #facc15;
}
body[data-theme="cyberpunk"] .nav-tab.active i,
body[data-theme="cyberpunk"] .dropdown-item.active i {
  color: #facc15;
  text-shadow: 0 0 10px rgba(250, 204, 21, 0.8);
}
body[data-theme="cyberpunk"] .nav-tab.active kbd {
  background: rgba(250, 204, 21, 0.3);
  border-color: #facc15;
  color: #ffffff;
}
body[data-theme="cyberpunk"] .nav-role-badge {
  background: rgba(250, 204, 21, 0.25);
  color: #facc15;
  border: 1px solid rgba(250, 204, 21, 0.4);
}
body[data-theme="cyberpunk"] .action-btn.primary,
body[data-theme="cyberpunk"] .pay-btn {
  background: linear-gradient(135deg, #facc15, #ca8a04);
  color: #000000;
  font-weight: 800;
}
body[data-theme="cyberpunk"] .action-btn.primary:hover {
  box-shadow: 0 8px 25px rgba(250, 204, 21, 0.5);
}
body[data-theme="cyberpunk"] .product-card:hover {
  background: rgba(250, 204, 21, 0.1);
  border-color: #facc15;
  box-shadow: 0 0 15px rgba(250, 204, 21, 0.2);
}
body[data-theme="cyberpunk"] .p-price,
body[data-theme="cyberpunk"] .ci-total {
  color: #facc15;
  text-shadow: 0 0 5px rgba(250, 204, 21, 0.3);
}
body[data-theme="cyberpunk"] .pm-btn.active {
  background: rgba(250, 204, 21, 0.25);
  border-color: #facc15;
  color: #facc15;
}
body[data-theme="cyberpunk"] .form-input:focus,
body[data-theme="cyberpunk"] .search-bar input:focus {
  border-color: #facc15;
  box-shadow: 0 0 10px rgba(250, 204, 21, 0.3);
}
body[data-theme="cyberpunk"] .quick-cash-btn:hover {
  background: rgba(250, 204, 21, 0.2);
  border-color: #facc15;
  color: #facc15;
}
body[data-theme="cyberpunk"] .report-tab.active {
  background: #facc15;
  color: #000000;
}

/* CUSTOM SEARCHABLE DROPDOWN */
.custom-select-dropdown {
  background: #141828;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  max-height: 250px;
  overflow-y: auto; overscroll-behavior: contain;
  z-index: 1000;
  margin-top: 4px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
}

.custom-select-item {
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.custom-select-item:hover {
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  padding-left: 18px; /* micro-animation sliding effect */
}

.custom-select-item:last-child {
  border-bottom: none;
}

/* ============================================
   ADVANCED DASHBOARD REPORTS
   ============================================ */
.dashboard-kpi-card {
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.dashboard-kpi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.04);
}

.chart-toggles {
  display: flex;
  background: rgba(15, 18, 35, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 2px;
}

.chart-toggle {
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  border: none;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chart-toggle:hover {
  color: rgba(255, 255, 255, 0.8);
}

.chart-toggle.active {
  background: rgba(99, 102, 241, 0.2);
  color: #818cf8;
  box-shadow: inset 0 0 0 1px rgba(99, 102, 241, 0.3);
}

/* ApexCharts Overrides for Dark Mode */
.apexcharts-tooltip {
  background: rgba(15, 18, 35, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
  backdrop-filter: blur(10px);
  color: #fff !important;
  border-radius: 8px !important;
}

.apexcharts-tooltip-title {
  background: rgba(255, 255, 255, 0.05) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  font-family: 'Outfit', sans-serif !important;
  font-weight: 600 !important;
  padding: 8px 12px !important;
}

.apexcharts-text tspan {
  font-family: 'Outfit', sans-serif;
}

.apexcharts-legend-text {
  color: rgba(255, 255, 255, 0.7) !important;
  font-family: 'Outfit', sans-serif !important;
}

/* === FINANCIAL SUITE TABS === */
.fin-tab-btn { transition: all 0.3s ease; border: 1px solid transparent; border-bottom: none; }
.fin-tab-btn.active { background: rgba(99, 102, 241, 0.15) !important; color: #fff !important; border-color: rgba(99, 102, 241, 0.35) !important; box-shadow: 0 -4px 12px rgba(99, 102, 241, 0.1); }
.fin-tab-btn.active i { color: #818cf8; }

/* ============================================
   RESPONSIVE DESIGN (MOBILE & TABLET)
   ============================================ */
@media (max-width: 1024px) {
  .billing-layout-full { display: flex; flex-direction: column; height: calc(100vh - 72px); gap: 15px; } .billing-top-row { display: flex; gap: 15px; } .billing-layout {
    grid-template-columns: 1fr 360px;
  }
}

@media (max-width: 768px) {
  /* Top Navigation */
  #topNav {
    height: auto;
    flex-direction: column;
    padding: 12px 10px;
    gap: 12px;
  }
  .nav-left {
    width: 100%;
    justify-content: space-between;
  }
  .nav-tabs {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }
  .nav-tab {
    padding: 8px 10px;
    font-size: 11px;
    flex-grow: 1;
    justify-content: center;
  }
  .nav-tab kbd {
    display: none; /* Hide shortcuts on mobile to save space */
  }
  .nav-right {
    width: 100%;
    justify-content: flex-end;
  }
  .nav-user span {
    display: none; /* Hide username text to save space */
  }

  /* Page Content */
  .page-content {
    padding: 150px 10px 20px; /* Account for much taller nav */
  }

  /* Billing Screen */
  .billing-layout-full { display: flex; flex-direction: column; height: calc(100vh - 72px); gap: 15px; } .billing-top-row { display: flex; gap: 15px; } .billing-layout {
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: auto;
  }
  .billing-left {
    height: 55vh;
  }
  .billing-right {
    height: 60vh;
    margin-bottom: 20px;
  }
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }
  
  /* Utilities */
  .page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .action-btn {
    padding: 10px 14px;
    font-size: 12px;
  }

  /* Modals */
  .modal-box {
    width: 95%;
    margin: 10px;
    max-height: 90vh;
    overflow-y: auto; overscroll-behavior: contain;
  }
  .form-grid {
    grid-template-columns: 1fr; /* Stack forms */
  }
  .form-group[style*="grid-column: span"] {
    grid-column: span 1 !important;
  }

  /* Tables */
  .table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }
  .data-table {
    min-width: 650px; /* Force scroll so columns don't crush */
  }
}

.product-card.keyboard-selected { border-color: #4ade80 !important; box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.4); transform: translateY(-2px); background: rgba(74, 222, 128, 0.08) !important; }

/* ============================================
   NEW LIGHT SYSTEM THEMES (Emerald, Sakura, Sand)
   ============================================ */

/* --- Base Layout for all Light Themes --- */
body[data-theme="light-emerald"],
body[data-theme="light-sakura"],
body[data-theme="light-sand"] {
  background: #f1f5f9;
  color: #0f172a;
}
body[data-theme="light-emerald"] #topNav,
body[data-theme="light-sakura"] #topNav,
body[data-theme="light-sand"] #topNav {
  background: #ffffff;
  border-bottom: 1px solid #cbd5e1;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}
body[data-theme="light-emerald"] .nav-brand,
body[data-theme="light-sakura"] .nav-brand,
body[data-theme="light-sand"] .nav-brand {
  color: #0f172a;
}
body[data-theme="light-emerald"] .nav-tabs,
body[data-theme="light-sakura"] .nav-tabs,
body[data-theme="light-sand"] .nav-tabs {
  background: #f1f5f9;
  border-color: #cbd5e1;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}
body[data-theme="light-emerald"] .nav-tab,
body[data-theme="light-sakura"] .nav-tab,
body[data-theme="light-sand"] .nav-tab {
  color: #64748b;
}
body[data-theme="light-emerald"] .nav-tab:hover,
body[data-theme="light-sakura"] .nav-tab:hover,
body[data-theme="light-sand"] .nav-tab:hover {
  background: #e2e8f0;
  color: #0f172a;
}
body[data-theme="light-emerald"] .nav-tab.active,
body[data-theme="light-sakura"] .nav-tab.active,
body[data-theme="light-sand"] .nav-tab.active,
body[data-theme="light-emerald"] .dropdown-item.active,
body[data-theme="light-sakura"] .dropdown-item.active,
body[data-theme="light-sand"] .dropdown-item.active {
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  border-color: #cbd5e1;
}
body[data-theme="light-emerald"] .nav-tab.active i,
body[data-theme="light-sakura"] .nav-tab.active i,
body[data-theme="light-sand"] .nav-tab.active i,
body[data-theme="light-emerald"] .dropdown-item.active i,
body[data-theme="light-sakura"] .dropdown-item.active i,
body[data-theme="light-sand"] .dropdown-item.active i {
  text-shadow: none;
}
body[data-theme="light-emerald"] .dropdown-menu,
body[data-theme="light-sakura"] .dropdown-menu,
body[data-theme="light-sand"] .dropdown-menu {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
body[data-theme="light-emerald"] .dropdown-item,
body[data-theme="light-sakura"] .dropdown-item,
body[data-theme="light-sand"] .dropdown-item {
  color: #64748b;
}
body[data-theme="light-emerald"] .dropdown-item i,
body[data-theme="light-sakura"] .dropdown-item i,
body[data-theme="light-sand"] .dropdown-item i {
  color: #94a3b8;
}
body[data-theme="light-emerald"] .dropdown-item:hover,
body[data-theme="light-sakura"] .dropdown-item:hover,
body[data-theme="light-sand"] .dropdown-item:hover {
  background: #f1f5f9;
  color: #0f172a;
}
body[data-theme="light-emerald"] .nav-tab kbd,
body[data-theme="light-sakura"] .nav-tab kbd,
body[data-theme="light-sand"] .nav-tab kbd {
  background: #e2e8f0;
  border-color: #cbd5e1;
  color: #64748b;
}
body[data-theme="light-emerald"] .nav-user,
body[data-theme="light-sakura"] .nav-user,
body[data-theme="light-sand"] .nav-user {
  color: #475569;
}
body[data-theme="light-emerald"] .nav-logout,
body[data-theme="light-sakura"] .nav-logout,
body[data-theme="light-sand"] .nav-logout {
  background: rgba(239, 68, 68, 0.05);
}
body[data-theme="light-emerald"] .page-title,
body[data-theme="light-sakura"] .page-title,
body[data-theme="light-sand"] .page-title {
  color: #0f172a;
}
body[data-theme="light-emerald"] .page-subtitle,
body[data-theme="light-sakura"] .page-subtitle,
body[data-theme="light-sand"] .page-subtitle {
  color: #475569;
}
body[data-theme="light-emerald"] .action-btn.secondary,
body[data-theme="light-sakura"] .action-btn.secondary,
body[data-theme="light-sand"] .action-btn.secondary {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
}
body[data-theme="light-emerald"] .action-btn.secondary:hover,
body[data-theme="light-sakura"] .action-btn.secondary:hover,
body[data-theme="light-sand"] .action-btn.secondary:hover {
  background: #f8fafc;
}
body[data-theme="light-emerald"] .billing-right,
body[data-theme="light-sakura"] .billing-right,
body[data-theme="light-sand"] .billing-right {
  background: #ffffff;
  border: 1px solid #cbd5e1;
}
body[data-theme="light-emerald"] .cart-header,
body[data-theme="light-sakura"] .cart-header,
body[data-theme="light-sand"] .cart-header,
body[data-theme="light-emerald"] .customer-select,
body[data-theme="light-sakura"] .customer-select,
body[data-theme="light-sand"] .customer-select,
body[data-theme="light-emerald"] .cart-summary,
body[data-theme="light-sakura"] .cart-summary,
body[data-theme="light-sand"] .cart-summary {
  border-color: #e2e8f0;
}
body[data-theme="light-emerald"] .cart-title,
body[data-theme="light-sakura"] .cart-title,
body[data-theme="light-sand"] .cart-title,
body[data-theme="light-emerald"] .customer-select select,
body[data-theme="light-sakura"] .customer-select select,
body[data-theme="light-sand"] .customer-select select,
body[data-theme="light-emerald"] .cart-item .ci-name,
body[data-theme="light-sakura"] .cart-item .ci-name,
body[data-theme="light-sand"] .cart-item .ci-name,
body[data-theme="light-emerald"] .summary-row.total-row,
body[data-theme="light-sakura"] .summary-row.total-row,
body[data-theme="light-sand"] .summary-row.total-row {
  color: #0f172a;
}
body[data-theme="light-emerald"] .customer-select select option,
body[data-theme="light-sakura"] .customer-select select option,
body[data-theme="light-sand"] .customer-select select option {
  background: #ffffff;
}
body[data-theme="light-emerald"] .cart-item .ci-qty,
body[data-theme="light-sakura"] .cart-item .ci-qty,
body[data-theme="light-sand"] .cart-item .ci-qty {
  background: #f1f5f9;
}
body[data-theme="light-emerald"] .cart-item .ci-qty button,
body[data-theme="light-sakura"] .cart-item .ci-qty button,
body[data-theme="light-sand"] .cart-item .ci-qty button {
  color: #475569;
}
body[data-theme="light-emerald"] .cart-item .ci-qty button:hover,
body[data-theme="light-sakura"] .cart-item .ci-qty button:hover,
body[data-theme="light-sand"] .cart-item .ci-qty button:hover {
  background: #e2e8f0;
}
body[data-theme="light-emerald"] .cart-item .ci-qty span,
body[data-theme="light-sakura"] .cart-item .ci-qty span,
body[data-theme="light-sand"] .cart-item .ci-qty span {
  color: #0f172a;
}
body[data-theme="light-emerald"] .cart-item,
body[data-theme="light-sakura"] .cart-item,
body[data-theme="light-sand"] .cart-item {
  border-bottom-color: #f1f5f9;
}
body[data-theme="light-emerald"] .cart-btn,
body[data-theme="light-sakura"] .cart-btn,
body[data-theme="light-sand"] .cart-btn {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #475569;
}
body[data-theme="light-emerald"] .cart-btn:hover,
body[data-theme="light-sakura"] .cart-btn:hover,
body[data-theme="light-sand"] .cart-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}
body[data-theme="light-emerald"] .search-bar input,
body[data-theme="light-sakura"] .search-bar input,
body[data-theme="light-sand"] .search-bar input {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
}
body[data-theme="light-emerald"] .search-bar input::placeholder,
body[data-theme="light-sakura"] .search-bar input::placeholder,
body[data-theme="light-sand"] .search-bar input::placeholder {
  color: #94a3b8;
}
body[data-theme="light-emerald"] .cat-pill,
body[data-theme="light-sakura"] .cat-pill,
body[data-theme="light-sand"] .cat-pill {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #475569;
}
body[data-theme="light-emerald"] .cat-pill:hover,
body[data-theme="light-sakura"] .cat-pill:hover,
body[data-theme="light-sand"] .cat-pill:hover {
  background: #f8fafc;
}
body[data-theme="light-emerald"] .product-card,
body[data-theme="light-sakura"] .product-card,
body[data-theme="light-sand"] .product-card {
  background: #ffffff;
  border-color: #e2e8f0;
}
body[data-theme="light-emerald"] .product-card:hover,
body[data-theme="light-sakura"] .product-card:hover,
body[data-theme="light-sand"] .product-card:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
body[data-theme="light-emerald"] .product-card .p-name,
body[data-theme="light-sakura"] .product-card .p-name,
body[data-theme="light-sand"] .product-card .p-name {
  color: #0f172a;
}
body[data-theme="light-emerald"] .product-card .p-stock,
body[data-theme="light-sakura"] .product-card .p-stock,
body[data-theme="light-sand"] .product-card .p-stock {
  color: #64748b;
}
body[data-theme="light-emerald"] .table-wrapper,
body[data-theme="light-sakura"] .table-wrapper,
body[data-theme="light-sand"] .table-wrapper {
  background: #ffffff;
  border-color: #cbd5e1;
}
body[data-theme="light-emerald"] .table-toolbar,
body[data-theme="light-sakura"] .table-toolbar,
body[data-theme="light-sand"] .table-toolbar {
  border-bottom-color: #cbd5e1;
}
body[data-theme="light-emerald"] .table-search,
body[data-theme="light-sakura"] .table-search,
body[data-theme="light-sand"] .table-search,
body[data-theme="light-emerald"] .table-filter,
body[data-theme="light-sakura"] .table-filter,
body[data-theme="light-sand"] .table-filter {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
}
body[data-theme="light-emerald"] .table-search::placeholder,
body[data-theme="light-sakura"] .table-search::placeholder,
body[data-theme="light-sand"] .table-search::placeholder {
  color: #94a3b8;
}
body[data-theme="light-emerald"] .data-table th,
body[data-theme="light-sakura"] .data-table th,
body[data-theme="light-sand"] .data-table th {
  background: #f8fafc;
  border-bottom-color: #cbd5e1;
  color: #475569;
}
body[data-theme="light-emerald"] .data-table td,
body[data-theme="light-sakura"] .data-table td,
body[data-theme="light-sand"] .data-table td {
  border-bottom-color: #f1f5f9;
  color: #334155;
}
body[data-theme="light-emerald"] .data-table tr:hover td,
body[data-theme="light-sakura"] .data-table tr:hover td,
body[data-theme="light-sand"] .data-table tr:hover td {
  background: #f8fafc;
}
body[data-theme="light-emerald"] .glass-card,
body[data-theme="light-sakura"] .glass-card,
body[data-theme="light-sand"] .glass-card,
body[data-theme="light-emerald"] .glass-card-sm,
body[data-theme="light-sakura"] .glass-card-sm,
body[data-theme="light-sand"] .glass-card-sm {
  background: #ffffff;
  border-color: #cbd5e1;
}
body[data-theme="light-emerald"] .glass-card h3,
body[data-theme="light-sakura"] .glass-card h3,
body[data-theme="light-sand"] .glass-card h3,
body[data-theme="light-emerald"] .glass-card-sm h3,
body[data-theme="light-sakura"] .glass-card-sm h3,
body[data-theme="light-sand"] .glass-card-sm h3,
body[data-theme="light-emerald"] .glass-card h4,
body[data-theme="light-sakura"] .glass-card h4,
body[data-theme="light-sand"] .glass-card h4,
body[data-theme="light-emerald"] .glass-card label,
body[data-theme="light-sakura"] .glass-card label,
body[data-theme="light-sand"] .glass-card label,
body[data-theme="light-emerald"] .modal-header h3,
body[data-theme="light-sakura"] .modal-header h3,
body[data-theme="light-sand"] .modal-header h3 {
  color: #0f172a;
}
body[data-theme="light-emerald"] .form-input,
body[data-theme="light-sakura"] .form-input,
body[data-theme="light-sand"] .form-input {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
}
body[data-theme="light-emerald"] .form-input::placeholder,
body[data-theme="light-sakura"] .form-input::placeholder,
body[data-theme="light-sand"] .form-input::placeholder {
  color: #94a3b8;
}
body[data-theme="light-emerald"] .modal-box,
body[data-theme="light-sakura"] .modal-box,
body[data-theme="light-sand"] .modal-box {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
body[data-theme="light-emerald"] .modal-header,
body[data-theme="light-sakura"] .modal-header,
body[data-theme="light-sand"] .modal-header,
body[data-theme="light-emerald"] .modal-footer,
body[data-theme="light-sakura"] .modal-footer,
body[data-theme="light-sand"] .modal-footer {
  border-color: #f1f5f9;
}
body[data-theme="light-emerald"] .modal-close,
body[data-theme="light-sakura"] .modal-close,
body[data-theme="light-sand"] .modal-close {
  color: #64748b;
}
body[data-theme="light-emerald"] .modal-close:hover,
body[data-theme="light-sakura"] .modal-close:hover,
body[data-theme="light-sand"] .modal-close:hover {
  color: #0f172a;
}
body[data-theme="light-emerald"] .stat-card,
body[data-theme="light-sakura"] .stat-card,
body[data-theme="light-sand"] .stat-card {
  background: #ffffff;
  border-color: #cbd5e1;
}
body[data-theme="light-emerald"] .stat-label,
body[data-theme="light-sakura"] .stat-label,
body[data-theme="light-sand"] .stat-label {
  color: #64748b;
}
body[data-theme="light-emerald"] .stat-card .stat-number:not(.logo-text),
body[data-theme="light-sakura"] .stat-card .stat-number:not(.logo-text),
body[data-theme="light-sand"] .stat-card .stat-number:not(.logo-text) {
  color: #0f172a;
}
body[data-theme="light-emerald"] .quick-cash-btn,
body[data-theme="light-sakura"] .quick-cash-btn,
body[data-theme="light-sand"] .quick-cash-btn {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #475569;
}
body[data-theme="light-emerald"] .pm-btn,
body[data-theme="light-sakura"] .pm-btn,
body[data-theme="light-sand"] .pm-btn {
  background: #ffffff !important;
  border-color: #d1a84b !important;
  color: #475569 !important;
}

body[data-theme="light-sand"] .pm-btn i,
body[data-theme="light-sand"] .pm-btn span {
  color: #475569 !important;
}
body[data-theme="light-emerald"] .pm-btn:hover,
body[data-theme="light-sakura"] .pm-btn:hover,
body[data-theme="light-sand"] .pm-btn:hover {
  background: #f8fafc;
}
body[data-theme="light-emerald"] .payment-total,
body[data-theme="light-sakura"] .payment-total,
body[data-theme="light-sand"] .payment-total {
  background: #f8fafc;
  border-color: #cbd5e1;
}
body[data-theme="light-emerald"] .payment-amount,
body[data-theme="light-sakura"] .payment-amount,
body[data-theme="light-sand"] .payment-amount {
  color: #475569;
}
body[data-theme="light-emerald"] .pay-input,
body[data-theme="light-sakura"] .pay-input,
body[data-theme="light-sand"] .pay-input {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
}
body[data-theme^="light"] .change-display {
  background: #dcfce7 !important;
  border: 1px solid #bbf7d0 !important;
}

body[data-theme^="light"] .change-display span {
  color: #166534 !important;
  font-weight: 800 !important;
}
body[data-theme="light-emerald"] .quick-cash button,
body[data-theme="light-sakura"] .quick-cash button,
body[data-theme="light-sand"] .quick-cash button {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #475569;
}
body[data-theme="light-emerald"] .quick-cash button:hover,
body[data-theme="light-sakura"] .quick-cash button:hover,
body[data-theme="light-sand"] .quick-cash button:hover {
  background: #f8fafc;
}
body[data-theme="light-emerald"] .report-tab,
body[data-theme="light-sakura"] .report-tab,
body[data-theme="light-sand"] .report-tab {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #475569;
}
body[data-theme="light-emerald"] .report-tab:hover,
body[data-theme="light-sakura"] .report-tab:hover,
body[data-theme="light-sand"] .report-tab:hover {
  background: #f8fafc;
  color: #0f172a;
}
body[data-theme="light-emerald"] .report-card,
body[data-theme="light-sakura"] .report-card,
body[data-theme="light-sand"] .report-card {
  background: #ffffff;
  border-color: #cbd5e1;
}
body[data-theme="light-emerald"] .report-card h3,
body[data-theme="light-sakura"] .report-card h3,
body[data-theme="light-sand"] .report-card h3,
body[data-theme="light-emerald"] .report-card h4,
body[data-theme="light-sakura"] .report-card h4,
body[data-theme="light-sand"] .report-card h4 {
  color: #0f172a;
}
body[data-theme="light-emerald"] .report-card p,
body[data-theme="light-sakura"] .report-card p,
body[data-theme="light-sand"] .report-card p {
  color: #475569;
}
body[data-theme="light-emerald"] .stat-box,
body[data-theme="light-sakura"] .stat-box,
body[data-theme="light-sand"] .stat-box {
  background: #f8fafc;
  border-color: #cbd5e1;
}
body[data-theme="light-emerald"] .stat-box .stat-value,
body[data-theme="light-sakura"] .stat-box .stat-value,
body[data-theme="light-sand"] .stat-box .stat-value {
  color: #0f172a;
}
body[data-theme="light-emerald"] .stat-box .stat-label,
body[data-theme="light-sakura"] .stat-box .stat-label,
body[data-theme="light-sand"] .stat-box .stat-label {
  color: #475569;
}
body[data-theme="light-emerald"] .item-row,
body[data-theme="light-sakura"] .item-row,
body[data-theme="light-sand"] .item-row {
  border-bottom-color: #f1f5f9;
}
body[data-theme="light-emerald"] .item-row span,
body[data-theme="light-sakura"] .item-row span,
body[data-theme="light-sand"] .item-row span {
  color: #475569;
}

/* --- EMERALD LIGHT OVERRIDES --- */
body[data-theme="light-emerald"] .text-indigo-400,
body[data-theme="light-emerald"] .nav-brand span {
  color: #059669 !important;
}
body[data-theme="light-emerald"] .nav-logo-icon {
  color: #059669;
}
body[data-theme="light-emerald"] .nav-tab.active,
body[data-theme="light-emerald"] .dropdown-item.active {
  color: #059669;
}
body[data-theme="light-emerald"] .nav-tab.active i,
body[data-theme="light-emerald"] .dropdown-item.active i {
  color: #059669;
}
body[data-theme="light-emerald"] .dropdown-item:hover i {
  color: #059669;
}
body[data-theme="light-emerald"] .dropdown-item.active {
  background: rgba(16, 185, 129, 0.08);
  color: #059669;
  border-color: rgba(16, 185, 129, 0.2);
}
body[data-theme="light-emerald"] .dropdown-item.active i {
  color: #059669;
}
body[data-theme="light-emerald"] .nav-tab.active kbd {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.25);
  color: #059669;
}
body[data-theme="light-emerald"] .nav-role-badge {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}
body[data-theme="light-emerald"] .page-title i {
  color: #059669;
}
body[data-theme="light-emerald"] .action-btn.primary,
body[data-theme="light-emerald"] .pay-btn {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
}
body[data-theme="light-emerald"] .action-btn.primary:hover,
body[data-theme="light-emerald"] .pay-btn:hover {
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}
body[data-theme="light-emerald"] .cat-pill.active {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.3);
  color: #059669;
}
body[data-theme="light-emerald"] .p-price,
body[data-theme="light-emerald"] .ci-total {
  color: #059669;
}
body[data-theme="light-emerald"] .quick-cash-btn:hover {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
  color: #059669;
}
body[data-theme="light-emerald"] .pm-btn.active {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
  color: #059669;
}
body[data-theme="light-emerald"] .form-input:focus,
body[data-theme="light-emerald"] .search-bar input:focus {
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}
body[data-theme="light-emerald"] .quick-cash button:hover {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border-color: rgba(16, 185, 129, 0.3);
}
body[data-theme="light-emerald"] .report-tab.active {
  background: #059669;
  color: #ffffff;
}

/* --- SAKURA LIGHT OVERRIDES --- */
body[data-theme="light-sakura"] .text-indigo-400,
body[data-theme="light-sakura"] .nav-brand span {
  color: #db2777 !important;
}
body[data-theme="light-sakura"] .nav-logo-icon {
  color: #db2777;
}
body[data-theme="light-sakura"] .nav-tab.active,
body[data-theme="light-sakura"] .dropdown-item.active {
  color: #db2777;
}
body[data-theme="light-sakura"] .nav-tab.active i,
body[data-theme="light-sakura"] .dropdown-item.active i {
  color: #db2777;
}
body[data-theme="light-sakura"] .dropdown-item:hover i {
  color: #db2777;
}
body[data-theme="light-sakura"] .dropdown-item.active {
  background: rgba(219, 39, 119, 0.08);
  color: #db2777;
  border-color: rgba(219, 39, 119, 0.2);
}
body[data-theme="light-sakura"] .dropdown-item.active i {
  color: #db2777;
}
body[data-theme="light-sakura"] .nav-tab.active kbd {
  background: rgba(219, 39, 119, 0.15);
  border-color: rgba(219, 39, 119, 0.25);
  color: #db2777;
}
body[data-theme="light-sakura"] .nav-role-badge {
  background: rgba(219, 39, 119, 0.1);
  color: #db2777;
}
body[data-theme="light-sakura"] .page-title i {
  color: #db2777;
}
body[data-theme="light-sakura"] .action-btn.primary,
body[data-theme="light-sakura"] .pay-btn {
  background: linear-gradient(135deg, #ec4899, #db2777);
  color: #ffffff;
}
body[data-theme="light-sakura"] .action-btn.primary:hover,
body[data-theme="light-sakura"] .pay-btn:hover {
  box-shadow: 0 4px 12px rgba(219, 39, 119, 0.2);
}
body[data-theme="light-sakura"] .cat-pill.active {
  background: rgba(219, 39, 119, 0.08);
  border-color: rgba(219, 39, 119, 0.3);
  color: #db2777;
}
body[data-theme="light-sakura"] .p-price,
body[data-theme="light-sakura"] .ci-total {
  color: #db2777;
}
body[data-theme="light-sakura"] .quick-cash-btn:hover {
  background: rgba(219, 39, 119, 0.15);
  border-color: rgba(219, 39, 119, 0.3);
  color: #db2777;
}
body[data-theme="light-sakura"] .pm-btn.active {
  background: rgba(219, 39, 119, 0.15);
  border-color: rgba(219, 39, 119, 0.3);
  color: #db2777;
}
body[data-theme="light-sakura"] .form-input:focus,
body[data-theme="light-sakura"] .search-bar input:focus {
  border-color: #ec4899;
  box-shadow: 0 0 0 3px rgba(219, 39, 119, 0.15);
}
body[data-theme="light-sakura"] .quick-cash button:hover {
  background: rgba(219, 39, 119, 0.1);
  color: #db2777;
  border-color: rgba(219, 39, 119, 0.3);
}
body[data-theme="light-sakura"] .report-tab.active {
  background: #db2777;
  color: #ffffff;
}

/* --- SAND LIGHT OVERRIDES --- */
body[data-theme="light-sand"] {
  background-color: #fdfbf7 !important; /* Soft warm sand background */
  color: #432c0a !important; /* Deep warm brown text */
  --bg-subtle: #f7f3e8 !important; /* Solid beige instead of glass or blue */
  --border-subtle: #eaddc5 !important;
}

body[data-theme="light-sand"] .sidebar {
  background-color: #f7f3e8 !important; /* Slightly darker sand for sidebar */
  border-right-color: #eaddc5 !important;
}

body[data-theme="light-sand"] .glass-card,
body[data-theme="light-sand"] .glass-card-sm,
body[data-theme="light-sand"] .stat-card,
body[data-theme="light-sand"] .report-card,
body[data-theme="light-sand"] .table-wrapper {
  background-color: #ffffff !important;
  border-color: #eaddc5 !important;
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.04) !important;
}

body[data-theme="light-sand"] .modal-box {
  background-color: #fdfbf7 !important; /* Soft warm sand for popups */
  border: 1px solid #eaddc5 !important;
  box-shadow: 0 10px 25px rgba(217, 119, 6, 0.15) !important;
  overflow: hidden; /* So modal-header background curves nicely */
}

body[data-theme="light-sand"] .modal-header {
  background-color: #fcd34d !important; /* Vibrant Amber to match tables */
  border-bottom: 2px solid #d97706 !important;
  color: #000000 !important;
}

body[data-theme="light-sand"] .modal-header h3,
body[data-theme="light-sand"] .modal-header i {
  color: #000000 !important;
  font-weight: 800 !important;
}

body[data-theme="light-sand"] .billing-main-cart {
  background-color: #fcf8ee !important;
  border-color: #eaddc5 !important;
  overflow: hidden; /* To keep cart header corners clean */
}

body[data-theme="light-sand"] .cart-header {
  background-color: #fcd34d !important; /* Vibrant Amber to match tables */
  border-bottom: 2px solid #d97706 !important;
}

body[data-theme="light-sand"] .cart-title,
body[data-theme="light-sand"] .cart-title i {
  color: #000000 !important; /* Dark Black */
  font-weight: 800 !important;
}

body[data-theme="light-sand"] .form-input,
body[data-theme="light-sand"] input,
body[data-theme="light-sand"] select,
body[data-theme="light-sand"] textarea,
body[data-theme="light-sand"] .table-filter {
  background-color: #ffffff !important;
  color: #1e293b !important;
  border-color: #eaddc5 !important;
}

body[data-theme="light-sand"] .form-input[readonly],
body[data-theme="light-sand"] input[readonly] {
  background-color: #f7f3e8 !important; /* Subtle sand for readonly */
  color: #475569 !important;
}

body[data-theme="light-sand"] .data-table th {
  background: #fcd34d !important; /* Vibrant Amber */
  border-bottom: 2px solid #d97706 !important;
  color: #000000 !important; /* Dark Black Text */
  font-weight: 800 !important;
}

body[data-theme="light-sand"] .data-table td,
body[data-theme="light-sand"] .item-row {
  border-bottom-color: #f7f3e8 !important;
  color: #432c0a !important;
}

body[data-theme="light-sand"] .data-table tr:hover td {
  background: #fcf8ee !important;
}

body[data-theme="light-sand"] .nav-tab,
body[data-theme="light-sand"] .dropdown-item {
  color: #785317 !important;
}

body[data-theme="light-sand"] .nav-tab:hover,
body[data-theme="light-sand"] .dropdown-item:hover {
  background: #f7f3e8 !important;
  color: #92400e !important;
}

body[data-theme="light-sand"] .text-indigo-400,
body[data-theme="light-sand"] .nav-brand span {
  color: #d97706 !important;
}
body[data-theme="light-sand"] .nav-logo-icon {
  color: #d97706;
}
body[data-theme="light-sand"] .nav-tab.active,
body[data-theme="light-sand"] .dropdown-item.active {
  color: #d97706;
}
body[data-theme="light-sand"] .nav-tab.active i,
body[data-theme="light-sand"] .dropdown-item.active i {
  color: #d97706;
}
body[data-theme="light-sand"] .dropdown-item:hover i {
  color: #d97706;
}
body[data-theme="light-sand"] .dropdown-item.active {
  background: rgba(217, 119, 6, 0.08);
  color: #d97706;
  border-color: rgba(217, 119, 6, 0.2);
}
body[data-theme="light-sand"] .dropdown-item.active i {
  color: #d97706;
}
body[data-theme="light-sand"] .nav-tab.active kbd {
  background: rgba(217, 119, 6, 0.15);
  border-color: rgba(217, 119, 6, 0.25);
  color: #d97706;
}
body[data-theme="light-sand"] .nav-role-badge {
  background: rgba(217, 119, 6, 0.1);
  color: #d97706;
}
body[data-theme="light-sand"] .page-title i {
  color: #d97706;
}
body[data-theme="light-sand"] .action-btn.primary,
body[data-theme="light-sand"] .pay-btn {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
}
body[data-theme="light-sand"] .action-btn.primary:hover,
body[data-theme="light-sand"] .pay-btn:hover {
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.2);
}
body[data-theme="light-sand"] .cat-pill.active {
  background: rgba(217, 119, 6, 0.08);
  border-color: rgba(217, 119, 6, 0.3);
  color: #d97706;
}
body[data-theme="light-sand"] .p-price,
body[data-theme="light-sand"] .ci-total {
  color: #d97706;
}
body[data-theme="light-sand"] .quick-cash-btn:hover {
  background: rgba(217, 119, 6, 0.15);
  border-color: rgba(217, 119, 6, 0.3);
  color: #d97706;
}
body[data-theme="light-sand"] .pm-btn.active {
  background: rgba(217, 119, 6, 0.15);
  border-color: rgba(217, 119, 6, 0.3);
  color: #d97706;
}
body[data-theme="light-sand"] .form-input:focus,
body[data-theme="light-sand"] .search-bar input:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}
body[data-theme="light-sand"] .quick-cash button:hover {
  background: rgba(217, 119, 6, 0.1);
  color: #d97706;
  border-color: rgba(217, 119, 6, 0.3);
}
body[data-theme="light-sand"] .report-tab.active {
  background: #d97706;
  color: #ffffff;
}

/* ==========================================================================
   LIGHT THEMES TEXT VISIBILITY AND HELPER CLASS OVERRIDES
   ========================================================================== */

//* Force light backgrounds for elements using tailwind dark bg classes */
body[data-theme^="light"] .bg-gray-800,
body[data-theme^="light"] .bg-slate-800 {
  background-color: #f8fafc !important;
  color: #0f172a !important;
  border-color: #e2e8f0 !important;
}

body[data-theme^="light"] .bg-gray-900,
body[data-theme^="light"] .bg-slate-900 {
  background-color: #f1f5f9 !important;
  color: #0f172a !important;
  border-color: #e2e8f0 !important;
}

/* Premium Inputs for Light Themes */
body[data-theme^="light"] input,
body[data-theme^="light"] select,
body[data-theme^="light"] textarea,
body[data-theme^="pure-white"] input,
body[data-theme^="pure-white"] select,
body[data-theme^="pure-white"] textarea,
body[data-theme="yellow-light"] input,
body[data-theme="yellow-light"] select,
body[data-theme="yellow-light"] textarea {
  color: #0f172a !important;
  background-color: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
  border-radius: 6px !important;
  transition: all 0.2s ease !important;
}

/* Badge & Status Pill Theme Color Fixes */
body[data-theme^="light"] .badge,
body[data-theme="yellow-light"] .badge {
  font-weight: 700 !important;
}

body[data-theme^="light"] .badge-default,
body[data-theme="yellow-light"] .badge-default {
  background: #f1f5f9 !important;
  color: #334155 !important;
  border: 1px solid #cbd5e1 !important;
}

body[data-theme^="light"] .badge-success,
body[data-theme="yellow-light"] .badge-success {
  background: #dcfce7 !important;
  color: #166534 !important;
  border: 1px solid #bbf7d0 !important;
}

body[data-theme^="light"] .badge-info,
body[data-theme="yellow-light"] .badge-info {
  background: #e0e7ff !important;
  color: #3730a3 !important;
  border: 1px solid #c7d2fe !important;
}

body[data-theme^="light"] .badge-warning,
body[data-theme="yellow-light"] .badge-warning {
  background: #fef9c3 !important;
  color: #854d0e !important;
  border: 1px solid #fef08a !important;
}

body[data-theme^="light"] .badge-danger,
body[data-theme="yellow-light"] .badge-danger {
  background: #fee2e2 !important;
  color: #991b1b !important;
  border: 1px solid #fecaca !important;
}

body[data-theme^="light"] .badge-pastel,
body[data-theme="yellow-light"] .badge-pastel {
  background: #fdf2f8 !important;
  color: #db2777 !important;
  border: 1px solid #fbcfe8 !important;
}

/* Code tags & Monospace elements */
body[data-theme^="light"] code,
body[data-theme="yellow-light"] code {
  background: #f1f5f9 !important;
  color: #4f46e5 !important;
  border: 1px solid #cbd5e1 !important;
}

body[data-theme="yellow-light"] code {
  color: #854d0e !important;
  border-color: #facc15 !important;
}

/* KBD & Shortcut Key Badges */
body[data-theme^="light"] kbd,
body[data-theme="yellow-light"] kbd {
  background: #e2e8f0 !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
}

/* Status Badges */
body[data-theme^="light"] .status-badge.active,
body[data-theme="yellow-light"] .status-badge.active {
  background: #dcfce7 !important;
  color: #166534 !important;
  border: 1px solid #bbf7d0 !important;
}

body[data-theme^="light"] .status-badge.inactive,
body[data-theme="yellow-light"] .status-badge.inactive {
  background: #fee2e2 !important;
  color: #991b1b !important;
  border: 1px solid #fecaca !important;
}

/* Payment Modal Specific Overrides */
body[data-theme^="light"] .quick-cash button,
body[data-theme="yellow-light"] .quick-cash button {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1.5px solid #cbd5e1 !important;
  font-weight: 700 !important;
}

body[data-theme="yellow-light"] .quick-cash button {
  border-color: #eab308 !important;
}

body[data-theme^="light"] input:focus,
body[data-theme^="light"] select:focus,
body[data-theme^="light"] textarea:focus,
body[data-theme^="pure-white"] input:focus,
body[data-theme^="pure-white"] select:focus,
body[data-theme^="pure-white"] textarea:focus,
body[data-theme="yellow-light"] input:focus,
body[data-theme="yellow-light"] select:focus,
body[data-theme="yellow-light"] textarea:focus {
  border-color: #94a3b8 !important;
  box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.2) !important;
  outline: none !important;
}

/* Force dark text for elements using tailwind text-white */
body[data-theme="light-emerald"] .text-white,
body[data-theme="light-sakura"] .text-white,
body[data-theme="light-sand"] .text-white {
  color: #0f172a !important;
}

/* Force dark text for elements using tailwind light grey texts */
body[data-theme="light-emerald"] .text-gray-100,
body[data-theme="light-sakura"] .text-gray-100,
body[data-theme="light-sand"] .text-gray-100,
body[data-theme="light-emerald"] .text-gray-200,
body[data-theme="light-sakura"] .text-gray-200,
body[data-theme="light-sand"] .text-gray-200,
body[data-theme="light-emerald"] .text-gray-300,
body[data-theme="light-sakura"] .text-gray-300,
body[data-theme="light-sand"] .text-gray-300 {
  color: #1e293b !important;
}

body[data-theme="light-emerald"] .text-gray-400,
body[data-theme="light-sakura"] .text-gray-400,
body[data-theme="light-sand"] .text-gray-400,
body[data-theme="light-emerald"] .text-gray-500,
body[data-theme="light-sakura"] .text-gray-500,
body[data-theme="light-sand"] .text-gray-500 {
  color: #475569 !important;
}

/* Map indigo accents to theme primary colors */
body[data-theme="light-emerald"] .text-indigo-400,
body[data-theme="light-emerald"] .text-indigo-300,
body[data-theme="light-emerald"] .text-indigo-200 {
  color: #059669 !important;
}

body[data-theme="light-sakura"] .text-indigo-400,
body[data-theme="light-sakura"] .text-indigo-300,
body[data-theme="light-sakura"] .text-indigo-200 {
  color: #db2777 !important;
}

body[data-theme="light-sand"] .text-indigo-400,
body[data-theme="light-sand"] .text-indigo-300,
body[data-theme="light-sand"] .text-indigo-200 {
  color: #d97706 !important;
}

/* Fix text color inversion on colored backgrounds in light theme */
body[data-theme^="light-"] .bg-indigo-500,
body[data-theme^="light-"] .bg-indigo-600,
body[data-theme^="light-"] .bg-blue-500,
body[data-theme^="light-"] .bg-blue-600,
body[data-theme^="light-"] .bg-red-500,
body[data-theme^="light-"] .bg-red-600,
body[data-theme^="light-"] .bg-red-700,
body[data-theme^="light-"] .bg-red-900,
body[data-theme^="light-"] .bg-green-500,
body[data-theme^="light-"] .bg-green-600,
body[data-theme^="light-"] .btn-primary,
body[data-theme^="light-"] .action-btn.primary,
body[data-theme^="light-"] .quick-cash-btn,
body[data-theme^="light-"] .pm-btn {
  color: #ffffff !important;
}

body[data-theme^="light-"] .bg-indigo-500 .text-white,
body[data-theme^="light-"] .bg-indigo-600 .text-white,
body[data-theme^="light-"] .bg-blue-500 .text-white,
body[data-theme^="light-"] .bg-blue-600 .text-white,
body[data-theme^="light-"] .bg-red-500 .text-white,
body[data-theme^="light-"] .bg-red-600 .text-white,
body[data-theme^="light-"] .bg-red-700 .text-white,
body[data-theme^="light-"] .bg-red-900 .text-white,
body[data-theme^="light-"] .bg-red-900 .text-gray-200,
body[data-theme^="light-"] .bg-red-900 .text-gray-300,
body[data-theme^="light-"] .bg-red-900 .text-red-200,
body[data-theme^="light-"] .bg-green-500 .text-white,
body[data-theme^="light-"] .bg-green-600 .text-white,
body[data-theme^="light-"] .bg-gray-700 .text-white,
body[data-theme^="light-"] .btn-primary .text-white,
body[data-theme^="light-"] .action-btn.primary .text-white {
  color: #ffffff !important;
}

/* Force all standard text to be black in light themes */
body[data-theme^="light-"] {
  --text-color: #000000 !important;
  --text-muted: #1a1a1a !important;
  color: #000000 !important;
}

body[data-theme^="light-"] p,
body[data-theme^="light-"] span,
body[data-theme^="light-"] h1,
body[data-theme^="light-"] h2,
body[data-theme^="light-"] h3,
body[data-theme^="light-"] h4,
body[data-theme^="light-"] h5,
body[data-theme^="light-"] h6,
body[data-theme^="light-"] td,
body[data-theme^="light-"] th,
body[data-theme^="light-"] label,
body[data-theme^="light-"] input,
body[data-theme^="light-"] select,
body[data-theme^="light-"] textarea,
body[data-theme^="light-"] .text-white,
body[data-theme^="light-"] .text-gray-100,
body[data-theme^="light-"] .text-gray-200,
body[data-theme^="light-"] .text-gray-300,
body[data-theme^="light-"] .text-gray-400,
body[data-theme^="light-"] .text-gray-500 {
  color: #0f172a !important;
}
/* Icons only go dark when NOT inside a colored-bg element */
body[data-theme^="light-"] i {
  color: #475569 !important;
}
body[data-theme^="light-"] .action-btn.primary i,
body[data-theme^="light-"] .action-btn.success i,
body[data-theme^="light-"] .action-btn.delete i,
body[data-theme^="light-"] .pay-btn i,
body[data-theme^="light-"] .btn-primary i,
body[data-theme^="light-"] .quick-cash-btn i,
body[data-theme^="light-"] .bg-indigo-500 i,
body[data-theme^="light-"] .bg-indigo-600 i,
body[data-theme^="light-"] .bg-blue-500 i,
body[data-theme^="light-"] .bg-red-500 i,
body[data-theme^="light-"] .bg-red-600 i,
body[data-theme^="light-"] .bg-red-700 i,
body[data-theme^="light-"] .bg-red-900 i,
body[data-theme^="light-"] .bg-green-500 i,
body[data-theme^="light-"] .bg-green-600 i,
body[data-theme^="light-"] .bg-gray-700 i,
body[data-theme^="light-"] .bg-gray-800 i {
  color: #ffffff !important;
}

/* Restore colors for elements that should NOT be black */
body[data-theme^="light-"] .bg-indigo-500,
body[data-theme^="light-"] .bg-indigo-500 *,
body[data-theme^="light-"] .bg-indigo-600,
body[data-theme^="light-"] .bg-indigo-600 *,
body[data-theme^="light-"] .bg-blue-500,
body[data-theme^="light-"] .bg-blue-500 *,
body[data-theme^="light-"] .bg-blue-600,
body[data-theme^="light-"] .bg-blue-600 *,
body[data-theme^="light-"] .bg-red-500,
body[data-theme^="light-"] .bg-red-500 *,
body[data-theme^="light-"] .bg-red-600,
body[data-theme^="light-"] .bg-red-600 *,
body[data-theme^="light-"] .bg-red-700,
body[data-theme^="light-"] .bg-red-700 *,
body[data-theme^="light-"] .bg-red-900,
body[data-theme^="light-"] .bg-red-900 *,
body[data-theme^="light-"] .bg-green-500,
body[data-theme^="light-"] .bg-green-500 *,
body[data-theme^="light-"] .bg-green-600,
body[data-theme^="light-"] .bg-green-600 *,
body[data-theme^="light-"] .bg-gray-700,
body[data-theme^="light-"] .bg-gray-700 *,
body[data-theme^="light-"] .bg-gray-800,
body[data-theme^="light-"] .bg-gray-800 *,
body[data-theme^="light-"] .btn-primary,
body[data-theme^="light-"] .btn-primary *,
body[data-theme^="light-"] .action-btn.primary,
body[data-theme^="light-"] .action-btn.primary *,
body[data-theme^="light-"] .action-btn.success,
body[data-theme^="light-"] .action-btn.success *,
body[data-theme^="light-"] .action-btn.delete,
body[data-theme^="light-"] .action-btn.delete * {
  color: #ffffff !important;
}

/* Restore utility colors for status messages and links */
body[data-theme^="light-"] .text-red-400,
body[data-theme^="light-"] .text-red-500 {
  color: #dc2626 !important;
}
body[data-theme^="light-"] .text-green-400,
body[data-theme^="light-"] .text-green-500 {
  color: #16a34a !important;
}
body[data-theme^="light-"] .text-indigo-400,
body[data-theme^="light-"] .text-indigo-500 {
  color: var(--primary-color) !important;
}


/* === NEW DAYTIME LIGHT THEMES === */
body[data-theme="light-ocean"] {
  --bg-primary: #f0f9ff;
  --bg-secondary: #ffffff;
  --bg-tertiary: #e0f2fe;
  --border-color: #bae6fd;
  --primary-color: #0284c7;
  --primary-hover: #0369a1;
  --accent-color: #38bdf8;
}

body[data-theme="light-warm"] {
  --bg-primary: #fff7ed;
  --bg-secondary: #ffffff;
  --bg-tertiary: #ffedd5;
  --border-color: #fed7aa;
  --primary-color: #ea580c;
  --primary-hover: #c2410c;
  --accent-color: #fb923c;
}

body[data-theme="light-mint"] {
  --bg-primary: #f0fdf4;
  --bg-secondary: #ffffff;
  --bg-tertiary: #dcfce7;
  --border-color: #bbf7d0;
  --primary-color: #16a34a;
  --primary-hover: #15803d;
  --accent-color: #4ade80;
}



/* =============================================================
   EXTENDED LIGHT THEMES: Ocean, Warm, Mint, Slate
   Full product-card, text, background, and accent support
   ============================================================= */

/* --- CLASSIC LIGHT (SLATE) theme variables --- */
body[data-theme="light-slate"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  --border-color: #e2e8f0;
  --primary-color: #475569;
  --primary-hover: #334155;
  --accent-color: #64748b;
  background: #f1f5f9;
  color: #0f172a;
}

/* --- Shared base rules for all four new extended light themes --- */
body[data-theme="light-ocean"],
body[data-theme="light-warm"],
body[data-theme="light-mint"],
body[data-theme="light-slate"] {
  color: #0f172a;
}

/* Top Nav */
body[data-theme="light-ocean"] #topNav,
body[data-theme="light-warm"] #topNav,
body[data-theme="light-mint"] #topNav,
body[data-theme="light-slate"] #topNav {
  background: #ffffff;
  border-bottom: 1px solid #cbd5e1;
  box-shadow: 0 1px 3px 0 rgba(0,0,0,0.05);
}
body[data-theme="light-ocean"] .nav-brand,
body[data-theme="light-warm"] .nav-brand,
body[data-theme="light-mint"] .nav-brand,
body[data-theme="light-slate"] .nav-brand {
  color: #0f172a;
}
body[data-theme="light-ocean"] .nav-brand span,
body[data-theme="light-slate"] .nav-brand span { color: #0284c7 !important; }
body[data-theme="light-warm"] .nav-brand span { color: #ea580c !important; }
body[data-theme="light-mint"] .nav-brand span { color: #16a34a !important; }

body[data-theme="light-ocean"] .nav-tabs,
body[data-theme="light-warm"] .nav-tabs,
body[data-theme="light-mint"] .nav-tabs,
body[data-theme="light-slate"] .nav-tabs {
  background: #f1f5f9; border-color: #cbd5e1;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}
body[data-theme="light-ocean"] .nav-tab,
body[data-theme="light-warm"] .nav-tab,
body[data-theme="light-mint"] .nav-tab,
body[data-theme="light-slate"] .nav-tab { color: #64748b; }

body[data-theme="light-ocean"] .nav-tab:hover,
body[data-theme="light-warm"] .nav-tab:hover,
body[data-theme="light-mint"] .nav-tab:hover,
body[data-theme="light-slate"] .nav-tab:hover {
  background: #e2e8f0; color: #0f172a;
}
body[data-theme="light-ocean"] .nav-tab.active,
body[data-theme="light-warm"] .nav-tab.active,
body[data-theme="light-mint"] .nav-tab.active,
body[data-theme="light-slate"] .nav-tab.active {
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  border-color: #cbd5e1;
}
/* Active tab accent colors */
body[data-theme="light-ocean"] .nav-tab.active { color: #0284c7; }
body[data-theme="light-warm"] .nav-tab.active { color: #ea580c; }
body[data-theme="light-mint"] .nav-tab.active { color: #16a34a; }
body[data-theme="light-slate"] .nav-tab.active { color: #475569; }

/* Dropdown */
body[data-theme="light-ocean"] .dropdown-menu,
body[data-theme="light-warm"] .dropdown-menu,
body[data-theme="light-mint"] .dropdown-menu,
body[data-theme="light-slate"] .dropdown-menu {
  background: #ffffff; border-color: #cbd5e1;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
body[data-theme="light-ocean"] .dropdown-item,
body[data-theme="light-warm"] .dropdown-item,
body[data-theme="light-mint"] .dropdown-item,
body[data-theme="light-slate"] .dropdown-item { color: #64748b; }
body[data-theme="light-ocean"] .dropdown-item:hover,
body[data-theme="light-warm"] .dropdown-item:hover,
body[data-theme="light-mint"] .dropdown-item:hover,
body[data-theme="light-slate"] .dropdown-item:hover {
  background: #f1f5f9; color: #0f172a;
}

/* Nav role badge */
body[data-theme="light-ocean"] .nav-role-badge { background: rgba(2,132,199,0.1); color: #0284c7; }
body[data-theme="light-warm"] .nav-role-badge { background: rgba(234,88,12,0.1); color: #ea580c; }
body[data-theme="light-mint"] .nav-role-badge { background: rgba(22,163,74,0.1); color: #16a34a; }
body[data-theme="light-slate"] .nav-role-badge { background: rgba(71,85,105,0.1); color: #475569; }

/* Page title icon */
body[data-theme="light-ocean"] .page-title i { color: #0284c7; }
body[data-theme="light-warm"] .page-title i { color: #ea580c; }
body[data-theme="light-mint"] .page-title i { color: #16a34a; }
body[data-theme="light-slate"] .page-title i { color: #475569; }

/* Primary action buttons */
body[data-theme="light-ocean"] .action-btn.primary,
body[data-theme="light-ocean"] .pay-btn {
  background: linear-gradient(135deg, #38bdf8, #0284c7); color: #ffffff;
}
body[data-theme="light-warm"] .action-btn.primary,
body[data-theme="light-warm"] .pay-btn {
  background: linear-gradient(135deg, #fb923c, #ea580c); color: #ffffff;
}
body[data-theme="light-mint"] .action-btn.primary,
body[data-theme="light-mint"] .pay-btn {
  background: linear-gradient(135deg, #4ade80, #16a34a); color: #ffffff;
}
body[data-theme="light-slate"] .action-btn.primary,
body[data-theme="light-slate"] .pay-btn {
  background: linear-gradient(135deg, #94a3b8, #475569); color: #ffffff;
}

/* Secondary buttons */
body[data-theme="light-ocean"] .action-btn.secondary,
body[data-theme="light-warm"] .action-btn.secondary,
body[data-theme="light-mint"] .action-btn.secondary,
body[data-theme="light-slate"] .action-btn.secondary {
  background: #ffffff; border: 1px solid #cbd5e1; color: #334155;
}
body[data-theme="light-ocean"] .action-btn.secondary:hover,
body[data-theme="light-warm"] .action-btn.secondary:hover,
body[data-theme="light-mint"] .action-btn.secondary:hover,
body[data-theme="light-slate"] .action-btn.secondary:hover { background: #f8fafc; }

/* Price & total accent */
body[data-theme="light-ocean"] .p-price, body[data-theme="light-ocean"] .ci-total { color: #0284c7; }
body[data-theme="light-warm"] .p-price, body[data-theme="light-warm"] .ci-total { color: #ea580c; }
body[data-theme="light-mint"] .p-price, body[data-theme="light-mint"] .ci-total { color: #16a34a; }
body[data-theme="light-slate"] .p-price, body[data-theme="light-slate"] .ci-total { color: #475569; }

/* Active category pill */
body[data-theme="light-ocean"] .cat-pill.active { background: rgba(2,132,199,0.08); border-color: rgba(2,132,199,0.3); color: #0284c7; }
body[data-theme="light-warm"] .cat-pill.active { background: rgba(234,88,12,0.08); border-color: rgba(234,88,12,0.3); color: #ea580c; }
body[data-theme="light-mint"] .cat-pill.active { background: rgba(22,163,74,0.08); border-color: rgba(22,163,74,0.3); color: #16a34a; }
body[data-theme="light-slate"] .cat-pill.active { background: rgba(71,85,105,0.08); border-color: rgba(71,85,105,0.3); color: #475569; }

/* Category pills (default) */
body[data-theme="light-ocean"] .cat-pill,
body[data-theme="light-warm"] .cat-pill,
body[data-theme="light-mint"] .cat-pill,
body[data-theme="light-slate"] .cat-pill {
  background: #ffffff; border-color: #cbd5e1; color: #475569;
}

/* Search bar */
body[data-theme="light-ocean"] .search-bar input,
body[data-theme="light-warm"] .search-bar input,
body[data-theme="light-mint"] .search-bar input,
body[data-theme="light-slate"] .search-bar input {
  background: #ffffff; border-color: #cbd5e1; color: #0f172a;
}
body[data-theme="light-ocean"] .search-bar input::placeholder,
body[data-theme="light-warm"] .search-bar input::placeholder,
body[data-theme="light-mint"] .search-bar input::placeholder,
body[data-theme="light-slate"] .search-bar input::placeholder { color: #94a3b8; }

/* Focus ring */
body[data-theme="light-ocean"] .form-input:focus,
body[data-theme="light-ocean"] .search-bar input:focus { border-color: #38bdf8; box-shadow: 0 0 0 3px rgba(56,189,248,0.15); }
body[data-theme="light-warm"] .form-input:focus,
body[data-theme="light-warm"] .search-bar input:focus { border-color: #fb923c; box-shadow: 0 0 0 3px rgba(251,146,60,0.15); }
body[data-theme="light-mint"] .form-input:focus,
body[data-theme="light-mint"] .search-bar input:focus { border-color: #4ade80; box-shadow: 0 0 0 3px rgba(74,222,128,0.15); }
body[data-theme="light-slate"] .form-input:focus,
body[data-theme="light-slate"] .search-bar input:focus { border-color: #94a3b8; box-shadow: 0 0 0 3px rgba(148,163,184,0.15); }

/* Product cards */
body[data-theme="light-ocean"] .product-card,
body[data-theme="light-warm"] .product-card,
body[data-theme="light-mint"] .product-card,
body[data-theme="light-slate"] .product-card {
  background: #ffffff; border-color: #e2e8f0;
}
body[data-theme="light-ocean"] .product-card:hover { background: #f0f9ff; border-color: #bae6fd; box-shadow: 0 4px 6px -1px rgba(2,132,199,0.08); }
body[data-theme="light-warm"] .product-card:hover { background: #fff7ed; border-color: #fed7aa; box-shadow: 0 4px 6px -1px rgba(234,88,12,0.08); }
body[data-theme="light-mint"] .product-card:hover { background: #f0fdf4; border-color: #bbf7d0; box-shadow: 0 4px 6px -1px rgba(22,163,74,0.08); }
body[data-theme="light-slate"] .product-card:hover { background: #f8fafc; border-color: #cbd5e1; box-shadow: 0 4px 6px -1px rgba(71,85,105,0.08); }

/* Product name & stock text */
body[data-theme="light-ocean"] .product-card .p-name,
body[data-theme="light-warm"] .product-card .p-name,
body[data-theme="light-mint"] .product-card .p-name,
body[data-theme="light-slate"] .product-card .p-name { color: #0f172a !important; }
body[data-theme="light-ocean"] .product-card .p-stock,
body[data-theme="light-warm"] .product-card .p-stock,
body[data-theme="light-mint"] .product-card .p-stock,
body[data-theme="light-slate"] .product-card .p-stock { color: #64748b !important; }
body[data-theme="light-ocean"] .product-card .p-cat,
body[data-theme="light-warm"] .product-card .p-cat,
body[data-theme="light-mint"] .product-card .p-cat,
body[data-theme="light-slate"] .product-card .p-cat { color: #94a3b8 !important; }

/* Billing right panel */
body[data-theme="light-ocean"] .billing-right,
body[data-theme="light-warm"] .billing-right,
body[data-theme="light-mint"] .billing-right,
body[data-theme="light-slate"] .billing-right {
  background: #ffffff; border: 1px solid #cbd5e1;
}
body[data-theme="light-ocean"] .cart-header,
body[data-theme="light-warm"] .cart-header,
body[data-theme="light-mint"] .cart-header,
body[data-theme="light-slate"] .cart-header,
body[data-theme="light-ocean"] .customer-select,
body[data-theme="light-warm"] .customer-select,
body[data-theme="light-mint"] .customer-select,
body[data-theme="light-slate"] .customer-select,
body[data-theme="light-ocean"] .cart-summary,
body[data-theme="light-warm"] .cart-summary,
body[data-theme="light-mint"] .cart-summary,
body[data-theme="light-slate"] .cart-summary { border-color: #e2e8f0; }

body[data-theme="light-ocean"] .cart-title,
body[data-theme="light-warm"] .cart-title,
body[data-theme="light-mint"] .cart-title,
body[data-theme="light-slate"] .cart-title,
body[data-theme="light-ocean"] .cart-item .ci-name,
body[data-theme="light-warm"] .cart-item .ci-name,
body[data-theme="light-mint"] .cart-item .ci-name,
body[data-theme="light-slate"] .cart-item .ci-name,
body[data-theme="light-ocean"] .summary-row.total-row,
body[data-theme="light-warm"] .summary-row.total-row,
body[data-theme="light-mint"] .summary-row.total-row,
body[data-theme="light-slate"] .summary-row.total-row { color: #0f172a !important; }

body[data-theme="light-ocean"] .cart-item .ci-qty,
body[data-theme="light-warm"] .cart-item .ci-qty,
body[data-theme="light-mint"] .cart-item .ci-qty,
body[data-theme="light-slate"] .cart-item .ci-qty { background: #f1f5f9; }
body[data-theme="light-ocean"] .cart-item .ci-qty button,
body[data-theme="light-warm"] .cart-item .ci-qty button,
body[data-theme="light-mint"] .cart-item .ci-qty button,
body[data-theme="light-slate"] .cart-item .ci-qty button { color: #475569; }
body[data-theme="light-ocean"] .cart-item .ci-qty span,
body[data-theme="light-warm"] .cart-item .ci-qty span,
body[data-theme="light-mint"] .cart-item .ci-qty span,
body[data-theme="light-slate"] .cart-item .ci-qty span { color: #0f172a; }

/* Cart buttons */
body[data-theme="light-ocean"] .cart-btn,
body[data-theme="light-warm"] .cart-btn,
body[data-theme="light-mint"] .cart-btn,
body[data-theme="light-slate"] .cart-btn {
  background: #f1f5f9; border-color: #cbd5e1; color: #475569;
}
body[data-theme="light-ocean"] .cart-btn:hover,
body[data-theme="light-warm"] .cart-btn:hover,
body[data-theme="light-mint"] .cart-btn:hover,
body[data-theme="light-slate"] .cart-btn:hover { background: #e2e8f0; color: #0f172a; }

/* Background overrides */
body[data-theme="light-ocean"] .bg-gray-800,
body[data-theme="light-warm"] .bg-gray-800,
body[data-theme="light-mint"] .bg-gray-800,
body[data-theme="light-slate"] .bg-gray-800 { background-color: #f8fafc !important; }
body[data-theme="light-ocean"] .bg-gray-900,
body[data-theme="light-warm"] .bg-gray-900,
body[data-theme="light-mint"] .bg-gray-900,
body[data-theme="light-slate"] .bg-gray-900 { background-color: #f1f5f9 !important; }
body[data-theme="light-ocean"] .border-gray-700,
body[data-theme="light-warm"] .border-gray-700,
body[data-theme="light-mint"] .border-gray-700,
body[data-theme="light-slate"] .border-gray-700 { border-color: #cbd5e1 !important; }

/* Text overrides */
body[data-theme="light-ocean"] .text-white,
body[data-theme="light-warm"] .text-white,
body[data-theme="light-mint"] .text-white,
body[data-theme="light-slate"] .text-white,
body[data-theme="light-ocean"] .text-gray-100,
body[data-theme="light-warm"] .text-gray-100,
body[data-theme="light-mint"] .text-gray-100,
body[data-theme="light-slate"] .text-gray-100,
body[data-theme="light-ocean"] .text-gray-200,
body[data-theme="light-warm"] .text-gray-200,
body[data-theme="light-mint"] .text-gray-200,
body[data-theme="light-slate"] .text-gray-200,
body[data-theme="light-ocean"] .text-gray-300,
body[data-theme="light-warm"] .text-gray-300,
body[data-theme="light-mint"] .text-gray-300,
body[data-theme="light-slate"] .text-gray-300 { color: #0f172a !important; }
body[data-theme="light-ocean"] .text-gray-400,
body[data-theme="light-warm"] .text-gray-400,
body[data-theme="light-mint"] .text-gray-400,
body[data-theme="light-slate"] .text-gray-400,
body[data-theme="light-ocean"] .text-gray-500,
body[data-theme="light-warm"] .text-gray-500,
body[data-theme="light-mint"] .text-gray-500,
body[data-theme="light-slate"] .text-gray-500 { color: #475569 !important; }

/* Indigo text mapped to theme primary */
body[data-theme="light-ocean"] .text-indigo-400,
body[data-theme="light-ocean"] .text-indigo-300,
body[data-theme="light-ocean"] .text-indigo-200 { color: #0284c7 !important; }
body[data-theme="light-warm"] .text-indigo-400,
body[data-theme="light-warm"] .text-indigo-300,
body[data-theme="light-warm"] .text-indigo-200 { color: #ea580c !important; }
body[data-theme="light-mint"] .text-indigo-400,
body[data-theme="light-mint"] .text-indigo-300,
body[data-theme="light-mint"] .text-indigo-200 { color: #16a34a !important; }
body[data-theme="light-slate"] .text-indigo-400,
body[data-theme="light-slate"] .text-indigo-300,
body[data-theme="light-slate"] .text-indigo-200 { color: #475569 !important; }

/* Table styles */
body[data-theme="light-ocean"] .table-wrapper,
body[data-theme="light-warm"] .table-wrapper,
body[data-theme="light-mint"] .table-wrapper,
body[data-theme="light-slate"] .table-wrapper { background: #ffffff; border-color: #cbd5e1; }
body[data-theme="light-ocean"] .data-table th,
body[data-theme="light-warm"] .data-table th,
body[data-theme="light-mint"] .data-table th,
body[data-theme="light-slate"] .data-table th { background: #f8fafc; border-bottom-color: #cbd5e1; color: #475569; }
body[data-theme="light-ocean"] .data-table td,
body[data-theme="light-warm"] .data-table td,
body[data-theme="light-mint"] .data-table td,
body[data-theme="light-slate"] .data-table td { border-bottom-color: #f1f5f9; color: #334155; }
body[data-theme="light-ocean"] .data-table tr:hover td,
body[data-theme="light-warm"] .data-table tr:hover td,
body[data-theme="light-mint"] .data-table tr:hover td,
body[data-theme="light-slate"] .data-table tr:hover td { background: #f8fafc; }

/* Glass cards */
body[data-theme="light-ocean"] .glass-card,
body[data-theme="light-warm"] .glass-card,
body[data-theme="light-mint"] .glass-card,
body[data-theme="light-slate"] .glass-card {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06) !important;
}

/* Quick cash */
body[data-theme="light-ocean"] .quick-cash button:hover { background: rgba(2,132,199,0.1); color: #0284c7; border-color: rgba(2,132,199,0.3); }
body[data-theme="light-warm"] .quick-cash button:hover { background: rgba(234,88,12,0.1); color: #ea580c; border-color: rgba(234,88,12,0.3); }
body[data-theme="light-mint"] .quick-cash button:hover { background: rgba(22,163,74,0.1); color: #16a34a; border-color: rgba(22,163,74,0.3); }
body[data-theme="light-slate"] .quick-cash button:hover { background: rgba(71,85,105,0.1); color: #475569; border-color: rgba(71,85,105,0.3); }

/* Payment method active */
body[data-theme="light-ocean"] .pm-btn.active { background: rgba(2,132,199,0.15); border-color: rgba(2,132,199,0.3); color: #0284c7; }
body[data-theme="light-warm"] .pm-btn.active { background: rgba(234,88,12,0.15); border-color: rgba(234,88,12,0.3); color: #ea580c; }
body[data-theme="light-mint"] .pm-btn.active { background: rgba(22,163,74,0.15); border-color: rgba(22,163,74,0.3); color: #16a34a; }
body[data-theme="light-slate"] .pm-btn.active { background: rgba(71,85,105,0.15); border-color: rgba(71,85,105,0.3); color: #475569; }

/* Report tab active */
body[data-theme="light-ocean"] .report-tab.active { background: #0284c7; color: #ffffff; }
body[data-theme="light-warm"] .report-tab.active { background: #ea580c; color: #ffffff; }
body[data-theme="light-mint"] .report-tab.active { background: #16a34a; color: #ffffff; }
body[data-theme="light-slate"] .report-tab.active { background: #475569; color: #ffffff; }

/* ---- FIX: Ensure p-name, p-cat, p-stock use dark text on ALL light themes (including already defined) ---- */
body[data-theme^="light-"] .product-card .p-name { color: #0f172a !important; }
body[data-theme^="light-"] .product-card .p-cat { color: #94a3b8 !important; }
body[data-theme^="light-"] .product-card .p-stock { color: #64748b !important; }
body[data-theme^="light-"] .product-card .p-stock.low { color: #dc2626 !important; }
body[data-theme^="light-"] .product-card .pc-name { color: #0f172a !important; }
body[data-theme^="light-"] .product-card .pc-category { color: #94a3b8 !important; }
body[data-theme^="light-"] .product-card .pc-stock { color: #64748b !important; }
body[data-theme^="light-"] .product-card .pc-stock.stock-low { color: #dc2626 !important; }

/* ---- FIX: Nav brand (Store/Business name) and branch name in topNav ---- */
body[data-theme^="light-"] .nav-brand { color: #0f172a !important; }
body[data-theme^="light-"] .nav-user { color: #475569 !important; }
body[data-theme^="light-"] .nav-user span { color: #475569 !important; }
body[data-theme^="light-"] .nav-branch-name,
body[data-theme^="light-"] .branch-name,
body[data-theme^="light-"] #activeBranchName,
body[data-theme^="light-"] #currentBranchName { color: #0f172a !important; }
/* ============================================\n   PURE WHITE THEMES \n   ============================================ */\n/* --- PURE WHITE THEME: BLUE --- */
body[data-theme="pure-white-blue"] {
  background: #ffffff;
  color: #0f172a;
}
body[data-theme="pure-white-blue"] #topNav {
  background: #ffffff;
  border-bottom: 1px solid #cbd5e1;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}
body[data-theme="pure-white-blue"] .nav-brand {
  color: #0f172a;
}
body[data-theme="pure-white-blue"] .nav-brand span,
body[data-theme="pure-white-blue"] .text-indigo-400 {
  color: #0ea5e9 !important;
}
body[data-theme="pure-white-blue"] .nav-logo-icon {
  color: #0ea5e9;
}
body[data-theme="pure-white-blue"] .nav-tabs {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}
body[data-theme="pure-white-blue"] .nav-tab {
  color: #64748b;
}
body[data-theme="pure-white-blue"] .nav-tab:hover {
  background: #f8fafc;
  color: #0f172a;
}
body[data-theme="pure-white-blue"] .nav-tab.active,
body[data-theme="pure-white-blue"] .dropdown-item.active {
  background: #ffffff;
  color: #0ea5e9;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  border-color: #cbd5e1;
}
body[data-theme="pure-white-blue"] .nav-tab.active i,
body[data-theme="pure-white-blue"] .dropdown-item.active i {
  color: #0ea5e9;
  text-shadow: none;
}
body[data-theme="pure-white-blue"] .dropdown-menu {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
body[data-theme="pure-white-blue"] .dropdown-item {
  color: #64748b;
}
body[data-theme="pure-white-blue"] .dropdown-item i {
  color: #94a3b8;
}
body[data-theme="pure-white-blue"] .dropdown-item:hover {
  background: #ffffff;
  color: #0f172a;
}
body[data-theme="pure-white-blue"] .dropdown-item:hover i {
  color: #0ea5e9;
}
body[data-theme="pure-white-blue"] .dropdown-item.active {
  background: rgba(14, 165, 233, 0.08);
  color: #0ea5e9;
  border-color: rgba(14, 165, 233, 0.2);
}
body[data-theme="pure-white-blue"] .dropdown-item.active i {
  color: #0ea5e9;
}
body[data-theme="pure-white-blue"] .nav-tab.active kbd {
  background: rgba(14, 165, 233, 0.15);
  border-color: rgba(14, 165, 233, 0.25);
  color: #0ea5e9;
}
body[data-theme="pure-white-blue"] .nav-tab kbd {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #64748b;
}
body[data-theme="pure-white-blue"] .nav-user {
  color: #475569;
}
body[data-theme="pure-white-blue"] .nav-role-badge {
  background: rgba(14, 165, 233, 0.1);
  color: #0ea5e9;
}
body[data-theme="pure-white-blue"] .nav-logout {
  background: rgba(239, 68, 68, 0.05);
}
body[data-theme="pure-white-blue"] .page-title {
  color: #0f172a;
}
body[data-theme="pure-white-blue"] .page-title i {
  color: #0ea5e9;
}
body[data-theme="pure-white-blue"] .page-subtitle {
  color: #475569;
}
body[data-theme="pure-white-blue"] .action-btn.secondary {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
}
body[data-theme="pure-white-blue"] .action-btn.secondary:hover {
  background: #f8fafc;
}
body[data-theme="pure-white-blue"] .action-btn.primary,
body[data-theme="pure-white-blue"] .pay-btn {
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
  color: #ffffff;
}
body[data-theme="pure-white-blue"] .billing-right {
  background: #ffffff;
  border: 1px solid #cbd5e1;
}
body[data-theme="pure-white-blue"] .cart-header,
body[data-theme="pure-white-blue"] .customer-select,
body[data-theme="pure-white-blue"] .cart-summary {
  border-color: #e2e8f0;
}
body[data-theme="pure-white-blue"] .cart-title,
body[data-theme="pure-white-blue"] .customer-select select,
body[data-theme="pure-white-blue"] .cart-item .ci-name,
body[data-theme="pure-white-blue"] .summary-row.total-row {
  color: #0f172a;
}
body[data-theme="pure-white-blue"] .customer-select select option {
  background: #ffffff;
}
body[data-theme="pure-white-blue"] .cart-item .ci-qty {
  background: #ffffff;
}
body[data-theme="pure-white-blue"] .cart-item .ci-qty button {
  color: #475569;
}
body[data-theme="pure-white-blue"] .cart-item .ci-qty button:hover {
  background: #f8fafc;
}
body[data-theme="pure-white-blue"] .cart-item .ci-qty span {
  color: #0f172a;
}
body[data-theme="pure-white-blue"] .cart-item {
  border-bottom-color: #e2e8f0;
}
body[data-theme="pure-white-blue"] .cart-btn {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #475569;
}
body[data-theme="pure-white-blue"] .cart-btn:hover {
  background: #f8fafc;
  color: #0f172a;
}
body[data-theme="pure-white-blue"] .search-bar input {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
}
body[data-theme="pure-white-blue"] .search-bar input::placeholder {
  color: #94a3b8;
}
body[data-theme="pure-white-blue"] .cat-pill {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #475569;
}
body[data-theme="pure-white-blue"] .cat-pill:hover {
  background: #f8fafc;
}
body[data-theme="pure-white-blue"] .cat-pill.active {
  background: rgba(14, 165, 233, 0.08);
  border-color: rgba(14, 165, 233, 0.3);
  color: #0ea5e9;
}
body[data-theme="pure-white-blue"] .product-card {
  background: #ffffff;
  border-color: #e2e8f0;
}
body[data-theme="pure-white-blue"] .product-card:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
body[data-theme="pure-white-blue"] .product-card .p-name {
  color: #0f172a;
}
body[data-theme="pure-white-blue"] .product-card .p-stock {
  color: #64748b;
}
body[data-theme="pure-white-blue"] .p-price,
body[data-theme="pure-white-blue"] .ci-total {
  color: #0ea5e9;
}
body[data-theme="pure-white-blue"] .table-wrapper {
  background: #ffffff;
  border-color: #cbd5e1;
}
body[data-theme="pure-white-blue"] .table-toolbar {
  border-bottom-color: #cbd5e1;
}
body[data-theme="pure-white-blue"] .table-search,
body[data-theme="pure-white-blue"] .table-filter {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
}
body[data-theme="pure-white-blue"] .table-search::placeholder {
  color: #94a3b8;
}
body[data-theme="pure-white-blue"] .data-table th {
  color: #475569;
  background: #f8fafc;
  border-bottom-color: #cbd5e1;
}
body[data-theme="pure-white-blue"] .data-table td {
  color: #334155;
  border-bottom-color: #e2e8f0;
}
body[data-theme="pure-white-blue"] .data-table tr:hover td {
  background: #f8fafc;
}
body[data-theme="pure-white-blue"] .glass-card,
body[data-theme="pure-white-blue"] .glass-card-sm {
  background: #ffffff;
  border-color: #cbd5e1;
}
body[data-theme="pure-white-blue"] .glass-card h3,
body[data-theme="pure-white-blue"] .glass-card-sm h3,
body[data-theme="pure-white-blue"] .glass-card h4,
body[data-theme="pure-white-blue"] .glass-card label,
body[data-theme="pure-white-blue"] .modal-header h3 {
  color: #0f172a !important;
}
body[data-theme="pure-white-blue"] .form-input {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
}
body[data-theme="pure-white-blue"] .form-input::placeholder {
  color: #94a3b8;
}
body[data-theme="pure-white-blue"] .modal-box {
  background: #ffffff;
  border-color: #cbd5e1;
}
body[data-theme="pure-white-blue"] .modal-header,
body[data-theme="pure-white-blue"] .modal-footer {
  border-color: #cbd5e1;
}
body[data-theme="pure-white-blue"] .modal-close {
  color: #475569;
}
body[data-theme="pure-white-blue"] .modal-close:hover {
  background: #ffffff;
  color: #0f172a;
}
body[data-theme="pure-white-blue"] .stat-card {
  background: #f8fafc;
  border-color: #cbd5e1;
}
body[data-theme="pure-white-blue"] .stat-label {
  color: #64748b;
}
body[data-theme="pure-white-blue"] .stat-card .stat-number:not(.logo-text) {
  color: #0f172a;
}
body[data-theme="pure-white-blue"] .quick-cash-btn {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #334155;
}
body[data-theme="pure-white-blue"] .quick-cash-btn:hover {
  background: rgba(14, 165, 233, 0.08);
  border-color: rgba(14, 165, 233, 0.3);
  color: #0ea5e9;
}
body[data-theme="pure-white-blue"] .pm-btn {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #475569;
}
body[data-theme="pure-white-blue"] .pm-btn.active {
  background: rgba(14, 165, 233, 0.08);
  border-color: #0ea5e9;
  color: #0ea5e9;
}
body[data-theme="pure-white-blue"] .pm-btn:hover {
  background: #f8fafc;
}
body[data-theme="pure-white-blue"] .payment-total {
  background: rgba(14, 165, 233, 0.05);
}
body[data-theme="pure-white-blue"] .payment-amount {
  color: #0f172a;
}
body[data-theme="pure-white-blue"] .pay-input {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
}
body[data-theme="pure-white-blue"] .change-display span {
  color: #0f172a;
}
body[data-theme="pure-white-blue"] .quick-cash button {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #334155;
}
body[data-theme="pure-white-blue"] .quick-cash button:hover {
  background: rgba(14, 165, 233, 0.08);
  border-color: rgba(14, 165, 233, 0.3);
  color: #0ea5e9;
}
body[data-theme="pure-white-blue"] .report-tab {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
}
body[data-theme="pure-white-blue"] .report-tab:hover {
  background: #f8fafc;
}
body[data-theme="pure-white-blue"] .report-tab.active {
  background: #0ea5e9;
  color: #ffffff;
  border-color: #0ea5e9;
}
body[data-theme="pure-white-blue"] .report-card {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
}
body[data-theme="pure-white-blue"] .report-card h3,
body[data-theme="pure-white-blue"] .report-card h4 {
  color: #0f172a !important;
}
body[data-theme="pure-white-blue"] .report-card p {
  color: #475569;
}
body[data-theme="pure-white-blue"] .stat-box {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
}
body[data-theme="pure-white-blue"] .stat-box .stat-value {
  color: #0f172a;
}
body[data-theme="pure-white-blue"] .stat-box .stat-label {
  color: #64748b;
}
body[data-theme="pure-white-blue"] .item-row {
  background: #f8fafc;
  border-color: #e2e8f0;
}
body[data-theme="pure-white-blue"] .item-row span {
  color: #0f172a;
}

/* --- 4. CRIMSON RUBY --- */
body[data-theme="ruby"] {
  background: #0f0505;
}
body[data-theme="ruby"] .text-indigo-400,
body[data-theme="ruby"] .nav-brand span {
  color: #f87171 !important;
}
body[data-theme="ruby"] .nav-logo-icon {
  color: #ef4444;
}
body[data-theme="ruby"] .nav-tab.active,
body[data-theme="ruby"] .dropdown-item.active {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-color: rgba(239, 68, 68, 0.35);
}
body[data-theme="ruby"] .nav-tab.active i,
body[data-theme="ruby"] .dropdown-item.active i {
  color: #f87171;
  text-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
}
body[data-theme="ruby"] .nav-tab.active kbd {
  background: rgba(239, 68, 68, 0.25);
  border-color: rgba(239, 68, 68, 0.4);
  color: rgba(255, 255, 255, 0.7);
}
body[data-theme="ruby"] .nav-role-badge {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
}
body[data-theme="ruby"] .action-btn.primary,
body[data-theme="ruby"] .pay-btn {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
}
body[data-theme="ruby"] .action-btn.primary:hover {
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
}
body[data-theme="ruby"] .product-card:hover {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.2);
}
body[data-theme="ruby"] .p-price,
body[data-theme="ruby"] .ci-total {
  color: #f87171;
}
body[data-theme="ruby"] .pm-btn.active {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: #f87171;
}
body[data-theme="ruby"] .form-input:focus,
body[data-theme="ruby"] .search-bar input:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}
body[data-theme="ruby"] .quick-cash-btn:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.3);
  color: #f87171;
}
body[data-theme="ruby"] .report-tab.active {
  background: #ef4444;
}

/* --- 5. VIOLET ORCHID --- */
body[data-theme="violet"] {
  background: #080512;
}
body[data-theme="violet"] .text-indigo-400,
body[data-theme="violet"] .nav-brand span {
  color: #c084fc !important;
}
body[data-theme="violet"] .nav-logo-icon {
  color: #a855f7;
}
body[data-theme="violet"] .nav-tab.active,
body[data-theme="violet"] .dropdown-item.active {
  background: rgba(168, 85, 247, 0.12);
  color: #c084fc;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-color: rgba(168, 85, 247, 0.35);
}
body[data-theme="violet"] .nav-tab.active i,
body[data-theme="violet"] .dropdown-item.active i {
  color: #c084fc;
  text-shadow: 0 0 8px rgba(168, 85, 247, 0.5);
}
body[data-theme="violet"] .nav-tab.active kbd {
  background: rgba(168, 85, 247, 0.25);
  border-color: rgba(168, 85, 247, 0.4);
  color: rgba(255, 255, 255, 0.7);
}
body[data-theme="violet"] .nav-role-badge {
  background: rgba(168, 85, 247, 0.2);
  color: #c084fc;
}
body[data-theme="violet"] .action-btn.primary,
body[data-theme="violet"] .pay-btn {
  background: linear-gradient(135deg, #a855f7, #7e22ce);
}
body[data-theme="violet"] .action-btn.primary:hover {
  box-shadow: 0 8px 20px rgba(168, 85, 247, 0.3);
}
body[data-theme="violet"] .product-card:hover {
  background: rgba(168, 85, 247, 0.08);
  border-color: rgba(168, 85, 247, 0.2);
}
body[data-theme="violet"] .p-price,
body[data-theme="violet"] .ci-total {
  color: #c084fc;
}
body[data-theme="violet"] .pm-btn.active {
  background: rgba(168, 85, 247, 0.15);
  border-color: rgba(168, 85, 247, 0.4);
  color: #c084fc;
}
body[data-theme="violet"] .form-input:focus,
body[data-theme="violet"] .search-bar input:focus {
  border-color: #a855f7;
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15);
}
body[data-theme="violet"] .quick-cash-btn:hover {
  background: rgba(168, 85, 247, 0.15);
  border-color: rgba(168, 85, 247, 0.3);
  color: #c084fc;
}
body[data-theme="violet"] .report-tab.active {
  background: #a855f7;
}

/* --- 6. NORDIC FROST --- */
body[data-theme="nordic"] {
  background: #0b0f19;
}
body[data-theme="nordic"] .text-indigo-400,
body[data-theme="nordic"] .nav-brand span {
  color: #22d3ee !important;
}
body[data-theme="nordic"] .nav-logo-icon {
  color: #06b6d4;
}
body[data-theme="nordic"] .nav-tab.active,
body[data-theme="nordic"] .dropdown-item.active {
  background: rgba(6, 182, 212, 0.12);
  color: #22d3ee;
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-color: rgba(6, 182, 212, 0.35);
}
body[data-theme="nordic"] .nav-tab.active i,
body[data-theme="nordic"] .dropdown-item.active i {
  color: #22d3ee;
  text-shadow: 0 0 8px rgba(6, 182, 212, 0.5);
}
body[data-theme="nordic"] .nav-tab.active kbd {
  background: rgba(6, 182, 212, 0.25);
  border-color: rgba(6, 182, 212, 0.4);
  color: rgba(255, 255, 255, 0.7);
}
body[data-theme="nordic"] .nav-role-badge {
  background: rgba(6, 182, 212, 0.2);
  color: #22d3ee;
}
body[data-theme="nordic"] .action-btn.primary,
body[data-theme="nordic"] .pay-btn {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
}
body[data-theme="nordic"] .action-btn.primary:hover {
  box-shadow: 0 8px 20px rgba(6, 182, 212, 0.3);
}
body[data-theme="nordic"] .product-card:hover {
  background: rgba(6, 182, 212, 0.08);
  border-color: rgba(6, 182, 212, 0.2);
}
body[data-theme="nordic"] .p-price,
body[data-theme="nordic"] .ci-total {
  color: #22d3ee;
}
body[data-theme="nordic"] .pm-btn.active {
  background: rgba(6, 182, 212, 0.15);
  border-color: rgba(6, 182, 212, 0.4);
  color: #22d3ee;
}
body[data-theme="nordic"] .form-input:focus,
body[data-theme="nordic"] .search-bar input:focus {
  border-color: #06b6d4;
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
}
body[data-theme="nordic"] .quick-cash-btn:hover {
  background: rgba(6, 182, 212, 0.15);
  border-color: rgba(6, 182, 212, 0.3);
  color: #22d3ee;
}
body[data-theme="nordic"] .report-tab.active {
  background: #06b6d4;
}

/* --- 7. CYBERPUNK NEON --- */
body[data-theme="cyberpunk"] {
  background: #000000;
}
body[data-theme="cyberpunk"] .text-indigo-400,
body[data-theme="cyberpunk"] .nav-brand span {
  color: #facc15 !important;
  text-shadow: 0 0 8px rgba(250, 204, 21, 0.5);
}
body[data-theme="cyberpunk"] .nav-logo-icon {
  color: #facc15;
}
body[data-theme="cyberpunk"] .nav-tab.active,
body[data-theme="cyberpunk"] .dropdown-item.active {
  background: rgba(250, 204, 21, 0.15);
  color: #facc15;
  box-shadow: 0 0 15px rgba(250, 204, 21, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: #facc15;
}
body[data-theme="cyberpunk"] .nav-tab.active i,
body[data-theme="cyberpunk"] .dropdown-item.active i {
  color: #facc15;
  text-shadow: 0 0 10px rgba(250, 204, 21, 0.8);
}
body[data-theme="cyberpunk"] .nav-tab.active kbd {
  background: rgba(250, 204, 21, 0.3);
  border-color: #facc15;
  color: #ffffff;
}
body[data-theme="cyberpunk"] .nav-role-badge {
  background: rgba(250, 204, 21, 0.25);
  color: #facc15;
  border: 1px solid rgba(250, 204, 21, 0.4);
}
body[data-theme="cyberpunk"] .action-btn.primary,
body[data-theme="cyberpunk"] .pay-btn {
  background: linear-gradient(135deg, #facc15, #ca8a04);
  color: #000000;
  font-weight: 800;
}
body[data-theme="cyberpunk"] .action-btn.primary:hover {
  box-shadow: 0 8px 25px rgba(250, 204, 21, 0.5);
}
body[data-theme="cyberpunk"] .product-card:hover {
  background: rgba(250, 204, 21, 0.1);
  border-color: #facc15;
  box-shadow: 0 0 15px rgba(250, 204, 21, 0.2);
}
body[data-theme="cyberpunk"] .p-price,
body[data-theme="cyberpunk"] .ci-total {
  color: #facc15;
  text-shadow: 0 0 5px rgba(250, 204, 21, 0.3);
}
body[data-theme="cyberpunk"] .pm-btn.active {
  background: rgba(250, 204, 21, 0.25);
  border-color: #facc15;
  color: #facc15;
}
body[data-theme="cyberpunk"] .form-input:focus,
body[data-theme="cyberpunk"] .search-bar input:focus {
  border-color: #facc15;
  box-shadow: 0 0 10px rgba(250, 204, 21, 0.3);
}
body[data-theme="cyberpunk"] .quick-cash-btn:hover {
  background: rgba(250, 204, 21, 0.2);
  border-color: #facc15;
  color: #facc15;
}
body[data-theme="cyberpunk"] .report-tab.active {
  background: #facc15;
  color: #000000;
}

/* CUSTOM SEARCHABLE DROPDOWN */
.custom-select-dropdown {
  background: #141828;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  max-height: 250px;
  overflow-y: auto; overscroll-behavior: contain;
  z-index: 1000;
  margin-top: 4px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
}

.custom-select-item {
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.custom-select-item:hover {
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  padding-left: 18px; /* micro-animation sliding effect */
}

.custom-select-item:last-child {
  border-bottom: none;
}

\n/* --- PURE WHITE THEME: EMERALD --- */
body[data-theme="pure-white-emerald"] {
  background: #ffffff;
  color: #0f172a;
}
body[data-theme="pure-white-emerald"] #topNav {
  background: #ffffff;
  border-bottom: 1px solid #cbd5e1;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}
body[data-theme="pure-white-emerald"] .nav-brand {
  color: #0f172a;
}
body[data-theme="pure-white-emerald"] .nav-brand span,
body[data-theme="pure-white-emerald"] .text-indigo-400 {
  color: #10b981 !important;
}
body[data-theme="pure-white-emerald"] .nav-logo-icon {
  color: #10b981;
}
body[data-theme="pure-white-emerald"] .nav-tabs {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}
body[data-theme="pure-white-emerald"] .nav-tab {
  color: #64748b;
}
body[data-theme="pure-white-emerald"] .nav-tab:hover {
  background: #f8fafc;
  color: #0f172a;
}
body[data-theme="pure-white-emerald"] .nav-tab.active,
body[data-theme="pure-white-emerald"] .dropdown-item.active {
  background: #ffffff;
  color: #10b981;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  border-color: #cbd5e1;
}
body[data-theme="pure-white-emerald"] .nav-tab.active i,
body[data-theme="pure-white-emerald"] .dropdown-item.active i {
  color: #10b981;
  text-shadow: none;
}
body[data-theme="pure-white-emerald"] .dropdown-menu {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
body[data-theme="pure-white-emerald"] .dropdown-item {
  color: #64748b;
}
body[data-theme="pure-white-emerald"] .dropdown-item i {
  color: #94a3b8;
}
body[data-theme="pure-white-emerald"] .dropdown-item:hover {
  background: #ffffff;
  color: #0f172a;
}
body[data-theme="pure-white-emerald"] .dropdown-item:hover i {
  color: #10b981;
}
body[data-theme="pure-white-emerald"] .dropdown-item.active {
  background: rgba(16, 185, 129, 0.08);
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.2);
}
body[data-theme="pure-white-emerald"] .dropdown-item.active i {
  color: #10b981;
}
body[data-theme="pure-white-emerald"] .nav-tab.active kbd {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.25);
  color: #10b981;
}
body[data-theme="pure-white-emerald"] .nav-tab kbd {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #64748b;
}
body[data-theme="pure-white-emerald"] .nav-user {
  color: #475569;
}
body[data-theme="pure-white-emerald"] .nav-role-badge {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}
body[data-theme="pure-white-emerald"] .nav-logout {
  background: rgba(239, 68, 68, 0.05);
}
body[data-theme="pure-white-emerald"] .page-title {
  color: #0f172a;
}
body[data-theme="pure-white-emerald"] .page-title i {
  color: #10b981;
}
body[data-theme="pure-white-emerald"] .page-subtitle {
  color: #475569;
}
body[data-theme="pure-white-emerald"] .action-btn.secondary {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
}
body[data-theme="pure-white-emerald"] .action-btn.secondary:hover {
  background: #f8fafc;
}
body[data-theme="pure-white-emerald"] .action-btn.primary,
body[data-theme="pure-white-emerald"] .pay-btn {
  background: linear-gradient(135deg, #10b981, #34d399);
  color: #ffffff;
}
body[data-theme="pure-white-emerald"] .billing-right {
  background: #ffffff;
  border: 1px solid #cbd5e1;
}
body[data-theme="pure-white-emerald"] .cart-header,
body[data-theme="pure-white-emerald"] .customer-select,
body[data-theme="pure-white-emerald"] .cart-summary {
  border-color: #e2e8f0;
}
body[data-theme="pure-white-emerald"] .cart-title,
body[data-theme="pure-white-emerald"] .customer-select select,
body[data-theme="pure-white-emerald"] .cart-item .ci-name,
body[data-theme="pure-white-emerald"] .summary-row.total-row {
  color: #0f172a;
}
body[data-theme="pure-white-emerald"] .customer-select select option {
  background: #ffffff;
}
body[data-theme="pure-white-emerald"] .cart-item .ci-qty {
  background: #ffffff;
}
body[data-theme="pure-white-emerald"] .cart-item .ci-qty button {
  color: #475569;
}
body[data-theme="pure-white-emerald"] .cart-item .ci-qty button:hover {
  background: #f8fafc;
}
body[data-theme="pure-white-emerald"] .cart-item .ci-qty span {
  color: #0f172a;
}
body[data-theme="pure-white-emerald"] .cart-item {
  border-bottom-color: #e2e8f0;
}
body[data-theme="pure-white-emerald"] .cart-btn {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #475569;
}
body[data-theme="pure-white-emerald"] .cart-btn:hover {
  background: #f8fafc;
  color: #0f172a;
}
body[data-theme="pure-white-emerald"] .search-bar input {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
}
body[data-theme="pure-white-emerald"] .search-bar input::placeholder {
  color: #94a3b8;
}
body[data-theme="pure-white-emerald"] .cat-pill {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #475569;
}
body[data-theme="pure-white-emerald"] .cat-pill:hover {
  background: #f8fafc;
}
body[data-theme="pure-white-emerald"] .cat-pill.active {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.3);
  color: #10b981;
}
body[data-theme="pure-white-emerald"] .product-card {
  background: #ffffff;
  border-color: #e2e8f0;
}
body[data-theme="pure-white-emerald"] .product-card:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
body[data-theme="pure-white-emerald"] .product-card .p-name {
  color: #0f172a;
}
body[data-theme="pure-white-emerald"] .product-card .p-stock {
  color: #64748b;
}
body[data-theme="pure-white-emerald"] .p-price,
body[data-theme="pure-white-emerald"] .ci-total {
  color: #10b981;
}
body[data-theme="pure-white-emerald"] .table-wrapper {
  background: #ffffff;
  border-color: #cbd5e1;
}
body[data-theme="pure-white-emerald"] .table-toolbar {
  border-bottom-color: #cbd5e1;
}
body[data-theme="pure-white-emerald"] .table-search,
body[data-theme="pure-white-emerald"] .table-filter {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
}
body[data-theme="pure-white-emerald"] .table-search::placeholder {
  color: #94a3b8;
}
body[data-theme="pure-white-emerald"] .data-table th {
  color: #475569;
  background: #f8fafc;
  border-bottom-color: #cbd5e1;
}
body[data-theme="pure-white-emerald"] .data-table td {
  color: #334155;
  border-bottom-color: #e2e8f0;
}
body[data-theme="pure-white-emerald"] .data-table tr:hover td {
  background: #f8fafc;
}
body[data-theme="pure-white-emerald"] .glass-card,
body[data-theme="pure-white-emerald"] .glass-card-sm {
  background: #ffffff;
  border-color: #cbd5e1;
}
body[data-theme="pure-white-emerald"] .glass-card h3,
body[data-theme="pure-white-emerald"] .glass-card-sm h3,
body[data-theme="pure-white-emerald"] .glass-card h4,
body[data-theme="pure-white-emerald"] .glass-card label,
body[data-theme="pure-white-emerald"] .modal-header h3 {
  color: #0f172a !important;
}
body[data-theme="pure-white-emerald"] .form-input {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
}
body[data-theme="pure-white-emerald"] .form-input::placeholder {
  color: #94a3b8;
}
body[data-theme="pure-white-emerald"] .modal-box {
  background: #ffffff;
  border-color: #cbd5e1;
}
body[data-theme="pure-white-emerald"] .modal-header,
body[data-theme="pure-white-emerald"] .modal-footer {
  border-color: #cbd5e1;
}
body[data-theme="pure-white-emerald"] .modal-close {
  color: #475569;
}
body[data-theme="pure-white-emerald"] .modal-close:hover {
  background: #ffffff;
  color: #0f172a;
}
body[data-theme="pure-white-emerald"] .stat-card {
  background: #f8fafc;
  border-color: #cbd5e1;
}
body[data-theme="pure-white-emerald"] .stat-label {
  color: #64748b;
}
body[data-theme="pure-white-emerald"] .stat-card .stat-number:not(.logo-text) {
  color: #0f172a;
}
body[data-theme="pure-white-emerald"] .quick-cash-btn {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #334155;
}
body[data-theme="pure-white-emerald"] .quick-cash-btn:hover {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.3);
  color: #10b981;
}
body[data-theme="pure-white-emerald"] .pm-btn {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #475569;
}
body[data-theme="pure-white-emerald"] .pm-btn.active {
  background: rgba(16, 185, 129, 0.08);
  border-color: #10b981;
  color: #10b981;
}
body[data-theme="pure-white-emerald"] .pm-btn:hover {
  background: #f8fafc;
}
body[data-theme="pure-white-emerald"] .payment-total {
  background: rgba(16, 185, 129, 0.05);
}
body[data-theme="pure-white-emerald"] .payment-amount {
  color: #0f172a;
}
body[data-theme="pure-white-emerald"] .pay-input {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
}
body[data-theme="pure-white-emerald"] .change-display span {
  color: #0f172a;
}
body[data-theme="pure-white-emerald"] .quick-cash button {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #334155;
}
body[data-theme="pure-white-emerald"] .quick-cash button:hover {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.3);
  color: #10b981;
}
body[data-theme="pure-white-emerald"] .report-tab {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
}
body[data-theme="pure-white-emerald"] .report-tab:hover {
  background: #f8fafc;
}
body[data-theme="pure-white-emerald"] .report-tab.active {
  background: #10b981;
  color: #ffffff;
  border-color: #10b981;
}
body[data-theme="pure-white-emerald"] .report-card {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
}
body[data-theme="pure-white-emerald"] .report-card h3,
body[data-theme="pure-white-emerald"] .report-card h4 {
  color: #0f172a !important;
}
body[data-theme="pure-white-emerald"] .report-card p {
  color: #475569;
}
body[data-theme="pure-white-emerald"] .stat-box {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
}
body[data-theme="pure-white-emerald"] .stat-box .stat-value {
  color: #0f172a;
}
body[data-theme="pure-white-emerald"] .stat-box .stat-label {
  color: #64748b;
}
body[data-theme="pure-white-emerald"] .item-row {
  background: #f8fafc;
  border-color: #e2e8f0;
}
body[data-theme="pure-white-emerald"] .item-row span {
  color: #0f172a;
}

/* --- 4. CRIMSON RUBY --- */
body[data-theme="ruby"] {
  background: #0f0505;
}
body[data-theme="ruby"] .text-indigo-400,
body[data-theme="ruby"] .nav-brand span {
  color: #f87171 !important;
}
body[data-theme="ruby"] .nav-logo-icon {
  color: #ef4444;
}
body[data-theme="ruby"] .nav-tab.active,
body[data-theme="ruby"] .dropdown-item.active {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-color: rgba(239, 68, 68, 0.35);
}
body[data-theme="ruby"] .nav-tab.active i,
body[data-theme="ruby"] .dropdown-item.active i {
  color: #f87171;
  text-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
}
body[data-theme="ruby"] .nav-tab.active kbd {
  background: rgba(239, 68, 68, 0.25);
  border-color: rgba(239, 68, 68, 0.4);
  color: rgba(255, 255, 255, 0.7);
}
body[data-theme="ruby"] .nav-role-badge {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
}
body[data-theme="ruby"] .action-btn.primary,
body[data-theme="ruby"] .pay-btn {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
}
body[data-theme="ruby"] .action-btn.primary:hover {
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
}
body[data-theme="ruby"] .product-card:hover {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.2);
}
body[data-theme="ruby"] .p-price,
body[data-theme="ruby"] .ci-total {
  color: #f87171;
}
body[data-theme="ruby"] .pm-btn.active {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: #f87171;
}
body[data-theme="ruby"] .form-input:focus,
body[data-theme="ruby"] .search-bar input:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}
body[data-theme="ruby"] .quick-cash-btn:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.3);
  color: #f87171;
}
body[data-theme="ruby"] .report-tab.active {
  background: #ef4444;
}

/* --- 5. VIOLET ORCHID --- */
body[data-theme="violet"] {
  background: #080512;
}
body[data-theme="violet"] .text-indigo-400,
body[data-theme="violet"] .nav-brand span {
  color: #c084fc !important;
}
body[data-theme="violet"] .nav-logo-icon {
  color: #a855f7;
}
body[data-theme="violet"] .nav-tab.active,
body[data-theme="violet"] .dropdown-item.active {
  background: rgba(168, 85, 247, 0.12);
  color: #c084fc;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-color: rgba(168, 85, 247, 0.35);
}
body[data-theme="violet"] .nav-tab.active i,
body[data-theme="violet"] .dropdown-item.active i {
  color: #c084fc;
  text-shadow: 0 0 8px rgba(168, 85, 247, 0.5);
}
body[data-theme="violet"] .nav-tab.active kbd {
  background: rgba(168, 85, 247, 0.25);
  border-color: rgba(168, 85, 247, 0.4);
  color: rgba(255, 255, 255, 0.7);
}
body[data-theme="violet"] .nav-role-badge {
  background: rgba(168, 85, 247, 0.2);
  color: #c084fc;
}
body[data-theme="violet"] .action-btn.primary,
body[data-theme="violet"] .pay-btn {
  background: linear-gradient(135deg, #a855f7, #7e22ce);
}
body[data-theme="violet"] .action-btn.primary:hover {
  box-shadow: 0 8px 20px rgba(168, 85, 247, 0.3);
}
body[data-theme="violet"] .product-card:hover {
  background: rgba(168, 85, 247, 0.08);
  border-color: rgba(168, 85, 247, 0.2);
}
body[data-theme="violet"] .p-price,
body[data-theme="violet"] .ci-total {
  color: #c084fc;
}
body[data-theme="violet"] .pm-btn.active {
  background: rgba(168, 85, 247, 0.15);
  border-color: rgba(168, 85, 247, 0.4);
  color: #c084fc;
}
body[data-theme="violet"] .form-input:focus,
body[data-theme="violet"] .search-bar input:focus {
  border-color: #a855f7;
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15);
}
body[data-theme="violet"] .quick-cash-btn:hover {
  background: rgba(168, 85, 247, 0.15);
  border-color: rgba(168, 85, 247, 0.3);
  color: #c084fc;
}
body[data-theme="violet"] .report-tab.active {
  background: #a855f7;
}

/* --- 6. NORDIC FROST --- */
body[data-theme="nordic"] {
  background: #0b0f19;
}
body[data-theme="nordic"] .text-indigo-400,
body[data-theme="nordic"] .nav-brand span {
  color: #22d3ee !important;
}
body[data-theme="nordic"] .nav-logo-icon {
  color: #06b6d4;
}
body[data-theme="nordic"] .nav-tab.active,
body[data-theme="nordic"] .dropdown-item.active {
  background: rgba(6, 182, 212, 0.12);
  color: #22d3ee;
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-color: rgba(6, 182, 212, 0.35);
}
body[data-theme="nordic"] .nav-tab.active i,
body[data-theme="nordic"] .dropdown-item.active i {
  color: #22d3ee;
  text-shadow: 0 0 8px rgba(6, 182, 212, 0.5);
}
body[data-theme="nordic"] .nav-tab.active kbd {
  background: rgba(6, 182, 212, 0.25);
  border-color: rgba(6, 182, 212, 0.4);
  color: rgba(255, 255, 255, 0.7);
}
body[data-theme="nordic"] .nav-role-badge {
  background: rgba(6, 182, 212, 0.2);
  color: #22d3ee;
}
body[data-theme="nordic"] .action-btn.primary,
body[data-theme="nordic"] .pay-btn {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
}
body[data-theme="nordic"] .action-btn.primary:hover {
  box-shadow: 0 8px 20px rgba(6, 182, 212, 0.3);
}
body[data-theme="nordic"] .product-card:hover {
  background: rgba(6, 182, 212, 0.08);
  border-color: rgba(6, 182, 212, 0.2);
}
body[data-theme="nordic"] .p-price,
body[data-theme="nordic"] .ci-total {
  color: #22d3ee;
}
body[data-theme="nordic"] .pm-btn.active {
  background: rgba(6, 182, 212, 0.15);
  border-color: rgba(6, 182, 212, 0.4);
  color: #22d3ee;
}
body[data-theme="nordic"] .form-input:focus,
body[data-theme="nordic"] .search-bar input:focus {
  border-color: #06b6d4;
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
}
body[data-theme="nordic"] .quick-cash-btn:hover {
  background: rgba(6, 182, 212, 0.15);
  border-color: rgba(6, 182, 212, 0.3);
  color: #22d3ee;
}
body[data-theme="nordic"] .report-tab.active {
  background: #06b6d4;
}

/* --- 7. CYBERPUNK NEON --- */
body[data-theme="cyberpunk"] {
  background: #000000;
}
body[data-theme="cyberpunk"] .text-indigo-400,
body[data-theme="cyberpunk"] .nav-brand span {
  color: #facc15 !important;
  text-shadow: 0 0 8px rgba(250, 204, 21, 0.5);
}
body[data-theme="cyberpunk"] .nav-logo-icon {
  color: #facc15;
}
body[data-theme="cyberpunk"] .nav-tab.active,
body[data-theme="cyberpunk"] .dropdown-item.active {
  background: rgba(250, 204, 21, 0.15);
  color: #facc15;
  box-shadow: 0 0 15px rgba(250, 204, 21, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: #facc15;
}
body[data-theme="cyberpunk"] .nav-tab.active i,
body[data-theme="cyberpunk"] .dropdown-item.active i {
  color: #facc15;
  text-shadow: 0 0 10px rgba(250, 204, 21, 0.8);
}
body[data-theme="cyberpunk"] .nav-tab.active kbd {
  background: rgba(250, 204, 21, 0.3);
  border-color: #facc15;
  color: #ffffff;
}
body[data-theme="cyberpunk"] .nav-role-badge {
  background: rgba(250, 204, 21, 0.25);
  color: #facc15;
  border: 1px solid rgba(250, 204, 21, 0.4);
}
body[data-theme="cyberpunk"] .action-btn.primary,
body[data-theme="cyberpunk"] .pay-btn {
  background: linear-gradient(135deg, #facc15, #ca8a04);
  color: #000000;
  font-weight: 800;
}
body[data-theme="cyberpunk"] .action-btn.primary:hover {
  box-shadow: 0 8px 25px rgba(250, 204, 21, 0.5);
}
body[data-theme="cyberpunk"] .product-card:hover {
  background: rgba(250, 204, 21, 0.1);
  border-color: #facc15;
  box-shadow: 0 0 15px rgba(250, 204, 21, 0.2);
}
body[data-theme="cyberpunk"] .p-price,
body[data-theme="cyberpunk"] .ci-total {
  color: #facc15;
  text-shadow: 0 0 5px rgba(250, 204, 21, 0.3);
}
body[data-theme="cyberpunk"] .pm-btn.active {
  background: rgba(250, 204, 21, 0.25);
  border-color: #facc15;
  color: #facc15;
}
body[data-theme="cyberpunk"] .form-input:focus,
body[data-theme="cyberpunk"] .search-bar input:focus {
  border-color: #facc15;
  box-shadow: 0 0 10px rgba(250, 204, 21, 0.3);
}
body[data-theme="cyberpunk"] .quick-cash-btn:hover {
  background: rgba(250, 204, 21, 0.2);
  border-color: #facc15;
  color: #facc15;
}
body[data-theme="cyberpunk"] .report-tab.active {
  background: #facc15;
  color: #000000;
}

/* CUSTOM SEARCHABLE DROPDOWN */
.custom-select-dropdown {
  background: #141828;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  max-height: 250px;
  overflow-y: auto; overscroll-behavior: contain;
  z-index: 1000;
  margin-top: 4px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
}

.custom-select-item {
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.custom-select-item:hover {
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  padding-left: 18px; /* micro-animation sliding effect */
}

.custom-select-item:last-child {
  border-bottom: none;
}

\n/* --- PURE WHITE THEME: PURPLE --- */
body[data-theme="pure-white-purple"] {
  background: #ffffff;
  color: #0f172a;
}
body[data-theme="pure-white-purple"] #topNav {
  background: #ffffff;
  border-bottom: 1px solid #cbd5e1;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}
body[data-theme="pure-white-purple"] .nav-brand {
  color: #0f172a;
}
body[data-theme="pure-white-purple"] .nav-brand span,
body[data-theme="pure-white-purple"] .text-indigo-400 {
  color: #8b5cf6 !important;
}
body[data-theme="pure-white-purple"] .nav-logo-icon {
  color: #8b5cf6;
}
body[data-theme="pure-white-purple"] .nav-tabs {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}
body[data-theme="pure-white-purple"] .nav-tab {
  color: #64748b;
}
body[data-theme="pure-white-purple"] .nav-tab:hover {
  background: #f8fafc;
  color: #0f172a;
}
body[data-theme="pure-white-purple"] .nav-tab.active,
body[data-theme="pure-white-purple"] .dropdown-item.active {
  background: #ffffff;
  color: #8b5cf6;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  border-color: #cbd5e1;
}
body[data-theme="pure-white-purple"] .nav-tab.active i,
body[data-theme="pure-white-purple"] .dropdown-item.active i {
  color: #8b5cf6;
  text-shadow: none;
}
body[data-theme="pure-white-purple"] .dropdown-menu {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
body[data-theme="pure-white-purple"] .dropdown-item {
  color: #64748b;
}
body[data-theme="pure-white-purple"] .dropdown-item i {
  color: #94a3b8;
}
body[data-theme="pure-white-purple"] .dropdown-item:hover {
  background: #ffffff;
  color: #0f172a;
}
body[data-theme="pure-white-purple"] .dropdown-item:hover i {
  color: #8b5cf6;
}
body[data-theme="pure-white-purple"] .dropdown-item.active {
  background: rgba(139, 92, 246, 0.08);
  color: #8b5cf6;
  border-color: rgba(139, 92, 246, 0.2);
}
body[data-theme="pure-white-purple"] .dropdown-item.active i {
  color: #8b5cf6;
}
body[data-theme="pure-white-purple"] .nav-tab.active kbd {
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.25);
  color: #8b5cf6;
}
body[data-theme="pure-white-purple"] .nav-tab kbd {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #64748b;
}
body[data-theme="pure-white-purple"] .nav-user {
  color: #475569;
}
body[data-theme="pure-white-purple"] .nav-role-badge {
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
}
body[data-theme="pure-white-purple"] .nav-logout {
  background: rgba(239, 68, 68, 0.05);
}
body[data-theme="pure-white-purple"] .page-title {
  color: #0f172a;
}
body[data-theme="pure-white-purple"] .page-title i {
  color: #8b5cf6;
}
body[data-theme="pure-white-purple"] .page-subtitle {
  color: #475569;
}
body[data-theme="pure-white-purple"] .action-btn.secondary {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
}
body[data-theme="pure-white-purple"] .action-btn.secondary:hover {
  background: #f8fafc;
}
body[data-theme="pure-white-purple"] .action-btn.primary,
body[data-theme="pure-white-purple"] .pay-btn {
  background: linear-gradient(135deg, #8b5cf6, #a78bfa);
  color: #ffffff;
}
body[data-theme="pure-white-purple"] .billing-right {
  background: #ffffff;
  border: 1px solid #cbd5e1;
}
body[data-theme="pure-white-purple"] .cart-header,
body[data-theme="pure-white-purple"] .customer-select,
body[data-theme="pure-white-purple"] .cart-summary {
  border-color: #e2e8f0;
}
body[data-theme="pure-white-purple"] .cart-title,
body[data-theme="pure-white-purple"] .customer-select select,
body[data-theme="pure-white-purple"] .cart-item .ci-name,
body[data-theme="pure-white-purple"] .summary-row.total-row {
  color: #0f172a;
}
body[data-theme="pure-white-purple"] .customer-select select option {
  background: #ffffff;
}
body[data-theme="pure-white-purple"] .cart-item .ci-qty {
  background: #ffffff;
}
body[data-theme="pure-white-purple"] .cart-item .ci-qty button {
  color: #475569;
}
body[data-theme="pure-white-purple"] .cart-item .ci-qty button:hover {
  background: #f8fafc;
}
body[data-theme="pure-white-purple"] .cart-item .ci-qty span {
  color: #0f172a;
}
body[data-theme="pure-white-purple"] .cart-item {
  border-bottom-color: #e2e8f0;
}
body[data-theme="pure-white-purple"] .cart-btn {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #475569;
}
body[data-theme="pure-white-purple"] .cart-btn:hover {
  background: #f8fafc;
  color: #0f172a;
}
body[data-theme="pure-white-purple"] .search-bar input {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
}
body[data-theme="pure-white-purple"] .search-bar input::placeholder {
  color: #94a3b8;
}
body[data-theme="pure-white-purple"] .cat-pill {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #475569;
}
body[data-theme="pure-white-purple"] .cat-pill:hover {
  background: #f8fafc;
}
body[data-theme="pure-white-purple"] .cat-pill.active {
  background: rgba(139, 92, 246, 0.08);
  border-color: rgba(139, 92, 246, 0.3);
  color: #8b5cf6;
}
body[data-theme="pure-white-purple"] .product-card {
  background: #ffffff;
  border-color: #e2e8f0;
}
body[data-theme="pure-white-purple"] .product-card:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
body[data-theme="pure-white-purple"] .product-card .p-name {
  color: #0f172a;
}
body[data-theme="pure-white-purple"] .product-card .p-stock {
  color: #64748b;
}
body[data-theme="pure-white-purple"] .p-price,
body[data-theme="pure-white-purple"] .ci-total {
  color: #8b5cf6;
}
body[data-theme="pure-white-purple"] .table-wrapper {
  background: #ffffff;
  border-color: #cbd5e1;
}
body[data-theme="pure-white-purple"] .table-toolbar {
  border-bottom-color: #cbd5e1;
}
body[data-theme="pure-white-purple"] .table-search,
body[data-theme="pure-white-purple"] .table-filter {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
}
body[data-theme="pure-white-purple"] .table-search::placeholder {
  color: #94a3b8;
}
body[data-theme="pure-white-purple"] .data-table th {
  color: #475569;
  background: #f8fafc;
  border-bottom-color: #cbd5e1;
}
body[data-theme="pure-white-purple"] .data-table td {
  color: #334155;
  border-bottom-color: #e2e8f0;
}
body[data-theme="pure-white-purple"] .data-table tr:hover td {
  background: #f8fafc;
}
body[data-theme="pure-white-purple"] .glass-card,
body[data-theme="pure-white-purple"] .glass-card-sm {
  background: #ffffff;
  border-color: #cbd5e1;
}
body[data-theme="pure-white-purple"] .glass-card h3,
body[data-theme="pure-white-purple"] .glass-card-sm h3,
body[data-theme="pure-white-purple"] .glass-card h4,
body[data-theme="pure-white-purple"] .glass-card label,
body[data-theme="pure-white-purple"] .modal-header h3 {
  color: #0f172a !important;
}
body[data-theme="pure-white-purple"] .form-input {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
}
body[data-theme="pure-white-purple"] .form-input::placeholder {
  color: #94a3b8;
}
body[data-theme="pure-white-purple"] .modal-box {
  background: #ffffff;
  border-color: #cbd5e1;
}
body[data-theme="pure-white-purple"] .modal-header,
body[data-theme="pure-white-purple"] .modal-footer {
  border-color: #cbd5e1;
}
body[data-theme="pure-white-purple"] .modal-close {
  color: #475569;
}
body[data-theme="pure-white-purple"] .modal-close:hover {
  background: #ffffff;
  color: #0f172a;
}
body[data-theme="pure-white-purple"] .stat-card {
  background: #f8fafc;
  border-color: #cbd5e1;
}
body[data-theme="pure-white-purple"] .stat-label {
  color: #64748b;
}
body[data-theme="pure-white-purple"] .stat-card .stat-number:not(.logo-text) {
  color: #0f172a;
}
body[data-theme="pure-white-purple"] .quick-cash-btn {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #334155;
}
body[data-theme="pure-white-purple"] .quick-cash-btn:hover {
  background: rgba(139, 92, 246, 0.08);
  border-color: rgba(139, 92, 246, 0.3);
  color: #8b5cf6;
}
body[data-theme="pure-white-purple"] .pm-btn {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #475569;
}
body[data-theme="pure-white-purple"] .pm-btn.active {
  background: rgba(139, 92, 246, 0.08);
  border-color: #8b5cf6;
  color: #8b5cf6;
}
body[data-theme="pure-white-purple"] .pm-btn:hover {
  background: #f8fafc;
}
body[data-theme="pure-white-purple"] .payment-total {
  background: rgba(139, 92, 246, 0.05);
}
body[data-theme="pure-white-purple"] .payment-amount {
  color: #0f172a;
}
body[data-theme="pure-white-purple"] .pay-input {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
}
body[data-theme="pure-white-purple"] .change-display span {
  color: #0f172a;
}
body[data-theme="pure-white-purple"] .quick-cash button {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #334155;
}
body[data-theme="pure-white-purple"] .quick-cash button:hover {
  background: rgba(139, 92, 246, 0.08);
  border-color: rgba(139, 92, 246, 0.3);
  color: #8b5cf6;
}
body[data-theme="pure-white-purple"] .report-tab {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
}
body[data-theme="pure-white-purple"] .report-tab:hover {
  background: #f8fafc;
}
body[data-theme="pure-white-purple"] .report-tab.active {
  background: #8b5cf6;
  color: #ffffff;
  border-color: #8b5cf6;
}
body[data-theme="pure-white-purple"] .report-card {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
}
body[data-theme="pure-white-purple"] .report-card h3,
body[data-theme="pure-white-purple"] .report-card h4 {
  color: #0f172a !important;
}
body[data-theme="pure-white-purple"] .report-card p {
  color: #475569;
}
body[data-theme="pure-white-purple"] .stat-box {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
}
body[data-theme="pure-white-purple"] .stat-box .stat-value {
  color: #0f172a;
}
body[data-theme="pure-white-purple"] .stat-box .stat-label {
  color: #64748b;
}
body[data-theme="pure-white-purple"] .item-row {
  background: #f8fafc;
  border-color: #e2e8f0;
}
body[data-theme="pure-white-purple"] .item-row span {
  color: #0f172a;
}

/* --- 4. CRIMSON RUBY --- */
body[data-theme="ruby"] {
  background: #0f0505;
}
body[data-theme="ruby"] .text-indigo-400,
body[data-theme="ruby"] .nav-brand span {
  color: #f87171 !important;
}
body[data-theme="ruby"] .nav-logo-icon {
  color: #ef4444;
}
body[data-theme="ruby"] .nav-tab.active,
body[data-theme="ruby"] .dropdown-item.active {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-color: rgba(239, 68, 68, 0.35);
}
body[data-theme="ruby"] .nav-tab.active i,
body[data-theme="ruby"] .dropdown-item.active i {
  color: #f87171;
  text-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
}
body[data-theme="ruby"] .nav-tab.active kbd {
  background: rgba(239, 68, 68, 0.25);
  border-color: rgba(239, 68, 68, 0.4);
  color: rgba(255, 255, 255, 0.7);
}
body[data-theme="ruby"] .nav-role-badge {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
}
body[data-theme="ruby"] .action-btn.primary,
body[data-theme="ruby"] .pay-btn {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
}
body[data-theme="ruby"] .action-btn.primary:hover {
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
}
body[data-theme="ruby"] .product-card:hover {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.2);
}
body[data-theme="ruby"] .p-price,
body[data-theme="ruby"] .ci-total {
  color: #f87171;
}
body[data-theme="ruby"] .pm-btn.active {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: #f87171;
}
body[data-theme="ruby"] .form-input:focus,
body[data-theme="ruby"] .search-bar input:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}
body[data-theme="ruby"] .quick-cash-btn:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.3);
  color: #f87171;
}
body[data-theme="ruby"] .report-tab.active {
  background: #ef4444;
}

/* --- 5. VIOLET ORCHID --- */
body[data-theme="violet"] {
  background: #080512;
}
body[data-theme="violet"] .text-indigo-400,
body[data-theme="violet"] .nav-brand span {
  color: #c084fc !important;
}
body[data-theme="violet"] .nav-logo-icon {
  color: #a855f7;
}
body[data-theme="violet"] .nav-tab.active,
body[data-theme="violet"] .dropdown-item.active {
  background: rgba(168, 85, 247, 0.12);
  color: #c084fc;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-color: rgba(168, 85, 247, 0.35);
}
body[data-theme="violet"] .nav-tab.active i,
body[data-theme="violet"] .dropdown-item.active i {
  color: #c084fc;
  text-shadow: 0 0 8px rgba(168, 85, 247, 0.5);
}
body[data-theme="violet"] .nav-tab.active kbd {
  background: rgba(168, 85, 247, 0.25);
  border-color: rgba(168, 85, 247, 0.4);
  color: rgba(255, 255, 255, 0.7);
}
body[data-theme="violet"] .nav-role-badge {
  background: rgba(168, 85, 247, 0.2);
  color: #c084fc;
}
body[data-theme="violet"] .action-btn.primary,
body[data-theme="violet"] .pay-btn {
  background: linear-gradient(135deg, #a855f7, #7e22ce);
}
body[data-theme="violet"] .action-btn.primary:hover {
  box-shadow: 0 8px 20px rgba(168, 85, 247, 0.3);
}
body[data-theme="violet"] .product-card:hover {
  background: rgba(168, 85, 247, 0.08);
  border-color: rgba(168, 85, 247, 0.2);
}
body[data-theme="violet"] .p-price,
body[data-theme="violet"] .ci-total {
  color: #c084fc;
}
body[data-theme="violet"] .pm-btn.active {
  background: rgba(168, 85, 247, 0.15);
  border-color: rgba(168, 85, 247, 0.4);
  color: #c084fc;
}
body[data-theme="violet"] .form-input:focus,
body[data-theme="violet"] .search-bar input:focus {
  border-color: #a855f7;
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15);
}
body[data-theme="violet"] .quick-cash-btn:hover {
  background: rgba(168, 85, 247, 0.15);
  border-color: rgba(168, 85, 247, 0.3);
  color: #c084fc;
}
body[data-theme="violet"] .report-tab.active {
  background: #a855f7;
}

/* --- 6. NORDIC FROST --- */
body[data-theme="nordic"] {
  background: #0b0f19;
}
body[data-theme="nordic"] .text-indigo-400,
body[data-theme="nordic"] .nav-brand span {
  color: #22d3ee !important;
}
body[data-theme="nordic"] .nav-logo-icon {
  color: #06b6d4;
}
body[data-theme="nordic"] .nav-tab.active,
body[data-theme="nordic"] .dropdown-item.active {
  background: rgba(6, 182, 212, 0.12);
  color: #22d3ee;
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-color: rgba(6, 182, 212, 0.35);
}
body[data-theme="nordic"] .nav-tab.active i,
body[data-theme="nordic"] .dropdown-item.active i {
  color: #22d3ee;
  text-shadow: 0 0 8px rgba(6, 182, 212, 0.5);
}
body[data-theme="nordic"] .nav-tab.active kbd {
  background: rgba(6, 182, 212, 0.25);
  border-color: rgba(6, 182, 212, 0.4);
  color: rgba(255, 255, 255, 0.7);
}
body[data-theme="nordic"] .nav-role-badge {
  background: rgba(6, 182, 212, 0.2);
  color: #22d3ee;
}
body[data-theme="nordic"] .action-btn.primary,
body[data-theme="nordic"] .pay-btn {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
}
body[data-theme="nordic"] .action-btn.primary:hover {
  box-shadow: 0 8px 20px rgba(6, 182, 212, 0.3);
}
body[data-theme="nordic"] .product-card:hover {
  background: rgba(6, 182, 212, 0.08);
  border-color: rgba(6, 182, 212, 0.2);
}
body[data-theme="nordic"] .p-price,
body[data-theme="nordic"] .ci-total {
  color: #22d3ee;
}
body[data-theme="nordic"] .pm-btn.active {
  background: rgba(6, 182, 212, 0.15);
  border-color: rgba(6, 182, 212, 0.4);
  color: #22d3ee;
}
body[data-theme="nordic"] .form-input:focus,
body[data-theme="nordic"] .search-bar input:focus {
  border-color: #06b6d4;
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
}
body[data-theme="nordic"] .quick-cash-btn:hover {
  background: rgba(6, 182, 212, 0.15);
  border-color: rgba(6, 182, 212, 0.3);
  color: #22d3ee;
}
body[data-theme="nordic"] .report-tab.active {
  background: #06b6d4;
}

/* --- 7. CYBERPUNK NEON --- */
body[data-theme="cyberpunk"] {
  background: #000000;
}
body[data-theme="cyberpunk"] .text-indigo-400,
body[data-theme="cyberpunk"] .nav-brand span {
  color: #facc15 !important;
  text-shadow: 0 0 8px rgba(250, 204, 21, 0.5);
}
body[data-theme="cyberpunk"] .nav-logo-icon {
  color: #facc15;
}
body[data-theme="cyberpunk"] .nav-tab.active,
body[data-theme="cyberpunk"] .dropdown-item.active {
  background: rgba(250, 204, 21, 0.15);
  color: #facc15;
  box-shadow: 0 0 15px rgba(250, 204, 21, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: #facc15;
}
body[data-theme="cyberpunk"] .nav-tab.active i,
body[data-theme="cyberpunk"] .dropdown-item.active i {
  color: #facc15;
  text-shadow: 0 0 10px rgba(250, 204, 21, 0.8);
}
body[data-theme="cyberpunk"] .nav-tab.active kbd {
  background: rgba(250, 204, 21, 0.3);
  border-color: #facc15;
  color: #ffffff;
}
body[data-theme="cyberpunk"] .nav-role-badge {
  background: rgba(250, 204, 21, 0.25);
  color: #facc15;
  border: 1px solid rgba(250, 204, 21, 0.4);
}
body[data-theme="cyberpunk"] .action-btn.primary,
body[data-theme="cyberpunk"] .pay-btn {
  background: linear-gradient(135deg, #facc15, #ca8a04);
  color: #000000;
  font-weight: 800;
}
body[data-theme="cyberpunk"] .action-btn.primary:hover {
  box-shadow: 0 8px 25px rgba(250, 204, 21, 0.5);
}
body[data-theme="cyberpunk"] .product-card:hover {
  background: rgba(250, 204, 21, 0.1);
  border-color: #facc15;
  box-shadow: 0 0 15px rgba(250, 204, 21, 0.2);
}
body[data-theme="cyberpunk"] .p-price,
body[data-theme="cyberpunk"] .ci-total {
  color: #facc15;
  text-shadow: 0 0 5px rgba(250, 204, 21, 0.3);
}
body[data-theme="cyberpunk"] .pm-btn.active {
  background: rgba(250, 204, 21, 0.25);
  border-color: #facc15;
  color: #facc15;
}
body[data-theme="cyberpunk"] .form-input:focus,
body[data-theme="cyberpunk"] .search-bar input:focus {
  border-color: #facc15;
  box-shadow: 0 0 10px rgba(250, 204, 21, 0.3);
}
body[data-theme="cyberpunk"] .quick-cash-btn:hover {
  background: rgba(250, 204, 21, 0.2);
  border-color: #facc15;
  color: #facc15;
}
body[data-theme="cyberpunk"] .report-tab.active {
  background: #facc15;
  color: #000000;
}

/* CUSTOM SEARCHABLE DROPDOWN */
.custom-select-dropdown {
  background: #141828;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  max-height: 250px;
  overflow-y: auto; overscroll-behavior: contain;
  z-index: 1000;
  margin-top: 4px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
}

.custom-select-item {
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.custom-select-item:hover {
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  padding-left: 18px; /* micro-animation sliding effect */
}

.custom-select-item:last-child {
  border-bottom: none;
}

\n

/* --- Mobile & Touch UX Optimizations --- */
html, body { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button, .product-card, .tbl-btn, .nav-item, .report-tab, .modal-close, select, input { touch-action: manipulation; }
button:active, .product-card:active, .tbl-btn:active { transform: scale(0.97); transition: transform 0.1s ease; }
@media (max-width: 768px) { .modal-content { width: 96% !important; max-width: 96% !important; max-height: 92vh !important; overflow-y: auto !important; padding: 16px !important; margin: 8px !important; border-radius: 16px !important; } .product-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)) !important; gap: 10px !important; } .billing-layout-full { display: flex; flex-direction: column; height: calc(100vh - 72px); gap: 15px; } .billing-top-row { display: flex; gap: 15px; } .billing-layout { display: flex !important; flex-direction: column !important; gap: 12px !important; } .billing-right { position: relative !important; width: 100% !important; height: auto !important; } .nav-item { padding: 8px 12px !important; font-size: 13px !important; } .tbl-btn { padding: 8px 12px !important; min-height: 36px !important; } }

/* --- 8. SUNSHINE YELLOW (WHITE BACKGROUND, YELLOW GLASS, BLACK TEXT) --- */
body[data-theme="yellow-light"] {
  background: #ffffff !important;
  color: #000000 !important;
}

body[data-theme="yellow-light"] .navbar {
  background: #fef08a !important;
  border-bottom: 1px solid #eab308 !important;
  box-shadow: 0 4px 15px rgba(234, 179, 8, 0.2) !important;
}

body[data-theme="yellow-light"] .nav-brand,
body[data-theme="yellow-light"] .nav-brand span,
body[data-theme="yellow-light"] .nav-tab,
body[data-theme="yellow-light"] .dropdown-item,
body[data-theme="yellow-light"] .user-name {
  color: #000000 !important;
}

body[data-theme="yellow-light"] .nav-logo-icon {
  color: #ca8a04 !important;
}

body[data-theme="yellow-light"] .nav-tab.active,
body[data-theme="yellow-light"] .dropdown-item.active {
  background: #facc15 !important;
  color: #000000 !important;
  font-weight: 700 !important;
  box-shadow: 0 0 12px rgba(234, 179, 8, 0.4) !important;
  border: 1px solid #ca8a04 !important;
}

body[data-theme="yellow-light"] .nav-tab.active i,
body[data-theme="yellow-light"] .dropdown-item.active i {
  color: #000000 !important;
}

body[data-theme="yellow-light"] .nav-tab.active kbd {
  background: #eab308 !important;
  border-color: #ca8a04 !important;
  color: #000000 !important;
}

body[data-theme="yellow-light"] .nav-role-badge {
  background: #facc15 !important;
  color: #000000 !important;
  font-weight: 700 !important;
  border: 1px solid #ca8a04 !important;
}

body[data-theme="yellow-light"] .nav-user-menu {
  background: #fef08a !important;
  border: 1px solid #eab308 !important;
}

body[data-theme="yellow-light"] .nav-logout {
  background: #fee2e2 !important;
  color: #dc2626 !important;
}

body[data-theme="yellow-light"] .page-title,
body[data-theme="yellow-light"] .page-title i {
  color: #000000 !important;
}

body[data-theme="yellow-light"] .page-subtitle {
  color: #1f2937 !important;
}

/* Glass cards & Containers - Yellow Glass Gradient */
body[data-theme="yellow-light"] .glass-card,
body[data-theme="yellow-light"] .glass-card-sm,
body[data-theme="yellow-light"] .modal-box,
body[data-theme="yellow-light"] .stat-card,
body[data-theme="yellow-light"] .stat-box,
body[data-theme="yellow-light"] .billing-right,
body[data-theme="yellow-light"] .report-card,
body[data-theme="yellow-light"] .table-wrapper,
body[data-theme="yellow-light"] .item-row {
  background: linear-gradient(135deg, #fef9c3, #fef08a) !important;
  border: 1px solid #facc15 !important;
  box-shadow: 0 8px 20px rgba(234, 179, 8, 0.15) !important;
  color: #000000 !important;
}

body[data-theme="yellow-light"] .glass-card h3,
body[data-theme="yellow-light"] .glass-card-sm h3,
body[data-theme="yellow-light"] .glass-card h4,
body[data-theme="yellow-light"] .glass-card label,
body[data-theme="yellow-light"] .modal-header h3,
body[data-theme="yellow-light"] .report-card h3,
body[data-theme="yellow-light"] .report-card h4,
body[data-theme="yellow-light"] .stat-card .stat-number:not(.logo-text),
body[data-theme="yellow-light"] .stat-box .stat-value,
body[data-theme="yellow-light"] .cart-title,
body[data-theme="yellow-light"] .customer-select select,
body[data-theme="yellow-light"] .cart-item .ci-name,
body[data-theme="yellow-light"] .summary-row.total-row,
body[data-theme="yellow-light"] .change-display span,
body[data-theme="yellow-light"] .payment-amount {
  color: #000000 !important;
  font-weight: 700 !important;
}

body[data-theme="yellow-light"] .stat-label,
body[data-theme="yellow-light"] .report-card p {
  color: #1f2937 !important;
}

/* ALL BUTTONS - YELLOW */
body[data-theme="yellow-light"] button,
body[data-theme="yellow-light"] .action-btn,
body[data-theme="yellow-light"] .action-btn.primary,
body[data-theme="yellow-light"] .action-btn.secondary,
body[data-theme="yellow-light"] .pay-btn,
body[data-theme="yellow-light"] .cart-btn,
body[data-theme="yellow-light"] .quick-cash-btn,
body[data-theme="yellow-light"] .pm-btn,
body[data-theme="yellow-light"] .report-tab,
body[data-theme="yellow-light"] .tbl-btn {
  background: linear-gradient(135deg, #facc15, #eab308) !important;
  color: #000000 !important;
  font-weight: 800 !important;
  border: 1px solid #ca8a04 !important;
  box-shadow: 0 4px 10px rgba(234, 179, 8, 0.25) !important;
}

body[data-theme="yellow-light"] .action-btn:hover,
body[data-theme="yellow-light"] .action-btn.primary:hover,
body[data-theme="yellow-light"] .pay-btn:hover,
body[data-theme="yellow-light"] .quick-cash-btn:hover,
body[data-theme="yellow-light"] .pm-btn:hover {
  background: linear-gradient(135deg, #eab308, #ca8a04) !important;
  color: #000000 !important;
  box-shadow: 0 6px 15px rgba(202, 138, 4, 0.4) !important;
}

body[data-theme="yellow-light"] .pm-btn.active,
body[data-theme="yellow-light"] .report-tab.active {
  background: #ca8a04 !important;
  color: #ffffff !important;
  border-color: #a16207 !important;
}

/* Inputs & Tables */
body[data-theme="yellow-light"] .form-input,
body[data-theme="yellow-light"] .search-bar input,
body[data-theme="yellow-light"] .table-search,
body[data-theme="yellow-light"] .table-filter,
body[data-theme="yellow-light"] .customer-select select,
body[data-theme="yellow-light"] .pay-input {
  background: #ffffff !important;
  border: 1.5px solid #eab308 !important;
  color: #000000 !important;
  font-weight: 600 !important;
}

body[data-theme="yellow-light"] .form-input::placeholder,
body[data-theme="yellow-light"] .search-bar input::placeholder,
body[data-theme="yellow-light"] .table-search::placeholder {
  color: #4b5563 !important;
}

body[data-theme="yellow-light"] .form-input:focus,
body[data-theme="yellow-light"] .search-bar input:focus {
  border-color: #ca8a04 !important;
  box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.3) !important;
}

/* Products Cards */
body[data-theme="yellow-light"] .product-card {
  background: #ffffff !important;
  border: 1px solid #facc15 !important;
}

body[data-theme="yellow-light"] .product-card:hover {
  background: #fef9c3 !important;
  border-color: #eab308 !important;
  box-shadow: 0 6px 12px rgba(234, 179, 8, 0.25) !important;
}

body[data-theme="yellow-light"] .product-card .p-name {
  color: #000000 !important;
  font-weight: 700 !important;
}

body[data-theme="yellow-light"] .product-card .p-stock {
  color: #374151 !important;
}

body[data-theme="yellow-light"] .p-price,
body[data-theme="yellow-light"] .ci-total {
  color: #854d0e !important;
  font-weight: 800 !important;
}

/* Data Tables */
body[data-theme^="light"] .data-table th,
body[data-theme="yellow-light"] .data-table th {
  font-weight: 700 !important;
  color: #475569 !important;
}

body[data-theme="yellow-light"] .data-table th {
  background: #fde047 !important;
  color: #000000 !important;
  font-weight: 800 !important;
  border-bottom: 2px solid #ca8a04 !important;
}

body[data-theme="yellow-light"] .data-table td {
  color: #000000 !important;
  border-bottom: 1px solid #fef08a !important;
}

body[data-theme="yellow-light"] .data-table tr:hover td {
  background: #fef9c3 !important;
}

body[data-theme="yellow-light"] .cat-pill {
  background: #ffffff !important;
  border: 1px solid #eab308 !important;
  color: #000000 !important;
  font-weight: 600 !important;
}

body[data-theme="yellow-light"] .cat-pill.active {
  background: #facc15 !important;
  color: #000000 !important;
  font-weight: 800 !important;
  border-color: #ca8a04 !important;
}

body[data-theme="yellow-light"] .modal-header,
body[data-theme="yellow-light"] .modal-footer {
  border-color: #eab308 !important;
}

body[data-theme="yellow-light"] .modal-close {
  color: #000000 !important;
}

body[data-theme="yellow-light"] .custom-select-dropdown {
  background: #ffffff !important;
  border: 1px solid #eab308 !important;
  color: #000000 !important;
}

body[data-theme="yellow-light"] .custom-select-item {
  color: #000000 !important;
}

body[data-theme="yellow-light"] .custom-select-item:hover {
  background: #fef9c3 !important;
}

/* ==========================================================================
   GLOBAL THEME HARMONIZATION & ACCESSIBILITY ENHANCEMENTS (ALL THEMES)
   ========================================================================== */

/* Light Themes Universal Overrides for Custom Components & Dropdowns */
body[data-theme^="light"] .custom-select-dropdown,
body[data-theme="yellow-light"] .custom-select-dropdown {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

body[data-theme^="light"] .custom-select-item,
body[data-theme="yellow-light"] .custom-select-item,
body[data-theme^="light"] .customer-dropdown-item,
body[data-theme="yellow-light"] .customer-dropdown-item,
body[data-theme^="light"] .transfer-dropdown-item,
body[data-theme="yellow-light"] .transfer-dropdown-item {
  color: #0f172a !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

body[data-theme^="light"] .custom-select-item:hover,
body[data-theme^="light"] .customer-dropdown-item:hover,
body[data-theme^="light"] .transfer-dropdown-item:hover {
  background: #f1f5f9 !important;
}

body[data-theme^="light"] .pm-btn,
body[data-theme="yellow-light"] .pm-btn {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #475569 !important;
}

body[data-theme^="light"] .pm-btn:hover,
body[data-theme="yellow-light"] .pm-btn:hover {
  background: #f8fafc !important;
}

body[data-theme^="light"] .modal-overlay,
body[data-theme="yellow-light"] .modal-overlay {
  background: rgba(15, 23, 42, 0.5) !important;
  backdrop-filter: blur(4px) !important;
}

/* Ensure form inputs, selects, textareas have crisp readable text & clear focus rings in all light themes */
body[data-theme^="light"] input,
body[data-theme^="light"] select,
body[data-theme^="light"] textarea,
body[data-theme="yellow-light"] input,
body[data-theme="yellow-light"] select,
body[data-theme="yellow-light"] textarea {
  color: #0f172a !important;
  background-color: #ffffff !important;
}

/* Ensure data-table headers and text are 100% visible in all light themes */
body[data-theme^="light"] .data-table,
body[data-theme="yellow-light"] .data-table {
  color: #0f172a !important;
}

body[data-theme^="light"] .data-table th,
body[data-theme="yellow-light"] .data-table th {
  font-weight: 700 !important;
}

/* Tailwind utility class dark-mode overrides for Light Themes */
body[data-theme^="light"] .bg-gray-900,
body[data-theme^="light"] .bg-gray-800,
body[data-theme^="light"] .bg-slate-900,
body[data-theme^="light"] .bg-slate-800 {
  background-color: #f8fafc !important;
}

body[data-theme="yellow-light"] .bg-gray-900,
body[data-theme="yellow-light"] .bg-gray-800,
body[data-theme="yellow-light"] .bg-slate-900,
body[data-theme="yellow-light"] .bg-slate-800 {
  background-color: #fef9c3 !important;
}

body[data-theme^="light"] .border-gray-700,
body[data-theme^="light"] .border-gray-800,
body[data-theme^="light"] .border-slate-700 {
  border-color: #cbd5e1 !important;
}

body[data-theme="yellow-light"] .border-gray-700,
body[data-theme="yellow-light"] .border-gray-800,
body[data-theme="yellow-light"] .border-slate-700 {
  border-color: #facc15 !important;
}

body[data-theme^="light"] .text-gray-100,
body[data-theme^="light"] .text-gray-200,
body[data-theme^="light"] .text-gray-300,
body[data-theme="yellow-light"] .text-gray-100,
body[data-theme="yellow-light"] .text-gray-200,
body[data-theme="yellow-light"] .text-gray-300 {
  color: #0f172a !important;
}

body[data-theme^="light"] .text-gray-400,
body[data-theme^="light"] .text-gray-500,
body[data-theme="yellow-light"] .text-gray-400,
body[data-theme="yellow-light"] .text-gray-500 {
  color: #475569 !important;
}

/* --- INLINE STYLE OVERRIDES FOR ALL LIGHT THEMES --- */
body[data-theme^="light"] #paymentAccount,
body[data-theme="yellow-light"] #paymentAccount {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
}

body[data-theme^="light"] #registerShiftPanel,
body[data-theme="yellow-light"] #registerShiftPanel {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

body[data-theme^="light"] #transferTotalValue,
body[data-theme="yellow-light"] #transferTotalValue {
  color: #0f172a !important;
}

/* Force inline color: #fff or color: white inside modals, forms, and panels to adapt in Light themes */
body[data-theme^="light"] .modal-box [style*="color: #fff"],
body[data-theme^="light"] .modal-box [style*="color: white"],
body[data-theme^="light"] .modal-box [style*="color:rgba(255"],
body[data-theme^="light"] .modal-box [style*="color: rgba(255"],
body[data-theme="yellow-light"] .modal-box [style*="color: #fff"],
body[data-theme="yellow-light"] .modal-box [style*="color: white"],
body[data-theme="yellow-light"] .modal-box [style*="color:rgba(255"],
body[data-theme="yellow-light"] .modal-box [style*="color: rgba(255"] {
  color: #0f172a !important;
}

body[data-theme^="light"] [style*="background: #1f2937"],
body[data-theme^="light"] [style*="background:#1f2937"],
body[data-theme^="light"] [style*="background: rgba(30, 41, 59"],
body[data-theme="yellow-light"] [style*="background: #1f2937"],
body[data-theme="yellow-light"] [style*="background:#1f2937"],
body[data-theme="yellow-light"] [style*="background: rgba(30, 41, 59"] {
  background: #f8fafc !important;
}

/* Transfer Product Dropdown Theme Adaptations */
.transfer-prod-name { color: #ffffff; }
.transfer-prod-sub { color: rgba(255, 255, 255, 0.6); }
.transfer-prod-sku { color: #d1d5db; }
.transfer-prod-empty { color: rgba(255, 255, 255, 0.4); }

body[data-theme^="light"] .transfer-prod-name,
body[data-theme="yellow-light"] .transfer-prod-name { color: #0f172a !important; }

body[data-theme^="light"] .transfer-prod-sub,
body[data-theme="yellow-light"] .transfer-prod-sub { color: #475569 !important; }

body[data-theme^="light"] .transfer-prod-sku,
body[data-theme="yellow-light"] .transfer-prod-sku { color: #334155 !important; }

body[data-theme^="light"] .transfer-prod-empty,
body[data-theme="yellow-light"] .transfer-prod-empty { color: #64748b !important; }

/* --- UNIVERSAL INPUT, CHECKBOX, RADIO & SELECT OPTION HARMONIZATION --- */
body[data-theme^="light"] input[type="checkbox"],
body[data-theme^="light"] input[type="radio"],
body[data-theme="yellow-light"] input[type="checkbox"],
body[data-theme="yellow-light"] input[type="radio"] {
  background-color: #ffffff !important;
  border-color: #cbd5e1 !important;
  accent-color: #4f46e5 !important;
}

body[data-theme="yellow-light"] input[type="checkbox"],
body[data-theme="yellow-light"] input[type="radio"] {
  accent-color: #eab308 !important;
}

body[data-theme^="light"] select option,
body[data-theme="yellow-light"] select option {
  background-color: #ffffff !important;
  color: #0f172a !important;
}

body[data-theme^="light"] label,
body[data-theme="yellow-light"] label {
  color: #1e293b !important;
}

body[data-theme^="light"] h1,
body[data-theme^="light"] h2,
body[data-theme^="light"] h3,
body[data-theme^="light"] h4,
body[data-theme^="light"] h5,
body[data-theme^="light"] h6,
body[data-theme="yellow-light"] h1,
body[data-theme="yellow-light"] h2,
body[data-theme="yellow-light"] h3,
body[data-theme="yellow-light"] h4,
body[data-theme="yellow-light"] h5,
body[data-theme="yellow-light"] h6 {
  color: #0f172a !important;
}

body[data-theme^="light"] p,
body[data-theme="yellow-light"] p {
  color: #334155;
}


body[data-theme^="light"] .payment-total,
body[data-theme="yellow-light"] .payment-total {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
}

body[data-theme="yellow-light"] .payment-total {
  background: #fef9c3 !important;
  border-color: #facc15 !important;
}

/* Modal Headers & Footers */
body[data-theme^="light"] .modal-header,
body[data-theme^="light"] .modal-footer {
  border-color: #e2e8f0 !important;
}

body[data-theme="yellow-light"] .modal-header,
body[data-theme="yellow-light"] .modal-footer {
  border-color: #eab308 !important;
}

/* --- BILLING CART & INPUT THEME HARMONIZATION --- */
.cart-qty-input {
  width: 65px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  text-align: center;
  font-weight: 700;
  outline: none;
  font-size: 15px;
  padding: 4px;
  margin: 0 4px;
  -moz-appearance: textfield;
}

body[data-theme^="light"] .cart-qty-input,
body[data-theme="yellow-light"] .cart-qty-input {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1.5px solid #cbd5e1 !important;
}

body[data-theme="yellow-light"] .cart-qty-input {
  border-color: #eab308 !important;
}

body[data-theme^="light"] .discount-input,
body[data-theme="yellow-light"] .discount-input {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1.5px solid #cbd5e1 !important;
}

body[data-theme="yellow-light"] .discount-input {
  border-color: #eab308 !important;
}

body[data-theme^="light"] .discount-input::placeholder,
body[data-theme="yellow-light"] .discount-input::placeholder {
  color: #64748b !important;
}

body[data-theme^="light"] .qty-btn,
body[data-theme="yellow-light"] .qty-btn {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
}

body[data-theme^="light"] .qty-btn:hover,
body[data-theme="yellow-light"] .qty-btn:hover {
  background: #e2e8f0 !important;
  color: #000000 !important;
}

body[data-theme^="light"] .ci-price,
body[data-theme="yellow-light"] .ci-price {
  color: #475569 !important;
}

body[data-theme^="light"] .ci-name,
body[data-theme="yellow-light"] .ci-name {
  color: #0f172a !important;
  font-weight: 700 !important;
}

body[data-theme^="light"] .summary-row span,
body[data-theme="yellow-light"] .summary-row span {
  color: #1e293b !important;
}

body[data-theme^="light"] .summary-row.total-row span,
body[data-theme="yellow-light"] .summary-row.total-row span {
  color: #0f172a !important;
  font-weight: 800 !important;
}

body[data-theme^="light"] .cart-empty,
body[data-theme="yellow-light"] .cart-empty {
  color: #64748b !important;
}

body[data-theme^="light"] .cart-empty p,
body[data-theme="yellow-light"] .cart-empty p {
  color: #1e293b !important;
}

/* Tailwind Metric Colors Contrast Adaptations for Light & Sunshine Yellow Themes */
body[data-theme^="light"] .text-green-400,
body[data-theme="yellow-light"] .text-green-400 {
  color: #15803d !important;
}

body[data-theme^="light"] .text-indigo-400,
body[data-theme="yellow-light"] .text-indigo-400 {
  color: #4338ca !important;
}

body[data-theme="yellow-light"] .text-indigo-400 {
  color: #854d0e !important;
}

body[data-theme^="light"] .text-red-400,
body[data-theme="yellow-light"] .text-red-400 {
  color: #b91c1c !important;
}

body[data-theme^="light"] .text-blue-400,
body[data-theme="yellow-light"] .text-blue-400 {
  color: #1d4ed8 !important;
}

body[data-theme^="light"] .text-yellow-400,
body[data-theme="yellow-light"] .text-yellow-400 {
  color: #a16207 !important;
}

/* Clickable Invoice Number Links */
.invoice-link {
  cursor: pointer !important;
  color: #6366f1 !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.invoice-link:hover {
  opacity: 0.8;
  color: #4f46e5 !important;
}

body[data-theme^="light"] .invoice-link,
body[data-theme="yellow-light"] .invoice-link {
  color: #4338ca !important;
}

#receiptModal {
  z-index: 100000 !important;
}


.customer-dropdown-item { transition: background 0.2s, color 0.2s; color: inherit; }
.customer-dropdown-item:hover, .customer-dropdown-item.active { background: rgba(59, 130, 246, 0.15) !important; color: #3b82f6 !important; }

#pageInventory .data-table { min-width: 1200px; }
#pageInventory .table-wrapper { width: 100%; overflow-x: auto; }


/* Fix for Light Theme Glass Cards */
body[data-theme^="light"] .glass-card,
body[data-theme^="light"] .glass-card-sm,
body[data-theme^="pure-white"] .glass-card,
body[data-theme^="pure-white"] .glass-card-sm {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06) !important;
}


:root {
  --text-muted: rgba(255,255,255,0.5);
  --bg-subtle: rgba(255,255,255,0.05);
  --border-subtle: rgba(255,255,255,0.03);
}

body[data-theme^="light"], body[data-theme^="pure-white"], body[data-theme="yellow-light"] {
  --text-muted: #64748b;
  --bg-subtle: #f1f5f9;
  --border-subtle: #cbd5e1;
  --text-color: #0f172a;
}


body[data-theme^="light"] .text-white,
body[data-theme^="pure-white"] .text-white,
body[data-theme="yellow-light"] .text-white {
  color: #0f172a !important;
}

/* ==========================================================================
   ZEBRA STRIPING (TWO-COLOR ALTERNATING LISTS/TABLES)
   ========================================================================== */
/* Dark Themes Default */
.data-table tr:nth-child(even) td,
.cart-item:nth-child(even),
.item-row:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.02) !important;
}

/* Light Themes Default */
body[data-theme^="light"] .data-table tr:nth-child(even) td,
body[data-theme^="pure-white"] .data-table tr:nth-child(even) td,
body[data-theme^="light"] .cart-item:nth-child(even),
body[data-theme^="pure-white"] .cart-item:nth-child(even),
body[data-theme^="light"] .item-row:nth-child(even),
body[data-theme^="pure-white"] .item-row:nth-child(even) {
  background-color: #f8fafc !important;
}

/* Yellow Light Theme */
body[data-theme="yellow-light"] .data-table tr:nth-child(even) td,
body[data-theme="yellow-light"] .cart-item:nth-child(even),
body[data-theme="yellow-light"] .item-row:nth-child(even) {
  background-color: #fefce8 !important;
}

/* Sandstone Light Theme */
body[data-theme="light-sand"] .data-table tr:nth-child(even) td,
body[data-theme="light-sand"] .cart-item:nth-child(even),
body[data-theme="light-sand"] .item-row:nth-child(even) {
  background-color: #fcf8ee !important;
}

/* Hover States Enhancement */
.data-table tr:hover td,
.cart-item:hover,
.item-row:hover {
  background-color: rgba(255, 255, 255, 0.05) !important;
}
body[data-theme^="light"] .data-table tr:hover td,
body[data-theme^="pure-white"] .data-table tr:hover td,
body[data-theme^="light"] .cart-item:hover,
body[data-theme^="pure-white"] .cart-item:hover,
body[data-theme^="light"] .item-row:hover,
body[data-theme^="pure-white"] .item-row:hover {
  background-color: #f1f5f9 !important;
}
body[data-theme="yellow-light"] .data-table tr:hover td,
body[data-theme="yellow-light"] .cart-item:hover,
body[data-theme="yellow-light"] .item-row:hover {
  background-color: #fef9c3 !important;
}
body[data-theme="light-sand"] .data-table tr:hover td,
body[data-theme="light-sand"] .cart-item:hover,
body[data-theme="light-sand"] .item-row:hover {
  background-color: #f5eedc !important;
}


/* --- ENHANCED HEADERS FOR ALL LIGHT THEMES (Matched to Sandstone) --- */

/* 1. Default Light Theme */
body[data-theme^="light"]:not([data-theme="light-sand"]):not([data-theme="light-ocean"]):not([data-theme="light-warm"]):not([data-theme="light-mint"]):not([data-theme="light-slate"]):not([data-theme="light-emerald"]):not([data-theme="light-sakura"]) .modal-header,
body[data-theme^="light"]:not([data-theme="light-sand"]):not([data-theme="light-ocean"]):not([data-theme="light-warm"]):not([data-theme="light-mint"]):not([data-theme="light-slate"]):not([data-theme="light-emerald"]):not([data-theme="light-sakura"]) .cart-header,
body[data-theme^="light"]:not([data-theme="light-sand"]):not([data-theme="light-ocean"]):not([data-theme="light-warm"]):not([data-theme="light-mint"]):not([data-theme="light-slate"]):not([data-theme="light-emerald"]):not([data-theme="light-sakura"]) .data-table th {
  background-color: #e2e8f0 !important;
  border-bottom: 2px solid #475569 !important;
}

/* 2. Light Ocean (Blue) */
body[data-theme="light-ocean"] .modal-header,
body[data-theme="light-ocean"] .cart-header,
body[data-theme="light-ocean"] .data-table th {
  background-color: #bae6fd !important;
  border-bottom: 2px solid #0284c7 !important;
}

/* 3. Light Warm (Orange) */
body[data-theme="light-warm"] .modal-header,
body[data-theme="light-warm"] .cart-header,
body[data-theme="light-warm"] .data-table th {
  background-color: #fed7aa !important;
  border-bottom: 2px solid #ea580c !important;
}

/* 4. Light Mint (Green) */
body[data-theme="light-mint"] .modal-header,
body[data-theme="light-mint"] .cart-header,
body[data-theme="light-mint"] .data-table th {
  background-color: #bbf7d0 !important;
  border-bottom: 2px solid #16a34a !important;
}

/* 5. Light Slate */
body[data-theme="light-slate"] .modal-header,
body[data-theme="light-slate"] .cart-header,
body[data-theme="light-slate"] .data-table th {
  background-color: #cbd5e1 !important;
  border-bottom: 2px solid #475569 !important;
}

/* 6. Light Emerald */
body[data-theme="light-emerald"] .modal-header,
body[data-theme="light-emerald"] .cart-header,
body[data-theme="light-emerald"] .data-table th {
  background-color: #a7f3d0 !important;
  border-bottom: 2px solid #059669 !important;
}

/* 7. Light Sakura */
body[data-theme="light-sakura"] .modal-header,
body[data-theme="light-sakura"] .cart-header,
body[data-theme="light-sakura"] .data-table th {
  background-color: #fbcfe8 !important;
  border-bottom: 2px solid #db2777 !important;
}

/* 8. Yellow Light */
body[data-theme="yellow-light"] .modal-header,
body[data-theme="yellow-light"] .cart-header,
body[data-theme="yellow-light"] .data-table th {
  background-color: #fef08a !important;
  border-bottom: 2px solid #ca8a04 !important;
}

/* Ensure Text is Dark and Bold for all these themes in headers */
body[data-theme^="light"] .modal-header h3,
body[data-theme^="light"] .modal-header i,
body[data-theme^="light"] .cart-title,
body[data-theme^="light"] .cart-title i,
body[data-theme^="light"] .data-table th,
body[data-theme="yellow-light"] .modal-header h3,
body[data-theme="yellow-light"] .modal-header i,
body[data-theme="yellow-light"] .cart-title,
body[data-theme="yellow-light"] .cart-title i,
body[data-theme="yellow-light"] .data-table th {
  color: #000000 !important;
  font-weight: 800 !important;
}
/* Base fixes for light theme lists (Remove glass backgrounds from odd rows) */
body[data-theme^="light"] .cart-item,
body[data-theme^="pure-white"] .cart-item,
body[data-theme="yellow-light"] .cart-item,
body[data-theme^="light"] .item-row,
body[data-theme^="pure-white"] .item-row,
body[data-theme="yellow-light"] .item-row {
  background-color: transparent !important;
  border-bottom: 1px solid #e2e8f0 !important;
}
body[data-theme^="light"] .data-table td,
body[data-theme^="pure-white"] .data-table td,
body[data-theme="yellow-light"] .data-table td {
  border-bottom: 1px solid #e2e8f0 !important;
}
/* Fix Cart Item Quantity Buttons for all Light Themes */
body[data-theme^="light"] .cart-item .ci-qty,
body[data-theme^="pure-white"] .cart-item .ci-qty,
body[data-theme="yellow-light"] .cart-item .ci-qty {
  background-color: #f1f5f9 !important;
}
body[data-theme^="light"] .cart-item .ci-qty button,
body[data-theme^="pure-white"] .cart-item .ci-qty button,
body[data-theme="yellow-light"] .cart-item .ci-qty button {
  color: #475569 !important;
}
body[data-theme^="light"] .cart-item .ci-qty button:hover,
body[data-theme^="pure-white"] .cart-item .ci-qty button:hover,
body[data-theme="yellow-light"] .cart-item .ci-qty button:hover {
  background-color: #e2e8f0 !important;
  color: #0f172a !important;
}
body[data-theme^="light"] .cart-item .ci-qty span,
body[data-theme^="pure-white"] .cart-item .ci-qty span,
body[data-theme="yellow-light"] .cart-item .ci-qty span {
  color: #0f172a !important;
}
/* Fix Table Action Buttons for all Light Themes */
body[data-theme^="light"] .tbl-btn,
body[data-theme^="pure-white"] .tbl-btn,
body[data-theme="yellow-light"] .tbl-btn {
  background-color: transparent !important;
  border: 1px solid #cbd5e1 !important;
  color: #475569 !important;
}
body[data-theme^="light"] .tbl-btn:hover,
body[data-theme^="pure-white"] .tbl-btn:hover,
body[data-theme="yellow-light"] .tbl-btn:hover {
  background-color: #f1f5f9 !important;
  color: #0f172a !important;
}
body[data-theme^="light"] .tbl-btn.edit,
body[data-theme^="pure-white"] .tbl-btn.edit,
body[data-theme="yellow-light"] .tbl-btn.edit {
  color: #4f46e5 !important;
}
body[data-theme^="light"] .tbl-btn.edit:hover,
body[data-theme^="pure-white"] .tbl-btn.edit:hover,
body[data-theme="yellow-light"] .tbl-btn.edit:hover {
  background-color: #e0e7ff !important;
  border-color: #c7d2fe !important;
}
body[data-theme^="light"] .tbl-btn.delete,
body[data-theme^="pure-white"] .tbl-btn.delete,
body[data-theme="yellow-light"] .tbl-btn.delete {
  color: #e11d48 !important;
}
body[data-theme^="light"] .tbl-btn.delete:hover,
body[data-theme^="pure-white"] .tbl-btn.delete:hover,
body[data-theme="yellow-light"] .tbl-btn.delete:hover {
  background-color: #ffe4e6 !important;
  border-color: #fecdd3 !important;
}
body[data-theme^="light"] .tbl-btn.success,
body[data-theme^="pure-white"] .tbl-btn.success,
body[data-theme="yellow-light"] .tbl-btn.success {
  color: #16a34a !important;
}
body[data-theme^="light"] .tbl-btn.success:hover,
body[data-theme^="pure-white"] .tbl-btn.success:hover,
body[data-theme="yellow-light"] .tbl-btn.success:hover {
  background-color: #dcfce7 !important;
  border-color: #bbf7d0 !important;
}
