/* Custom Scrollbars & Native Look */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #0f172a;
}
::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #475569;
}

/* Hide scrollbar for tabs navigation */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Tab buttons styling */
.nav-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  border-radius: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #94a3b8;
  white-space: nowrap;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}
.nav-tab:hover {
  color: #f1f5f9;
  background-color: rgba(30, 41, 59, 0.7);
}
.nav-tab.active {
  color: #f97316;
  background-color: rgba(249, 115, 22, 0.12);
  border-color: rgba(249, 115, 22, 0.3);
  font-weight: 600;
}

/* Glassmorphism Accents */
.glass-panel {
  background: rgba(30, 41, 59, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Print Styling */
@media print {
  body {
    background: #ffffff !important;
    color: #0f172a !important;
  }
  header, #btnOpenAddModal, .nav-tab, button, #toastContainer, .border-t {
    display: none !important;
  }
  .tab-content {
    display: block !important;
  }
  table, tr, td, th {
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
  }
  .bg-surface-800, .bg-surface-850, .bg-surface-900 {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: none !important;
  }
  .text-white, .text-slate-200, .text-slate-300 {
    color: #0f172a !important;
  }
}