/* Kitchen & Cashier Dashboard Styling */
.kitchen-body {
  background: #090e1a;
  min-height: 100vh;
  padding: 16px 24px;
}

.kitchen-layout {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Navbar */
.kitchen-navbar {
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo-bell {
  font-size: 2.2rem;
  background: rgba(16, 185, 129, 0.15);
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.navbar-title {
  font-size: 1.35rem;
  font-weight: 800;
}

.navbar-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Realtime KPI Strip */
.kpi-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(15, 23, 42, 0.6);
  padding: 6px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.kpi-card {
  display: flex;
  flex-direction: column;
  padding: 4px 12px;
  border-left: 1px solid var(--border-light);
}

.kpi-card:last-child {
  border-left: none;
}

.kpi-label {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.kpi-val {
  font-size: 1.25rem;
  font-family: var(--font-latin);
  font-weight: 800;
}

.kpi-preparing .kpi-val { color: var(--amber); }
.kpi-ready .kpi-val { color: var(--primary); }
.kpi-time .kpi-val { color: var(--accent-cyan); }
.kpi-total .kpi-val { color: var(--text-main); }

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--primary);
  background: rgba(16, 185, 129, 0.1);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

/* Order Entry POS Bar */
.order-entry-panel {
  padding: 16px 20px;
}

.entry-form {
  display: grid;
  grid-template-columns: 180px 1fr 1.5fr auto;
  gap: 16px;
  align-items: flex-end;
}

.entry-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.entry-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

.input-with-hash {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-hash span {
  position: absolute;
  right: 14px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
}

.num-input {
  padding-right: 36px;
  font-family: var(--font-latin);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
}

.btn-add-order {
  height: 48px;
  padding: 0 28px;
  font-size: 1.05rem;
}

/* Kanban Grid */
.kanban-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: flex-start;
}

.kanban-column {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 520px;
}

.column-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.col-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.col-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.col-indicator.amber { background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.col-indicator.emerald { background: var(--primary); box-shadow: 0 0 10px var(--primary); }
.col-indicator.cyan { background: var(--accent-cyan); box-shadow: 0 0 10px var(--accent-cyan); }

.column-header h2 {
  font-size: 1.15rem;
  font-weight: 800;
}

.orders-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
  max-height: 720px;
  padding-left: 4px;
}

/* Order Cards */
.order-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  position: relative;
}

.order-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-md);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-order-number {
  font-size: 1.85rem;
  font-weight: 900;
  font-family: var(--font-latin);
  color: var(--text-main);
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.card-order-number span {
  font-size: 1.1rem;
  color: var(--text-dim);
}

.card-time-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-customer-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.card-customer-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: #e2e8f0;
}

.card-notes {
  font-size: 0.88rem;
  color: #cbd5e1;
  background: rgba(0, 0, 0, 0.2);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  border-right: 3px solid var(--amber);
}

/* Ready Orders Column Specifics */
.order-card.card-ready {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.15);
}

.order-card.card-ready .card-order-number {
  color: #34d399;
}

.customer-coming-banner {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  animation: pulseRing 2s infinite;
}

/* Card Actions */
.card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.btn-ring {
  flex: 1;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  padding: 10px 14px;
  font-size: 0.95rem;
  font-weight: 800;
}

.btn-ring:hover {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
}

.btn-recall {
  flex: 1;
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 10px 12px;
  font-size: 0.9rem;
}

.btn-recall:hover {
  background: #f59e0b;
  color: #000;
}

.btn-done {
  flex: 1;
  background: #ffffff;
  color: #065f46;
  font-weight: 800;
  padding: 10px 14px;
  font-size: 0.95rem;
}

.btn-done:hover {
  background: #a7f3d0;
}

.btn-cancel-order {
  background: transparent;
  color: var(--text-dim);
  border: none;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 4px 8px;
}

.btn-cancel-order:hover {
  color: var(--danger);
}

/* Responsive */
@media (max-width: 1024px) {
  .entry-form {
    grid-template-columns: 1fr 1fr;
  }
  .entry-action {
    grid-column: span 2;
  }
  .kanban-grid {
    grid-template-columns: 1fr;
  }
}
