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

body {
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  background: #1a1a1a;
  color: white;
  padding: 20px;
}

.header {
  position: relative;
  background: linear-gradient(135deg, #05155d 0%, #b61220 100%);
  padding: 20px;
  text-align: center;
  border-radius: 15px;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(245, 87, 108, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header h1 {
  margin: 0;
  flex: 1;
}

.stats {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.stat-card {
  flex: 1;
  background: #2d2d2d;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

.stat-number {
  font-size: 36px;
  font-weight: bold;
  color: #fff;
}

.stat-label {
  font-size: 14px;
  color: #999;
  margin-top: 5px;
}

.enable-sound-btn {
  background: #b61220;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  animation: pulse 2s infinite;
}
.enable-sound-btn:hover {
  background: #880d18;
  transform: scale(1.05);
}
.enable-sound-btn:disabled {
  cursor: default;
  animation: none;
}

/* Undo Button Styles */
.undo-btn {
  padding: 10px 20px;
  background: #FF9800;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.undo-btn:not(:disabled):hover {
  background: #F57C00;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
.undo-btn:disabled {
  cursor: not-allowed;
  background: #ccc;
}

.orders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 20px;
}

.order-card {
  background: #2d2d2d;
  border-radius: 15px;
  padding: 20px;
  border: 3px solid #b61220;
  box-shadow: 0 4px 20px rgba(245, 87, 108, 0.2);
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.order-card.preparing {
  border-color: #ffa726;
  box-shadow: 0 4px 20px rgba(255, 167, 38, 0.2);
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 2px solid #444;
}

.order-number {
  font-size: 28px;
  font-weight: bold;
  color: #d9d9d9;
}

.table-number {
  background: #262626;
  color: white;
  padding: 8px 15px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 18px;
}

.order-time {
  color: #999;
  font-size: 14px;
  margin-bottom: 15px;
}

/* Order Item Styles - Click to Complete */
.order-item {
  background: #1a1a1a;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}
.order-item.item-clickable {
  cursor: pointer;
  background: #272727;
}
.order-item.item-clickable:hover {
  background: #2a3f5f;
  border-color: #2196F3;
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.4);
}
.order-item.item-clickable:active {
  transform: scale(0.98);
}
.order-item.item-completed {
  background: #1B5E20;
  opacity: 0.7;
  cursor: default;
}
.order-item.item-completed .item-name {
  color: #81C784;
}

.item-name {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 8px;
  color: #fff;
}

.item-options {
  font-size: 14px;
  color: #aaa;
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.item-options span {
  display: inline-block;
  background: #444;
  padding: 4px 10px;
  border-radius: 5px;
}

.special-note {
  background: #fff3cd;
  color: #856404;
  padding: 10px;
  border-radius: 8px;
  margin-top: 10px;
  font-size: 14px;
}

.action-buttons {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.btn {
  flex: 1;
  padding: 15px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-preparing {
  background: #ffa726;
  color: white;
}

.btn-preparing:active {
  background: #fb8c00;
}

.btn-ready {
  background: #66bb6a;
  color: white;
}

.btn-ready:active {
  background: #43a047;
}

.new-order-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #f5576c;
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #666;
}

.empty-state-icon {
  font-size: 80px;
  margin-bottom: 20px;
}

.view-toggle {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  justify-content: center;
}

.view-btn {
  background: #2d2d2d;
  color: white;
  border: 2px solid #444;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
}
.view-btn:hover {
  background: #3d3d3d;
  border-color: #b61220;
}
.view-btn.active {
  background: #b61220;
  border-color: #b61220;
  box-shadow: 0 4px 15px rgba(182, 18, 32, 0.4);
}

.table-group-card {
  position: relative;
  background: #2d2d2d;
  border-radius: 15px;
  padding: 20px;
  border: 3px solid #05155d;
  box-shadow: 0 4px 20px rgba(5, 21, 93, 0.2);
  animation: slideIn 0.3s ease-out;
}

.table-group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #444;
}
.table-group-header h2 {
  font-size: 24px;
  color: white;
  margin: 0;
}

.order-count {
  background: #262626;
  color: white;
  padding: 8px 15px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 16px;
}

.grouped-order {
  background: #1a1a1a;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 15px;
  border-left: 4px solid transparent;
}
.grouped-order.preparing {
  border-left-color: #FF9800;
}

.grouped-order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 14px;
  color: #999;
}

.item-group-card {
  position: relative;
  background: #2d2d2d;
  border-radius: 15px;
  padding: 20px;
  border: 3px solid #9C27B0;
  box-shadow: 0 4px 20px rgba(156, 39, 176, 0.2);
  animation: slideIn 0.3s ease-out;
}

.item-group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 2px solid #444;
}
.item-group-header h2 {
  font-size: 24px;
  color: white;
  margin: 0;
}

.item-orders-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.item-order-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1a1a1a;
  padding: 12px 15px;
  border-radius: 8px;
  border-left: 4px solid transparent;
  transition: all 0.3s ease;
}
.item-order-row.item-clickable {
  cursor: pointer;
  border-left-color: #FF9800;
}
.item-order-row.item-clickable:hover {
  background: #2a2a2a;
  border-left-color: #2196F3;
  transform: translateX(5px);
  box-shadow: 0 2px 8px rgba(33, 150, 243, 0.3);
}
.item-order-row.item-clickable:active {
  transform: translateX(3px);
}
.item-order-row.item-completed {
  background: #1B5E20;
  opacity: 0.6;
  border-left-color: #4CAF50;
  cursor: default;
}

.table-number-small {
  background: #262626;
  color: white;
  padding: 4px 10px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
}

.order-time-small {
  color: #999;
  font-size: 13px;
  margin-left: auto;
}

.btn-small {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  color: white;
}
.btn-small.btn-preparing {
  background: #FF9800;
}
.btn-small.btn-ready {
  background: #4CAF50;
}
.btn-small:active {
  transform: scale(0.95);
}

@media (max-width: 768px) {
  .orders-grid {
    grid-template-columns: 1fr;
  }
  .header {
    flex-direction: column;
    gap: 15px;
  }
}/*# sourceMappingURL=kitchen.css.map */