/* 任務步驟引導精靈樣式 (Wizard CSS) */

/* 步驟進度條 */
.wizard-progress {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  position: relative;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.wizard-progress::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--border-color);
  transform: translateY(-50%);
  z-index: 1;
}

.wizard-step-node {
  position: relative;
  z-index: 2;
  background: var(--bg-card);
  border: 3px solid var(--border-color);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-md);
  font-weight: 800;
  color: var(--text-muted);
  transition: var(--transition-normal);
}

.wizard-step-node.active {
  border-color: var(--color-labor);
  background: var(--color-labor);
  color: var(--text-on-accent);
  box-shadow: 0 0 0 6px var(--color-labor-light);
}

.wizard-step-node.completed {
  border-color: var(--color-health);
  background: var(--color-health);
  color: var(--text-on-accent);
}

/* 任務類型大按鈕選擇網格 */
.task-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin: 1.5rem 0;
}

.task-type-card {
  background: var(--bg-card);
  border: 3px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.task-type-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-labor);
  box-shadow: var(--shadow-md);
}

.task-type-card.selected {
  border-color: var(--color-labor);
  background: var(--color-labor-light);
  box-shadow: 0 0 0 4px var(--color-labor-light);
}

.task-type-icon {
  font-size: 2.8rem;
}

.task-type-title {
  font-size: var(--font-size-lg);
  font-weight: 800;
  color: var(--text-main);
}

.task-type-desc {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
}

/* 指差確認核對盒 (Pointing & Calling Checklist) */
.pointing-check-box {
  background: hsl(45, 100%, 96%);
  border: 3px solid hsl(45, 95%, 45%);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.pointing-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--font-size-lg);
  font-weight: 900;
  color: hsl(30, 95%, 30%);
  margin-bottom: 1rem;
}

.pointing-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.75rem 0;
  border-bottom: 1px dashed hsl(45, 40%, 80%);
  cursor: pointer;
}

.pointing-item:last-child {
  border-bottom: none;
}

.pointing-checkbox {
  width: 26px;
  height: 26px;
  cursor: pointer;
  accent-color: var(--color-health);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.pointing-label {
  font-size: var(--font-size-md);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.5;
}

/* 表頭劃除醒目圖示框 (Strike-out Header Visual Card) */
.header-strike-alert {
  background: var(--color-danger-light);
  border: 3px solid var(--color-danger);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 1.5rem 0;
  text-align: center;
}

.strike-visual-box {
  display: inline-block;
  background: #fff;
  border: 2px solid var(--text-main);
  padding: 0.8rem 1.5rem;
  margin: 1rem 0;
  font-size: var(--font-size-lg);
  font-weight: 900;
  position: relative;
}

.strike-red-line {
  position: absolute;
  top: 50%;
  left: -5%;
  right: -5%;
  height: 4px;
  background: var(--color-danger);
  transform: rotate(-8deg);
}

.strike-red-line-2 {
  position: absolute;
  top: 50%;
  left: -5%;
  right: -5%;
  height: 4px;
  background: var(--color-danger);
  transform: rotate(8deg);
}

/* 步驟按鈕列 */
.wizard-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--border-color);
}
