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

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

.tech-header {
  margin-bottom: 32px;
  background: #1e293b;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #334155;
}

.tech-profile {
  display: flex;
  align-items: center;
  gap: 20px;
}

.avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  color: white;
}

.tech-info h1 {
  font-size: 28px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 8px;
}

.tech-meta {
  display: flex;
  gap: 16px;
  align-items: center;
}

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

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

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

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

.rating {
  color: #fbbf24;
  font-size: 14px;
  font-weight: 600;
}

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

.stat-card {
  background: #1e293b;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #334155;
  display: flex;
  gap: 16px;
  align-items: center;
}

.stat-icon {
  font-size: 32px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 12px;
}

.stat-content {
  flex: 1;
}

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

.stat-label {
  font-size: 13px;
  color: #94a3b8;
}

.dashboard-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.schedule-section,
.reviews-section {
  background: #1e293b;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #334155;
}

.schedule-section h2,
.reviews-section h2 {
  font-size: 20px;
  color: #f1f5f9;
  margin-bottom: 20px;
}

.jobs-timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.timeline-job {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: #0f172a;
  border-radius: 8px;
  border-left: 4px solid #3b82f6;
}

.timeline-job.status-completed {
  border-left-color: #10b981;
  opacity: 0.7;
}

.timeline-job.status-in-progress {
  border-left-color: #f59e0b;
}

.timeline-job.status-upcoming {
  border-left-color: #8b5cf6;
}

.job-time {
  font-weight: 600;
  color: #94a3b8;
  min-width: 80px;
  font-size: 14px;
}

.job-details {
  flex: 1;
}

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

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

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.status-dot.status-completed {
  background: #10b981;
}

.status-dot.status-in-progress {
  background: #f59e0b;
}

.status-dot.status-upcoming {
  background: #8b5cf6;
}

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

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

.job-address {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 8px;
}

.job-value {
  font-weight: 600;
  color: #10b981;
  font-size: 15px;
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-card {
  padding: 16px;
  background: #0f172a;
  border-radius: 8px;
  border: 1px solid #334155;
}

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

.review-customer {
  font-weight: 600;
  color: #f1f5f9;
  font-size: 15px;
}

.review-date {
  font-size: 12px;
  color: #64748b;
}

.review-rating {
  margin-bottom: 10px;
}

.star {
  color: #334155;
  font-size: 18px;
}

.star.filled {
  color: #fbbf24;
}

.review-comment {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 8px;
}

.review-job {
  font-size: 12px;
  color: #3b82f6;
}

@media (max-width: 1024px) {
  .dashboard-content {
    grid-template-columns: 1fr;
  }
}
