@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body.mt-cashier-body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background: #0d1117;
  color: #e6edf3;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Header */
.mt-cashier-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(22, 27, 34, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #30363d;
}
.mt-cashier-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.mt-cashier-brand h1 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}
.mt-cashier-controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.mt-cashier-time {
  font-size: 1.5rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.mt-header-actions {
  display: flex;
  gap: 1rem;
}
.mt-btn-icon {
  background: #21262d;
  border: 1px solid #30363d;
  color: #c9d1d9;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.mt-btn-icon:hover {
  background: #30363d;
}

/* Stats */
.mt-cashier-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.5rem 2rem;
  background: #0d1117;
}
.mt-stat-box {
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.mt-stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(88, 166, 255, 0.1);
  color: #58a6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.mt-stat-box.mt-stat-warning .mt-stat-icon {
  background: rgba(210, 153, 34, 0.1);
  color: #d29922;
}
.mt-stat-box.mt-stat-success .mt-stat-icon {
  background: rgba(35, 134, 54, 0.1);
  color: #238636;
}
.mt-stat-label {
  margin: 0;
  font-size: 0.9rem;
  color: #8b949e;
  font-weight: 500;
}
.mt-stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
}

/* Orders Area */
.mt-cashier-main {
  flex: 1;
  padding: 0 2rem 2rem;
  overflow-y: auto;
}
.mt-orders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
}
.mt-order-card {
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 12px;
  border-left: 4px solid #58a6ff;
  display: flex;
  flex-direction: column;
  animation: slideIn 0.3s ease-out;
}
.mt-order-card.status-processing {
  border-left-color: #d29922;
}
.mt-order-card.status-completed {
  border-left-color: #238636;
}
.mt-order-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #30363d;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mt-order-id {
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0;
}
.mt-order-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}
.mt-order-badge.processing {
  background: rgba(210, 153, 34, 0.2);
  color: #d29922;
}
.mt-order-meta {
  padding: 1rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  background: #0d1117;
  font-size: 0.9rem;
  color: #8b949e;
}
.mt-order-meta i {
  margin-right: 0.5rem;
  width: 16px;
  text-align: center;
}
.mt-order-items {
  padding: 1rem 1.5rem;
  flex: 1;
}
.mt-order-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.mt-order-item-qty {
  color: #58a6ff;
  font-weight: 700;
  margin-right: 0.5rem;
}
.mt-order-item-addons {
  padding-left: 1.5rem;
  font-size: 0.8rem;
  color: #8b949e;
  margin-bottom: 0.5rem;
}
.mt-order-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid #30363d;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mt-order-total {
  font-size: 1.2rem;
  font-weight: 700;
}
.btn-complete-order {
  background: linear-gradient(180deg, #2ea043 0%, #238636 100%);
  border: 1px solid rgba(240,246,252,0.1);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}
.btn-complete-order:hover {
  background: #2ea043;
}

/* Empty State */
.mt-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #8b949e;
}
.mt-empty-state i {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

/* Indicators */
.mt-pulse-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #238636;
  margin-right: 0.5rem;
  box-shadow: 0 0 10px #238636;
}
.mt-refreshing {
  animation: pulse 1s infinite;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(35, 134, 54, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(35, 134, 54, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(35, 134, 54, 0); }
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0d1117;
}
::-webkit-scrollbar-thumb {
  background: #30363d;
  border-radius: 4px;
}
