/* arrows.css – arrow elements for flows and diagrams */

/* Right-pointing arrow (CSS triangle + optional line) */
.arrow-right {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin: 0 0.25rem;
}

.arrow-right::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #333;
  margin-right: 2px;
}

.arrow-right--light::before {
  border-left-color: rgba(255, 255, 255, 0.9);
}

.arrow-right--muted::before {
  border-left-color: #888;
}

/* Horizontal line with arrowhead at end */
.arrow-line {
  display: inline-block;
  height: 2px;
  width: 1.5rem;
  background: #333;
  position: relative;
  margin: 0 0.15rem;
  vertical-align: middle;
}

.arrow-line::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid #333;
}

.arrow-line--muted {
  background: #888;
}

.arrow-line--muted::after {
  border-left-color: #888;
}

/* Longer arrow for flowcharts */
.arrow-line--long {
  width: 2.75rem;
}

/* Left-pointing arrow */
.arrow-left.arrow-right::before {
  border-left: none;
  border-right: 8px solid #333;
  margin-left: 2px;
  margin-right: 0;
}

/* Up-pointing arrow (vertical flows) */
.arrow-up {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.arrow-up::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 8px solid #333;
}

.arrow-up--muted::before {
  border-bottom-color: #888;
}
