* {
  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;
}

.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  font-size: 18px;
  color: #64748b;
}

.job-dashboard {
  max-width: 1400px;
  margin: 0 auto;
}

.dashboard-header {
  margin-bottom: 32px;
}

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

.date {
  color: #94a3b8;
  font-size: 14px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.stat-card {
  background: #1e293b;
  padding: 24px;
  border-radius: 12px;
  border-left: 4px solid #3b82f6;
}

.stat-card.stat-open { border-left-color: #3b82f6; }
.stat-card.stat-scheduled { border-left-color: #8b5cf6; }
.stat-card.stat-progress { border-left-color: #f59e0b; }
.stat-card.stat-completed { border-left-color: #10b981; }

.stat-value {
  font-size: 36px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 8px;
}

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

.today-schedule h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #f1f5f9;
}

.job-list {
  display: grid;
  gap: 16px;
}

.job-card {
  background: #1e293b;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #334155;
  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-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

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

.badge {
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  text-transform: capitalize;
}

.badge-scheduled {
  background: rgba(139, 92, 246, 0.15);
  color: #a78bfa;
}

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

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

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

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

.job-footer {
  display: flex;
  gap: 20px;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid #334155;
  font-size: 13px;
}

.job-time,
.job-tech {
  color: #94a3b8;
}

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