.automation-existing-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.automation-existing-row > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.automation-existing .automation-delete-button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(220, 38, 38, .3);
  border-radius: 10px;
  background: rgba(220, 38, 38, .08);
  color: #dc2626;
  cursor: pointer;
}

.automation-existing .automation-delete-button:hover {
  background: rgba(220, 38, 38, .16);
  border-color: rgba(220, 38, 38, .5);
}

body.theme-dark .automation-existing .automation-delete-button {
  color: #fecaca;
  background: rgba(239, 68, 68, .14);
  border-color: rgba(248, 113, 113, .35);
}
