/* ── Direction-module specific styles ── */

/* ── Step guide ── */
.dir-guide {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dir-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  opacity: 0.35;
  transition: opacity 0.25s, background 0.25s;
}
.dir-step.active {
  opacity: 1;
  background: rgba(108,99,255,0.08);
}
.dir-step.done {
  opacity: 0.55;
}
.dir-step.done .step-num {
  background: #33cc33;
}
.dir-step.warn .step-text {
  color: #f5a623;
}

.step-num {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent-1, #6c63ff);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.step-text {
  font-size: 0.76rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ── Direction info rows ── */
.dir-info-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.dir-info-row:last-child { margin-bottom: 0; }

.dir-swatch {
  flex-shrink: 0;
  width: 10px; height: 10px;
  border-radius: 50%;
}

.dir-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

.dir-value {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.72rem;
  color: var(--text-primary);
}

/* ── Action buttons ── */
.dir-btn {
  width: 100%;
  padding: 8px 0;
  margin-bottom: 6px;
  border: none;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s;
  background: linear-gradient(135deg, var(--accent-1, #6c63ff), var(--accent-2, #e94560));
  color: #fff;
}
.dir-btn:hover:not(:disabled) {
  opacity: 0.85;
}
.dir-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.dir-btn:last-child { margin-bottom: 0; }

.dir-btn-secondary {
  background: rgba(108,99,255,0.1);
  color: var(--text-secondary);
  border: 1px solid rgba(108,99,255,0.2);
}
.dir-btn-secondary:hover {
  background: rgba(108,99,255,0.18);
}

/* ── About section ── */
.dir-about {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.55;
}
