/* Custom styling for Ethical and Copyright Checklist for PAI Learning Media */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --primary-emerald: #059669;
  --primary-emerald-dark: #047857;
  --primary-emerald-light: #10b981;
  --accent-gold: #d97706;
  --accent-gold-light: #f59e0b;
  --emerald-gradient: linear-gradient(135deg, #059669 0%, #0d9488 50%, #047857 100%);
  --gold-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --hero-glow: radial-gradient(circle at 50% 15%, rgba(16, 185, 129, 0.15), rgba(245, 158, 11, 0.08) 45%, transparent 75%);
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, .font-heading {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
}

/* Background glow with Islamic emerald & gold hues */
.bg-hero-glow {
  background: var(--hero-glow);
}

.gradient-text {
  background: linear-gradient(135deg, #047857 0%, #059669 40%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dark .gradient-text {
  background: linear-gradient(135deg, #34d399 0%, #10b981 40%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gold-gradient-text {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 50%, #b45309 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Floating animation for reference pill badges */
@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes floatReverse {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(8px);
  }
}

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

.animate-float-reverse {
  animation: floatReverse 6s ease-in-out infinite;
}

/* Glassmorphism card effects */
.glass-panel {
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(226, 232, 240, 0.85);
}

.dark .glass-panel {
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(51, 65, 85, 0.8);
}

/* Bento card hover effects */
.bento-card {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 30px -10px rgba(5, 150, 105, 0.15);
  border-color: rgba(52, 211, 153, 0.5);
}

.dark .bento-card:hover {
  box-shadow: 0 20px 30px -10px rgba(16, 185, 129, 0.25);
  border-color: rgba(16, 185, 129, 0.4);
}

/* Progress bar shimmer effect */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.animate-shimmer {
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}

.dark ::-webkit-scrollbar-thumb {
  background: #334155;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Print Styling for PDF Export */
@media print {
  body * {
    visibility: hidden;
  }
  #printable-report, #printable-report * {
    visibility: visible;
  }
  #printable-report {
    display: block !important;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 24px;
    background: white !important;
    color: black !important;
  }
  .no-print {
    display: none !important;
  }
}
