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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  background: #0f172a;
  color: #e2e8f0;
  line-height: 1.6;
}

.app {
  max-width: 1600px;
  margin: 0 auto;
  padding: 2rem;
}

.app-header {
  margin-bottom: 2rem;
}

.app-header h1 {
  font-size: 2.5rem;
  color: #f8fafc;
  margin-bottom: 0.5rem;
}

.app-header p {
  color: #94a3b8;
  font-size: 1.1rem;
}

.filters {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.search-input {
  flex: 1;
  min-width: 300px;
  padding: 0.875rem 1.25rem;
  background: #1e293b;
  border: 2px solid #334155;
  color: #f8fafc;
  border-radius: 0.5rem;
  font-size: 1rem;
}

.search-input:focus {
  outline: none;
  border-color: #3b82f6;
}

.search-input::placeholder {
  color: #64748b;
}

.filter-select {
  padding: 0.875rem 1.25rem;
  background: #1e293b;
  border: 2px solid #334155;
  color: #f8fafc;
  border-radius: 0.5rem;
  font-size: 1rem;
  cursor: pointer;
  min-width: 150px;
}

.filter-select:focus {
  outline: none;
  border-color: #3b82f6;
}

.results-info {
  color: #94a3b8;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.table-container {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 0.75rem;
  overflow: hidden;
}

.orders-table {
  width: 100%;
  border-collapse: collapse;
}

.orders-table thead {
  background: #0f172a;
}

.orders-table th {
  padding: 1rem;
  text-align: left;
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  border-bottom: 2px solid #334155;
}

.orders-table td {
  padding: 1rem;
  border-bottom: 1px solid #334155;
  color: #cbd5e1;
}

.orders-table tbody tr:hover {
  background: #0f172a;
}

.orders-table tbody tr:last-child td {
  border-bottom: none;
}

.order-number {
  font-weight: 600;
  color: #f8fafc;
  font-family: 'Courier New', monospace;
}

.type-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: #334155;
  color: #cbd5e1;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: capitalize;
}

.status-badge {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
}

.total {
  font-weight: 700;
  color: #10b981;
  font-size: 1.125rem;
}

.time {
  color: #94a3b8;
  font-size: 0.875rem;
}

.action-btn {
  padding: 0.5rem 1rem;
  background: #3b82f6;
  border: none;
  color: #fff;
  border-radius: 0.375rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s;
}

.action-btn:hover {
  background: #2563eb;
}

.no-results {
  text-align: center;
  padding: 3rem;
  color: #64748b;
  font-size: 1.125rem;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 0.75rem;
  margin-top: 1rem;
}

@media (max-width: 1024px) {
  .table-container {
    overflow-x: auto;
  }
  
  .orders-table {
    min-width: 800px;
  }
}
