.HomeWalkingPill-wrapper {
  position: relative;
}

.HomeWalkingPill {
  text-decoration: none;
  display: block;
  position: relative;
}

.HomeWalkingPill-bg {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem;
  border-radius: 12px;
  transition: all 0.2s ease;
  position: relative;
  isolation: isolate;
}

.HomeWalkingPill-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg-color);
  border: 1.5px solid;
  border-color: color-mix(in srgb, var(--accent-color) 15%, rgba(0, 0, 0, 0.08));
  border-radius: 12px;
  filter: var(--user-content-filter);
  z-index: -1;
  transition: all 0.2s ease;
}

.HomeWalkingPill:hover .HomeWalkingPill-bg {
  transform: translateY(-2px);
}

.HomeWalkingPill:hover .HomeWalkingPill-bg::before {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: var(--accent-color);
}

.HomeWalkingPill-content {
  flex: 1;
  min-width: 0;
}

.HomeWalkingPill-header {
  margin-bottom: 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);
}

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

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

.HomeWalkingPill-dotWrapper {
  display: flex;
  align-items: center;
}

.HomeWalkingPill-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  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;
  height: 2px;
  background-color: rgba(0, 0, 0, 0.08);
  margin: 0 4px;
}

@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;
}

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

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