@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #FF6B00;
  --primary-hover: #E65A00;
  --primary-light: #FFF4EC;
  --secondary: #002D62; /* PromptPay Blue */
  --bg-main: #F8FAFC;
  --text-dark: #0F172A;
  --text-muted: #64748B;
  --card-bg: #FFFFFF;
  --success: #10B981;
  --warning: #F59E0B;
}

* {
  font-family: 'Prompt', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-main);
  color: var(--text-dark);
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

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

/* Animations */
@keyframes pulse-subtle {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.03);
  }
}

.animate-pulse-subtle {
  animation: pulse-subtle 2s infinite ease-in-out;
}

@keyframes ping-slow {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 12px rgba(255, 107, 0, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 107, 0, 0);
  }
}

.animate-ring-pulse {
  animation: ping-slow 2s infinite;
}

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

.animate-slide-up {
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-fade-in {
  animation: fadeIn 0.25s ease-out forwards;
}

/* PromptPay Card Styler */
.promptpay-header {
  background: linear-gradient(135deg, #002D62 0%, #084B9E 100%);
}

/* Category horizontal scroll without scrollbar bar */
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}
.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Kitchen Card New Flash Animation */
@keyframes flashBorder {
  0%, 100% {
    border-color: #E2E8F0;
  }
  50% {
    border-color: #FF6B00;
    box-shadow: 0 10px 25px -5px rgba(255, 107, 0, 0.3);
  }
}

.card-new-flash {
  animation: flashBorder 1.5s ease-in-out 3;
}
