:root { /* Default Theme (Light/Minimal) */ --primary-color: #1A1A1A; --accent-color: #E63946; --bg-body: #F5F5F5; --bg-card: #FFFFFF; --bg-sidebar: #FFFFFF; --text-primary: #1A1A1A; --text-secondary: #666666; --text-heading: #999999; --border-color: #EEEEEE; --border-radius: 8px; --shadow: 0 4px 6px rgba(0, 0, 0, 0.05); --sidebar-active-bg: #FFF0F0; --sidebar-active-color: #FF6B6B; --sidebar-active-border: #FF6B6B; } /* Dark Theme */ [data-theme="dark"] { --primary-color: #E0E0E0; --accent-color: #FF6B6B; --bg-body: #121212; --bg-card: #1E1E1E; --bg-sidebar: #1E1E1E; --text-primary: #E0E0E0; --text-secondary: #A0A0A0; --text-heading: #888888; --border-color: #333333; --shadow: 0 4px 6px rgba(0, 0, 0, 0.5); --sidebar-active-bg: #2C2C2C; --sidebar-active-color: #FF6B6B; --sidebar-active-border: #FF6B6B; } /* Ocean Theme */ [data-theme="ocean"] { --primary-color: #003049; --accent-color: #0077B6; --bg-body: #E0F7FA; --bg-card: #FFFFFF; --bg-sidebar: #FFFFFF; --text-primary: #003049; --text-secondary: #546E7A; --text-heading: #0288D1; --border-color: #B2EBF2; --sidebar-active-bg: #E1F5FE; --sidebar-active-color: #0288D1; --sidebar-active-border: #0288D1; } /* Forest Theme */ [data-theme="forest"] { --primary-color: #1B4332; --accent-color: #2D6A4F; --bg-body: #F1F8E9; --bg-card: #FFFFFF; --bg-sidebar: #FFFFFF; --text-primary: #1B4332; --text-secondary: #558B2F; --text-heading: #33691E; --border-color: #C8E6C9; --sidebar-active-bg: #E8F5E9; --sidebar-active-color: #2E7D32; --sidebar-active-border: #2E7D32; } /* Grape Theme */ [data-theme="grape"] { --primary-color: #4A148C; --accent-color: #7B1FA2; --bg-body: #F3E5F5; --bg-card: #FFFFFF; --bg-sidebar: #FFFFFF; --text-primary: #4A148C; --text-secondary: #7B1FA2; --text-heading: #8E24AA; --border-color: #E1BEE7; --sidebar-active-bg: #F3E5F5; --sidebar-active-color: #8E24AA; --sidebar-active-border: #8E24AA; } body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; background-color: var(--bg-body); color: var(--text-primary); line-height: 1.5; margin: 0; padding: 0; transition: background-color 0.3s, color 0.3s; } .navbar { background-color: var(--bg-card); border-bottom: 1px solid var(--border-color); padding: 1rem 0; } .sidebar { background: var(--bg-sidebar) !important; border-right: 1px solid var(--border-color) !important; } .sidebar-header { background: var(--bg-sidebar) !important; border-bottom: 1px solid var(--border-color) !important; } .sidebar .nav-link { color: var(--text-secondary) !important; } .sidebar .nav-link:hover, .sidebar .nav-link.active { color: var(--sidebar-active-color) !important; background: var(--sidebar-active-bg) !important; border-right: 3px solid var(--sidebar-active-border) !important; } .sidebar-heading { color: var(--text-heading) !important; display: flex; align-items: center; cursor: pointer; user-select: none; } .sidebar-heading i { color: var(--accent-color); font-size: 1.1em; } /* Chevron Rotation Logic */ .sidebar-heading .chevron-icon { font-size: 0.85rem !important; transition: transform 0.3s ease; margin-right: 0 !important; /* Override generic margin */ color: var(--text-heading) !important; /* Softer color for chevron */ } .sidebar-heading[aria-expanded="true"] .chevron-icon { transform: rotate(180deg); } .sidebar-heading.collapsed .chevron-icon { transform: rotate(0deg); } .brand-logo { font-weight: 700; font-size: 1.5rem; color: var(--primary-color); text-decoration: none; letter-spacing: -0.5px; } .menu-category-title { font-weight: 700; margin: 2rem 0 1rem; font-size: 1.25rem; border-bottom: 2px solid var(--accent-color); display: inline-block; color: var(--text-primary); } .product-card { background: var(--bg-card); border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.2s ease; border: 1px solid var(--border-color); height: 100%; } .product-card:hover { transform: translateY(-4px); } .product-image { width: 100%; height: 180px; background-color: var(--border-color); object-fit: cover; } .product-info { padding: 1.25rem; } .product-name { font-weight: 600; font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--text-primary); } .product-desc { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 1rem; min-height: 3rem; } .product-price { font-weight: 700; color: var(--accent-color); font-size: 1.1rem; } .btn-add { background-color: var(--primary-color); color: #FFFFFF; border-radius: var(--border-radius); padding: 0.5rem 1rem; font-weight: 600; border: none; } .btn-add:hover { opacity: 0.9; } .cart-sidebar { background: var(--bg-card); height: 100vh; position: sticky; top: 0; border-left: 1px solid var(--border-color); padding: 2rem; display: flex; flex-direction: column; } .cart-item { display: flex; justify-content: space-between; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border-color); } .cart-item-name { font-weight: 600; font-size: 0.9rem; color: var(--text-primary); } .cart-item-price { font-weight: 700; font-size: 0.9rem; color: var(--text-primary); } .cart-total { margin-top: auto; padding-top: 1rem; border-top: 2px solid var(--primary-color); font-weight: 700; font-size: 1.25rem; display: flex; justify-content: space-between; color: var(--text-primary); } .order-badge { background: var(--accent-color); color: white; padding: 0.25rem 0.5rem; border-radius: 4px; font-size: 0.75rem; font-weight: 700; } /* Admin Styles */ .admin-table-container { background: var(--bg-card); border-radius: var(--border-radius); box-shadow: var(--shadow); padding: 1.5rem; } .status-pending { color: #FFA500; font-weight: 600; } .status-preparing { color: #007BFF; font-weight: 600; } .status-ready { color: #28A745; font-weight: 600; } .toast-container { position: fixed; bottom: 2rem; right: 2rem; z-index: 1050; } /* Friendly Table & UI Enhancements */ .filter-bar { background: var(--bg-card); border-radius: 12px; padding: 1rem 1.5rem; box-shadow: var(--shadow); margin-bottom: 1.5rem; } .friendly-table { border-collapse: separate; border-spacing: 0 12px; width: 100%; } .friendly-table thead th { border: none; font-weight: 600; text-transform: uppercase; font-size: 0.75rem; color: var(--text-heading); letter-spacing: 0.8px; padding: 0 1.5rem 0.5rem 1.5rem; } .friendly-table tbody tr { background: var(--bg-card); box-shadow: var(--shadow); border-radius: 12px; transition: all 0.2s ease; } .friendly-table tbody tr:hover { transform: translateY(-2px); box-shadow: 0 8px 16px rgba(0,0,0,0.06); } .friendly-table td { border: none; padding: 1rem 1.5rem; vertical-align: middle; background-color: var(--bg-card); color: var(--text-primary); } .friendly-table td:first-child { border-top-left-radius: 12px; border-bottom-left-radius: 12px; } .friendly-table td:last-child { border-top-right-radius: 12px; border-bottom-right-radius: 12px; } .img-thumb-lg { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; box-shadow: 0 2px 4px rgba(0,0,0,0.1); } .badge-soft { background-color: var(--border-color); color: var(--text-secondary); font-weight: 500; padding: 0.4em 0.8em; border-radius: 6px; } .btn-icon-soft { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; transition: all 0.2s; background: var(--border-color); color: var(--text-secondary); border: none; } .btn-icon-soft:hover { background: var(--accent-color); color: #FFFFFF; } .btn-icon-soft.delete:hover { background: #fee2e2; color: #ef4444; } .btn-icon-soft.edit:hover { background: #dbeafe; color: #3b82f6; } .text-price { font-family: 'Inter', sans-serif; font-weight: 700; color: var(--text-primary); } /* Bootstrap Utility Overrides for Dark Mode */ [data-theme="dark"] .bg-white { background-color: var(--bg-card) !important; color: var(--text-primary) !important; } [data-theme="dark"] .bg-light { background-color: var(--bg-body) !important; color: var(--text-primary) !important; } [data-theme="dark"] .text-muted { color: var(--text-secondary) !important; } [data-theme="dark"] .text-dark { color: var(--text-primary) !important; } [data-theme="dark"] .border-bottom, [data-theme="dark"] .border-top, [data-theme="dark"] .border-end, [data-theme="dark"] .border-start, [data-theme="dark"] .border { border-color: var(--border-color) !important; } [data-theme="dark"] .card { background-color: var(--bg-card); border-color: var(--border-color); } [data-theme="dark"] .table { color: var(--text-primary); } /* Ensure Dropdowns are always on top */ .dropdown-menu { z-index: 1050 !important; }