﻿/* iBuddyWeb Friendly & Beautiful UI Theme */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Prompt:wght@300;400;500;600;700&display=swap');

:root {
  --brand-blue: #2563eb;
  --brand-sky: #0284c7;
  --brand-light: #eff6ff;
}

body {
  font-family: 'Prompt', 'Plus Jakarta Sans', sans-serif;
  background: radial-gradient(circle at 10% 20%, rgba(239, 246, 255, 0.8) 0%, rgba(248, 250, 252, 1) 90%);
}

/* Float Animation for friendly graphics */
@keyframes floatSlow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(1deg); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(244, 63, 94, 0); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.animate-pulse-glow {
  animation: pulseGlow 2s infinite;
}

.fade-in-up {
  animation: fadeInUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Beautiful Interactive Card Hover */
.interactive-card {
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.interactive-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -6px rgba(37, 99, 235, 0.12), 0 4px 10px -2px rgba(0, 0, 0, 0.04);
}

/* Sidebar Links */
.sidebar-link {
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}
.sidebar-link:hover {
  background-color: #f1f5f9;
  transform: translateX(3px);
}
.sidebar-link.active {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: #1d4ed8;
  font-weight: 600;
  box-shadow: inset 3px 0 0 #2563eb;
}
.sidebar-link.active i {
  color: #2563eb;
}

/* Filter Pills */
.filter-pill {
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.filter-pill:hover {
  transform: translateY(-1px);
}
.filter-pill.active {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  color: #ffffff !important;
  border-color: #2563eb !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
  transform: translateY(-1px);
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Glassmorphism Cards */
.glass-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

/* Table styling */
.custom-table tr {
  transition: background-color 0.15s ease;
}
.custom-table tr:hover {
  background-color: rgba(241, 245, 249, 0.7);
}

/* Print Stylesheet */
@media print {
  body * {
    visibility: hidden;
  }
  #quotation-printable, #quotation-printable * {
    visibility: visible;
  }
  #quotation-printable {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 24px;
    border: none;
    box-shadow: none;
  }
}