:root {
  --primary-bg: #121212;
  --surface-bg: #1e1e1e;
  --text-primary: #e0e0e0;
  --text-secondary: #aaaaaa;
  --accent-color: #ff5722;
  --border-color: #333333;
}

body {
  background-color: var(--primary-bg);
  color: var(--text-primary);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.navbar {
  background-color: var(--surface-bg) !important;
  border-bottom: 1px solid var(--border-color);
}

.navbar-brand {
  color: var(--accent-color) !important;
  font-weight: bold;
}

.card {
  background-color: var(--surface-bg);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  text-decoration: none;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  text-decoration: none;
  color: var(--text-primary);
}

.card-title {
  font-size: 1.1rem;
}

.text-muted {
  color: var(--text-secondary) !important;
}

/* Timeline specific styles */
.timeline-container {
  position: relative;
  width: 100%;
  height: calc(100vh - 180px);
  background-color: transparent;
  border: none;
  overflow: hidden;
  margin-top: 1rem;
}

.timeline-axis {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--border-color);
  transform: translateY(-50%);
}

.timeline-event {
  position: absolute;
  height: 30px;
  background-color: var(--accent-color);
  color: #fff;
  border-radius: 4px;
  font-size: 0.8rem;
  line-height: 30px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 5px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.timeline-event:hover {
  opacity: 0.8;
}

.timeline-tick {
  position: absolute;
  top: 50%;
  width: 1px;
  height: 10px;
  background-color: var(--text-secondary);
  transform: translateY(-50%);
}

.timeline-tick-label {
  position: absolute;
  top: calc(50% + 10px);
  transform: translateX(-50%);
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.badge-pending { background-color: #ffc107; color: #000; }
.badge-accepted { background-color: #0d6efd; color: #fff; }
.badge-completed { background-color: #198754; color: #fff; }
.badge-cancelled { background-color: #dc3545; color: #fff; }
