/* Modern Framer-Style Animations & Glassmorphism */
      #page-loader { position: fixed; inset: 0; background: #ffffff; z-index: 9999; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s ease; }
      #page-loader.fade-out { opacity: 0; visibility: hidden; }
      .food-spinner { width: 75px; height: 75px; border: 4px solid #ffedd5; border-top: 4px solid #ea580c; border-radius: 50%; animation: spin 0.9s cubic-bezier(0.4, 0, 0.2, 1) infinite; }
      @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

      /* Smooth Hover & Framer Entrance Animations */
      .animate-fade-in { animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
      @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

      .card-hover { transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
      .card-hover:hover { transform: translateY(-8px) scale(1.01); box-shadow: 0 25px 40px -12px rgba(234, 88, 12, 0.22); }

      .glass-card { background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px); border: 1px solid rgba(255, 237, 213, 0.8); }
      
      .app-toast { position: fixed; bottom: 24px; right: 24px; background: #0f172a; color: #fff; padding: 14px 22px; border-radius: 14px; box-shadow: 0 15px 30px rgba(0,0,0,0.25); z-index: 4000; display: flex; align-items: center; gap: 12px; font-size: 0.92rem; transform: translateY(100px); opacity: 0; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); border-left: 4px solid #ea580c; }
      .app-toast.active { transform: translateY(0); opacity: 1; }
      
      /* Mobile Menu Drawer for Main Site */
      #mobile-menu-drawer { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(8px); z-index: 4000; display: none; justify-content: flex-end; transition: 0.3s; }
      #mobile-menu-drawer.active { display: flex; }
      
      #admin-workspace { position: fixed; inset: 0; background: #f8fafc; z-index: 2500; display: none; flex-direction: column; overflow: hidden; }
      #admin-workspace.active { display: flex; }
      
      /* Responsive Admin Sidebar */
      #admin-sidebar { transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
      @media(max-width: 768px) {
          #admin-sidebar { position: absolute; z-index: 50; height: 100%; transform: translateX(-100%); }
          #admin-sidebar.mobile-open { transform: translateX(0); }
      }

      .admin-tab-btn { text-align: left; background: none; border: 1px solid transparent; color: #334155; padding: 12px 16px; border-radius: 12px; font-size: 0.92rem; font-weight: 600; display: flex; align-items: center; gap: 12px; width: 100%; transition: 0.2s; }
      .admin-tab-btn:hover { background: #fff7ed; color: #ea580c; }
      .admin-tab-btn.active { background: #ea580c; color: #ffffff; box-shadow: 0 4px 15px rgba(234, 88, 12, 0.3); }
      .admin-table-wrapper { overflow-x: auto; border-radius: 14px; border: 1px solid #e2e8f0; background: #fff; }
      .admin-table { width: 100%; border-collapse: collapse; text-align: left; }
      .admin-table th { background: #f8fafc; padding: 14px 16px; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: #64748b; border-bottom: 1px solid #e2e8f0; }
      .admin-table td { padding: 14px 16px; border-bottom: 1px solid #f1f5f9; font-size: 0.9rem; color: #334155; vertical-align: middle; }
      .admin-table tr:hover td { background: #f8fafc; }
      .modal-overlay { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.65); backdrop-filter: blur(8px); z-index: 3000; display: none; align-items: center; justify-content: center; padding: 20px; }
      .modal-overlay.active { display: flex; }
      
      /* View routing */
      .view-section { display: none; }
      .view-section.active { display: block; }