/**
 * Food Stand Kitchen Display Styles
 * High contrast, large fonts for kitchen readability
 */

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

body {
  font-family: 'Arial', 'Helvetica', sans-serif;
  background-color: #000000;
  color: #ffffff;
  overflow: hidden;
  width: 100vw;
  height: 100vh;
}

#app {
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding: 20px;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 3px solid #FFB74D;
}

header h1 {
  font-size: 64px;
  font-weight: bold;
  color: #FFB74D;
  text-transform: uppercase;
}

#status {
  font-size: 32px;
  color: #4CAF50;
}

/* Main orders container */
#orders-container {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  overflow-y: auto;
  padding: 10px;
}

/* Individual order card */
.order-card {
  background-color: #1e1e1e;
  border: 4px solid #333;
  border-radius: 16px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Priority/oldest order highlight */
.order-card.priority {
  border-color: #f44336;
  background: linear-gradient(135deg, #2a1a1a 0%, #1e1e1e 100%);
}

.order-card.priority .order-header {
  background-color: #f44336;
}

/* Order header */
.order-header {
  background-color: #FFB74D;
  color: #000;
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.order-number {
  font-size: 72px;
  font-weight: bold;
}

.customer-name {
  font-size: 48px;
  font-weight: 600;
}

/* Order items */
.order-items {
  flex: 1;
  margin-bottom: 20px;
}

.order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 2px solid #333;
  font-size: 40px;
}

.item-quantity {
  font-weight: bold;
  color: #FFB74D;
  min-width: 80px;
}

.item-name {
  flex: 1;
  margin-left: 20px;
}

/* Order footer */
.order-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 2px solid #333;
}

.order-time {
  font-size: 28px;
  color: #999;
}

.order-total {
  font-size: 42px;
  font-weight: bold;
  color: #4CAF50;
}

/* Footer */
footer {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 3px solid #333;
}

#remaining-count {
  text-align: center;
}

#remaining-text {
  font-size: 36px;
  color: #FFB74D;
  font-weight: 600;
}

/* Completion animation */
@keyframes flashGreen {
  0%, 100% {
    background-color: #1e1e1e;
  }
  50% {
    background-color: #4CAF50;
  }
}

.order-card.completing {
  animation: flashGreen 0.5s ease-in-out;
}

/* Empty state */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 100px 20px;
}

.empty-state-icon {
  font-size: 120px;
  margin-bottom: 30px;
  opacity: 0.3;
}

.empty-state-text {
  font-size: 48px;
  color: #666;
}

/* Priority badge */
.priority-badge {
  background-color: #f44336;
  color: #fff;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
}
