/* Custom Utilities & Keyframes for Google Stitch UI Aesthetics */

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

/* Glassmorphism utility */
.glass-header {
  background: rgba(253, 251, 247, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Toast Notification Animation */
#toast-container {
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* AI Chat Window Animation */
#chat-window {
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: bottom right;
}

/* Subtle Shimmer for Highlighting Brand Elements */
@keyframes pulseSubtle {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.03);
    opacity: 0.95;
  }
}

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

/* Custom Scrollbar for aesthetic finish */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #FDFBF7;
}
::-webkit-scrollbar-thumb {
  background: #EBB071;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #C84B31;
}

/* Chat container scrollbar */
#chat-messages::-webkit-scrollbar {
  width: 5px;
}
#chat-messages::-webkit-scrollbar-track {
  background: transparent;
}
#chat-messages::-webkit-scrollbar-thumb {
  background: rgba(200, 75, 49, 0.25);
  border-radius: 4px;
}
