* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    :root {
      --primary: #6366f1;
      --primary-dark: #4f46e5;
      --primary-light: #818cf8;
      --secondary: #10b981;
      --danger: #ef4444;
      --warning: #f59e0b;
      --bg: #f8fafc;
      --card: #ffffff;
      --text: #1e293b;
      --text-muted: #64748b;
      --border: #e2e8f0;
      --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
      --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
      --radius: 16px;
      --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    }

    [data-theme="dark"] {
      --bg: #0f172a;
      --card: #1e293b;
      --text: #f1f5f9;
      --text-muted: #94a3b8;
      --border: #334155;
    }

    body {
      font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.6;
      min-height: 100vh;
      position: relative;
      overflow-x: hidden;
    }

    .background-pattern {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(0deg, 
      var(--primary-light) 0%, 
      var(--primary) 35%, 
      var(--primary-dark) 70%, 
      var(--secondary) 100%);
      opacity: 0.1;
      z-index: -1;
    }

    .container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 1rem;
    }

    /* Header */
    .header {
      text-align: center;
      margin-bottom: 2rem;
      padding: 2rem 1rem;
      background: var(--card);
      border-radius: var(--radius);
      box-shadow: var(--shadow-lg);
      position: relative;
      overflow: hidden;
    }

    .header::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      background: linear-gradient(90deg, var(--primary), var(--primary-light));
    }

    .header h1 {
      font-size: clamp(1.5rem, 4vw, 2.5rem);
      font-weight: 700;
      background: linear-gradient(135deg, var(--primary), var(--primary-dark));
      background-clip: text;
      -webkit-background-clip: text;
      color: transparent;
      -webkit-text-fill-color: transparent;
      margin-bottom: 0.5rem;
    }

    .date-display {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      color: var(--text-muted);
      font-size: 1rem;
    }

    /* Restaurant Tabs */
    .restaurant-tabs {
      display: flex;
      gap: 0.5rem;
      margin-bottom: 2rem;
      padding: 0.5rem;
      background: var(--card);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
    }

    .restaurant-tab {
      flex: 1;
      min-width: 100px;
      padding: 1 1.5rem 1 ;
      background: transparent;
      border: 2px solid transparent;
      border-radius: 12px;
      font-size: 1rem;
      font-weight: 600;
      color: var(--text-muted);
      cursor: pointer;
      transition: var(--transition);
      white-space: nowrap;
      position: relative;
      text-align: center;
    }

    .restaurant-tab:hover {
      background: var(--bg);
      color: var(--primary);
    }

    .restaurant-tab.active {
      background: linear-gradient(135deg, var(--primary), var(--primary-light));
      color: white;
      box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    }

    .restaurant-tab.loading::after {
      content: "";
      position: absolute;
      top: 50%;
      right: 1rem;
      transform: translateY(-50%);
      width: 16px;
      height: 16px;
      border: 2px solid white;
      border-top-color: transparent;
      border-radius: 50%;
      animation: spin 1s linear infinite;
    }

    @keyframes spin {
      to { transform: translateY(-50%) rotate(360deg); }
    }

    /* Filter Panel */
    .filter-panel {
      background: var(--card);
      border-radius: var(--radius);
      padding: 1.5rem;
      margin-bottom: 2rem;
      box-shadow: var(--shadow);
    }

    .filter-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 1.5rem;
    }

    .filter-section h4 {
      font-size: 0.875rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--text-muted);
      margin-bottom: 0.75rem;
      font-weight: 600;
    }

    .checkbox-group {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }

    .checkbox-label {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      cursor: pointer;
      font-size: 0.95rem;
      transition: var(--transition);
    }

    .checkbox-label:hover {
      color: var(--primary);
    }

    .checkbox-label input[type="checkbox"] {
      width: 18px;
      height: 18px;
      accent-color: var(--primary);
      cursor: pointer;
    }

    select {
      width: 100%;
      padding: 0.5rem 1rem;
      border: 2px solid var(--border);
      border-radius: 8px;
      background: var(--bg);
      color: var(--text);
      font-size: 1rem;
      transition: var(--transition);
      cursor: pointer;
    }

    select:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    }

    /* Menu Content */
    .menu-content {
      display: grid;
      gap: 2rem;
    }

    .menu-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
      gap: 1.5rem;
    }

    .menu-category {
      background: var(--card);
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: var(--shadow);
      transition: var(--transition);
    }

    .menu-category:hover {
      transform: translateY(-2px);
      box-shadow: var(--shadow-lg);
    }

    .category-header {
      padding: 1rem 1.25rem;
      background: linear-gradient(135deg, var(--primary), var(--primary-light));
      color: white;
      font-weight: 600;
      font-size: 1.1rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .category-icon {
      width: 24px;
      height: 24px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(255, 255, 255, 0.2);
      border-radius: 50%;
    }

    .menu-items {
      padding: 0.5rem;
    }

    .menu-item {
      padding: 1rem;
      border-bottom: 1px solid var(--border);
      transition: var(--transition);
      cursor: pointer;
      position: relative;
    }

    .menu-item:last-child {
      border-bottom: none;
    }

    .menu-item:hover {
      background: var(--bg);
      padding-left: 1.25rem;
    }

    .menu-item.filtered-out {
      opacity: 0.3;
      pointer-events: none;
    }

    .menu-item.highlighted {
      background: linear-gradient(to right, rgba(99, 102, 241, 0.1), transparent);
      border-left: 3px solid var(--primary);
    }

    .menu-item-content {
      display: flex;
      justify-content: space-between;
      align-items: start;
      gap: 1rem;
    }

    .menu-item-main {
      flex: 1;
    }

    .menu-item-name {
      font-weight: 500;
      color: var(--text);
      margin-bottom: 0.25rem;
      line-height: 1.4;
    }

    .menu-item-meta {
      display: flex;
      gap: 0.5rem;
      flex-wrap: wrap;
      align-items: center;
      margin-top: 0.5rem;
    }

    .diet-badge {
      padding: 0.125rem 0.5rem;
      border-radius: 999px;
      font-size: 0.75rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.025em;
    }

    .badge-vegan {
      background: #10b981;
      color: white;
    }

    .badge-vegetarian {
      background: #8b5cf6;
      color: white;
    }

    .badge-glutenfree {
      background: #f59e0b;
      color: white;
    }

    .badge-lactosefree {
      background: #06b6d4;
      color: white;
    }

    .badge-healthy {
      background: #ec4899;
      color: white;
    }

    .price-tag {
      padding: 0.25rem 0.75rem;
      background: linear-gradient(135deg, var(--primary-light), var(--primary));
      color: white;
      border-radius: 8px;
      font-weight: 600;
      font-size: 0.9rem;
      white-space: nowrap;
    }

    .allergen-info {
      font-size: 0.75rem;
      color: var(--text-muted);
      display: flex;
      align-items: center;
      gap: 0.25rem;
    }

    .menu-item.allergen-warning {
      border-left: 4px solid var(--danger);
      background: rgba(239, 68, 68, 0.1);
    }

    .menu-item.allergen-warning .allergen-info {
      color: var(--danger);
      font-weight: 600;
      background: rgba(239, 68, 68, 0.2);
      padding: 0.25rem 0.5rem;
      border-radius: 4px;
    }

    .menu-item.allergen-warning .allergen-info::before {
      content: "⚠️ ";
    }

    /* Serving Times Card */
    .serving-times-card {
      background: var(--card);
      border-radius: var(--radius);
      padding: 1.5rem;
      margin-bottom: 1.5rem;
      box-shadow: var(--shadow);
    }

    .serving-times-card h4 {
      font-size: 1.1rem;
      margin-bottom: 1rem;
      color: var(--text);
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .serving-times-card h4::before {
      content: "🕐";
      font-size: 1.2rem;
    }

    .serving-time-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0.75rem;
      margin: 0.5rem 0;
      background: var(--bg);
      border-radius: 8px;
      border-left: 4px solid var(--border);
      transition: var(--transition);
    }

    .serving-time-item.active {
      border-left-color: var(--secondary);
      background: rgba(16, 185, 129, 0.1);
    }

    .serving-time-item.inactive {
      border-left-color: var(--text-muted);
    }

    .serving-time-item.closed {
      border-left-color: var(--danger);
      background: rgba(239, 68, 68, 0.1);
    }

    .service-info {
      display: flex;
      flex-direction: column;
      gap: 0.25rem;
    }

    .service-label {
      font-weight: 600;
      color: var(--text);
    }

    .service-time {
      font-size: 0.875rem;
      color: var(--text-muted);
    }

    .service-status {
      font-size: 0.875rem;
      font-weight: 500;
      padding: 0.25rem 0.75rem;
      border-radius: 999px;
      text-transform: uppercase;
      letter-spacing: 0.025em;
    }

    .serving-time-item.active .service-status {
      background: var(--secondary);
      color: white;
    }

    .serving-time-item.inactive .service-status {
      background: var(--text-muted);
      color: white;
    }

    .serving-time-item.closed .service-status {
      background: var(--danger);
      color: white;
    }

    /* Side Panels */
    .side-panels {
      display: grid;
      gap: 1.5rem;
    }

    .info-panel {
      background: var(--card);
      border-radius: var(--radius);
      padding: 1.5rem;
      box-shadow: var(--shadow);
    }

    .info-panel h3 {
      font-size: 1.1rem;
      margin-bottom: 1rem;
      color: var(--text);
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    /* Loading States */
    .menu-item.loading {
      animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    }

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

    .skeleton {
      background: linear-gradient(90deg, var(--border) 25%, var(--bg) 50%, var(--border) 75%);
      background-size: 200% 100%;
      animation: loading 1.5s infinite;
      border-radius: 4px;
      height: 1rem;
      margin: 0.5rem 0;
    }

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

    /* Mobile Optimization */
    @media (max-width: 768px) {
      .container {
        padding: 0.75rem;
      }

      .header {
        padding: 1.5rem 1rem;
      }

      .restaurant-tabs {
        margin-bottom: 1rem;
        padding: 0.375rem;
      }

      .restaurant-tab {
        padding: 0.625rem 1rem;
        font-size: 0.9rem;
        text-align: center;
      }

      .filter-panel {
        padding: 1rem;
      }

      .filter-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
      }

      .menu-grid {
        grid-template-columns: 1fr;
      }

      .menu-content {
        grid-template-columns: 1fr;
      }

    }

    /* Utility Classes */
    .hidden {
      display: none !important;
    }

    .text-center {
      text-align: center;
    }

    .empty-state {
      padding: 3rem;
      text-align: center;
      color: var(--text-muted);
    }

    .empty-state svg {
      width: 64px;
      height: 64px;
      margin: 0 auto 1rem;
      opacity: 0.3;
    }

    /* Accessibility */
    .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border-width: 0;
    }

    /* Toast Notifications */
    .toast {
      position: fixed;
      bottom: 2rem;
      right: 2rem;
      background: var(--card);
      padding: 1rem 1.5rem;
      border-radius: 12px;
      box-shadow: var(--shadow-lg);
      display: flex;
      align-items: center;
      gap: 0.75rem;
      transform: translateY(100%);
      opacity: 0;
      transition: var(--transition);
      z-index: 1000;
    }

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

    .toast-icon {
      width: 24px;
      height: 24px;
      flex-shrink: 0;
    }

    .toast.success .toast-icon {
      color: var(--secondary);
    }

    .toast.error .toast-icon {
      color: var(--danger);
    }

    /* Weekend Message */
    .weekend-message {
      grid-column: 1 / -1;
      padding: 3rem;
      text-align: center;
      background: var(--card);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
    }

    .weekend-message h3 {
      color: var(--primary);
      margin-bottom: 1rem;
    }

    .theme-toggle {
      position: fixed;
      top: 1rem;
      right: 1rem;
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background: var(--card);
      border: 2px solid var(--border);
      box-shadow: var(--shadow);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: var(--transition);
      z-index: 100;
    }

    .theme-toggle:hover {
      transform: scale(1.1);
    }