/* Clean Minimalistic Design Tokens */
:root {
  --bg: #FAFAFA;
  --surface: #FFFFFF;
  --text-main: #111111;
  --text-muted: #737373;
  --border: #E5E5E5;
  --accent: #000000;
  --radius: 12px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg);
  color: var(--text-main);
  padding-bottom: 100px;
}

/* Header Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 32px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.5px;
}

.logo span {
  color: #888;
  font-weight: 400;
  font-size: 14px;
}

/* Table Badge Customization */
.table-badge {
  font-size: 13px;
  background: #F4F4F5;
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  gap: 4px;
  align-items: center;
}

.table-badge.unassigned {
  border-color: #E53E3E;
  color: #C53030;
  background: #FFF5F5;
}

/* Modal Styling */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-card {
  background: var(--surface);
  padding: 36px 28px;
  border-radius: 20px;
  max-width: 380px;
  width: 90%;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.modal-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.modal-card h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 6px;
}

.modal-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.modal-card input {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 16px;
  text-align: center;
  margin-bottom: 16px;
  outline: none;
  background: #FAFAFA;
}

.modal-card input:focus {
  border-color: #000;
  background: #FFF;
}

/* Container & Typography */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.hero {
  margin-bottom: 32px;
}

.sub-heading {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

h1 {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -1px;
  line-height: 1.2;
}

/* Category Filter Bar */
.categories {
  display: flex;
  gap: 10px;
  margin-bottom: 32px;
}

.cat-btn {
  background: transparent;
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 14px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.cat-btn.active, .cat-btn:hover {
  background: var(--accent);
  color: #FFF;
  border-color: var(--accent);
}

/* Cards Layout */
.menu-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.menu-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.menu-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.item-info h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 4px;
}

.item-info p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
  max-width: 450px;
}

.price {
  font-weight: 600;
  font-size: 16px;
}

.add-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.add-btn:hover {
  background: var(--accent);
  color: #FFF;
}

/* Floating Cart Drawer */
.cart-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 500px;
  background: var(--accent);
  color: #FFF;
  padding: 16px 24px;
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.cart-info {
  font-size: 15px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.checkout-btn {
  background: #FFF;
  color: #000;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
}

/* Kitchen Admin Styles */
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.orders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.order-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.order-card h4 {
  font-size: 16px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.order-card ul {
  list-style: none;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.status-btn {
  width: 100%;
  padding: 8px;
  background: #F4F4F5;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
}

/* Card Images */
.menu-card-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.menu-card-content {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* Modal Overlay & Card */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-card {
  background: var(--surface);
  padding: 32px;
  border-radius: 16px;
  max-width: 360px;
  width: 90%;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.modal-card h2 {
  font-size: 20px;
  margin-bottom: 8px;
}

.modal-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.modal-card input {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 16px;
  text-align: center;
  margin-bottom: 16px;
  outline: none;
}

.primary-btn {
  width: 100%;
  padding: 12px;
  background: var(--accent);
  color: #FFF;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
}