/* Projects Page Styles */
.projects-page {
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  margin-top: 70px;
}

.project-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.project-card {
  background: white;
  border-radius: 0.75rem;
  border: 1px solid var(--border-color, #e5e7eb);
  padding: 1.5rem;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.project-header h3 {
  margin: 0;
  font-size: 1.125rem;
  color: var(--text-dark, #1f2937);
}

.project-customer {
  color: var(--text-muted, #6b7280);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.project-dates {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted, #6b7280);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.project-progress {
  margin: 1.5rem 0;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.progress-bar {
  height: 8px;
  background: var(--bg-light, #f3f4f6);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #10b981);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.project-budget {
  display: flex;
  justify-content: space-between;
  padding: 1rem;
  background: var(--bg-light, #f9fafb);
  border-radius: 0.5rem;
  margin: 1rem 0;
}

.budget-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.budget-item span:first-child {
  font-size: 0.75rem;
  color: var(--text-muted, #6b7280);
}

.budget-item span:last-child {
  font-weight: 600;
  color: var(--text-dark, #1f2937);
}

.budget-item .over-budget {
  color: #ef4444;
}

.project-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.status-badge.planning {
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
}

.status-badge.in-progress {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.status-badge.completed {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}