/* ZINO Custom Styles */

/* Transitions */
#app {
  transition: opacity 0.15s ease-out;
}

.fade-out {
  opacity: 0;
}

.fade-in {
  opacity: 1;
  transition: opacity 0.3s ease-in;
}

/* Timer Display */
.timer-display {
  font-family: 'Courier New', Consolas, monospace;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.05em;
}

/* Button Tap Feedback */
.btn-tap:active {
  transform: scale(0.97);
  transition: transform 0.1s ease;
}

/* QR Swiper */
.qr-swiper {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.qr-swiper::-webkit-scrollbar {
  display: none;
}

.qr-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
}

/* Category Tabs */
.category-tabs {
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

/* Menu Card Image Placeholder */
.menu-image-placeholder {
  background: linear-gradient(135deg, #2a2a3e 0%, #1a1a2e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

/* Price Highlight */
.price-highlight {
  background: linear-gradient(90deg, rgba(255, 107, 53, 0.1) 0%, transparent 100%);
  border-left: 3px solid #FF6B35;
}

/* Card Shadows */
.card-shadow {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
}

/* Dot Indicator */
.dot-indicator {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4a4a5e;
  transition: background 0.3s ease;
}

.dot.active {
  background: #FF6B35;
}

/* Cart Badge */
.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  background: #FF6B35;
  border-radius: 10px;
  font-size: 12px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}

/* Divider */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #3a3a4e, transparent);
}

/* Safe Area Padding */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .safe-bottom {
    padding-bottom: env(safe-area-inset-bottom);
  }
}

/* Animate pulse for timer */
@keyframes pulse-subtle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

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