/* WPP Gateway - Design System Tokens */

:root {
  --bg-page: #E6E6E6;
  --bg-card: rgba(229, 229, 229, 0.5);
  --bg-card-hover: rgba(212, 212, 212, 0.6);
  --border-default: #d4d4d4;
  --text-primary: #0a0a0a;
  --text-secondary: #525252;
  --text-muted: #737373;
  --accent-orange: #fb923c;
}

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #a3a3a3; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #737373; }

html { scroll-behavior: smooth; }
body { -ms-overflow-style: none; scrollbar-width: thin; }

.font-oswald { font-family: 'Oswald', sans-serif; }
.font-space { font-family: 'Space Grotesk', sans-serif; }

/* Animations */
@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes pulse-soft {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes scaleIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.animate-slide-in { animation: slideInRight 0.3s ease-out; }
.animate-slide-out { animation: slideOutRight 0.3s ease-in forwards; }
.animate-fade-in { animation: fadeIn 0.2s ease-out; }
.animate-scale-in { animation: scaleIn 0.2s ease-out; }
.animate-pulse-soft { animation: pulse-soft 2s ease-in-out infinite; }

/* Skeleton loader */
.skeleton {
  background: linear-gradient(90deg, #d4d4d4 25%, #e5e5e5 50%, #d4d4d4 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 0.5rem;
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Status dot pulse */
.status-dot-pulse {
  position: relative;
}
.status-dot-pulse::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: inherit;
  opacity: 0.4;
  animation: pulse-soft 2s ease-in-out infinite;
}

/* Sidebar transition */
.sidebar-transition {
  transition: width 0.3s ease, padding 0.3s ease;
}

/* QR Code container */
.qr-container {
  background: white;
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

/* Button press effect */
.btn-press:active {
  transform: scale(0.97);
}

/* Card hover lift */
.card-hover {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Progress bar */
.progress-bar {
  transition: width 0.5s ease;
}
