/* ========================================================
   Ali Computers - Modern Retail eCommerce Template Stylesheet
   ======================================================== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;600;700&display=swap');

:root {
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --bg-deep: #070b13;
  --bg-card: #0d1424;
  --bg-card-hover: #131c33;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(59, 130, 246, 0.35);
  --font-mono: 'JetBrains Mono', monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-deep);
  color: #f1f5f9;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #090e1a;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* Glassmorphism Classes */
.glass-header {
  background: rgba(7, 11, 19, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.glass-card {
  background: rgba(13, 20, 36, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
}

.glass-card:hover {
  background: rgba(19, 28, 51, 0.85);
  border-color: var(--border-glow);
}

/* Gradients */
.gradient-text {
  background: linear-gradient(135deg, #60a5fa 0%, #38bdf8 50%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-hero-title {
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 40%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.accent-pill {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

/* Shadows and Glows */
.tech-glow-blue {
  box-shadow: 0 10px 30px -10px rgba(59, 130, 246, 0.35);
}

.tech-glow-emerald {
  box-shadow: 0 10px 30px -10px rgba(16, 185, 129, 0.35);
}

.card-hover-fx {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-hover-fx:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.7), 0 0 25px -4px rgba(59, 130, 246, 0.25);
}

/* Toast Notifications */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: #111a2e;
  color: white;
  border-radius: 14px;
  border-left: 4px solid #10b981;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.7);
  animation: slideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: all 0.25s ease;
  font-size: 0.875rem;
  font-weight: 500;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* Modals & Drawers */
.overlay-backdrop {
  background: rgba(3, 7, 18, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Smooth Category Scrollbar Hide */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Mono badge */
.font-mono-tag {
  font-family: var(--font-mono);
}

/* Print Invoice Styles */
@media print {
  body * {
    visibility: hidden;
  }
  #printable-invoice, #printable-invoice * {
    visibility: visible;
  }
  #printable-invoice {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    color: #000 !important;
    background: #fff !important;
  }
}
