/**
 * Digital Table Menu System - Core Stylesheet
 */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent !important;
}

body.menu-body {
  font-family: var(--font-body, system-ui, -apple-system, sans-serif);
  background-color: var(--color-bg, #f8fafc);
  color: #1e293b;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.menu-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Spinner Animation */
.menu-spinner {
  animation: menu-spin 0.8s linear infinite;
  display: inline-block;
  vertical-align: middle;
}

@keyframes menu-spin {
  100% {
    transform: rotate(360deg);
  }
}

/* Common Card & Buttons */
.menu-card {
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px 0 rgba(0, 0, 0, 0.03);
  border: 1px solid #e2e8f0;
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.65rem 1.25rem;
  border-radius: 0.6rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease-in-out;
  border: 1px solid transparent;
}

.menu-btn-primary {
  background-color: var(--color-primary, #0f172a);
  color: #ffffff;
}
.menu-btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.menu-btn-secondary {
  background-color: #f1f5f9;
  color: #334155;
  border-color: #cbd5e1;
}
.menu-btn-secondary:hover {
  background-color: #e2e8f0;
}

/* Typography & Layout helpers */
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.text-gray-900 { color: #0f172a; }
.text-gray-700 { color: #334155; }
.text-gray-500 { color: #64748b; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.p-8 { padding: 2rem; }
.p-6 { padding: 1.5rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-lg { max-width: 32rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-4 { gap: 1rem; }
.w-full { width: 100%; }

/* Vector Icon Sizing Utilities */
.w-2\.5 { width: 10px; }
.h-2\.5 { height: 10px; }
.w-3 { width: 12px; }
.h-3 { height: 12px; }
.w-3\.5 { width: 14px; }
.h-3\.5 { height: 14px; }
.w-4 { width: 16px; }
.h-4 { height: 16px; }
.w-5 { width: 20px; }
.h-5 { height: 20px; }
.w-6 { width: 24px; }
.h-6 { height: 24px; }
.w-7 { width: 28px; }
.h-7 { height: 28px; }
.w-8 { width: 32px; }
.h-8 { height: 32px; }
.w-10 { width: 40px; }
.h-10 { height: 40px; }
