/* Kaensa Bucket - Custom Styling & Pink Theme Enhancements */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --color-pink-primary: #ec4899;
  --color-pink-soft: #fdf2f8;
  --color-pink-accent: #f472b6;
  --color-pink-deep: #db2777;
}

body {
  font-family: var(--font-sans);
  color: #374151;
  background-color: #fffbfa;
  overflow-x: hidden;
}

.font-serif {
  font-family: var(--font-serif);
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #fdf2f8;
}
::-webkit-scrollbar-thumb {
  background: #f472b6;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #db2777;
}

/* Background Gradients & Floral Patterns */
.bg-pink-floral {
  background: linear-gradient(135deg, #fff5f7 0%, #fdf2f8 50%, #fff1f2 100%);
}

.bg-pink-hero {
  background: radial-gradient(circle at top right, rgba(251, 207, 232, 0.45), transparent 60%),
              radial-gradient(circle at bottom left, rgba(254, 205, 211, 0.4), transparent 60%),
              #ffffff;
}

.glass-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(251, 207, 232, 0.8);
}

.glass-card-hover {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.glass-card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(244, 114, 182, 0.15), 0 8px 10px -6px rgba(244, 114, 182, 0.1);
  border-color: #f472b6;
}

/* Floating WhatsApp Pulse */
@keyframes wa-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.wa-pulse-btn {
  animation: wa-pulse 2s infinite;
}

/* Sparkle Floating Animation */
@keyframes float-slow {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(3deg);
  }
}

.animate-float {
  animation: float-slow 4s ease-in-out infinite;
}

/* Category Tab Active State */
.cat-tab.active {
  background-color: #db2777;
  color: #ffffff;
  box-shadow: 0 10px 15px -3px rgba(219, 39, 119, 0.3);
}

/* Toast Notification */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  animation: slideIn 0.3s ease forwards;
  transition: all 0.3s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Print Invoice Styling */
@media print {
  .no-print {
    display: none !important;
  }
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  .print-only {
    display: block !important;
  }
  .printable-card {
    border: 1px solid #000 !important;
    box-shadow: none !important;
  }
}
