@import url('https://fonts.googleapis.com/css2?family=Cooper+Black&family=Inter:wght@400;500;700;900&display=swap');

body {
  font-family: 'Inter', sans-serif;
}

h1, h2 {
  font-family: 'Cooper Black', 'Inter', sans-serif;
}

.strawberry-pattern {
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

@media print {
  @page {
    margin: 0.5in;
    size: letter;
  }
  
  body {
    margin: 0;
    padding: 0;
  }
  
  .print-page {
    display: block !important;
    page-break-after: always;
    width: 100%;
    height: 100%;
  }
  
  .print-page img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  .print\\:hidden {
    display: none !important;
  }
}

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

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #ec4899, #a855f7, #fb923c);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, #db2777, #9333ea, #f97316);
}

/* Loading animation */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

button:disabled {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate-bounce {
  animation: bounce 1s ease-in-out infinite;
}

/* Sticky preview on desktop */
@media (min-width: 1024px) {
  .lg\:sticky {
    position: sticky;
  }
  
  .lg\:top-6 {
    top: 1.5rem;
  }
  
  .lg\:self-start {
    align-self: flex-start;
  }
  
  .lg\:h-fit {
    height: fit-content;
    max-height: calc(100vh - 3rem);
    overflow-y: auto;
  }
}