/* als-version-control.css — Git-style timeline for .als projects */

.vc-timeline { position: relative; padding: 0 0 0 24px; }

.vc-commit {
  position: relative;
  padding-bottom: 24px;
}

.vc-commit-dot {
  position: absolute;
  left: -24px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #2a2a3a;
  border: 2px solid rgba(255,255,255,0.15);
  z-index: 1;
}

.vc-commit.latest .vc-commit-dot {
  background: #00ff88;
  border-color: #00ff88;
  box-shadow: 0 0 8px rgba(0,255,136,0.3);
}

.vc-commit-line {
  position: absolute;
  left: -19px;
  top: 16px;
  width: 2px;
  height: calc(100% - 8px);
  background: rgba(255,255,255,0.06);
}

.vc-commit:last-child .vc-commit-line { display: none; }

.vc-commit-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 14px 16px;
}

.vc-commit.latest .vc-commit-card {
  border-color: rgba(0,255,136,0.15);
}

.vc-commit-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.vc-hash {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #a78bfa;
  background: rgba(167,139,250,0.1);
  padding: 2px 8px;
  border-radius: 4px;
}

.vc-branch-tag {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(0,255,136,0.1);
  color: #00ff88;
}

.vc-time {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  margin-left: auto;
}

.vc-commit-message {
  font-size: 14px;
  color: #fff;
  font-weight: 500;
  line-height: 1.4;
}

.vc-commit-author {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-top: 4px;
}

.vc-commit-diff-summary {
  display: flex;
  gap: 10px;
  margin-top: 8px;
  font-family: monospace;
  font-size: 12px;
}

.vc-diff-add { color: #4ade80; }
.vc-diff-remove { color: #f87171; }
.vc-diff-modify { color: #fbbf24; }

.vc-commit-actions {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}

.vc-btn {
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
}
.vc-btn:hover { background: rgba(255,255,255,0.08); color: #fff; }
.vc-btn-sm { padding: 4px 10px; font-size: 11px; }
.vc-btn-danger { color: #f87171; border-color: rgba(248,113,113,0.2); }
.vc-btn-danger:hover { background: rgba(248,113,113,0.1); }

.vc-empty {
  text-align: center;
  padding: 32px;
  color: rgba(255,255,255,0.3);
  font-size: 14px;
}
