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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  background: #0f172a;
  color: #e2e8f0;
  padding: 20px;
}

.dispatch-board {
  max-width: 100%;
  margin: 0 auto;
}

.board-header {
  margin-bottom: 24px;
}

.board-header h1 {
  font-size: 32px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 8px;
}

.header-info {
  display: flex;
  gap: 24px;
  color: #94a3b8;
  font-size: 14px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.board-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 20px;
}

.unassigned-column {
  min-width: 320px;
  flex-shrink: 0;
}

.technicians-columns {
  display: flex;
  gap: 20px;
  flex: 1;
}

.tech-column {
  min-width: 280px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 200px);
}

.column-header {
  background: #1e293b;
  padding: 16px;
  border-radius: 12px 12px 0 0;
  border: 1px solid #334155;
  border-bottom: none;
}

.unassigned-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1e293b;
  border-left: 4px solid #f59e0b;
}

.unassigned-header h2 {
  font-size: 18px;
  color: #f1f5f9;
}

.job-count {
  background: #0f172a;
  padding: 4px 12px;
  border-radius: 12px;
  font-weight: 600;
  color: #f59e0b;
}

.tech-header {
  border-left: 4px solid #3b82f6;
}

.tech-header.status-available {
  border-left-color: #10b981;
}

.tech-header.status-busy {
  border-left-color: #f59e0b;
}

.tech-header.status-offline {
  border-left-color: #64748b;
}

.tech-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.tech-info h3 {
  font-size: 16px;
  color: #f1f5f9;
}

.status-badge {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: capitalize;
}

.status-available {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.status-busy {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

.status-offline {
  background: rgba(100, 116, 139, 0.15);
  color: #94a3b8;
}

.tech-stats {
  text-align: center;
}

.stat {
  font-size: 18px;
  font-weight: 700;
  color: #f1f5f9;
}

.stat-label {
  font-size: 11px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.job-list {
  background: #1e293b;
  border: 1px solid #334155;
  border-top: none;
  border-radius: 0 0 12px 12px;
  padding: 12px;
  min-height: 200px;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.job-card {
  background: #0f172a;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid #334155;
  cursor: grab;
  transition: all 0.2s;
}

.job-card:hover {
  border-color: #3b82f6;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.job-card:active {
  cursor: grabbing;
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.job-id {
  font-size: 12px;
  font-weight: 600;
  color: #3b82f6;
}

.priority-badge {
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.priority-low {
  background: rgba(148, 163, 184, 0.15);
  color: #94a3b8;
}

.priority-medium {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

.priority-high {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.job-customer {
  font-size: 14px;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 4px;
}

.job-service {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 8px;
}

.job-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: #94a3b8;
}

.job-value {
  margin-left: auto;
  font-weight: 600;
  color: #10b981;
}

.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: #64748b;
  font-size: 14px;
}

.tech-footer {
  background: #1e293b;
  border: 1px solid #334155;
  border-top: none;
  border-radius: 0 0 12px 12px;
  padding: 12px 16px;
  margin-top: -12px;
}

.revenue-total {
  text-align: center;
  font-weight: 600;
  color: #10b981;
  font-size: 14px;
}
