.HomeWalkingPill-wrapper {
  position: relative;
}

.HomeWalkingPill {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.HomeWalkingPill-title {
  font-family: "SF Mono", "Monaco", "Inconsolata", "Fira Code", monospace;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--accent-color);
  text-transform: lowercase;
  letter-spacing: -0.01em;
  filter: var(--user-content-filter);
  margin: 0;
}

.HomeWalkingPill-subtitle {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  text-transform: lowercase;
  margin: 0 0 0.625rem 0;
}

.HomeWalkingPill-progress {
  display: flex;
  align-items: center;
  gap: 0;
  min-width: 0;
  flex: 1 1 0;
}

.HomeWalkingPill-dotWrapper {
  display: flex;
  align-items: center;
  flex-shrink: 1;
  min-width: 0;
}

.HomeWalkingPill-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.HomeWalkingPill-dot--upcoming {
  background-color: rgba(0, 0, 0, 0.08);
  border: none;
}

@media (prefers-color-scheme: dark) {
  .HomeWalkingPill-dot--upcoming {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
  }
}

.HomeWalkingPill-dot--current {
  background-color: var(--accent-color);
  transform: scale(1.3);
  box-shadow: 0 0 0 4px var(--accent-color-transparent);
  filter: var(--user-content-filter);
}

.HomeWalkingPill-dot--completed {
  background-color: var(--accent-color);
  opacity: 0.6;
  filter: var(--user-content-filter);
}

.HomeWalkingPill-line {
  width: 20px;
  min-width: 2px;
  height: 2px;
  background-color: rgba(0, 0, 0, 0.08);
  margin: 0 2px;
  flex-shrink: 1;
}

@media (prefers-color-scheme: dark) {
  .HomeWalkingPill-line {
    background-color: rgba(255, 255, 255, 0.15);
  }
}

.HomeWalkingPill-deleteButton {
  position: absolute;
  top: 1.375rem;
  right: 1.375rem;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--text-tertiary);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 6px;
  font-weight: 300;
}

@media (max-width: 768px) {
  .HomeWalkingPill-deleteButton::after {
    content: "";
    position: absolute;
    inset: -8px;
  }
}

@media (hover: hover) {
  .HomeWalkingPill-deleteButton:hover {
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.05);
  }
}

@media (hover: hover) and (prefers-color-scheme: dark) {
  .HomeWalkingPill-deleteButton:hover {
    background: rgba(255, 255, 255, 0.05);
  }
}

.HomeWalkingPill-deleteButton:active {
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.08);
  transition-duration: 0.05s;
}

@media (prefers-color-scheme: dark) {
  .HomeWalkingPill-deleteButton:active {
    background: rgba(255, 255, 255, 0.08);
  }
}

.HomeWalkingPill-deleteButton--pending {
  cursor: pointer;
  pointer-events: none;
  animation: deleteButton-pulse 2s ease-in-out infinite;
}

@keyframes deleteButton-pulse {
  0%,
  20% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
  80%,
  100% {
    opacity: 1;
  }
}
