/* 予約フロー共通のステッパー */
.md3-stepper-card {
  background-color: var(--md-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--md-elevation-1);
  padding: 24px;
}

.md3-section-title {
  font-size: var(--typescale-title);
  line-height: var(--typescale-title-line-height);
  font-weight: 700;
  margin: 0 0 24px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.md3-stepper {
  display: flex;
  justify-content: space-between;
  position: relative;
  padding: 0;
  margin: 0;
  list-style: none;
}

.md3-stepper::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 5%;
  right: 5%;
  height: 2px;
  background-color: var(--border-dark);
  z-index: 0;
}

.md3-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.md3-step-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px;
  height: 32px;
  background-color: var(--md-surface);
  border: 2px solid var(--border-dark);
  color: var(--text-muted);
  border-radius: var(--border-radius-full);
  font-size: var(--typescale-label);
  font-weight: 700;
  line-height: var(--typescale-label-line-height);
}

.md3-step.is-completed .md3-step-icon {
  background-color: var(--md-primary);
  border-color: var(--md-primary);
  color: #fff;
}

.md3-step.is-active .md3-step-icon {
  background-color: var(--md-primary);
  border-color: var(--md-primary);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(230, 57, 0, 0.2);
}

.md3-step-label {
  font-size: var(--typescale-label-small);
  line-height: var(--typescale-label-small-line-height);
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
  background-color: var(--md-surface);
  padding: 0 4px;
}

.md3-step.is-active .md3-step-label {
  color: var(--md-primary);
}
