/* Modern Styling for BlueCross Enterprises - Telecom & Networking Solutions */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #0284c7;
  --primary-dark: #0369a1;
  --primary-deep: #0c4a6e;
  --accent: #2563eb;
  --accent-cyan: #06b6d4;
  --success: #10b981;
  --whatsapp: #25D366;
  --dark-bg: #0f172a;
  --dark-card: #1e293b;
}

body {
  font-family: 'Inter', sans-serif;
  color: #1e293b;
  background-color: #f8fafc;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .brand-font {
  font-family: 'Outfit', sans-serif;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Glowing Telecom Fiber Animation */
.fiber-glow {
  position: relative;
  overflow: hidden;
}
.fiber-glow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.fiber-glow:hover::after {
  opacity: 1;
}

/* Glassmorphism */
.glass-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.glass-dark {
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Product Card Transitions */
.product-card {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(14, 116, 144, 0.12), 0 4px 12px -2px rgba(0, 0, 0, 0.05);
  border-color: #bae6fd;
}

/* Custom Badge Pulse */
@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.pulse-stock {
  animation: pulse-ring 2.5s infinite;
}

/* Modal and Drawer Animations */
.drawer-backdrop {
  transition: opacity 0.3s ease;
}
.drawer-content {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Toast Notification Animation */
.toast-enter {
  animation: toastSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.toast-leave {
  animation: toastFadeOut 0.3s ease forwards;
}
@keyframes toastSlideUp {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes toastFadeOut {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(-10px) scale(0.95); }
}

/* Print Styles for B2B Quotations */
@media print {
  body * {
    visibility: hidden;
  }
  #quoteDrawer, #quoteDrawer * {
    visibility: visible;
  }
  #quoteDrawer {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    background: white !important;
    box-shadow: none !important;
  }
  .no-print {
    display: none !important;
  }
}
